95 research outputs found

    Functional Kafka

    Get PDF
    The aim of this thesis is to provide a summary of the current state of message oriented-middleware and eventually build a message broker in Haskell, adapted from the concepts of Apache Kafka which was originally built at LinkedIn. The implementation shall provide basic functionalities such as producing and consuming messages, with the aim to approximate performance of Apache Kafka in a non-clustered setup. The Apache Kafka Protocol is being used as the underlying wire-protocol and is implemented in a standalone library. On top of the procotol library, a separate client library is provided. Thus, the Haskell Message Broker (HMB) as well as its producer and consumer clients have been successfully proofed as compatible with Apache Kafka. This thesis first examines the fundamental concepts behind messaging and discloses the needs for message brokers. In a second stage of this technology research, the purpose of event-streaming is described, containing a comparison of batch and stream processing by explaining the differences in their nature. Finally the concept and features of Apache Kafka is presented. Insights into the HMB implementation is provided in the technical report and is split into two stages. At first, the protocol and client library is introduced. Subsequently the broker implementation is explained including its capabilities as well as the provided set of features. After all, HMB is applied to a benchmark against Apache Kafka. The results of this proof of concept show that Haskell is well suited to build messaging applications as well as implementing protocols based on context free grammars. The from HMB provided performance hit the one of Apache Kafka for transmission of larger message sizes during the benchmark. For the most tested scenarios the performance suffers as HMB is not sufficiently optimized yet. However, the Haskell Message Broker is a well established basis of a state-of-the-art message broker implementation. The authors recommend to apply further optimization techniques as well as extending the feature-set before any other use

    The Principle of Total Evidence reprised

    Get PDF
    The Principle of Total Evidence, postulated by Carnap in 1947, implies that to achieve the best assignation of a probability, all available information should be considered, subject to cost. For the evaluation of evidence, it is important that the best assignation of probability be made. The benefits of such an assignation are shown to be an increase in the expected utility of any decision made, a decrease in an expectation of an error of an inference that might be made, and an increase in the expected weight of evidence for the correct hypothesis. A practical illustration is given with reference to a recent Italian case

    Kindheit in Pflegefamilien: Besondere Bedürfnisse der Kinder, Erfordernisse der Pflegefamilie und die professionelle Unterstützung der Sozialen Arbeit

    Get PDF
    Die vorliegende Arbeit bietet eine umfassende Übersicht über die Dreieckskonstellation „Pflegekind – Pflegefamilie – Soziale Arbeit“, welche in einem Pflegeplatzierungsprozess mitwirken. Dabei werden die Rahmenbedingungen, welche heutzutage in der Schweiz gegeben sind, nicht aussenweggelassen. So wird ersichtlich gemacht, wie sich das Pflegekinderwesen im Laufe der Zeit professionalisiert hat und wie das Kindeswohl heute im Fokus steht. Denn bei einem Pflegeplatzierungsprozess steht in erster Linie das Kind im Mittelpunkt, weshalb verschiedene pflegekindspezifische Faktoren dargelegt werden, die es zu beachten gibt. So werden verschiedene Theorien herbeigezogen, um die Bedürfnisse und die Entwicklung von Pflegekinder zu verdeutlichen. Ausserdem soll das in der Gesellschaft mehrheitlich verbreitete Unwissen über die Aufgaben und Anforderungen einer Pflegefamilie aufgeklärt werden. Dadurch soll gezeigt werden, welche Funktionen Pflegefamilien übernehmen und was es braucht, um überhaupt ein Pflegekind aufnehmen zu können. Aus Sicht der Sozialen Arbeit wird dargelegt, welche Aufgaben und welche Rollen die Fachpersonen in diesem Pflegeplatzierungsprozess übernehmen und es wird deutlich, warum dieses Tätigkeitsfeld Aufgabe der Sozialen Arbeit ist. Da es in dieser komplexen Dreieckskonstellation viel zu beachten und zu begleiten gibt, zeigen die Autorinnen auch die Anforderungen auf, die an die Fachpersonen selbst gestellt werden. Zusammenfassend kann gesagt werden, dass mit dieser Bachelorarbeit der Pflegeplatzierungsprozess aus drei relevanten Sichtweisen beleuchtet wird, wodurch schlussendlich ein umfassendes und wichtiges Wissen erarbeitet wird

    Smart Meeting Planner

    Get PDF
    Die Organisation von Meetings in grösserem Geschäftsumfeld, insbesondere beim Flughafen Zürich, gestaltet sich als zunehmend komplizierter und wird durch die bestehenden Mail- und Kalendersysteme noch zu wenig gut unterstützt. Vielfach müssen dafür verschiedene Dienste wie z.B. der Microsoft Exchange Kalender, Doodle Pools und klassische Mails/Anrufe kombiniert eingesetzt werden, um den Prozess der Terminfindung bis zur Termineinladung zu meistern. Dies liegt daran, dass die einzelnen Dienste nur spezifische Aspekte für sich besonders gut unterstützen (z.B. gemeinsamer Kalender, Termin-Umfrage). Ziel von Smart Meeting Planner (kurz SMP) ist es daher, den immer wiederkehrenden Aufwand für das Finden eines geeigneten Termins mit mehreren Teilnehmern zu minimieren. SMP soll dabei intelligente Vorschläge erzeugen und die Möglichkeit bieten, die Teilnehmer aktiv ins Auswahlverfahren einbinden zu können. Für die Terminfindung soll SMP dabei die Kalenderinhalte aller Teilnehmer miteinbeziehen. Im Rahmen dieser Arbeit wurde zunächst ein konzeptioneller Workflow für das Finden eines Termins definiert. Dieser ist auf die Systemlandschaft von Flughafen Zürich AG (FZAG) zugeschnitten. Es ist jedoch auch denkbar, diesen Workflow in einem anderen technischen Umfeld zu implementieren. In einem weiteren Schritt wurde ein entsprechender Prototyp entwickelt. Dabei wurde besonders auf die nahtlose Integration in Outlook 2013 und einer sicheren Anbindung zum Exchange Server Wert gelegt. Der Prototyp wurde fortlaufend in einer Testumgebung validiert welche dem IT-Umfeld von FZAG nachgeahmt ist. Das Resultat der Arbeit ist ein Prototyp, welcher eine Möglichkeit zur Terminfindung aufzeigt. Diese Lösung muss jedoch noch mittels internen Tests bezüglich Usability und Integration bei FZAG, zu einem fertigen Produkt ausgearbeitet werden

    Persistence of engineered nanoparticles in a municipal solid-waste incineration plant

    Get PDF
    More than 100 million tonnes of municipal solid waste are incinerated worldwide every year1. However, little is known about the fate of nanomaterials during incineration, even though the presence of engineered nanoparticles in waste is expected to grow2. Here, we show that cerium oxide nanoparticles introduced into a full-scale waste incineration plant bind loosely to solid residues from the combustion process and can be efficiently removed from flue gas using current filter technology. The nanoparticles were introduced either directly onto the waste before incineration or into the gas stream exiting the furnace of an incinerator that processes 200,000 tonnes of waste per year. Nanoparticles that attached to the surface of the solid residues did not become a fixed part of the residues and did not demonstrate any physical or chemical changes. Our observations show that although it is possible to incinerate waste without releasing nanoparticles into the atmosphere, the residues to which they bind eventually end up in landfills or recovered raw materials, confirming that there is a clear environmental need to develop degradable nanoparticles

    Long-term risk of adverse outcomes according to atrial fibrillation type

    Full text link
    Sustained forms of atrial fibrillation (AF) may be associated with a higher risk of adverse outcomes, but few if any long-term studies took into account changes of AF type and co-morbidities over time. We prospectively followed 3843 AF patients and collected information on AF type and co-morbidities during yearly follow-ups. The primary outcome was a composite of stroke or systemic embolism (SE). Secondary outcomes included myocardial infarction, hospitalization for congestive heart failure (CHF), bleeding and all-cause mortality. Multivariable adjusted Cox proportional hazards models with time-varying covariates were used to compare hazard ratios (HR) according to AF type. At baseline 1895 (49%), 1046 (27%) and 902 (24%) patients had paroxysmal, persistent and permanent AF and 3234 (84%) were anticoagulated. After a median (IQR) follow-up of 3.0 (1.9; 4.2) years, the incidence of stroke/SE was 1.0 per 100 patient-years. The incidence of myocardial infarction, CHF, bleeding and all-cause mortality was 0.7, 3.0, 2.9 and 2.7 per 100 patient-years, respectively. The multivariable adjusted (a) HRs (95% confidence interval) for stroke/SE were 1.13 (0.69; 1.85) and 1.27 (0.83; 1.95) for time-updated persistent and permanent AF, respectively. The corresponding aHRs were 1.23 (0.89, 1.69) and 1.45 (1.12; 1.87) for all-cause mortality, 1.34 (1.00; 1.80) and 1.30 (1.01; 1.67) for CHF, 0.91 (0.48; 1.72) and 0.95 (0.56; 1.59) for myocardial infarction, and 0.89 (0.70; 1.14) and 1.00 (0.81; 1.24) for bleeding. In this large prospective cohort of AF patients, time-updated AF type was not associated with incident stroke/SE

    Reisende in Sachen Hoffnung

    No full text
    corecore