2,169 research outputs found
Inferring Concise Specifications of APIs
Modern software relies on libraries and uses them via application programming
interfaces (APIs). Correct API usage as well as many software engineering tasks
are enabled when APIs have formal specifications. In this work, we analyze the
implementation of each method in an API to infer a formal postcondition.
Conventional wisdom is that, if one has preconditions, then one can use the
strongest postcondition predicate transformer (SP) to infer postconditions.
However, SP yields postconditions that are exponentially large, which makes
them difficult to use, either by humans or by tools. Our key idea is an
algorithm that converts such exponentially large specifications into a form
that is more concise and thus more usable. This is done by leveraging the
structure of the specifications that result from the use of SP. We applied our
technique to infer postconditions for over 2,300 methods in seven popular Java
libraries. Our technique was able to infer specifications for 75.7% of these
methods, each of which was verified using an Extended Static Checker. We also
found that 84.6% of resulting specifications were less than 1/4 page (20 lines)
in length. Our technique was able to reduce the length of SMT proofs needed for
verifying implementations by 76.7% and reduced prover execution time by 26.7%
Language aptitude: Desirable trait or acquirable attribute?
The traditional definition of language aptitude sees it as “an individual’s initial state of readiness and capacity for learning a foreign language, and probable facility in doing so given the presence of motivation and opportunity” (Carroll, 1981, p. 86). This conception portrays language aptitude as a trait, in the sense of exhibiting stability over long periods of time and being immune to training. The trait view of language aptitude tends towards the notion that it is innate, and indeed language aptitude has often been associated with the popular notion of a “gift for languages” (cf. Rosenthal, 1996, p. 59). The view of language aptitude as an innate trait has, however, long been questioned (see e.g., Neufeld, 1978). Recently, this questioning has intensified (see Singleton, 2014), especially since the development of a widespread consensus that working memory needs to be recognized as an important component of language aptitude (see Wen, 2016). Working memory was also once thought of as a trait, but is now recognized as susceptible to the influence of experience and instruction (see e.g., Williams, 2012). The present paper will track the trajectory of the above theoretical discussion and will explore the implications of the stage it has now reached
Affordances theory in multilingualism studies
The concept of affordances originating in Gibson’s work (Gibson, 1977) is gaining ground in multilingualism studies (cf. Aronin and Singleton, 2010; Singleton and Aronin, 2007; Dewaele, 2010). Nevertheless, studies investigating affordances in respect of teaching, learning or using languages are still somewhat rare and tend to treat isolated aspects of multilingualism. This is despite the fact that the theory of affordances can actually provide a valuable, supplementary, up-to-date framework within which a clearer, sharper description and explication of the intriguing range of attributes of multilingual communities, educational institutions and individuals, as well as teaching practices, become feasible. It is important that not only researchers and practitioners (teachers, educators, parents, community and political actors) but also language users and learners themselves should be aware of how to identify or, if necessary, design new affordances for language acquisition and learning. The aim of this article is to adapt the concept of affordances to multilingualism studies and additional language teaching, and in so doing advance theoretical understanding in this context. To this end the article contains a brief summary of the findings so far available. The article also goes further into defining the ways of how affordances work in relation to multilingualism and second language teaching and puts forward an integrated model of affordances
Role of Gravity Waves in Determining Cirrus Cloud Properties
Cirrus clouds are important in the Earth's radiation budget. They typically exhibit variable physical properties within a given cloud system and from system to system. Ambient vertical motion is a key factor in determining the cloud properties in most cases. The obvious exception is convectively generated cirrus (anvils), but even in this case, the subsequent cloud evolution is strongly influenced by the ambient vertical motion field. It is well know that gravity waves are ubiquitous in the atmosphere and occur over a wide range of scales and amplitudes. Moreover, researchers have found that inclusion of statistical account of gravity wave effects can markedly improve the realism of simulations of persisting large-scale cirrus cloud features. Here, we use a 1 -dimensional (z) cirrus cloud model, to systematically examine the effects of gravity waves on cirrus cloud properties. The model includes a detailed representation of cloud microphysical processes (bin microphysics and aerosols) and is run at relatively fine vertical resolution so as to adequately resolve nucleation events, and over an extended time span so as to incorporate the passage of multiple gravity waves. The prescribed gravity waves "propagate" at 15 m s (sup -1), with wavelengths from 5 to 100 km, amplitudes range up to 1 m s (sup -1)'. Despite the fact that the net gravity wave vertical motion forcing is zero, it will be shown that the bulk cloud properties, e.g., vertically-integrated ice water path, can differ quite significantly from simulations without gravity waves and that the effects do depend on the wave characteristics. We conclude that account of gravity wave effects is important if large-scale models are to generate realistic cirrus cloud property climatology (statistics)
Psychotic Symptoms in Kenya - Prevalence, Risk Factors, and Relationship with Common Mental Disorders
There have been few epidemiological surveys to establish prevalence and associated risk factors of psychosis in Sub-Saharan Africa. This paper reports a population- based epidemiological survey in rural Kenya of the prevalence of psychotic symptoms and their relationship with demographic, socio-economic and other risk factors. A random sample of 2% of all adults living in Maseno, Kisumu District of Nyanza province, Kenya (50,000 population) were studied, aiming for a sample size of 1,000 people. The psychosis screening questionnaire was used to assess the prevalence of psychotic symptoms in the preceding twelve months. The response rate was 87.6%. The prevalence of single psychotic symptoms in rural Kenya was 8% of the adult population, but only 0.6% had two symptoms and none had three or more psychotic symptoms in this sample size. Psychotic symptoms were evenly distributed across this relatively poor rural population and were significantly associated with presence of common mental disorders, and to a lesser extent with poor physical health and housing type. We conclude that single psychotic symptoms are relatively common in rural Kenya and rates are elevated in those with CMD, poor physical health and poor housing
A Hybrid Sequencing Approach Completes the Genome Sequence of Thermoanaerobacter ethanolicus JW 200
Thermoanaerobacter ethanolicus JW 200 has been identified as a potential sustainable biofuel producer due to its ability to readily ferment carbohydrates to ethanol. A hybrid sequencing approach, combining Oxford Nanopore and Illumina DNA sequence reads, was applied to produce a single contiguous genome sequence of 2,911,280 bp
Extreme magnetic field-boosted superconductivity
Applied magnetic fields underlie exotic quantum states, such as the
fractional quantum Hall effect and Bose-Einstein condensation of spin
excitations. Superconductivity, on the other hand, is inherently antagonistic
towards magnetic fields. Only in rare cases can these effects be mitigated over
limited fields, leading to reentrant superconductivity. Here, we report the
unprecedented coexistence of multiple high-field reentrant superconducting
phases in the spin-triplet superconductor UTe2. Strikingly, we observe
superconductivity in the highest magnetic field range identified for any
reentrant superconductor, beyond 65 T. These extreme properties reflect a new
kind of exotic superconductivity rooted in magnetic fluctuations and boosted by
a quantum dimensional crossover
Centromeric binding and activity of Protein Phosphatase 4
The cell division cycle requires tight coupling between protein phosphorylation and dephosphorylation. However, understanding the cell cycle roles of multimeric protein phosphatases has been limited by the lack of knowledge of how their diverse regulatory subunits target highly conserved catalytic subunits to their sites of action. Phosphoprotein phosphatase 4 (PP4) has been recently shown to participate in the regulation of cell cycle progression. We now find that the EVH1 domain of the regulatory subunit 3 of Drosophila PP4, Falafel (Flfl), directly interacts with the centromeric protein C (CENP-C). Unlike other EVH1 domains that interact with proline-rich ligands, the crystal structure of the Flfl amino-terminal EVH1 domain bound to a CENP-C peptide reveals a new target-recognition mode for the phosphatase subunit. We also show that binding of Flfl to CENP-C is required to bring PP4 activity to centromeres to maintain CENP-C and attached core kinetochore proteins at chromosomes during mitosis
Fermi-surface topologies and low-temperature phases of the filled skutterudite compounds CeOs4Sb12 and NdOs4Sb12
MHz conductivity, torque magnetometer and magnetization measurements are reported on single crystals of CeOs4Sb12 and NdOs4Sb12 using temperatures down to 0.5 K and magnetic fields of up to 60 tesla. The field-orientation dependence of the de Haas-van Alphen and Shubnikov-de Haas oscillations is deduced by rotating the samples about the [010] and [0¯11] directions. The results indicate that NdOs4Sb12 has a similar Fermi surface topology to that of the unusual superconductor PrOs4Sb12, but with significantly smaller effective masses, supporting the importance of local phonon modes in contributing to the low-temperature heat capacity of NdOs4Sb12. By contrast, CeOs4Sb12 undergoes a field-induced transition from an unusual semimetal into a high-field, hightemperature state characterized by a single, almost spherical Fermi-surface section. The behavior of the phase boundary and comparisons with models of the bandstructure lead us to propose that the field-induced phase transition in CeOs4Sb12 is similar in origin to the well-known α − γ transition in Ce and its alloys
- …
