182 research outputs found

    Bridging the GUI gap with reactive values and relations

    Get PDF
    There are at present two ways to write GUIs for functional code. One is to use standard GUI toolkits, with all the benefits they bring in terms of feature completeness, choice of platform, conformance to platform-specific look-and-feel, long-term viability, etc. However, such GUI APIs mandate an imperative programming style for the GUI and related parts of the application. Alternatively, we can use a functional GUI toolkit. The GUI can then be written in a functional style, but at the cost of foregoing many advantages of standard toolkits that often will be of critical importance. This paper introduces a light-weight framework structured around the notions of reactive values and reactive relations . It allows standard toolkits to be used from functional code written in a functional style. We thus bridge the gap between the two worlds, bringing the advantages of both to the developer. Our framework is available on Hackage and has been been validated through the development of non-trivial applications in a commercial context, and with different standard GUI toolkits

    Designing a physical activity parenting course : parental views on recruitment, content and delivery

    Get PDF
    Background Many children do not engage in sufficient levels of physical activity (PA) and spend too much time screen-viewing (SV). High levels of SV (e.g. watching TV, playing video games and surfing the internet) and low levels of PA have been associated with adverse health outcomes. Parenting courses may hold promise as an intervention medium to change children’s PA and SV. The current study was formative work conducted to design a new parenting programme to increase children’s PA and reduce their SV. Specifically, we focussed on interest in a course, desired content and delivery style, barriers and facilitators to participation and opinions on control group provision. Methods In-depth telephone interviews were conducted with thirty two parents (29 female) of 6–8 year olds. Data were analysed thematically. An anonymous online survey was also completed by 750 parents of 6–8 year old children and descriptive statistics calculated. Results Interview participants were interested in a parenting course because they wanted general parenting advice and ideas to help their children be physically active. Parents indicated that they would benefit from knowing how to quantify their child’s PA and SV levels. Parents wanted practical ideas of alternatives to SV. Most parents would be unable to attend unless childcare was provided. Schools were perceived to be a trusted source of information about parenting courses and the optimal recruitment location. In terms of delivery style, the majority of parents stated they would prefer a group-based approach that provided opportunities for peer learning and support with professional input. Survey participants reported the timing of classes and the provision of childcare were essential factors that would affect participation. In terms of designing an intervention, the most preferred control group option was the opportunity to attend the same course at a later date. Conclusions Parents are interested in PA/SV parenting courses but the provision of child care is essential for attendance. Recruitment is likely to be facilitated via trusted sources. Parents want practical advice on how to overcome barriers and suggest advice is provided in a mutually supportive group experience with expert input

    Correlation between Quantitative PCR and Culture-Based Methods for Measuring Enterococcus spp. over Various Temporal Scales at Three California Marine Beaches

    Get PDF
    ABSTRACT Several studies have examined how fecal indicator bacteria (FIB) measurements compare between quantitative PCR (qPCR) and the culture methods it is intended to replace. Here, we extend those studies by examining the stability of that relationship within a beach, as affected by time of day and seasonal variations in source. Enterococcus spp. were quantified at three southern California beaches in the morning and afternoon using two qPCR assays, membrane filtration, and defined-substrate testing. While qPCR and culture-based measurements were consistently and significantly correlated, strength of the correlation varied both among and within beaches. Correlations were higher in the morning (0.45 < ρ < 0.74 [ P < 0.002]) than in the afternoon (0.18 < ρ < 0.45 [ P < 0.021]) and higher when the fecal contamination was concentrated (0.38 < ρ < 0.83 [ P < 0.001]) than when it was diffuse (0.19 < ρ < 0.34 [ P < 0.003]). The ratios of culture-based and qPCR results (CFU or most probable number [MPN] per calibrator cell equivalents [CCE]) also varied spatially and temporally. Ratios ranged between 0.04 and 0.85 CFU or MPN per CCE and were lowest at the beach affected by diffuse pollution. Patterns in the ratios over the course of the day were dissimilar across beaches, increasing with time at one beach and decreasing at another. The spatial and temporal variability we observed indicate that the empirical relationship between culture-based and qPCR results is not universal, even within a beach

    Licence to be active: parental concerns and 10–11-year-old children's ability to be independently physically active

    Get PDF
    Background Physical activity independent of adult supervision is an important component of youth physical activity. This study examined parental attitudes to independent activity, factors that limit licence to be independently active and parental strategies to facilitate independent activity. Methods In-depth phone interviews were conducted with 24 parents (4 males) of 10–11-year-old children recruited from six primary schools in Bristol. Results Parents perceived that a lack of appropriate spaces in which to be active, safety, traffic, the proximity of friends and older children affected children’s ability to be independently physically active. The final year of primary school was perceived as a period when children should be afforded increased licence. Parents managed physical activity licence by placing time limits on activity, restricting activity to close to home, only allowing activity in groups or under adult supervision. Conclusions Strategies are needed to build children’s licence to be independently active; this could be achieved by developing parental self-efficacy to allow children to be active and developing structures such as safe routes to parks and safer play areas. Future programmes could make use of traffic-calming programmes as catalysts for safe independent physical activity

    A meta-analysis of long-term effects of conservation agriculture on maize grain yield under rain-fed conditions

    Get PDF
    Conservation agriculture involves reduced tillage, permanent soil cover and crop rotations to enhance soil fertility and to supply food from a dwindling land resource. Recently, conservation agriculture has been promoted in Southern Africa, mainly for maize-based farming systems. However, maize yields under rain-fed conditions are often variable. There is therefore a need to identify factors that influence crop yield under conservation agriculture and rain-fed conditions. Here, we studied maize grain yield data from experiments lasting 5 years and more under rain-fed conditions. We assessed the effect of long-term tillage and residue retention on maize grain yield under contrasting soil textures, nitrogen input and climate. Yield variability was measured by stability analysis. Our results show an increase in maize yield over time with conservation agriculture practices that include rotation and high input use in low rainfall areas. But we observed no difference in system stability under those conditions. We observed a strong relationship between maize grain yield and annual rainfall. Our meta-analysis gave the following findings: (1) 92% of the data show that mulch cover in high rainfall areas leads to lower yields due to waterlogging; (2) 85% of data show that soil texture is important in the temporal development of conservation agriculture effects, improved yields are likely on well-drained soils; (3) 73% of the data show that conservation agriculture practices require high inputs especially N for improved yield; (4) 63% of data show that increased yields are obtained with rotation but calculations often do not include the variations in rainfall within and between seasons; (5) 56% of the data show that reduced tillage with no mulch cover leads to lower yields in semi-arid areas; and (6) when adequate fertiliser is available, rainfall is the most important determinant of yield in southern Africa. It is clear from our results that conservation agriculture needs to be targeted and adapted to specific biophysical conditions for improved impact

    Parent and child physical activity and sedentary time: Do active parents foster active children?

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>Physical activity has many positive effects on children's health while TV viewing has been associated with adverse health outcomes. Many children do not meet physical activity recommendations and exceed TV viewing guidelines. Parents are likely to be an important influence on their children's behaviour. There is an absence of information about the associations between parents' and children's physical activity and TV viewing.</p> <p>Methods</p> <p>Year 6 children and their parent were recruited from 40 primary schools. Results are presented for the 340 parent-child dyads with accelerometer data that met a ≥ 3 day inclusion criteria and the 431 parent-child dyads with complete self-reported TV viewing. Over 80% of the dyads with valid TV viewing data included mothers and their child. Mean minutes of moderate to vigorous physical activity (MVPA), minutes of sedentary time per day and counts per minute were assessed by accelerometer. Self-reported hours of TV viewing were coded into 3 groups (< 2 hours per day, 2-4 hours per day and >4 hours per day. Linear and multi-nominal regression models were run by child gender to examine parent-child associations.</p> <p>Results</p> <p>In linear regression models there was an association for the overall sedentary time of girls and their parents (t = 2.04. p = .020) but there was no association between girls' and parents' physical activity. There were no associations between parents' and boys' sedentary or physical activity time. For girls, the risk of watching more than 4 hours of TV per day, (reference = 2 hours of TV per day), was 3.67 times higher if the girl's parent watched 2-4 hours of TV per day (p = 0.037). For boys, the risk of watching more than 4 hours of TV per day, was 10.47 times higher if the boy's parent watched more than 4 hours of TV per day (p = 0.038).</p> <p>Conclusions</p> <p>There are associations in the sedentary time of parents and daughters. Higher parental TV viewing was associated with an increased risk of high levels of TV viewing for both boys and girls. There were no associations between the time that parents and children spend engaged in physical activity.</p

    Children's active play: self-reported motivators, barriers and facilitators

    Get PDF
    Physical activity has important benefits for children's physical health and mental wellbeing, but many children do not meet recommended levels. Research suggests that active play has the potential to make a valuable contribution to children's overall physical activity, whilst providing additional cognitive, social and emotional benefits. However, relatively little is known about the determinants of UK children's active play. Understanding these factors provides the critical first step in developing interventions to increase children's active play, and therefore overall physical activity. Eleven focus groups were conducted with 77, 10-11 year old children from four primary schools in Bristol, UK. Focus groups examined: (i) factors which motivate children to take part in active play; (ii) factors which limit children's active play and (iii) factors which facilitate children's active play. All focus groups were audio-taped and transcribed verbatim. Data were analysed using a thematic approach. Children were motivated to engage in active play because they perceived it to be enjoyable, to prevent boredom, to have physical and mental health benefits and to provide freedom from adult control, rules and structure. However, children's active play was constrained by a number of factors, including rainy weather and fear of groups of teenagers in their play spaces. Some features of the physical environment facilitated children's active play, including the presence of green spaces and cul-de-sacs in the neighbourhood. Additionally, children's use of mobile phones when playing away from home was reported to help to alleviate parents' safety fears, and therefore assist children's active play. Children express a range of motivational and environmental factors that constrain and facilitate their active play. Consideration of these factors should improve effectiveness of interventions designed to increase active play

    A Mathematical Model of Muscle Containing Heterogeneous Half-Sarcomeres Exhibits Residual Force Enhancement

    Get PDF
    A skeletal muscle fiber that is stimulated to contract and then stretched from L1 to L2 produces more force after the initial transient decays than if it is stimulated at L2. This behavior has been well studied experimentally, and is known as residual force enhancement. The underlying mechanism remains controversial. We hypothesized that residual force enhancement could reflect mechanical interactions between heterogeneous half-sarcomeres. To test this hypothesis, we subjected a computational model of interacting heterogeneous half-sarcomeres to the same activation and stretch protocols that produce residual force enhancement in real preparations. Following a transient period of elevated force associated with active stretching, the model predicted a slowly decaying force enhancement lasting >30 seconds after stretch. Enhancement was on the order of 13% above isometric tension at the post-stretch muscle length, which agrees well with experimental measurements. Force enhancement in the model was proportional to stretch magnitude but did not depend strongly on the velocity of stretch, also in agreement with experiments. Even small variability in the strength of half-sarcomeres (2.1% standard deviation, normally distributed) was sufficient to produce a 5% force enhancement over isometric tension. Analysis of the model suggests that heterogeneity in half-sarcomeres leads to residual force enhancement by storing strain energy introduced during active stretch in distributions of bound cross-bridges. Complex interactions between the heterogeneous half-sarcomeres then dissipate this stored energy at a rate much slower than isolated cross-bridges would cycle. Given the variations in half-sarcomere length that have been observed in real muscle preparations and the stochastic variability inherent in all biological systems, half-sarcomere heterogeneity cannot be excluded as a contributing source of residual force enhancement

    Genomic, Pathway Network, and Immunologic Features Distinguishing Squamous Carcinomas

    Get PDF
    This integrated, multiplatform PanCancer Atlas study co-mapped and identified distinguishing molecular features of squamous cell carcinomas (SCCs) from five sites associated with smokin
    corecore