17,686 research outputs found

    Benefits of Session Types for software Development

    Get PDF
    Session types are a formalism used to specify and check the correctness of communication based systems. Within their scope, they can guarantee the absence of communication errors such as deadlock, sending an unexpected message or failing to handle an incoming message. Introduced over two decades ago, they have developed into a significant theme in programming languages. In this paper we examine the beliefs that drive research into this area and make it popular. We look at the claims and motivation behind session types throughout the literature. We identify the hypotheses upon which session types have been designed and implemented, and attempt to clarify and formulate them in a more suitable manner for testing

    Improving sensitivity of oral fluid testing in IgG prevalence studies: application of mixture models to a rubella antibody survey

    Get PDF
    A method for the analysis of age-stratified antibody prevalence surveys is applied to a previously reported survey of antibody to rubella virus using oral fluid samples in which the sensitivity of the assay used was shown to be compromised. The age-specific distribution of the quantitative results of antibody tests using oral fluids is modelled as a mixture of strong positive, weak positive and negative components. This yields maximum likelihood estimates of the prevalence at each age and demonstrates that, when used in conjunction with mixture modelling techniques, the results of antibody prevalence studies using oral fluids accurately reflect those obtained using sera

    Modelling alternative strategies for delivering hepatitis B vaccine in prisons : the impact on the vaccination coverage of the injecting drug user population

    Get PDF
    Since 2001 hepatitis B vaccination has been offered to prisoners on reception into prisons in England and Wales. However, short campaigns of vaccinating the entire population of individual prisons have achieved high vaccination coverage for limited periods, suggesting that short campaigns may be a preferable way of vaccinating prisoners. A model is used that describes the flow of prisoners through prisons stratified by injecting status to compare a range of vaccination scenarios that describe vaccination on prison reception or via regular short campaigns. Model results suggest that vaccinating on prison reception can capture a greater proportion of the injecting drug user (IDU) population than the comparable campaign scenarios (63% vs. 55 . 6% respectively). Vaccination on prison reception is also more efficient at capturing IDUs for vaccination than vaccination via a campaign, although vaccination via campaigns may have a role with some infections for overall control

    Mungo and StMungo: tools for typechecking protocols in Java

    Get PDF
    We present two tools that support static typechecking of communica- tion protocols in Java. Mungo associates Java classes with typestate specifications, which are state machines defining permitted sequences of method calls. StMungo translates a communication protocol specified in the Scribble protocol description language into a typestate specification for each role in the protocol by following the message sequence. Role implementations can be typechecked by Mungo to ensure that they satisfy their protocols, and then compiled as usual with javac. We demonstrate the Scribble, StMungo and Mungo toolchain via a typechecked POP3 client that can communicate with a real-world POP3 server

    Criterion for purely elastic Taylor-Couette instability in the flows of shear-banding fluids

    Get PDF
    In the past twenty years, shear-banding flows have been probed by various techniques, such as rheometry, velocimetry and flow birefringence. In micellar solutions, many of the data collected exhibit unexplained spatio-temporal fluctuations. Recently, it has been suggested that those fluctuations originate from a purely elastic instability of the flow. In cylindrical Couette geometry, the instability is reminiscent of the Taylor-like instability observed in viscoelastic polymer solutions. In this letter, we describe how the criterion for purely elastic Taylor-Couette instability should be adapted to shear-banding flows. We derive three categories of shear-banding flows with curved streamlines, depending on their stability.Comment: 6 pages, 3 figure

    Potential "ways of thinking" about the shear-banding phenomenon

    Get PDF
    Shear-banding is a curious but ubiquitous phenomenon occurring in soft matter. The phenomenological similarities between the shear-banding transition and phase transitions has pushed some researchers to adopt a 'thermodynamical' approach, in opposition to the more classical 'mechanical' approach to fluid flows. In this heuristic review, we describe why the apparent dichotomy between those approaches has slowly faded away over the years. To support our discussion, we give an overview of different interpretations of a single equation, the diffusive Johnson-Segalman (dJS) equation, in the context of shear-banding. We restrict ourselves to dJS, but we show that the equation can be written in various equivalent forms usually associated with opposite approaches. We first review briefly the origin of the dJS model and its initial rheological interpretation in the context of shear-banding. Then we describe the analogy between dJS and reaction-diffusion equations. In the case of anisotropic diffusion, we show how the dJS governing equations for steady shear flow are analogous to the equations of the dynamics of a particle in a quartic potential. Going beyond the existing literature, we then draw on the Lagrangian formalism to describe how the boundary conditions can have a key impact on the banding state. Finally, we reinterpret the dJS equation again and we show that a rigorous effective free energy can be constructed, in the spirit of early thermodynamic interpretations or in terms of more recent approaches exploiting the language of irreversible thermodynamics.Comment: 14 pages, 6 figures, tutorial revie

    Vlasov moment flows and geodesics on the Jacobi group

    Full text link
    By using the moment algebra of the Vlasov kinetic equation, we characterize the integrable Bloch-Iserles system on symmetric matrices (arXiv:math-ph/0512093) as a geodesic flow on the Jacobi group. We analyze the corresponding Lie-Poisson structure by presenting a momentum map, which both untangles the bracket structure and produces particle-type solutions that are inherited from the Vlasov-like interpretation. Moreover, we show how the Vlasov moments associated to Bloch-Iserles dynamics correspond to particular subgroup inclusions into a group central extension (first discovered in arXiv:math/0410100), which in turn underlies Vlasov kinetic theory. In the most general case of Bloch-Iserles dynamics, a generalization of the Jacobi group also emerges naturally.Comment: 45 page

    Sensitivity of the superconducting state in thin films

    Get PDF
    For more than two decades, there have been reports on an unexpected metallic state separating the established superconducting and insulating phases of thin-film superconductors. To date, no theoretical explanation has been able to fully capture the existence of such a state for the large variety of superconductors exhibiting it. Here, we show that for two very different thin-film superconductors, amorphous indium oxide and a single crystal of 2H-NbSe2, this metallic state can be eliminated by adequately filtering external radiation. Our results show that the appearance of temperature-independent, metallic-like transport at low temperatures is sufficiently described by the extreme sensitivity of these superconducting films to external perturbations. We relate this sensitivity to the theoretical observation that, in two dimensions, superconductivity is only marginally stable
    corecore