scholarly journals Precise display time measurement in JavaScript for web-based experiments

2021 ◽  
Author(s):  
Gáspár Lukács ◽  
Andreas Gartus

Conducting research via the internet is a formidable and ever-increasingly popular option for behavioral scientists. However, it is widely acknowledged that web-browsers are not optimized for research: In particular, the timing of display changes (e.g., a stimulus appearing on the screen), still leaves room for improvement. So far, the typically recommended best (or least worst) timing method has been a single requestAnimationFrame (RAF) JavaScript function call within which one would give the display command and obtain the time of that display change. In our Study 1, we assessed two alternatives: Calling the RAF twice consecutively, or calling the RAF during a continually ongoing independent loop of recursive RAF calls. While the former has shown little or no improvement as compared to single RAF calls, with the latter we significantly and substantially improved overall precision, and achieved practically faultless precision in most practical cases. In Study 2, we reassessed this “RAF loop” timing method with images in combination with three different display methods: We found that the precision remained high when using either visibility or opacity changes – while drawing on a canvas element consistently led to comparatively lower precision. We recommend the “RAF loop” display timing method for improved precision in future studies, and visibility or opacity changes when using image stimuli. We have also shared, in public repositories, the easy-to-use code for this method, exactly as employed in our studies.

2016 ◽  
Vol 12 (07) ◽  
pp. 18 ◽  
Author(s):  
Zhongcheng Lei ◽  
Wenshan Hu ◽  
Hong Zhou

<div class="WordSection1"><p><span style="font-size: 10px;">With the recent achievements in Internet and communication technology and its utilization in online laboratory, remote learning and online laboratory are made possible in the last few decades. This not only provides learning opportunities for people living in rural areas of developing countries, but also offers simple alternatives for those who are already able to access educational resources. The evolution of Web technologies makes it relatively easy to facilitate laboratory deployments, thus, more and more different online laboratory platforms emerge. However, the use of Hyper Text Mark-up Language (HTML5) and related standards such as WebGL and CSS3 in experimental platform, which is future trends and provides full-featured environment, is rare so far. This paper introduces a new HTML5 version of Networked Control System Laboratory (NCSLab), which has been developing for over 10 years since 2006. The 3D version of NCSLab has been developing for almost 5 years in Wuhan University (WHU), whose rendering solution is changed from Flash 3D engine to HTML5 recently. Therefore, Flash player plug-in is eliminated to provide better user experience for users since most of the mainstream web browsers are compatible with HTML5.</span></p></div>


2018 ◽  
Vol 1 (2) ◽  
pp. 14-24
Author(s):  
Dame Christine Sagala ◽  
Ali Sadikin ◽  
Beni Irawan

The data processing systems is a very necessary way to manipulate a data into useful information. The system makes data storage, adding, changing, scheduling to reporting well integrated, so that it can help parts to exchange information and make decisions quickly. The problems faced by GKPI Pal Merah Jambi are currently still using Microsoft Office Word and in disseminating information such as worship schedules, church activities and other worship routines through paper and wall-based worship services. To print worship and report reports requires substantial operational funds, in addition to data collection and storage there are still deficiencies including recording data on the book, difficulty in processing large amounts of data and stored in only one special place that is passive. Based on the above problems, the author is interested in conducting research with the title Designing Data Processing Systems for Web-Based Churches in the GKPI Pal Merah Church in Jambi. The purpose of this study is to design and produce a data processing system for the church. Using this system can facilitate data processing in the GKPI Pal Merah Jambi Church. This study uses a waterfall development method, a method that provides a systematic and sequential approach to system needs analysis, design, implementation and unit testing, system testing and care. Applications built using the web with MySQL DBMS database, PHP programming language and Laravel.


Author(s):  
Alexander Anwyl-Irvine ◽  
Edwin S. Dalmaijer ◽  
Nick Hodges ◽  
Jo K. Evershed

Abstract Due to increasing ease of use and ability to quickly collect large samples, online behavioural research is currently booming. With this popularity, it is important that researchers are aware of who online participants are, and what devices and software they use to access experiments. While it is somewhat obvious that these factors can impact data quality, the magnitude of the problem remains unclear. To understand how these characteristics impact experiment presentation and data quality, we performed a battery of automated tests on a number of realistic set-ups. We investigated how different web-building platforms (Gorilla v.20190828, jsPsych v6.0.5, Lab.js v19.1.0, and psychoJS/PsychoPy3 v3.1.5), browsers (Chrome, Edge, Firefox, and Safari), and operating systems (macOS and Windows 10) impact display time across 30 different frame durations for each software combination. We then employed a robot actuator in realistic set-ups to measure response recording across the aforementioned platforms, and between different keyboard types (desktop and integrated laptop). Finally, we analysed data from over 200,000 participants on their demographics, technology, and software to provide context to our findings. We found that modern web platforms provide reasonable accuracy and precision for display duration and manual response time, and that no single platform stands out as the best in all features and conditions. In addition, our online participant analysis shows what equipment they are likely to use.


