867 research outputs found

    Automated Layout Failure Detection for Responsive Web Pages Without an Explicit Oracle

    Get PDF
    As the number and variety of devices being used to access the World Wide Web grows exponentially, ensuring the correct presentation of a web page, regardless of the device used to browse it, is an important and challenging task. When developers adopt responsive web design (RWD) techniques, web pages modify their appearance to accommodate a device’s display constraints. However, a current lack of automated support means that presentation failures may go undetected in a page’s layout when rendered for different viewport sizes. A central problem is the difficulty in providing an automated “oracle” to validate RWD layouts against, meaning that checking for failures is largely a manual process in practice, which results in layout failures in many live responsive web sites. This paper presents an automated failure detection technique that checks the consistency of a responsive page’s layout across a range of viewport widths, obviating the need for an explicit oracle. In an empirical study, this method found failures in 16 of 26 real-world production pages studied, detecting 33 distinct failures in total

    Molecules in clusters: the case of planar LiBeBCNOF built from a triangular form LiOB and a linear four-center species FBeCN

    Full text link
    Krueger some years ago proposed a cluster LiBeBCNOF, now called periodane. His ground-state isomer proposal has recently been refined by Bera et al. using DFT. Here, we take the approach of molecules in such a cluster as starting point. We first study therefore the triangular molecule LiOB by coupled cluster theory (CCSD) and thereby specify accurately its equilibrium geometry in free space. The second fragment we consider is FBeCN, but treated now by restricted Hartree-Fock (RHF) theory. This four-center species is found to be linear, and the bond lengths are obtained from both RHF and CCSD calculations. Finally, we bring these two entities together and find that while LiOB remains largely intact, FBeCN becomes bent by the interaction with LiOB. Hartree-Fock and CCSD theories then predict precisely the same lowest isomer found by Bera et al. solely on the basis of DFT.Comment: to appear in Phys. Lett.

    Automatically identifying potential regressions in the layout of responsive web pages

    Get PDF
    Providing a good user experience on the ever-increasing number and variety of devices being used to browse the web is a difficult, yet critical, task. With Responsive Web Design (RWD), front-end web developers design web pages so that they dynamically resize and rearrange content to best fit the dimensions of a device’s screen. However, when making code modifications to a responsive page, developers can easily introduce regressions from the correct layout that have detrimental effects at unpredictable screen sizes. For instance, the source code change that a developer makes to improve the layout at one screen size may obscure a page’s content at other sizes. Current approaches to testing are often insufficient because they rely on limited tools and error-prone manual inspections of a web page. As such, many unintended regressions in web page layout often go undetected and ultimately manifest in production web sites. To address the challenge of detecting regressions in responsive web pages, this paper presents an automated approach that extracts the responsive layout of two versions of a page and compares them, alerting developers to the differences in layout that they may wish to investigate further. We implemented the approach and empirically evaluated it on 15 real-world responsive web pages. Leveraging code mutations that a tool automatically injected into the pages as a systematic simulation of developer changes, the experiments show that the approach was highly effective. When compared with manual and automated baseline testing techniques, it detected 12.5% and 18.75% more injected changes, respectively. Along with identifying the best parameters for the method that extracts the responsive layout, the experiments show that the approach surpasses the baselines across changes that vary in their impact, but works particularly well for subtle, hard-to-detect mutants, showing the benefits of automatically identifying regressions in web page layout

    Motivation enhances control of positive and negative emotional distractions

    Get PDF
    Using cognitive control to ignore distractions is essential for successfully achieving our goals. In emotionally-neutral contexts, motivation can reduce interference from irrelevant stimuli by enhancing cognitive control. However, attention is commonly biased towards emotional stimuli, making them potent distractors. Can motivation aid control of emotional distractions, and does it do so similarly for positive and negative stimuli? Here, we examined how task motivation influences control of distraction from positive, negative, and neutral scenes. Participants completed a simple perceptual task while attempting to ignore task-irrelevant images. One group received monetary reward for fast and accurate task performance; another (control) group did not. Overall, both negative (mutilation) and positive (erotic) images caused greater slowing of responses than neutral images of people, but emotional distraction was reduced with reward. Crucially, despite the different motivational directions associated with negative and positive stimuli, reward reduced negative and positive distraction equally. Our findings suggest that motivation may encourage the use of a sustained proactive control strategy that can effectively reduce the impact of emotional distraction

    An Interaction between KSHV ORF57 and UIF Provides mRNA-Adaptor Redundancy in Herpesvirus Intronless mRNA Export

    Get PDF
    The hTREX complex mediates cellular bulk mRNA nuclear export by recruiting the nuclear export factor, TAP, via a direct interaction with the export adaptor, Aly. Intriguingly however, depletion of Aly only leads to a modest reduction in cellular mRNA nuclear export, suggesting the existence of additional mRNA nuclear export adaptor proteins. In order to efficiently export Kaposi's sarcoma-associated herpesvirus (KSHV) intronless mRNAs from the nucleus, the KSHV ORF57 protein recruits hTREX onto viral intronless mRNAs allowing access to the TAP-mediated export pathway. Similarly however, depletion of Aly only leads to a modest reduction in the nuclear export of KSHV intronless mRNAs. Herein, we identify a novel interaction between ORF57 and the cellular protein, UIF. We provide the first evidence that the ORF57-UIF interaction enables the recruitment of hTREX and TAP to KSHV intronless mRNAs in Aly-depleted cells. Strikingly, depletion of both Aly and UIF inhibits the formation of an ORF57-mediated nuclear export competent ribonucleoprotein particle and consequently prevents ORF57-mediated mRNA nuclear export and KSHV protein production. Importantly, these findings highlight that redundancy exists in the eukaryotic system for certain hTREX components involved in the mRNA nuclear export of intronless KSHV mRNAs

    Religious Values, Practices and Pregnancy Outcomes: A Comparison of the Impact of Sect and Mainstream Christian Affiliation

    Get PDF
    In this report 6566 women enrolled in the Mater-University of Queensland Study of Pregnancy (MUSP) were separated into three groups; members of religious sects, Christians who attend church frequently and Christians who are infrequent attenders. These three groups, respectively labelled Christian sects, Christian attenders and lukewarm Christians were compared on a number of social background, lifestyle and pregnancy outcome variables. The sect members appeared to have the most favourable health, lifestyles and healthy babies at delivery, though this latter finding appears attributable to specific characteristics of the mother and her lifestyle. On most measures the children of lukewarm Christians appear to manifest the worst health while Christian attenders form a group whose children's health is between that of sect members and lukewarm Christians

    First-Principles Study of Magnetic Properties of 3dTransition Metals Doped in ZnO Nanowires

    Get PDF
    The defect formation energies of transition metals (Cr, Fe, and Ni) doped in the pseudo-H passivated ZnO nanowires and bulk are systematically investigated using first-principles methods. The general chemical trends of the nanowires are similar to those of the bulk. We also show that the formation energy increases as the diameter of the nanowire decreases, indicating that the doping of magnetic ions in the ZnO nanowire becomes more difficult with decreasing diameter. We also systematically calculate the ferromagnetic properties of transition metals doped in the ZnO nanowire and bulk, and find that Cr ions of the nanowire favor ferromagnetic state, which is consistent with the experimental results. We also find that the ferromagnetic coupling state of Cr is more stable in the nanowire than in the bulk, which may lead to a higherTcuseful for the nano-materials design of spintronics

    High-contrast imaging constraints on gas giant planet formation - The Herbig Ae/Be star opportunity

    Full text link
    Planet formation studies are often focused on solar-type stars, implicitly considering our Sun as reference point. This approach overlooks, however, that Herbig Ae/Be stars are in some sense much better targets to study planet formation processes empirically, with their disks generally being larger, brighter and simply easier to observe across a large wavelength range. In addition, massive gas giant planets have been found on wide orbits around early type stars, triggering the question if these objects did indeed form there and, if so, by what process. In the following I briefly review what we currently know about the occurrence rate of planets around intermediate mass stars, before discussing recent results from Herbig Ae/Be stars in the context of planet formation. The main emphasis is put on spatially resolved polarized light images of potentially planet forming disks and how these images - in combination with other data - can be used to empirically constrain (parts of) the planet formation process. Of particular interest are two objects, HD100546 and HD169142, where, in addition to intriguing morphological structures in the disks, direct observational evidence for (very) young planets has been reported. I conclude with an outlook, what further progress we can expect in the very near future with the next generation of high-contrast imagers at 8-m class telescopes and their synergies with ALMA.Comment: Accepted by Astrophysics and Space Science as invited short review in special issue about Herbig Ae/Be stars; 12 pages incl. 5 figures, 2 tables and reference
    corecore