176 research outputs found

    Configuration Smells in Continuous Delivery Pipelines: A Linter and a Six-Month Study on GitLab

    Full text link
    An effective and efficient application of Continuous Integration (CI) and Delivery (CD) requires software projects to follow certain principles and good practices. Configuring such a CI/CD pipeline is challenging and error-prone. Therefore, automated linters have been proposed to detect errors in the pipeline. While existing linters identify syntactic errors, detect security vulnerabilities or misuse of the features provided by build servers, they do not support developers that want to prevent common misconfigurations of a CD pipeline that potentially violate CD principles (“CD smells”). To this end, we propose CD-Linter, a semantic linter that can automatically identify four different smells in pipeline configuration files. We have evaluated our approach through a large-scale and long-term study that consists of (i) monitoring 145 issues (opened in as many open-source projects) over a period of 6 months, (ii) manually validating the detection precision and recall on a representative sample of issues, and (iii) assessing the magnitude of the observed smells on 5,312 open-source projects on GitLab. Our results show that CD smells are accepted and fixed by most of the developers and our linter achieves a precision of 87% and a recall of 94%. Those smells can be frequently observed in the wild, as 31% of projects with long configurations are affected by at least one smell

    The use of diffuse reflectance mid-infrared spectroscopy for the prediction of the concentration of chemical elements estimated by X-ray fluorescence in agricultural and grazing European soils

    Get PDF
    The aim of this study was to develop partial least-squares (PLS) regression models using diffuse reflectance Fourier transform mid-infrared (MIR) spectroscopy for the prediction of the concentration of elements in soil determined by X-ray fluorescence (XRF). A total of 4130 soils from the GEMAS European soil sampling program (geochemical mapping of agricultural soils and grazing land of Europe) were used for the development of models to predict concentrations of Al, As, Ba, Ca, Ce, Co, Cr, Cs, Cu, Fe, Ga, Hf, K, La, Mg, Mn, Na, Nb, Ni, P, Pb, Rb, Sc, Si, Sr, Th, Ti, V, Y, Zn and Zr in soil using MIR spectroscopy. The results were compared with those obtained where MIR models were developed with the same soils but using the concentration of elements extracted with aqua regia (AR). The PLS models were cross-validated against the experimental log-transformed XRF values of all the elements. The calibration models were derived from a set of 1000 randomly selected calibration samples. The rest of the samples (3130) were used as an independent validation set. According to the residual predictive deviation (RPD), predictions were classified as follows: “Good quality”, Ca (2.9), Mg (2.5), Al (2.3), Fe (2.2), Ga (2.2), Si (2.1), Na (2.0); “Indicator quality”, V (1.9), Ni (1.9), Sc (1.9), K (1.8), Ti (1.8), Rb (1.8), Zn (1.7), Co (1.7), Zr (1.6), Cr (1.6), Sr (1.6), Y (1.6), Nb (1.6), Ba (1.5), Mn (1.5), As (1.5), Ce (1.5); “Poor quality”, Cs (1.4), Th (1.4), P (1.4), Cu (1.4), Pb (1.3), La (1.2), Hf (1.1). Good agreement was observed between the RPD values obtained for the elements analysed in this study and those from the AR study. Despite the different elemental concentrations determined by the XRF method compared to the AR method, MIR spectroscopy was still capable of predicting elemental concentrations

    Prediction of the concentration of chemical elements extracted by aqua regia in agricultural and grazing European soils using diffuse reflectance mid-infrared spectroscopy

    Get PDF
    Prediction of the concentration of chemical elements extracted by aqua regia in agricultural and grazing European soils using diffuse reflectance mid-infrared spectroscopy / J. M. Soriano-Disla... [et al.]. - Amsterdam : Elsevier, 2013. - il., 2 figuras e 3 tabelas ; 30 cm The aim of this study was to develop partial least squares (PLS) models to predict the concentrations of 45 elements in soils extracted by the aqua regia (AR) method using diffuse reflectance Fourier Transform mid-infrared (MIR; 4000–500 cm-1) spectroscopy. A total of 4130 soils from the GEMAS European soil sampling program (geochemical mapping of agricultural soils and grazing land of Europe) were selected. From the full soil set, 1000 samples were randomly selected to develop PLS models. Cross-validation was used for model training and the remaining 3130 samples used for model testing. According to the ratio of standard deviation to root mean square error (RPD) of the predictions, the elements were allocated into two main groups; Group 1 (successful calibrations, 30 elements), including those elements with RPD ? 1.5 (the coefficient of determination, R2, also provided): Ca (3.3, 0.91), Mg (2.5, 0.84), Al (2.4, 0.83), Fe (2.2, 0.79), Ga (2.1, 0.78), Co (2.1, 0.77), Ni (2.0, 0.77), Sc (2.1, 0.76), Ti (2.0, 0.75), Li (1.9, 0.73), Sr (1.9, 0.72), K (1.8, 0.70), Cr (1.8, 0.70), Th (1.8, 0.69), Be (1.7, 0.66), S (1.7, 0.66), B (1.6, 0.63), Rb (1.6, 0.62), V (1.6, 0.62), Y (1.6, 0.61), Zn (1.6, 0.60), Zr (1.6, 0.59), Nb (1.5, 0.58), Ce (1.5, 0.58), Cs (1.5, 0.58), Na (1.5, 0.57), In (1.5, 0.57), Bi (1.5, 0.56), Cu (1.5, 0.55), and Mn (1.5, 0.54); and Group 2 for 15 elements with RPD values lower than 1.5: As (1.4, 0.52), Ba (1.4, 0.52), La (1.4, 0.52), Tl (1.4, 0.51), P (1.4, 0.46), U (1.4, 0.45), Sb (1.3, 0.46), Mo (1.3, 0.43), Pb (1.3, 0.42), Se (1.3, 0.40), Cd (1.3, 0.40), Sn (1.3, 0.38), Hg (1.2, 0.33), Ag (1.2, 0.32) and W (1.1, 0.19). The success of the PLS models was found to be dependent on their relationships (directly or indirectly) with MIR-active soil components

    Are social norms associated with smoking in French university students? A survey report on smoking correlates

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>Knowledge of the correlates of smoking is a first step to successful prevention interventions. The social norms theory hypothesises that students' smoking behaviour is linked to their perception of norms for use of tobacco. This study was designed to test the theory that smoking is associated with perceived norms, controlling for other correlates of smoking.</p> <p>Methods</p> <p>In a pencil-and-paper questionnaire, 721 second-year students in sociology, medicine, foreign language or nursing studies estimated the number of cigarettes usually smoked in a month. 31 additional covariates were included as potential predictors of tobacco use. Multiple imputation was used to deal with missing values among covariates. The strength of the association of each variable with tobacco use was quantified by the inclusion frequencies of the variable in 1000 bootstrap sample backward selections. Being a smoker and the number of cigarettes smoked by smokers were modelled separately.</p> <p>Results</p> <p>We retain 8 variables to predict the risk of smoking and 6 to predict the quantities smoked by smokers. The risk of being a smoker is increased by cannabis use, binge drinking, being unsupportive of smoke-free universities, perceived friends' approval of regular smoking, positive perceptions about tobacco, a high perceived prevalence of smoking among friends, reporting not being disturbed by people smoking in the university, and being female. The quantity of cigarettes smoked by smokers is greater for smokers reporting never being disturbed by smoke in the university, unsupportive of smoke-free universities, perceiving that their friends approve of regular smoking, having more negative beliefs about the tobacco industry, being sociology students and being among the older students.</p> <p>Conclusion</p> <p>Other substance use, injunctive norms (friends' approval) and descriptive norms (friends' smoking prevalence) are associated with tobacco use.</p> <p>University-based prevention campaigns should take multiple substance use into account and focus on the norms most likely to have an impact on student smoking.</p

    Can the intake of antiparasitic secondary metabolites explain the low prevalence of hemoparasites among wild Psittaciformes?

    Get PDF
    Background: Parasites can exert selection pressure on their hosts through effects on survival, on reproductive success, on sexually selected ornament, with important ecological and evolutionary consequences, such as changes in population viability. Consequently, hemoparasites have become the focus of recent avian studies. Infection varies significantly among taxa. Various factors might explain the differences in infection among taxa, including habitat, climate, host density, the presence of vectors, life history and immune defence. Feeding behaviour can also be relevant both through increased exposure to vectors and consumption of secondary metabolites with preventative or therapeutic effects that can reduce parasite load. However, the latter has been little investigated. Psittaciformes (parrots and cockatoos) are a good model to investigate these topics, as they are known to use biological control against ectoparasites and to feed on toxic food. We investigated the presence of avian malaria parasites (Plasmodium), intracellular haemosporidians (Haemoproteus, Leucocytozoon), unicellular flagellate protozoans (Trypanosoma) and microfilariae in 19 Psittaciformes species from a range of habitats in the Indo-Malayan, Australasian and Neotropical regions. We gathered additional data on hemoparasites in wild Psittaciformes from the literature. We considered factors that may control the presence of hemoparasites in the Psittaciformes, compiling information on diet, habitat, and climate. Furthermore, we investigated the role of diet in providing antiparasitic secondary metabolites that could be used as self-medication to reduce parasite load. Results: We found hemoparasites in only two of 19 species sampled. Among them, all species that consume at least one food item known for its secondary metabolites with antimalarial, trypanocidal or general antiparasitic properties, were free from hemoparasites. In contrast, the infected parrots do not consume food items with antimalarial or even general antiparasitic properties. We found that the two infected species in this study consumed omnivorous diets. When we combined our data with data from studies previously investigating blood parasites in wild parrots, the positive relationship between omnivorous diets and hemoparasite infestation was confirmed. Individuals from open habitats were less infected than those from forests. Conclusions: The consumption of food items known for their secondary metabolites with antimalarial, trypanocidal or general antiparasitic properties, as well as the higher proportion of infected species among omnivorous parrots, could explain the low prevalence of hemoparasites reported in many vertebrates

    Evidence for widespread hydrated minerals on asteroid (101955) Bennu

    Get PDF
    Early spectral data from the Origins, Spectral Interpretation, Resource Identification, and Security-Regolith Explorer (OSIRIS-REx) mission reveal evidence for abundant hydrated minerals on the surface of near-Earth asteroid (101955) Bennu in the form of a near-infrared absorption near 2.7 ”m and thermal infrared spectral features that are most similar to those of aqueously altered CM-type carbonaceous chondrites. We observe these spectral features across the surface of Bennu, and there is no evidence of substantial rotational variability at the spatial scales of tens to hundreds of metres observed to date. In the visible and near-infrared (0.4 to 2.4 ”m) Bennu’s spectrum appears featureless and with a blue (negative) slope, confirming previous ground-based observations. Bennu may represent a class of objects that could have brought volatiles and organic chemistry to Earth

    The dynamic geophysical environment of (101955) Bennu based on OSIRIS-REx measurements

    Get PDF
    The top-shaped morphology characteristic of asteroid (101955) Bennu, often found among fast-spinning asteroids and binary asteroid primaries, may have contributed substantially to binary asteroid formation. Yet a detailed geophysical analysis of this morphology for a fast-spinning asteroid has not been possible prior to the Origins, Spectral Interpretation, Resource Identification, and Security-Regolith Explorer (OSIRIS-REx) mission. Combining the measured Bennu mass and shape obtained during the Preliminary Survey phase of the OSIRIS-REx mission, we find a notable transition in Bennu’s surface slopes within its rotational Roche lobe, defined as the region where material is energetically trapped to the surface. As the intersection of the rotational Roche lobe with Bennu’s surface has been most recently migrating towards its equator (given Bennu’s increasing spin rate), we infer that Bennu’s surface slopes have been changing across its surface within the last million years. We also find evidence for substantial density heterogeneity within this body, suggesting that its interior is a mixture of voids and boulders. The presence of such heterogeneity and Bennu’s top shape are consistent with spin-induced failure at some point in its past, although the manner of its failure cannot yet be determined. Future measurements by the OSIRIS-REx spacecraft will provide insight into and may resolve questions regarding the formation and evolution of Bennu’s top-shape morphology and its link to the formation of binary asteroids
    • 

    corecore