2016 ◽  
Vol 4 (3) ◽  
pp. 51-64 ◽  
Author(s):  
Bimal Aklesh Kumar

Mobile and other PDA devices allow us to access the World Wide Web anytime and anywhere using fully functional mobile web browsers. This study utilizes the mobile web to deliver services to register students for courses at Fiji National University (FNU). Developing dynamic web based applications for mobile devices is a challenging task, because these devices have limited processing power and physical memory. In order to overcome these limitations, the author proposed layered architecture for the development of this system. This paper describes the architecture, design and implementation of the new system. Experimental results demonstrate that proposed architecture can effectively reduce the client side resource utilization (processing power and physical memory) of dynamic mobile web based systems. Furthermore the author conclude this paper by outlining future work for research in this area.


2012 ◽  
Vol 1 (3) ◽  
pp. 16-25 ◽  
Author(s):  
Martin Christen ◽  
Stephan Nebiker ◽  
Benjamin Loesch

In this paper, the authors present the OpenWebGlobe project (http://www.openwebglobe.org). The authors also discuss the OpenWebGlobe SDK. OpenWebGlobe SDK is an open source framework for creating massive 3D virtual globe environments and interactively exploiting them in web browsers using HTML5 and WebGL, allowing for the creation of large scale virtual 3D globes with detailed contents and their interactive visualization directly within a broad spectrum of Web browsers.


2005 ◽  
Vol 16 (5) ◽  
pp. 335-343 ◽  
Author(s):  
José K Côté ◽  
Gaston Godin

The aim of this paper is to perform a critical review of the effectiveness of interventions for the purpose of enhancing adherence to antiretroviral therapy. The overall evaluation indicates that research is in its early stages. Although pilot studies provide support for the feasibility of their protocols, and preliminary results also suggest their capacity to improve adherence, only three major trials have reported significant improvement in adherence. The issues that will have to be addressed by future studies include: (a) the need for a theoretical and empirical understanding of the phenomena; (b) adoption of a format that fits the attributes of the population; (c) the use of multiple strategies involving key providers; (d) a concise and precise schedule governing the frequency and intensity of the intervention; (e) a careful selection of direct outcome; and (f) appropriate time measurement. In sum, greater efforts to design and evaluate interventions are needed to lead to an increase in adherence and improvement in treatment effectiveness.


Field Methods ◽  
2017 ◽  
Vol 29 (4) ◽  
pp. 351-364 ◽  
Author(s):  
Taylor Lewis ◽  
Karl Hess

The Federal Employee Viewpoint Survey is an annual survey of over 800,000 permanently employed civilian personnel from 87 agencies. First administered in 2002, the web-based survey measures a broad range of employee perceptions, attitudes, and behaviors, serving as a valuable tool for human resources managers to determine which aspects of an organization are working well and which may require intervention. The data collection protocol begins by sending all sampled individuals an initial invitation to participate. Thereafter, nonrespondents are sent weekly reminder e-mails. These notifications are typically sent on Tuesday mornings. In this article, we present results from an experiment investigating two alternative protocols varying when survey notification and reminder e-mails are sent. Interestingly, the stable Tuesday morning strategy produced a significantly higher response rate than the two alternatives, and we analyze timestamp information from one of the alternatives to help provide insight as to why.


2018 ◽  
Author(s):  
Sean Deering ◽  
Madeline M Grade ◽  
Jaspreet K Uppal ◽  
Luca Foschini ◽  
Jessie L Juusola ◽  
...  

BACKGROUND Participant recruitment can be a significant bottleneck in carrying out research studies. Connected health and mobile health platforms allow for the development of Web-based studies that can offer improvement in this domain. Sleep is of vital importance to the mental and physical health of all individuals, yet is understudied on a large scale or beyond the focus of sleep disorders. For this reason and owing to the availability of digital sleep tracking tools, sleep is well suited to being studied in a Web-based environment. OBJECTIVE The aim of this study was to investigate a method for speeding up the recruitment process and maximizing participant engagement using a novel approach, the Achievement Studies platform (Evidation Health, Inc, San Mateo, CA, USA), while carrying out a study that examined the relationship between participant sleep and daytime function. METHODS Participants could access the Web-based study platform at any time from any computer or Web-enabled device to complete study procedures and track study progress. Achievement community members were invited to the study and assessed for eligibility. Eligible participants completed an electronic informed consent process to enroll in the study and were subsequently invited to complete an electronic baseline questionnaire. Then, they were asked to connect a wearable device account through their study dashboard, which shared their device data with the research team. The data were used to provide objective sleep and activity metrics for the study. Participants who completed the baseline questionnaires were subsequently sent a daily single-item Sleepiness Checker activity for 7 consecutive days at baseline and every 3 months thereafter for 1 year. RESULTS Overall, 1156 participants enrolled in the study within a 5-day recruitment window. In the 1st hour, the enrollment rate was 6.6 participants per minute (394 per hour). In the first 24 hours, the enrollment rate was 0.8 participants per minute (47 participants per hour). Overall, 1132 participants completed the baseline questionnaires (1132/1156, 97.9%) and 1047 participants completed the initial Sleepiness Checker activity (1047/1156, 90.6%). Furthermore, 1000 participants provided activity-specific wearable data (1000/1156, 86.5%) and 982 provided sleep-specific wearable data (982/1156, 84.9%). CONCLUSIONS The Achievement Studies platform allowed for rapid recruitment and high study engagement (survey completion and device data sharing). This approach to carrying out research appears promising. However, conducting research in this way requires that participants have internet access and own and use a wearable device. As such, our sample may not be representative of the general population.


2021 ◽  
Vol 140 (12) ◽  
pp. 1753-1773
Author(s):  
Andrew J. Pakstis ◽  
Neeru Gandotra ◽  
William C. Speed ◽  
Michael Murtha ◽  
Curt Scharfe ◽  
...  

AbstractSingle-nucleotide polymorphisms (SNPs) and small genomic regions with multiple SNPs (microhaplotypes, MHs) are rapidly emerging as novel forensic investigative tools to assist in individual identification, kinship analyses, ancestry inference, and deconvolution of DNA mixtures. Here, we analyzed information for 90 microhaplotype loci in 4009 individuals from 79 world populations in 6 major biogeographic regions. The study included multiplex microhaplotype sequencing (mMHseq) data analyzed for 524 individuals from 16 populations and genotype data for 3485 individuals from 63 populations curated from public repositories. Analyses of the 79 populations revealed excellent characteristics for this 90-plex MH panel for various forensic applications achieving an overall average effective number of allele values (Ae) of 4.55 (range 1.04–19.27) for individualization and mixture deconvolution. Population-specific random match probabilities ranged from a low of 10–115 to a maximum of 10–66. Mean informativeness (In) for ancestry inference was 0.355 (range 0.117–0.883). 65 novel SNPs were detected in 39 of the MHs using mMHseq. Of the 3018 different microhaplotype alleles identified, 1337 occurred at frequencies > 5% in at least one of the populations studied. The 90-plex MH panel enables effective differentiation of population groupings for major biogeographic regions as well as delineation of distinct subgroupings within regions. Open-source, web-based software is available to support validation of this technology for forensic case work analysis and to tailor MH analysis for specific geographical regions.


2019 ◽  
Vol 11 (7) ◽  
pp. 147 ◽  
Author(s):  
Masaki Kohana ◽  
Shinji Sakamoto ◽  
Shusuke Okamoto

Real-time web applications such as a virtual world require considerable computing resources. However, as the number of servers increases, so does the maintenance and financial cost. To share tasks among web browsers, the browsers must share data. Therefore, a network must be constructed among the web browsers. In this paper, we propose the construction of a web browser network based on the Barabasi–Albert model (BA model). We focus on a web-based multiplayer online game that requires higher frequent communication and significant computing resources. We attempt to optimize computing resource utilization for web browsers. We improve upon the method in our previous study, which constructed a network for a web-based virtual world, using only location information. When a new user logged into a world, the web browser connected to two other browsers whose users had a location close to that of the user. The experimental results of that method showed 50% data coverage, which was insufficient to display the game screen because the web browser displays the characters on the virtual world. In this study, we attempt to use the BA model to construct more efficient networks than those in the previous study to increase data coverage. Our new method uses the number of connections of the web browser and location information to calculate the probability of web browser selection. The experimental results show that the data coverage exceeds 90%, indicating significant improvement over the previous method.


Sign in / Sign up

Export Citation Format

Share Document