127 research outputs found

    Exposing Rich Update Operations via REST APIs

    Get PDF
    Paari viimase aastaga on Representational State Transfer (REST) muutunud Application Programming Interface’i (API) disaini liidriks tĂ€nu lihtsusele ja mitmekĂŒlgsusele. See on hĂ”lbustanud API’sid URL’ide juures, mis kasutavad selliseid HTTP meetodeid nagu GET, POST, PUT ja DELETE. See on viinud lihtsustatud mudelite toomiseni klientide tarkvara arendajatele. Siiski on kaks probleemi, mida REST ainuĂŒksi ei lahenda. Esimene neist on standardiseeritud vastused. Enamikel ettevĂ”tetest on oma API’d, tavaliselt JSON tĂŒĂŒpi vastusega, mis ĂŒhtib nende andmemudeliga. Hea nĂ€ide on see, kui Twitter’i API klient ei ole vĂ”imeline otseselt ĂŒhendust vĂ”tma Reddit API’ga ja vastupidi. SeetĂ”ttu teevad paljud API kliendid peaaegu sama asja. Sellest tulenevalt leiame me olukorra, kus arvukad arendajad kordavad sedasama saavutust. JĂ€rgmine probleem on API’de sidumine. World Wide Web’i Consortsium’i (W3C) kohaselt JSON ei sisalda sisseehitatud toetust hĂŒperlinkidele, mis moodustavad pĂ”hilise Web’i ehitusbloki. Nende kahe puudused tĂ€hendavad seda, et API lĂ”pp-punktid on seotud API dokumentatsiooniga, seega on kasutajad sunnitud hoolikalt lĂ€bi lugema mitmeid lehekĂŒlgi API dokumentatsioone, et mĂ”ista API lĂ”pp-punktide vahelist suhet ning saada aru, mis tegevused on vajalikud juurdepÀÀsuks antud vahendile. KokkuvĂ”ttes me nĂ€eme, et kaasaegsetel rakendustel, arendatud API’d, on uuenduste kĂ€sklused ĂŒhendatud meetoditega, mis manipuleerivad otseselt domeeniga. Selles uuringus arutleme uuendusi otsivate kĂ€skluste probleemi ĂŒle ja pĂŒĂŒame leida vĂ”imalusi, et tĂ€iustada seda rikkalike uuendusmeetodite ja erinevaid lĂ€henemisi kasutavate, uuendusi otsivate, kĂ€skluste kaudu. Esimese panusena selles uurimustöös, tuleb vĂ”tta hĂŒpermeedia formaat Collection +JSON ja parendada seda nii, et see mahutaks rohkem uuenduste kĂ€sklusi lĂ€bi ĂŒheainsa REST uuenduse meetodi dĂŒnaamiliselt nii API’s kui kliendi tarkvaras. Lihtsalt öeldes me kooskĂ”lastame REST’i lihtsuse Domain Driven Development and Command Query Responsibility Segregation’i (CQRS) rikkalike kontseptidega. Me loome mĂ€rkustel pĂ”hineva ressursi pakkija, mis genereerib kĂ€sud dĂŒnaamiliselt kasutades jagatud kontrollijat ja liidest, mis vĂ€hendab koodi, mida vajatakse laadimisel valdkonna teenuse meetodina API’sse.In the past few years Representational State Transfer (REST) has emerged a leader of modern Application Programming Interface (API) design for its simplicity and versatility. This has facilitated APIs with URLs that make use of HTTP methods like GET, POST, PUT and DELETE. It has also led to producing intuitive models for client developers. However, there are two issues that REST doesn’t solve alone, the first issue being standardized responses. Most enterprises have their own custom APIs, usually a JSON response that maps clearly to their custom data model. A good example is when a Twitter API client is not able directly communicate with a Reddit API and vice versa. This leads to numerous API clients that do almost, but not quite the same thing. Hence we find numerous developers duplicating the same efforts. The second issue is linking. As put by the World Wide Web Consortium (W3C): JSON doesn’t include built-in support for hyperlinks, which fundamentally constitutes as a building block on the Web. Hence the drawbacks of the two is that the API endpoints are only linked by API documentation, thus users are forced to peruse through pages of API documentation to comprehend the relationships between the API endpoints and understand what actions are required to interact with a given resource. In summary, we find that in modern day applications, the APIs developed have their update operations mapped to methods that directly manipulate the domain. In this research we discuss the underlying problem with update queries and unearth ways to enhance them for richer update methods and queries using various approaches. The first contribution in this research is to take a hypermedia format namely Collection +JSON, and to enhance it to accommodate and expose multiple update commands and templates through a single REST update method dynamically, both in the API and the client. In simple words, we reconcile the simplicity of REST, with the ample concepts of Domain Driven Development and Command Query Responsibility Segregation (CQRS). We also implement an annotation based resource assembler that generates commands dynamically by using a generic controller and interface that reduces the implementation needed to inject domain service methods into the API

    Prevalence and mortality of epilepsies with convulsive and non-convulsive seizures in Kilifi, Kenya

    Get PDF
    Objectives: The prevalence of all epilepsies (both convulsive and non-convulsive seizures) in Low- and Middle- Income Countries (LMIC), particularly sub-Saharan Africa is unknown. Under estimation of non-convulsive ep- ilepsies in data from these countries may lead to inadequate and sub-optimal allocation of resources to control and prevent epilepsy. We determined the prevalence of all types of epilepsies and compared the mortality be- tween convulsive seizures and non-convulsive seizures in a resource limited rural area in Kenya. Methods: Trained clinicians identified cases of epilepsy in a randomly selected sample of 4,441 residents in the Kilifi Health and Demographic Surveillance System site using a cross-sectional survey design. Seizure types were classified by epileptologists using the current guidelines of the International League Against Epilepsy (ILAE). We estimated prevalence for epilepsy with convulsive seizures and non-convulsive seizures and for epilepsy with non-convulsive seizures only and compared premature mortality between these groups of seizures. Results: Of the 4441 people visited, 141 had lifetime epilepsy and 96 active epilepsy, which is a crude prevalence of 31.7/1,000 persons (95% CI: 26.6-36.9) and 21.6/1,000 (95% CI: 17.3-25.9), respectively. Both convulsive and non-convulsive seizures occurred in 7% people with epilepsy (PWE), only convulsive seizures in 52% and only non-convulsive seizures in 35% PWE; there was insufficient information to classify epilepsy in the remainder 6%. The age- and sex-adjusted prevalence of lifetime people was 23.5/1,000 (95% CI: 11.0-36.0), with the adjusted prevalence of epilepsy with non-convulsive seizures only estimated at 8.2/1,000 (95%CI:3.9-12.6). The mortality rate in PWE was 6.3/1,000 (95%CI: 3.4-11.8), compared to 2.8/1,000 (2.3-3.3) in those without epilepsy; hazard ratio (HR) =2.31 (1.22-4.39; p=0.011). The annual mortality rate was 11.2/1,000 (95%CI: 5.3- 23.4) in PWE with convulsive and non-convulsive seizures and none died in PWE with non-convulsive seizures alone. Conclusions: Our study shows that epilepsy with non-convulsive seizures is common and adds to the prevalence of previously reported estimates of active convulsive epilepsy. Both epilepsy with convulsive seizures and that with non-convulsive seizures should be identified for optimising treatment and for planning resource allocation

    Adapting clinical practice guidelines for diabetic retinopathy in Kenya: process and outputs.

    Get PDF
    BACKGROUND: The use of clinical practice guidelines envisages augmenting quality and best practice in clinical outcomes. Generic guidelines that are not adapted for local use often fail to produce these outcomes. Adaptation is a systematic and rigorous process that should maintain the quality and validity of the guideline, while making it more usable by the targeted users. Diverse skills are required for the task of adaptation. Although adapting a guideline is not a guarantee that it will be implemented, adaptation may improve acceptance and adherence to its recommendations. METHODS: We describe the process used to adapt clinical guidelines for diabetic retinopathy in Kenya, using validated tools and manuals. A technical working group consisting of volunteers provided leadership. RESULTS: The process was intensive and required more time than anticipated. Flexibility in the process and concurrent health system activities contributed to the success of the adaptation. The outputs from the adaptation include the guidelines in different formats, point of care instruments, as well as tools for training, monitoring, quality assurance and patient education. CONCLUSION: Guideline adaptation is applicable and feasible at the national level in Kenya. However, it is labor- and time -intensive. It presents a valuable opportunity to develop several additional outputs that are useful at the point of care

    Postglacial adaptations enabled colonization and quasi-clonal dispersal of ammonia-oxidizing archaea in modern European large lakes

    Full text link
    Ammonia-oxidizing archaea (AOA) play a key role in the aquatic nitrogen cycle. Their genetic diversity is viewed as the outcome of evolutionary processes that shaped ancestral transition from terrestrial to marine habitats. However, current genome-wide insights into AOA evolution rarely consider brackish and freshwater representatives or provide their divergence timeline in lacustrine systems. An unbiased global assessment of lacustrine AOA diversity is critical for understanding their origins, dispersal mechanisms, and ecosystem roles. Here, we leveraged continental-scale metagenomics to document that AOA species diversity in freshwater systems is remarkably low compared to marine environments. We show that the uncultured freshwater AOA, "Candidatus Nitrosopumilus limneticus," is ubiquitous and genotypically static in various large European lakes where it evolved 13 million years ago. We find that extensive proteome remodeling was a key innovation for freshwater colonization of AOA. These findings reveal the genetic diversity and adaptive mechanisms of a keystone species that has survived clonally in lakes for millennia

    Adverse perinatal events, treatment gap, and positive family history linked to the high burden of active convulsive epilepsy in Uganda: A population-based study.

    Get PDF
    Objective: To determine the prevalence of active convulsive epilepsy (ACE) and describe the clinical characteristics and associated factors among a rural Ugandan population. Methods: The entire population in Iganga/Mayuge Health Demographic Surveillance Site (IM-HDSS) was screened using two questions about seizures during a door-to-door census exercise. Those who screened positive were assessed by a clinician to confirm diagnosis of epilepsy. A case control study with the patients diagnosed with ACE as the cases and age/sex-matched controls in a ratio of 1:1 was conducted. Results: A total of 64,172 (92.8%) IM-HDSS residents, with a median age of 15.0 years (interquartile range [IQR]: 8.0-29.0), were screened for epilepsy. There were 152 confirmed ACE cases, with a prevalence of 10.3/1,000 (95% confidence interval [CI]: 9.5-11.1) adjusted for nonresponse and screening sensitivity. Prevalence declined with age, with the highest prevalence in the 0-5 years age group. In an analysis of n = 241 that included cases not identified in the survey, nearly 70% were unaware of their diagnosis. Seizures were mostly of focal onset in 193 (80%), with poor electroencephalogram (EEG) agreement with seizure semiology. Antiepileptic drug use was rare, noted in 21.2% (95% CI: 16.5-25.8), and 119 (49.3%) reported using traditional medicines. History of an abnormal antenatal period (adjusted odds ratio [aOR] 10.28; 95%CI 1.26-83.45; p = 0.029) and difficulties in feeding, crying, breathing in the perinatal period (aOR 10.07; 95%CI 1.24-81.97; p = 0.031) were associated with ACE in children. In adults a family history of epilepsy (aOR 4.38 95%CI 1.77-10.81; p = 0.001) was the only factor associated with ACE. Significance: There is a considerable burden of epilepsy, low awareness, and a large treatment gap in this population of rural sub-Saharan Africa. The identification of adverse perinatal events as a risk factor for developing epilepsy in children suggests that epilepsy burden may be decreased by improving obstetric and postnatal care

    Postcolonial untranslatability: reading Achille Mbembe with Barbara Cassin

    Get PDF
    Barbara Cassin’s monumental Dictionary of Untranslatables, first published in French in 2004, is an encyclopaedic dictionary of nearly 400 philosophical, literary, aesthetic and political terms which have had a long-lasting impact on thinking across the humanities. Translation is central to any consideration of diasporic linguistic border crossing, and the “Untranslatable” (those words or terms which locate problems of translatability at the heart of contemporary critical theory) has opened up new approaches to philosophically informed translation studies. This article argues that there is a far-reaching resonance between Barbara Cassin’s Dictionary of Untranslatables project and Achille Mbembe’s theorization of the postcolonial, precisely insofar as they meet at the crossroads of (un)translatability. Both texts are read performatively, in terms of their respective writing practices and theoretical “entanglements”, one of Mbembe’s key terms

    Costs and cost-effectiveness of malaria control interventions - a systematic review

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>The control and elimination of malaria requires expanded coverage of and access to effective malaria control interventions such as insecticide-treated nets (ITNs), indoor residual spraying (IRS), intermittent preventive treatment (IPT), diagnostic testing and appropriate treatment. Decisions on how to scale up the coverage of these interventions need to be based on evidence of programme effectiveness, equity and cost-effectiveness.</p> <p>Methods</p> <p>A systematic review of the published literature on the costs and cost-effectiveness of malaria interventions was undertaken. All costs and cost-effectiveness ratios were inflated to 2009 USD to allow comparison of the costs and benefits of several different interventions through various delivery channels, across different geographical regions and from varying costing perspectives.</p> <p>Results</p> <p>Fifty-five studies of the costs and forty three studies of the cost-effectiveness of malaria interventions were identified, 78% of which were undertaken in sub-Saharan Africa, 18% in Asia and 4% in South America. The median financial cost of protecting one person for one year was 2.20(range2.20 (range 0.88-9.54)forITNs,9.54) for ITNs, 6.70 (range 2.22−2.22-12.85) for IRS, 0.60(range0.60 (range 0.48-1.08)forIPTininfants,1.08) for IPT in infants, 4.03 (range 1.25−1.25-11.80) for IPT in children, and 2.06(range2.06 (range 0.47-3.36)forIPTinpregnantwomen.Themedianfinancialcostofdiagnosingacaseofmalariawas3.36) for IPT in pregnant women. The median financial cost of diagnosing a case of malaria was 4.32 (range 0.34−0.34-9.34). The median financial cost of treating an episode of uncomplicated malaria was 5.84(range5.84 (range 2.36-23.65)andthemedianfinancialcostoftreatinganepisodeofseveremalariawas23.65) and the median financial cost of treating an episode of severe malaria was 30.26 (range 15.64−15.64-137.87). Economies of scale were observed in the implementation of ITNs, IRS and IPT, with lower unit costs reported in studies with larger numbers of beneficiaries. From a provider perspective, the median incremental cost effectiveness ratio per disability adjusted life year averted was 27(range27 (range 8.15-110)forITNs,110) for ITNs, 143 (range 135−135-150) for IRS, and 24(range24 (range 1.08-$44.24) for IPT.</p> <p>Conclusions</p> <p>A transparent evidence base on the costs and cost-effectiveness of malaria control interventions is provided to inform rational resource allocation by donors and domestic health budgets and the selection of optimal packages of interventions by malaria control programmes.</p
    • 

    corecore