837,862 research outputs found
Version Control Is for Your Data Too
Programmers regularly use distributed version control systems (DVCS) such as Git to facilitate collaborative software development. The primary purpose of a DVCS is to maintain integrity of source code in the presence of concurrent, possibly conflicting edits from collaborators. In addition to safely merging concurrent non-conflicting edits, a DVCS extensively tracks source code provenance to help programmers contextualize and resolve conflicts. Provenance also facilitates debugging by letting programmers see diffs between versions and quickly find those edits that introduced the offending conflict (e.g., via git blame).
In this paper, we posit that analogous workflows to collaborative software development also arise in distributed software execution; we argue that the characteristics that make a DVCS an ideal fit for the former also make it an ideal fit for the latter. Building on this observation, we propose a distributed programming model, called carmot that views distributed shared state as an entity evolving in time, manifested as a sequence of persistent versions, and relies on an explicitly defined merge semantics to reconcile concurrent conflicting versions. We show examples demonstrating how carmot simplifies distributed programming, while also enabling novel workflows integral to modern applications such as blockchains. We also describe a prototype implementation of carmot that we use to evaluate its practicality
The Risky Business of Binge Drinking Among College Students: Using Risk Models for PSAs and Anti-Drinking Campaigns
To assist creators of public service announcements and anti-drinking campaigns, this study provides an in-depth examination of the risks of binge drinking from the perspective of college students. Using current risk models for guidance, key elements from the qualitative data in the study are addressed, including perceived risks and their severity, vulnerability to risks, self-efficacy, response efficacy, benefits from ritual functions, and other costs or benefits based on students\u27 attitudes and beliefs. An integrated risk perception model is introduced. Student participants enumerated extensive risks; however, they generally felt invulnerable to the consequences. Most adopted a management style of “taking chances” when binge drinking because they perceived a built-in safety net in the college environment. Three ritual functions and various attitudes and beliefs help explain why a cost and benefit analysis favors binge drinking. Recommendations are given
Ten Quick Tips for Using a Raspberry Pi
Much of biology (and, indeed, all of science) is becoming increasingly
computational. We tend to think of this in regards to algorithmic approaches
and software tools, as well as increased computing power. There has also been a
shift towards slicker, packaged solutions--which mirrors everyday life, from
smart phones to smart homes. As a result, it's all too easy to be detached from
the fundamental elements that power these changes, and to see solutions as
"black boxes". The major goal of this piece is to use the example of the
Raspberry Pi--a small, general-purpose computer--as the central component in a
highly developed ecosystem that brings together elements like external
hardware, sensors and controllers, state-of-the-art programming practices, and
basic electronics and physics, all in an approachable and useful way. External
devices and inputs are easily connected to the Pi, and it can, in turn, control
attached devices very simply. So whether you want to use it to manage
laboratory equipment, sample the environment, teach bioinformatics, control
your home security or make a model lunar lander, it's all built from the same
basic principles. To quote Richard Feynman, "What I cannot create, I do not
understand".Comment: 12 pages, 2 figure
Narrative Analysis of Sexual Etiquette in Teenage Magazines
Expanding on existing research on women\u27s magazines, this essay examines the sexual etiquette developed in advice columns in magazines popular among teenage women. Over a span of 20 years, the advice has changed very little. Serving the rhetorical function of field guides and training manuals, teen magazines limit women\u27s sociality and sexuality within narrowly defined heterosexual norms and practices. The rhetoric of sexual etiquette encourages young women to be sex objects and teachers of interpersonal communication rather than lovers, friends, and partners. Young women are being taught to subordinate self for others and to be contained
Recommended from our members
Effective patient–clinician interaction to improve treatment outcomes for patients with psychosis: a mixed-methods design
BACKGROUND:At least 100,000 patients with schizophrenia receive care from community mental health teams (CMHTs) in England. These patients have regular meetings with clinicians, who assess them, engage them in treatment and co-ordinate care. As these routine meetings are not commonly guided by research evidence, a new intervention, DIALOG, was previously designed to structure consultations. Using a hand-held computer, clinicians asked patients to rate their satisfaction with eight life domains and three treatment aspects, and to indicate whether or not additional help was needed in each area, with responses being graphically displayed and compared with previous ratings. In a European multicentre trial, the intervention improved patients’ quality of life over a 1-year period. The current programme builds on this research by further developing DIALOG in the UK. RESEARCH QUESTIONS:(1) How can the practical procedure of the intervention be improved, including the software used and the design of the user interface? (2) How can elements of resource-oriented interventions be incorporated into a clinician manual and training programme for a new, more extensive ‘DIALOG+’ intervention? (3) How effective and cost-effective is the new DIALOG+ intervention in improving treatment outcomes for patients with schizophrenia or a related disorder? (4) What are the views of patients and clinicians regarding the new DIALOG+ intervention? METHODS:We produced new software on a tablet computer for CMHTs in the NHS, informed by analysis of videos of DIALOG sessions from the original trial and six focus groups with 18 patients with psychosis. We developed the new ‘DIALOG+’ intervention in consultation with experts, incorporating principles of solution-focused therapy when responding to patients’ ratings and specifying the procedure in a manual and training programme for clinicians. We conducted an exploratory cluster randomised controlled trial with 49 clinicians and 179 patients with psychosis in East London NHS Foundation Trust, comparing DIALOG+ with an active control. Clinicians working as care co-ordinators in CMHTs (along with their patients) were cluster randomised 1 : 1 to either DIALOG+ or treatment as usual plus an active control, to prevent contamination. Intervention and control were to be administered monthly for 6 months, with data collected at baseline and at 3, 6 and 12 months following randomisation. The primary outcome was subjective quality of life as measured on the Manchester Short Assessment of Quality of Life; secondary outcomes were also measured. We also established the cost-effectiveness of the DIALOG intervention using data from the Client Service Receipt Inventory, which records patients’ retrospective reports of using health- and social-care services, including hospital services, outpatient services and medication, in the 3 months prior to each time point. Data were supplemented by the clinical notes in patients’ medical records to improve accuracy. We conducted an exploratory thematic analysis of 16 video-recorded DIALOG+ sessions and measured adherence in these videos using a specially developed adherence scale. We conducted focus groups with patients (n = 19) and clinicians (n = 19) about their experiences of the intervention, and conducted thematic analyses. We disseminated the findings and made the application (app), manual and training freely available, as well as producing a protocol for a definitive trial. RESULTS:Patients receiving the new intervention showed more favourable quality of life in the DIALOG+ group after 3 months (effect size: Cohen’s d = 0.34), after 6 months (Cohen’s d = 0.29) and after 12 months (Cohen’s d = 0.34). An analysis of video-recorded DIALOG+ sessions showed inconsistent implementation, with adherence to the intervention being a little over half of the possible score. Patients and clinicians from the DIALOG+ arm of the trial reported many positive experiences with the intervention, including better self-expression and improved efficiency of meetings. Difficulties reported with the intervention were addressed by further refining the DIALOG+ manual and training. Cost-effectiveness analyses found a 72% likelihood that the intervention both improved outcomes and saved costs. LIMITATIONS:The research was conducted solely in urban east London, meaning that the results may not be broadly generalisable to other settings. CONCLUSIONS:(1) Although services might consider adopting DIALOG+ based on the existing evidence, a definitive trial appears warranted; (2) applying DIALOG+ to patient groups with other mental disorders may be considered, and to groups with physical health problems; (3) a more flexible use with variable intervals might help to make the intervention even more acceptable and effective; (4) more process evaluation is required to identify what mechanisms precisely are involved in the improvements seen in the intervention group in the trial; and (5) what appears to make DIALOG+ effective is that it is not a separate treatment and not a technology that is administered by a specialist; rather, it changes and utilises the existing therapeutic relationship between patients and clinicians in CMHTs to initiate positive change, helping the patients to improve their quality of life. FUTURE RESEARCH:Future studies should include a definitive trial on DIALOG+ and test the effectiveness of the intervention with other populations, such as people with depression. TRIAL REGISTRATION:Current Controlled Trials ISRCTN34757603. FUNDING:The National Institute for Health Research Programme Grants for Applied Research programme
- …