7,941 research outputs found

    Deuce: A Lightweight User Interface for Structured Editing

    Full text link
    We present a structure-aware code editor, called Deuce, that is equipped with direct manipulation capabilities for invoking automated program transformations. Compared to traditional refactoring environments, Deuce employs a direct manipulation interface that is tightly integrated within a text-based editing workflow. In particular, Deuce draws (i) clickable widgets atop the source code that allow the user to structurally select the unstructured text for subexpressions and other relevant features, and (ii) a lightweight, interactive menu of potential transformations based on the current selections. We implement and evaluate our design with mostly standard transformations in the context of a small functional programming language. A controlled user study with 21 participants demonstrates that structural selection is preferred to a more traditional text-selection interface and may be faster overall once users gain experience with the tool. These results accord with Deuce's aim to provide human-friendly structural interactions on top of familiar text-based editing.Comment: ICSE 2018 Paper + Supplementary Appendice

    Still future II

    Get PDF
    Martin Fowler's work featured in this group exhibition featuring the work of eight contemporary artists working with social and political subjects. The exhibition took place at The Dick Institute, Kilmarnock, Scotland

    A pedagogical response to the challenges of delivering collaborative probation education in online environments.

    Get PDF
    This paper explores the challenges in delivering post graduate probation education in a predominately online environment. It discusses the key pedagogical theories underpinning the teaching approach, with a particular emphasis on social constructivism, communities of practice and enquiry based learning. The complexities of engaging students in the types of discursive and collegiate activities inherent within these approaches whilst learning at a distance are discussed. A case study exploring the facilitation of a colloborative enquiry based task into the role of emotion work in probation practice is used to demonstrate our response to the challenges identified. Whilst the context of this paper is probation education, it has relevance to those teaching other disciplines within online settings

    Staphylococcus aureus bloodstream infection: A pooled analysis of five prospective, observational studies

    Get PDF
    Objectives: Staphylococcus aureus bacteraemia is a common, often fatal infection. Our aim was to describe how its clinical presentation varies between populations and to identify common determinants of outcome. Methods: We conducted a pooled analysis on 3395 consecutive adult patients with S. aureus bacteraemia. Patients were enrolled between 2006 and 2011 in five prospective studies in 20 tertiary care centres in Germany, Spain, United Kingdom, and United States. Results: The median age of participants was 64 years (interquartile range 50–75 years) and 63.8% were male. 25.4% of infections were associated with diabetes mellitus, 40.7% were nosocomial, 20.6% were caused by methicillin-resistant S. aureus (MRSA), although these proportions varied significantly across studies. Intravenous catheters were the commonest identified infective focus (27.7%); 8.3% had endocarditis. Crude 14 and 90-day mortality was 14.6% and 29.2%, respectively. Age, MRSA bacteraemia, nosocomial acquisition, endocarditis, and pneumonia were independently associated with death, but a strong association was with an unidentified infective focus (adjusted hazard ratio for 90-day mortality 2.92; 95% confidence interval 2.33 to 3.67, p < 0.0001). Conclusion: The baseline demographic and clinical features of S. aureus bacteraemia vary significantly between populations. Mortality could be reduced by assiduous MRSA control and early identification of the infective focus.Junta de Andalucía PI 0185/201

    Systematically searching for and assessing the literature for self-management of chronic pain: A lay users' perspective

    Get PDF
    © 2014 Schofield et al.; licensee BioMed Central Ltd. Background: The Engaging with older adults in the development of strategies for the self management of chronic pain (EOPIC) study aims to design and develop self management strategies to enable older adults to manage their own pain. Involving older adults in research into chronic pain management will better enable the identification and development of strategies that are more appropriate for their use, but how can perspectives really be utilised to the best possible outcomes?. Method. Seven older adults were recruited through a local advertising campaign to take part. We also invited participants from the local pain services, individuals who had been involved in earlier phase of the EOPIC study and a previous ESRC funded project. The group undertook library training and research skills training to facilitate searching of the literature and identified sources of material. A grading tool was developed using perceived essential criteria identified by the older adults and material was graded according to the criteria within this scale. Results: Fifty-seven resources from over twenty-eight sources were identified. These materials were identified as being easily accessible, readable and relevant. Many of the web based materials were not always easy to find or readily available so they were excluded by the participants. All but one were UK based. Forty-four items were identified as meeting the key criteria for inclusion in the study. This included five key categories as follows; books, internet, magazines, leaflets, CD's/Tapes. Conclusion: This project was able to identify a number of exemplars of self management material along with some general rules regarding the categories identified. We must point out that the materials identified were not age specific, were often locally developed and would need to be adapted to older adults with chronic pain. For copyright issues we have not included them in this paper. The key message is really related to the format rather than the content. However, the group acknowledge that these may vary according to the requirements of each individual older adult and therefore recommend the development of a leaflet to help others in their search for resources. This leaflet has been developed as part of Phase IV of the EOPIC study

    Hyperspectral imaging for non-destructive prediction of fermentation index, polyphenol content and antioxidant activity in single cocoa beans

    Get PDF
    The aim of the current work was to use hyperspectral imaging (HSI) in the spectral range 1000-2500 nm to quantitatively predict fermentation index (FI), total polyphenols (TP) and antioxidant activity (AA) of individual dry fermented cocoa beans scanned on a single seed basis. Seventeen cocoa bean batches were obtained and 10 cocoa beans were used from each batch. PLS regression models were built on 170 samples. The developed HSI predictive models were able to quantify three quality-related parameters with sufficient performance for screening purposes, with external validation R2 of 0.50 (RMSEP=0.27, RPD=1.40), 0.70 (RMSEP=34.1 mg ferulic acid g-1, RPD=1.77) and 0.74 (60.0 mmol Trolog kg-1, RPD=1.91) for FI, TP and AA, respectively. The calibrations were subsequently applied at a single bean and pixel level, so that the distribution was visualised within and between single seeds. HSI is thus suggested as a promising approach to estimate cocoa bean composition rapidly and non-destructively, thus offering a valid tool for food inspection and quality control

    The Evolution of Homophily

    Get PDF
    Biologists have devoted much attention to assortative mating or homogamy, the tendency for sexual species to mate with similar others. In contrast, there has been little theoretical work on the broader phenomenon of homophily, the tendency for individuals to interact with similar others. Yet this behaviour is also widely observed in nature. Here, we model how natural selection can give rise to homophily when individuals engage in social interaction in a population with multiple observable phenotypes. Payoffs to interactions depend on whether or not individuals have the same or different phenotypes, and each individual has a preference that determines how likely they are to interact with others of their own phenotype (homophily) or of opposite phenotypes (heterophily). The results show that homophily tends to evolve under a wide variety of conditions, helping to explain its ubiquity in nature.MathematicsOrganismic and Evolutionary BiologySociolog
    corecore