25 research outputs found

    Why and How Java Developers Break APIs

    Full text link
    Modern software development depends on APIs to reuse code and increase productivity. As most software systems, these libraries and frameworks also evolve, which may break existing clients. However, the main reasons to introduce breaking changes in APIs are unclear. Therefore, in this paper, we report the results of an almost 4-month long field study with the developers of 400 popular Java libraries and frameworks. We configured an infrastructure to observe all changes in these libraries and to detect breaking changes shortly after their introduction in the code. After identifying breaking changes, we asked the developers to explain the reasons behind their decision to change the APIs. During the study, we identified 59 breaking changes, confirmed by the developers of 19 projects. By analyzing the developers' answers, we report that breaking changes are mostly motivated by the need to implement new features, by the desire to make the APIs simpler and with fewer elements, and to improve maintainability. We conclude by providing suggestions to language designers, tool builders, software engineering researchers and API developers.Comment: Accepted at International Conference on Software Analysis, Evolution and Reengineering, SANER 2018; 11 page

    Photometric type Ia supernova surveys in narrow band filters

    Full text link
    We study the characteristics of a narrow band type Ia supernova survey through simulations based on the upcoming Javalambre Physics of the accelerating universe Astrophysical Survey (J-PAS). This unique survey has the capabilities of obtaining distances, redshifts, and the SN type from a single experiment thereby circumventing the challenges faced by the resource-intensive spectroscopic follow-up observations. We analyse the flux measurements signal-to-noise ratio and bias, the supernova typing performance, the ability to recover light curve parameters given by the SALT2 model, the photometric redshift precision from type Ia supernova light curves and the effects of systematic errors on the data. We show that such a survey is not only feasible but may yield large type Ia supernova samples (up to 250 supernovae at z<0.5z<0.5 per month of search) with low core collapse contamination (∼1.5\sim 1.5 per cent), good precision on the SALT2 parameters (average σmB=0.063\sigma_{m_B}=0.063, σx1=0.47\sigma_{x_1}=0.47 and σc=0.040\sigma_c=0.040) and on the distance modulus (average σμ=0.16\sigma_{\mu}=0.16, assuming an intrinsic scatter σint=0.14\sigma_{\mathrm{int}}=0.14), with identified systematic uncertainties σsys≲0.10σstat\sigma_{\mathrm{sys}}\lesssim 0.10 \sigma_{\mathrm{stat}}. Moreover, the filters are narrow enough to detect most spectral features and obtain excellent photometric redshift precision of σz=0.005\sigma_z=0.005, apart from ∼\sim 2 per cent of outliers. We also present a few strategies for optimising the survey's outcome. Together with the detailed host galaxy information, narrow band surveys can be very valuable for the study of supernova rates, spectral feature relations, intrinsic colour variations and correlations between supernova and host galaxy properties, all of which are important information for supernova cosmological applications.Comment: 20 pages, 12 tables and 26 figures. Version accepted by MNRAS, with results slightly different from previous on

    Application of corrective formula for intraocular pressure changes in patients that underwent LASIK

    Get PDF
    OBJETIVO: Comparar a pressão intraocular (PIO) pré e pós-LASIK, correlacionando-as com as mudanças da espessura corneana central (ECC) e ceratometria simulada média (K), assim como verificar o resultado de fórmula corretiva proposta anteriormente. MÉTODOS: Estudo longitudinal, prospectivo, realizado em pacientes submetidos a LASIK. Os pacientes foram submetidos ao exame oftalmológico completo, no pré operatório e após 2 meses da cirurgia. A pressão intraocular foi avaliada com tonômetro de aplanação de Goldmann entre 9 h e 11 h da manhã, a ceratometria simulada média foi avaliada por meio de topografia corneana e a espessura corneana central foi aferida por paquímetro ultrassônico, sendo considerada a média de três aferições. Foram excluídos dois pacientes com cirurgias ou doenças oculares prévias, e uso prévio de corticosteróide tópico nos últimos três meses. As cirurgias foram realizadas de acordo com os procedimentos-padrão. Foi utilizada a fórmula [PIO real = PIO aferida + (540 - ECC)/71 + (43 - K)/2,7 + 0,75 mmHg] proposta para correção da pressão intraocular pós-operatória. RESULTADOS: Quinze olhos de oito pacientes foram avaliados, a idade variou de 24 a 46 anos (média: 31,37 ± 7,27). Foi observada diferença estatisticamente significante entre as medidas da pressão intraocular, de ceratometria simulada média e da espessura corneana central pré e pós-LASIK. (p=0,0001). Foi observado que para cada 1D corrigida, há uma subestimação, em média, de 1,06 ± 0,59 mmHg (0,11 a 1,89 mmHg). A aplicação da fórmula corretiva levou a 80% dos olhos com a tonometria estimada entre ± 2,50 mmHg da pré-operatória, no entanto, quando comparada com a tonometria pré-operatória, estas são estatisticamente diferentes (p=0,0266). CONCLUSÕES: Os olhos submetidos a LASIK apresentaram PIO pós-operatória menor do que a pré-operatória. A pressão intraocular pôde ser moderadamente correlacionada com a espessura corneana central e fracamente com a ceratometria simulada média. Não houve correlação entre a profundidade de ablação e a variação da pressão intraocular, no pós-operatório. Usando a fórmula proposta, pudemos averiguar que 80% dos pacientes apresentaram pressão intraocular entre ± 2,50 mmHg da pré-operatória.PURPOSE: To compare the intraocular pressure (IOP) pre and post LASIK, correlating it to changes in central corneal thickness (CCT) and average simulated keratometry (K), as well as verifying the results of a corrective formula previously proposed. METHODS: Longitudinal prospective study conducted in outpatients that underwent to LASIK. Patients underwent complete ophthalmic examination, previously and 2 months after the surgery. Intraocular pressure was evaluated with Goldmann applanation tonometer between 9 am and 11 am, average simulated keratometry was evaluated using corneal topography and central corneal thickness was measured with ultrasound pachymetry, been considered the average of three measurements. Two patients were excluded due to surgery or eye disease, and previous use of topical steroids over the past three months. The surgeries were performed according to standard procedures. The formula [real IOP = IOP measured + (540 - ECC)/71 + (43 - K)/2.7 + 0.75 mmHg] proposed for correcting intraocular pressure was used. RESULTS: Fifteen eyes of eight patients were evaluated, age ranged from 24 to 46 years (mean: 31.37 ± 7.27). There was a statistically significant difference between the measurements of intraocular pressure, central corneal thickness and average simulated keratometry pre and post-LASIK. (p=0.0001). It was observed that each 1D corrected underestimated the IOP 1.06 ± 0.59 mmHg (0.11 a 1.89 mmHg). The use of the corrective formula lead to 80% of eyes within 2.50 mmHg of preoperative intraocular pressure. Although, the two sets of data are statistically different (p=0.0266). CONCLUSIONS: Post LASIK eyes presented lower intraocular pressure than preoperatively. Intraocular pressure was moderately correlated to central corneal thickness and weakly correlated to average simulated keratometry. With the use of the corrective formula, we were able to determine that 80% were within 2.50 mmHg of the preoperative intraocular pressure

    How can dairies maximize their profits and properly remunerate their dairy farmers?

    Get PDF
    ABSTRACT The current pricing process of raw milk in Brazil discourages producers from improving milk composition, which affects both yield and quality of dairy products. Furthermore, small and medium-sized dairies face great difficulties when it comes to planning production. Thus, a linear programming model was developed to price the raw milk and determine the optimal mix (combination of quantities) of dairy products that maximizes total contribution margin (TCM) under daily scenarios of high (January) and low (July) raw milk supplies (summer and winter, respectively) by comparing optimal solutions with actual results. The TCM of optimal and actual mixes were higher in January due to the greater availability of raw material. Packaging was a limiting factor in the production of cheese in optimal mixes. The relationship between unit contribution margin (UCM) and the required amount of raw materials per product unit and resource availability is crucial to defining the mix of dairy products and TCM of the dairy. Casein and raw milk volume showed shadow prices. Under both scenarios, the calculated prices of raw milk were higher than the prices charged by the dairy and were higher in January. The proposed model remunerates the producers based on the quantity and quality of raw milk. The dairy can maximize its TCM by better planning its mix of products with the use of linear programming

    Historical and impact analysis of API breaking changes

    No full text
    Exportado OPUSMade available in DSpace on 2019-08-12T12:57:24Z (GMT). No. of bitstreams: 1 joselaertexavier.pdf: 1907241 bytes, checksum: 810a61809fe0e189a603190738e320b0 (MD5) Previous issue date: 2Change is a routine in software development. In the case of APIs provided by libraries and frameworks changes can be backward-incompatible, breaking contracts with client applications. In this dissertation, we perform two studies on API breaking changes. We assess (i) the frequency of breaking changes, (ii) their behavior over time, (iii) the impact on clients, (iv) the characteristics of libraries with high frequency of breaking changes, (v) the reasons why developers introduce them, and (vi) developers awareness on the risks associated to breaking changes. Our large-scale analysis on 317 real-world Java libraries, 9K releases, and 260K client applications shows that (i) 14.78% of the API changes break compatibility, (ii) their frequency increases over time, (iii) 2.54% of API clients are impacted, and (iv) systems with higher frequency of breaking changes are larger, more popular, and more active. We also survey API developers to reveal a list of five reasons why they break APIs

    How can dairies maximize their profits and properly remunerate their dairy farmers?

    Get PDF
    The current pricing process of raw milk in Brazil discourages producers from improving milk composition, which affects both yield and quality of dairy products. Furthermore, small and medium-sized dairies face great difficulties when it comes to planning production. Thus, a linear programming model was developed to price the raw milk and determine the optimal mix (combination of quantities) of dairy products that maximizes total contribution margin (TCM) under daily scenarios of high (January) and low (July) raw milk supplies (summer and winter, respectively) by comparing optimal solutions with actual results. The TCM of optimal and actual mixes were higher in January due to the greater availability of raw material. Packaging was a limiting factor in the production of cheese in optimal mixes. The relationship between unit contribution margin (UCM) and the required amount of raw materials per product unit and resource availability is crucial to defining the mix of dairy products and TCM of the dairy. Casein and raw milk volume showed shadow prices. Under both scenarios, the calculated prices of raw milk were higher than the prices charged by the dairy and were higher in January. The proposed model remunerates the producers based on the quantity and quality of raw milk. The dairy can maximize its TCM by better planning its mix of products with the use of linear programming

    Avaliação da taxa de urbanização do Bioma Cerrado através dos produtos DMSP-OLS: uma análise preliminar para os anos de 1992 a 2009

    No full text
    The Cerrado is considered one of the most threatened biomes in the world, in consequence of the deforestation and forest fires. Currently, several instruments on board satellites and various public databases allow the monitoring of a range of phenomena related to the land use in this biome. One of these instruments is the DMSP (Defense Meteorological Satellite Program), with which is possible to monitor the emission of artificial lights present in urban areas. Thus, this paper aims to quantify the rate of urbanization for the Cerrado region using images acquired from this satellite between 1992 and 2009. The light stable images were treated by the Air Force Space and Missile Systems Center, to ensure only depict artificial sources of light. The analysis of points of lights can indicate if there is occupation in a given area/moment and estimate the human population development. Our main results show that among the states with the largest urbanized area in the Cerrado are Sao Paulo (471,028 km2), Minas Gerais (359,197 km2) and Goiás (311,102 km2), while the Piauí (46,692 km2), Bahia (52,519 km2) and Tocantins (77,698 km2) are among the least urbanized states. In general, the last two decades, the rate of urbanization in the region was higher than 100%. Finally, additional studies are being conducted with demographic data from IBGE (the urban population in states/municipalities), thus broadening the approaches to the products DMSP for the Cerrado biome.Pages: 6757-676
    corecore