#SoftwareArchitektur – Wozu formale Methoden?
Wenn Systeme bestimmte Eigenschaften wie Sicherheit garantieren müssen, können formale Methoden diese Eigenschaften beweisen - ähnlich wie bei einem mathematischen Beweis. In der Finanzbranche will man beispielsweise sicherstellen, dass nicht in den Systemen irgendwo Geld verschwindet. Welche Rolle spielen solche Methoden im Software-Architektur-Alltag und wie kann man sie gewinnbringend nutzen? Das diskutieren wir mit Dr. Lars Hupel, Chief Evangelist bei Giesecke+Devrient.
Three weeks in Sri Lanka (Part 4)
We spent our 2025 holidays in Sri Lanka, going for a hike, culture, and beaches. In this fourth and final part, we are travelling along the coast from Mirissa to Colombo.
Digitisation is process optimisation
Digitisation works best when it is built on top of boring, proven technology. And when you don’t skip the actual work.
Three weeks in Sri Lanka (Part 3)
We spent our 2025 holidays in Sri Lanka, going for a hike, culture, and beaches. In this third part, we are checking out Batticaloa and Sigiriya.
Three weeks in Sri Lanka (Part 2)
We spent our 2025 holidays in Sri Lanka, going for a hike, culture, and beaches. In this second part, we will continue with the Pekoe Trail until Hatton, and go to Ella after.
Three weeks in Sri Lanka (Part 1)
We spent our 2025 holidays in Sri Lanka, going for a hike, culture, and beaches. In this first part, follow along for our adventures on the Pekoe Trail, starting from Kandy.
Using eIDAS to access government services: an experience report
I was helping out a non-German friend to access German government services. This is what I learned about eIDAS.
BibLaTeX incompatibility on arXiv
What's the yield on my stonks
I invest a chunk of my earnings into a portfolio, largely comprising ETFs. I don’t reshuffle the portfolio often and I mostly hold on to them. At some point I wondered what the actual yearly interest of the portfolio is? Let’s figure it out.
Der digitale Euro: Elektronisch, aber offline-fähig
Die beabsichtigte Offline-Funktion eines digitalen Euro ist die vielleicht aufwändigste, aber für viele Beobachter auch eine der wichtigsten Funktionen einer CBDC. Aber was genau lässt sich darunter vorstellen, wie sehr „offline“ kann digitales Zahlen überhaupt sein und welche Rolle spielen hier die „Secure Elements“, also konkrete Hardware?
Korrektheit durch formale Methoden
In der neuesten Episode des Software Testing Podcasts feiern wir die World Quality Week. Ich spreche mit mit Lars und Bianca darüber, wie man Fehlerfreiheit in Software mathematisch beweisen kann und welche Tools dabei helfen. Bianca erklärt uns anhand von Beispielen aus der Finanz- und Automobilbranche, warum bestimmte Systeme absolute Fehlerfreiheit benötigen. Lars ergänzt das Gespräch mit Einblicken in formale Methoden und wie sie in der Praxis angewendet werden. Ein besonders interessantes Thema war, wie KI uns bei der Beweisführung unterstützen kann.
Living with eosinophilic esophagitis
About two years ago (late 2022) I was diagnosed with a rare allergic condition that affects the esophagus. As far as I can see, there are not a lot of experience reports written by patients, so I’m contributing mine here. The allergy is not deadly, but has some annoying symptoms. (You should not read this post if you do not like hearing about endoscopies and/or medical emergencies.)
Making research papers more accessible
Meeting the need for offline digital payments
Around a third of the world lack reliable internet access and among the two thirds that have access, disruptions and restrictions are far from unknown. Ensuring that digital payments solutions are reliable and have the broadest reach possible requires that they can function offline. Though the need is well understood, the challenges of meeting it remain. Lars Hupel, G+D’s chief evangelist, joins OMFIF’s Digital Monetary Institute editor Lewis McLellan to discuss how offline capabilities enhance the effectiveness and convenience of online payment methods and share G+D’s experience in this field.
Spreading the word: meet the chief evangelist
How can you prepare yourself for being the voice of a global company in a cutting-edge field? Find something you can believe in, break it down to its core message, and network like you mean it, says Dr. Lars Hupel, Munich-based chief evangelist at G+D.
How I offset carbon emissions
How I became a gardener
About one and a half years ago, we moved to a place with a decently-sized garden. Initially confused about whether to do anything with it, let alone what to do with it, I somehow ended up slowly becoming a gardener. Despite my total and utter cluelessness, now we have raised beds.
Why accounts do not solve double-spending
Admittedly, this is a catchy title. In my previous article, I explained how secure CBDC wallets work, in particular, hardware wallets. One of their chief purposes is to prevent double-spending in offline situations. Now, I would like to focus on the technical details: what is double-spending, how it can be exploited, and how it can be prevented.
Secure wallets for CBDC: how do they work?
Everybody knows that to keep CBDC, you need a wallet. Those wallets can come in different shapes, be they physical devices, such as smartphones or smartcards, or virtual, i.e., managed by a financial institution. Wallets are used to perform transactions between users and at the point of sale. For a tool so crucial, little thought is spent on how they can be secured. Many CBDC security requirements are focusing purely on the backend system, such as the ledger. Of course, the ledger is important too. But the user will interact with the ecosystem primarily through wallets. Let us take a look and understand how to build secure wallets.
A road trip through Scandinavia (Part 2)
A road trip through Scandinavia (Part 1)
WebAssembly: faster code for the web
JavaScript is the established lingua franca for dynamic websites. But a new competitor has been on the rise for a few years now: WebAssembly complements the repertoire of browser features and is particularly suitable for computationally intensive tasks. This article explains how the technology works.
Was ist gute #SoftwareArchitektur
Bis Weihnachten beantwortet täglich eine Person die Frage „Was ist eine gute Software Architektur“? Folge 13: Lars Hupel
Innovation in Corporate Banking
Mit welchen Herausforderungen sieht sich das Corporate Banking konfrontiert? Was sind die neusten Trends und wie tragen Innovationen dazu bei, die Business-Ziele zu erreichen? Welche Anwendungsfälle für künstliche Intelligenz lassen sich bereits heute im Corporate Banking umsetzen und was bedeutet die Entwicklung von „Digital Money“ für das Corporate-Geschäft? Diese und andere Fragen hat unser Panel in diesem Late Afternoon Talk diskutiert.
Demystifying Central Bank Digital Currency: The Technical Breakdown
The emergence and development of cryptocurrencies and Blockchain technology has increased interest in cashless societies and digital currency. As a result, governments and central banks throughout the world are considering the use of government-backed digital currencies. John Davies and Lars Hupel explore the distinctiveness of CBDC compared to cryptocurrencies. They emphasize the technical underpinnings, architecture, and practical applications of CBDC, focusing on its potential to facilitate offline payments, enhance security, and ensure efficient, instantly settled transactions. The conversation underscores the flexibility of CBDC and its coexistence with existing payment methods, making it a compelling topic for tech-savvy individuals. This discussion offers technical audiences valuable insights into CBDC’s technical foundations and its transformative potential in the digital payment landscape.
Assembler auf der Überholspur: Mit WebAssembly flinkeren Code für den Browser produzieren
JavaScript hat sich als die Lingua Franca der dynamischen Webseiten etabliert, aber seit einigen Jahren steigt ein neuer Konkurrent empor: WebAssembly ergänzt das Repertoire an Browserfeatures und eignet sich besonders gut für rechenintensive Aufgaben. Hier erklären wir, wie die Technik funktioniert.
Wenn Software-Testing nicht ausreicht
Das Schreiben von Tests ist heutzutage gängige Praxis. Wie würde man sonst sicherstellen, dass der Code das tut, was man erwartet? Manche Software ist jedoch geschäftskritisch und das bloße Testen einiger Beispiele reicht nicht aus. (Dieser Artikel wurde ursprünglich im t3n-Magazin, Ausgabe 71, veröffentlicht.)
The CBDC Broadcast Session #16: CBDC Offline Capabilities
CBDC’s Offline capabilities is a crucial topic that holds significant implications for the future of digital payments and financial systems worldwide. As digital transformation rapidly reshapes the way we conduct transactions, it is imperative that we ensure inclusivity, accessibility, and privacy for every individual and business. CBDCs have emerged as a powerful tool in this transformative landscape, revolutionizing the way we think about money. However, we must address a critical question: How can we ensure that CBDC systems work for everyone in society, regardless of their location or connectivity? The answer lies in exploring and understanding the offline capabilities of CBDCs. The ability to conduct transactions offline not only provides a layer of resilience but also supports crucial objectives, such as financial inclusion, accessibility, and privacy. To discuss the intricacies of CBDC offline capabilities, guests Beju Shah (BIS Innovation Hub) and Dr Lars Hupel (Giesecke+Devrient) joined FNA to explore the technologies, security threats and risks associated with offline payments and delve into the CBDC design criteria that enable privacy, inclusion and resilience.
Ressourcen über Property-based Testing
When testing just doesn't cut it
Writing tests is common practice these days. How else would you ensure that the code does what you expect? However, some software is business-critical and simply testing a few examples is not enough.
Property-based Testing with “fast-check”
It isn’t exactly news that developers have to write not only code but also tests. Nevertheless, many find this to be burdensome and monotonous work. Plus, it is far from guaranteed that unit tests actually cover all the border and non-border cases. A modern approach is property-based testing, which consists of specifying an abstract condition that is then automatically checked by the test framework.
New polyglot programming on the JVM
Many people in the Java environment have heard of it: the legendary GraalVM. This “magical” new virtual machine for Java is supposed to ensure sheer performance by compiling Java bytecode into native code. It eliminates the start-up overhead in particular, since large parts of the initialization are already handled by the compiler. This and similar statements can be read in many places. But this is by far not the only feature Oracle has given GraalVM. It also has the potential to usher in a new era of polyglot programming on the JVM. We are talking about the Truffle API, a generic framework for implementing interpreters. (This article has been originally published in devmio Volume 2, based on a German version published in late 2019.)
Blueprints: How objects work in JavaScript
JavaScript’s approach to object orientation is different from other languages. This hasn’t been changed by the introduction of classes, even if it looks that way at first glance. Read on to learn how this unusual system works.
What does a Chief Evangelist do?
My new job title is “Chief CBDC Evangelist”, but what does that mean? To explain, my employer has published a brief interview with me.
Importance of offline payments for CBDCs and financial inclusion
One feature that is often required of a CBDC for financial inclusion is the ability to make payments offline. This ensures that payments can be made even if there is no connection to the Internet, e.g. in remote locations. The panel considered some potential solutions for offline transactions for CBDC and discuss considerations for technical standards that may be needed.
Eigenschaftsbasiertes Testen mit „fast-check“
Dass man als Entwickler:in nicht nur Code, sondern auch Tests zu schreiben hat, ist ein alter Hut. Trotzdem ist es für viele eine lästige und monotone Arbeit. Außerdem ist es noch lange nicht garantiert, dass Unittests auch wirklich alle Grenz- und Nicht-Grenz-Fälle abdecken. Ein moderner Ansatz ist eigenschaftsbasiertes Testen, bei dem eine abstrakte Bedingung spezifiziert und dann vom Testframework automatisch überprüft wird.
Transaction validation and privacy implications
CBDC in the world opened a huge discussion about the role of the different stakeholders intervening in the validation of transactions of a digital currency when a payment is operated. According to different design choices, different validation mechanisms can be used. How a transaction can be validated and by which actor if a distributed architecture is chosen instead of a centralized one? What is the difference between a bearer-based and an account-based solution is implemented? Moreover, in case the amount of digital currency in circulation is limited via a threshold or a tier approach, how those requirements can be technically enforced while respecting privacy of the different parties involved in the transaction? And what about in case of offline systems that involves secure hardware solutions? How to avoid the possibility to “create money” and/or fake transactions? In particular, the panel will analyze in depth the privacy implications and the maturity of the privacy enhancing technologies that can support these processing operations.
Parsen statt validieren? Der Leserbrief
Bei der Absicherung von Web-Anwendungen sind Input Validation und Output-Encoding Pflicht. Aber geht das noch besser? Lars meint ja und hat kurzerhand einen Leserbrief geschrieben. Seine These: Parsing ist das bessere Validieren. Wie das funktioniert, was Parsing anders macht und ob sich die Methoden am Ende sogar ergänzen, darum geht’s in dieser Folge des Security-Podcasts.
Blaupausen: Wie Objekte in JavaScript funktionieren
JavaScripts Art der Objektorientierung ist anders als die anderer Sprachen. Daran hat auch die Einführung von Klassen nichts geändert, obwohl es auf den ersten Blick so aussehen mag. So funktioniert das ungewöhnliche System.
Dokumentation technisch umsetzen. Das Tooling macht‘s aus
„Selbst eine Word-Doku ist besser als gar keine Doku“ – Dokumentation von Software ist oft ein leidiges Thema mit noch leidigeren Werkzeugen. Lucas und Lars schauen sich in dieser Folge mal die vorhandenen Tools und Formate zur technischen Umsetzung einer guten Softwaredokumentation an. Damit am Ende niemand mehr sagen kann: „es gibt keine Doku, weil die Tools nerven“.
We Are Developers World Congress 2022 in Berlin: Our Experience Report
Our colleagues were on site, staffing the booth, speaking with fellow developers, and delivering two talks.
Dependently-Typed TypeScript
TypeScript is a programming language with some special features: Unlike most other typed programming languages, it was developed as an add-on for JavaScript (JS). In the process, Microsoft has placed great value on ensuring that the language integrates as seamlessly as possible into the existing ecosystems (Node.js and browser). TypeScript’s syntax “merely” adds types to JavaScript, while the compilation “merely” removes the type annotations. This has made TypeScript the de-facto standard for building type-safe JS-based applications.
Rich code documentation with Jekyll
Static site generation is a perfect fit for publishing documentation. In a recent project, we chose to use a combination of Jekyll and NGINX to build and host the documentation. In this post, I show how to process and include other types of assets.
Customer-specific documentation with Jekyll
Static site generation is a perfect fit for publishing documentation. In a recent project, we chose to use Jekyll for rendering our content. As a special requirement, we had to build different “flavours” for different customers.
Marktanalyse: Supermarkt-Apps und -APIs seziert
Viele Webdienste bieten interessante Datenquellen, halten damit aber hinterm Berg. Wer weiß, wie’s geht, kann jedoch auch undokumentierte Quellen finden und mit Python anzapfen. Im zweiten Teil unserer Inspektion der eigenen Einkaufsdaten erforschen wir die APIs des Supermarktes anhand von Browser- und App-Analysen.
Adresshandel möglicherweise rechtswidrig
Übereinstimmenden Medienberichten zufolge sind die überwiegende Mehrheit der Landesdatenschutzbehörden der Auffassung, dass „die DSGVO eine Weitergabe mit Adressen für Marketingzwecke ohne Zustimmung der Betroffenen nicht mehr zulässt“.
TypeScript – Taming the Complexity of JavaScript
TypeScript celebrates its tenth anniversary in 2022. A good reason to look back at its beginnings – and to provide beginners with everything they need to know for working with this programming language.
Gemischtdatenladen: Mit Python und Pandas die eigenen Einkaufsdaten analysieren
Genau wie das persönliche Surfverhalten sind die Einkaufsgewohnheiten eines Menschen sehr aufschlussreich – wenn man es schafft, die unhandlichen Daten zu analysieren. Wer so einen Datenschatz im Selbstversuch auswertet, bekommt Einblicke ins eigene Einkaufsverhalten, Erfahrung in der Analyse von Daten und obendrein ein unterhaltsames Programmierprojekt.
Next Please: How the Event Loop Enables Asynchronous Code in Browsers
Despite modern multicore processors, website code usually runs in only one thread. True parallelism therefore does not exist, but a clever programming model still allows “asynchronous” code that is not processed linearly.
Switching Protocols. Schnell, schnell!
In Folge 92 haben Robert und Lucas die Grundlagen des Webs erklärt. Ein wichtiges Thema dabei: HTTP, das Protokoll, mit dem Ressourcen vom Server zum Client kommen. Schnell wie SPDY Gonzales schieben wir nun eine weitere Folge nach, in der Lars von Lucas erfährt, wie man ein Quantum Performance aus diesem Protokoll herausholen kann.
#SoftwareArchitektur – Hilfe, wir syncen!
Live von der OOP: Lisa befragt Lars und Lucas zu ihrem Vortrag auf der OOP.
Der Nächste, bitte! Wie die Event-Loop asynchronen Code im Browser ermöglicht
In der Regel läuft der Code von Webseiten in nur einem Thread, modernen Multicore-Prozessoren zum Trotz. Echte Parallelität gibt es so nicht, aber ein schlaues Programmiermodell erlaubt dennoch „asynchronen“ Code, der nicht linear abgearbeitet wird.
CRDT. Konfliktfrei + Kollaborativ
Ihr kennt es bestimmt: die gemeinsam verwaltete digitale Einkaufsliste. Oder: Tools wie Etherpad und Google Docs, die uns das gleichzeitige Bearbeiten des selben Texts ermöglichen. Doch was steckt technisch dahinter? Wir erklären, was theoretisch dahintersteckt. Und wie Ihr es praktisch nutzen könnt!
What Does a Bundler Actually Do?
Frontend development without JavaScript is rarely possible. Seasoned backend developers are then confronted with a completely new toolchain overflowing with unknown technical terms. But there is method behind the complexity.
Ein kurzer Bericht über die elektronische Patientenakte
TypeScript – Die Komplexität von JavaScript bändigen
2022 feiert TypeScript zehnjähriges Jubiläum. Anlass genug, auf die Anfänge zurückzublicken – und Einsteigern alles an die Hand zu geben, was sie für die Arbeit mit der Programmiersprache brauchen.
Was macht eigentlich ein Bundler?
In der Frontend-Entwicklung kommt man selten ohne JavaScript aus. Gestandene Backend-Profis sehen sich dann mit einer komplett neuen Toolchain konfrontiert, die vor unbekannten Fachbegriffen nur so strotzt. Doch hinter der Komplexität steckt System.
#SoftwareArchitektur – Funktionale Programmierung in der Praxis
Keine Seiteneffekte, einfaches Testen, die Korrektheit der Programme kann sogar bewiesen werden - alles Vorteile von funktionaler Programmierung. Sie hat im akademischen Bereich schon immer eine Rolle gespielt, aber auch in der Industrie wird sie zunehmend populärer - aber gleichzeitig wirkt sie abgehoben und schwer zu verstehen. In dieser Episode berichten Lars Hupel und Isabel Wingen darüber, wie sie von funktionaler Programmierung im Projekt-Alltag profitieren, welche Erfahrungen sie gemacht haben und wie man selber starten kann.
How to build your own personal DynDNS service
Injecting environment variables into static websites using NGINX
Static site generation is a perfect fit for publishing documentation. In a recent project, we chose to use NGINX as a web server to host the HTML and CSS files. However, we also wanted to protect the site using SSO. This is where things get a bit difficult.
Was die DSGVO-Betroffenenrechte in der Praxis wert sind
Die Geschichte über einen Menschen, der auszog, Auskünfte über seine persönlichen Daten zu erhalten und über die Steine, die ihm dabei in den Weg gelegt worden sind.
Countries I've been to
I thought it’d be fun to collect a list of all countries I’ve been to. This list will be updated every time I visit a new one.
Hiking in Slovakia
Warum die Briefwahl nur die zweite Wahl sein sollte
Proof of Stake. Wie hoch ist dein Einsatz?
Cardano tut es bereits und Ethereum will es tun: Immer mehr Kryptowährungen nutzen „Proof of Stake“ als Alternative zum etablierten „Proof of Work“-Konzept, wenn es um die Absicherung ihrer Blockchain geht. Warum tun sie das? Und wo liegen die Vor- und Nachteile? Darüber sprechen Lucas und Lars in dieser Folge. Außerdem werfen sie einen Blick über den Tellerrand und geben einen Überblick über weitere Methoden, mit denen Blockchains vor Manipulation geschützt werden können.
Benutzerfreundlicher Äther: Smart Contracts in dezentrale Applikationen einbetten
Smart Contracts, wie sie die Ethereum-Blockchain kennt, sind technisch eine feine Sache. Aber sie brauchen eine Bedienoberfläche, wenn sie nicht nur Entwicklern nützen sollen – dann werden daraus „dezentrale Applikationen“. Um so eine DApp zu programmieren braucht man nur etwas HTML und JavaScript.
Geld statt Kohle: Warum Kryptowährungen auf Proof of Stake umstellen wollen
Viele Kryptowährungen nutzen Blockchains mit „Proof of Work“, aus dem ein enormer Energieverbrauch resultieren kann. „Proof of Stake“ löst dieses Problem, doch das Verfahren hat auch Nachteile. Ganz ohne Proof of Irgendwas lässt sich eine Kryptowährung aber kaum realisieren.
A hiatus from Open Source
Die Top 5 der Neuerungen in Scala 3
Schon seit geraumer Zeit arbeitet das Team um Martin Odersky an der nächsten großen Version von Scala. Deren Spitzname „Dotty“ leitet sich ab von „Dependent Object Types“, dem logischen Kalkül, welches dem Typsystem zugrunde liegt. Doch es gibt nicht nur Verbesserungen in den Eingeweiden des Compilers. Die aktuell in der Release-Candidate-Phase befindliche Vorschau auf Scala 3 verspricht, das Programmiererlebnis deutlich zu verbessern.
Den Äther programmieren: Smart Contracts für die Ethereum-Blockchain schreiben
Bei Ethereum denken viele an eine Kryptowährung, dabei handelt es sich eigentlich um ein weltweit verteiltes Rechenzentrum, das Programme – sogenannte Smart Contracts – auf einer Blockchain ausführt. Wir zeigen Ihnen, wie Sie einen solchen Smart Contract programmieren, um „Schere, Stein, Papier“ auf der Ethereum-Blockchain zu spielen.
Geld im Äther: Ein kleiner Praxisleitfaden zu Ethereum-Wallets
Tesla akzeptiert Bitcoin-Zahlungen, auf Ethereum werden Tweets verkauft – von Kryptowährungen hört man ständig. Aber wie benutzt man so ein System, wie kommt man an das virtuelle Geld und wie überweist man es? Zum entspannten Lernen eignet sich Ethereum: Dessen Blockchain ist einfach zu benutzen und erlaubt freies Experimentieren in Testnetzen.
Verträge im Äther: Eine Einführung in die Ethereum-Blockchain
Blockchains werden oft mit Kryptowährungen gleichgesetzt, aber die Technologie kann mehr als Geld verwalten. „Smart Contracts“ erlauben die Blockchain als Computer zu benutzen und ermöglichen zum Beispiel virtuelle Organisationen oder Non-Fungible-Tokens (NFT). Ethereum ist der Vorreiter bei diesen Anwendungen.
Why is it so hard to reuse formally verified code?
Routing the technical interview
My local DNS setup
Smart Contracts programmieren in Ethereum – Gegenwart & Zukunft
Ethereum steht hinter einer der populärsten Kryptowährungen – und doch ist es noch sehr viel mehr. Damit kann kryptografisches Geld dank Algorithmen nämlich völlig autonom verwaltet werden. Aber wie funktionieren die sogenannten Smart Contracts und wo geht die Reise hin?
Conferences I've been to
I thought it’d be fun to collect a list of all conferences I’ve been to. There were a lot of them; at least eighty it seems. Maybe we’ve even crossed paths somewhere.
#SoftwareArchitektur – Diversity
Gerade in der Software-Entwicklung sind viele Gruppen unterrepräsentiert. Führen zu homogene Teams eigentlich zu schlechterer Software? Und warum? Das Thema hat auf jeden Fall Auswirkungen auf Software-Architekt:innen, unser Arbeitsumfeld und unsere Arbeitgeber. In dieser Episode diskutieren wir mit Lars Hupel, Lena Kraaz und Aminata Sidibe von INNOQ, wie Diversity in der Software-Architektur und -Entwicklung verbessert werden kann und ob das eine gute Idee ist.
Stufe 3: Neuerungen in der dritten Version der Programmiersprache Scala
14 Jahre nach Erscheinen von Scala 2.0 wagt die Sprache den nächsten großen Schritt. Wird Scala mit Version 3 so, wie es immer sein sollte? Ein Release Candidate steht schon in den Startlöchern und zeigt, wie sich die Scalable Language weiterentwickelt.
Deploying a WebAssembly smart contract on Oasis Ethereum
One of the cornerstones of Ethereum 2.0 is the migration from the “classic” EVM to a WebAssembly-based virtual machine. In this post, I explain how to deploy a compiled WebAssembly contract to the Oasis Ethereum chain.
Jahresend-Mix 2020
Welche Security-Themen haben euch 2020 am meisten beschäftigt? Was hat euch besonders beeindruckt oder einfach nur überrascht? Diese Fragen stellte Simon Kölsch 16 INNOQ Kolleginnen und Kollegen. Die Antworten ergeben einen bunten Themen-Mix, angefangen mit der Bedeutung von UX in der Security über Threat Modelling bis hin zu neuen Ideen für die spielerische Auseinandersetzung mit Security-Themen.
Informatik-Theorie für praktizierende Architekten
In dieser Episode des SoftwareArchitekTOUR-Podcasts spricht Stefan Tilkov mit Gast Lars Hupel über den Nutzen von Informatik-Grundlagenwissen für praktizierende Softwarearchitekten.
Dependently-Typed TypeScript
TypeScript ist eine Programmiersprache mit einigen Besonderheiten: Im Gegensatz zu den allermeisten anderen getypten Programmiersprachen wurde sie als Aufsatz für JavaScript (JS) entwickelt. Dabei hat Microsoft besonderen Wert darauf gelegt, dass sich die Sprache möglichst nahtlos in die bestehenden Ökosysteme (Node.js und Browser) integriert. Das wird dadurch erreicht, dass die TypeScript-Syntax „bloß“ die Typen zu JavaScript hinzufügt und die Kompilierung aus dem Entfernen der Typannotationen besteht. Damit hat sich TypeScript zum de-facto Standard entwickelt, wenn es darum geht, typsichere Anwendungen auf JS-Basis zu bauen.
Postel’s Law. Grob gehackt oder fein geschnitten?
Grob gehackt oder lieber ein feiner Julienne-Schnitt für die Tags in der Suppe? Lucas und Lars diskutieren in dieser Folge über Postel’s Law. Was es besagt und wie liberal ein Service eigentlich beim Akzeptieren von Eingabedaten sein sollte – darum geht’s in dieser Folge!
Smart Contracts in der Programmiersprache Rust
Wie wäre es, Rust in Kombination mit WebAssembly zu nutzen, um Smart Contracts zu entwickeln, die gegebenenfalls Millionen von Krypto-Tokens verwalten können?
Train Consists
Poor Lars is having trouble arranging cars in his trains. Annie helps him out using constraint programming.
Modernes funktionales Programmieren in Java
Erfahrene Java-Entwickler*innen können viele der Entwurfsmuster des „Gang of Four“-Buches aus dem Stand zitieren, identifizieren und anwenden. Trotzdem stehen diese praktisch seit der Erscheinung des Buches unter Kritik: da sie teils vage definiert sind, strotzen „moderne“ Codebasen nur so von Singletons, Factories und Buildern. Auf der anderen Seite stehen die Anhänger*innen der funktionalen Programmierung, die sich gerne über die objektorientierten Patterns lustig machen. Die Wahrheit liegt wie so oft in der Mitte: seit Version 8 lassen sich auch in Java die cleveren Gedanken aus der funktionalen Welt effektiv und komfortabel benutzen, ohne die Objektorientierung aufzugeben.
TypeScript. Was sind das denn für Typen?
TypeScript ist in aller Munde. In dieser Folge will Lucas von Lars wissen, wieso er sich so sehr für diese Sprache begeistert. Wie ordnet ein erfahrener Scala-Entwickler wie Lars das Typsystem von TypeScript ein? Lars beschreibt zudem, welche Vorteile ein mächtiges Typsystem mit sich bringt, und erklärt, wie die Interaktion mit JavaScript-Bibliotheken funktioniert.
Remote Training, funktioniert das?
Heimarbeit hat sich mittlerweile – mehr oder weniger freiwillig – bei den meisten Unternehmen in der IT durchgesetzt. Doch beim Thema Schulungen sind viele noch skeptisch, ob das funktionieren könnte. Wir haben es für das iSAQB-Modul BLOCKCHAIN ausprobiert.
Cross-platform testing of TypeScript code with Jasmine and Karma
I like TypeScript. Writing code that already underwent basic checks (i.e. typechecking) before it can even touch an execution engine is a big win in my book. In particular, TypeScript is nice because it integrates well into the broader JavaScript ecosystem and comes with batteries (i.e. types) included. Unfortunately, most test runners require extra setup to work with tests written in TypeScript. Some even require staggering amounts of configuration.
Lars Hupel on Algebraic Design
In this episode of the CaSE podcast, Lucas talks to Lars Hupel of Typelevel-fame about algebraic design. Lars starts to explain how the expression problem views the difference between the functional and Object Oriented style of programming. He then explains the concept of an algebra – from coupling trains to CRDTs. This leads to a discussion on comprehensive and iterative thinking styles and how different styles of testing and proving work. Finally, they bring it all back to type systems.
So you want to compose some functions
Let’s say you have a list of functions and you want to compose them. Shouldn’t be too hard, right? Of course it is, but maybe there’s an elegant way.
2019 in Review
Das eierlegende Truffleschwein
Viele, die im Java-Umfeld unterwegs sind, werden von ihr gehört haben: der sagenumwobenen GraalVM. Diese magische neue Virtual Machine für Java soll vor allem für blanke Performance sorgen, indem sie den Java-Bytecode in nativen Code kompiliert. Dadurch fällt insbesondere der Startup-Overhead weg, da weite Teile der Initialisierung bereits vom Compiler erledigt werden. So oder so ähnlich ist es vielerorts zu lesen. Hinzu kommt, dass die GraalVM zu nicht weniger das Potential hat als eine neue Ära der polyglotten Programmierung auf der JVM einzuläuten. Die Rede ist von der Truffle API, einem generischen Framework zur Implementierung von Interpretern.
A week in Tokyo
Type checking JSX: A can of props
In this post, I’d like to describe how JSX type checking in TypeScript actually works and the problems you’re going to encounter when implementing custom, non-React JSX components.
Verified Code Generation
Falsehoods Programmers Believe About Gender
The many ways of testing Smart Contracts in Ethereum
You have implemented a smart contract for Ethereum, and now you are wondering how you can test it under real-life conditions, but without spending money in case there’s a problem? Luckily, there are test networks that can help you with this.
Private Blockchains: Vergleich von Fabric und Corda
Der Markt an Blockchain-Technologien ist hart umkämpft. Seit der Einführung von Bitcoin kam es zu einer Proliferation von Forks, Neuentwicklungen und Innovationen. Doch im Unternehmenskontext ist es selten sinnvoll, interne Geschäftsvorgänge auf öffentlichen Blockchains zu verwalten. Daher etabliert sich im Moment eine neue Nische, die der privaten oder zugangsbeschränkten (permissioned) Blockchains.
Tabling
We cover the newly added Tabling for SWI-Prolog to help Annie get around Bangalore.
Integrating Logback with JLine
Logback is a popular logging library for Java. JLine can be used to create nice shell-like applications. Combining both is not as hard as it looks.
Verification of smart contracts
Smart contracts are used to execute code on blockchains. A variety of business cases are now represented with such contracts. Ethereum is a popular platform for this purpose. However, as with all software, the question arises of how to ensure the quality of the code.
Verifikation von Smart Contracts
Smart Contracts sind eine Technologie, mit der man Code auf Blockchains ausführt. Eine Vielzahl von Geschäftsfällen werden inzwischen durch solche Verträge abgebildet. Ethereum ist dafür eine beliebte Plattform. Doch wie bei aller Software stellt sich die Frage, wie man die Qualität des Codes sicherstellen kann.
Scala Days 2019 in Lausanne
Im Juni 2019 fanden die Scala Days anlässlich des 10. Jubiläums wieder in Lausanne – an der Geburtsstätte von Scala – statt. Heuer gab es nicht nur zwei Konferenztage, sondern auch eine ganze Reihe von Community-Events davor und danach. INNOQ war die ganze Woche vor Ort und unsere Kollegen berichten hier von ihren Erfahrungen.
Adressen und Transaktionen in Kryptowährungen – Teil 3: Altcoins
Kryptowährungen sind in aller Munde. Tutorials und Erklärungen gibt es zuhauf. In dieser Artikelserie soll ein bestimmter Aspekt, nämlich der der Adressen und Transaktionen, detailliert für populäre Blockchains geklärt werden. Denn unter der Oberfläche verbirgt sich einiges an Komplexität. Teil 3: Altcoins.
Parametrizität in Java
So gut wie alle modernen Programmiersprachen erlauben es, Routinen über Werte und über Typen zu parametrisieren. In Java wird letzteres „Generics“ genannt, in C++ hingegen „Templates“. Obwohl die Konzepte die gleichen sind, unterscheidet sich die Implementation doch stark. In diesem Artikel möchte ich diese Art der Parametrisierung in Java unter die Lupe nehmen und erklären, warum „Type Erasure“ doch eine ganz gute Idee ist.
Adressen und Transaktionen in Kryptowährungen – Teil 2: Ethereum
Kryptowährungen sind in aller Munde. Tutorials und Erklärungen gibt es zuhauf. In dieser Artikelserie soll ein bestimmter Aspekt, nämlich der der Adressen und Transaktionen, detailliert für populäre Blockchains geklärt werden. Denn unter der Oberfläche verbirgt sich einiges an Komplexität. Teil 2: Ethereum.
Adressen und Transaktionen in Kryptowährungen – Teil 1: Bitcoin
Kryptowährungen sind in aller Munde. Tutorials und Erklärungen gibt es zuhauf. In dieser Artikelserie soll ein bestimmter Aspekt, nämlich der der Adressen und Transaktionen, detailliert für populäre Blockchains geklärt werden. Denn unter der Oberfläche verbirgt sich einiges an Komplexität. Teil 1: Bitcoin.
Node-RED
IBM’s node-red flow programming language is an interesting declarative language. Recently Annie’s been experimenting with it. In this video she shows it to Lars.
Job Scheduling
This month in Playing with Prolog we help Lars out at work. He needs to schedule jobs for his CI servers.
Marelle
Playing with Prolog is back for Season 2 with a new host. Annie and Lars take a look at Marelle, the SWI-Prolog based devops system.
My storage server setup
Let's build ourselves a small ScalaCheck
ScalaCheck is a well-known property-based testing library, based on ideas from Haskell’s QuickCheck. It is also a Typelevel project. In this post, I’d like to show some of the underlying mechanisms, stripped down to the bare minimum.
Functional Geekery, Episode 62
In this episode Proctor talks with Lars Hupel. We talk his introduction to Functional Programming with Haskell, Scala, and move to working on Isabelle for creating theorems about proving your program.
Formale Wahrheit
Am Lehrstuhl für Logik und Verifikation der TUM wird Isabelle entwickelt, ein Programm mithilfe dessen man Theoreme beweisen kann. Interaktive Theorembeweiser sind relative neue Hilfsmittel in der Werkzeugsammlung von Mathematikern. Sind solche vom Computer verifizierten Argumentationsketten aber noch Beweise im mathematischen Sinn? (Dieser Artikel erschien ursprünglich in fatum Dezember 2015.)
Law Enforcement using Discipline
Some nine or ten months ago, Spire’s project structure underwent a major reorganization. Simultaneously, the Scalacheck bindings were refactored, completely overhauling the law-checking infrastructure.
Deriving Type Class Instances
The use of type classes has become pervasive in Scala programming. Type classes are encoded as traits, hence the most basic way of declaring an instance is writing implicit methods which return objects extending from these traits. However, those implicit methods are regular Scala methods, so we can use all features provided by the language to derive instances. In this post, a technique is described to compose instances into larger ones, which will not only allow for construction of instances for case classes, but also for other nested structures with minimum boilerplate.
Geschichtsrevisionismus: Nachträgliches Ändern einer Projektgeschichte mit Git
Was unter Historikern verpönt ist, ist mit Git ganz einfach: Die Geschichte eines Projekts im Nachhinein ändern. Welche Möglichkeiten es da gibt, soll in diesem Artikel kurz vorgestellt werden. (Dieser Artikel erschien ursprünglich im KaffeeKlatsch 09/2011.)
Überholt: Subversion ist obsolet
In der letzten Ausgabe des KaffeeKlatsch wurde eine Kombination aus Subversion, Mantis und CheckStyle vorgestellt. Dem ein oder anderen Leser beschlich beim Lesen des Wortes Subversion vielleicht ein seltsames Gefühl: Schreiben wir nicht das Jahr 2010? Der folgende Artikel hat sich zum Ziel gesetzt, die gängigen Vorbehalte gegenüber moderneren Tools zu zerstreuen und eine Umstellung, weg von Subversion, zu motivieren. (Dieser Artikel erschien ursprünglich im KaffeeKlatsch 09/2010.)
Analysis für Informatiker
Inoffizielles Skript zur Vorlesung „Analysis für Informatiker“ des WS 2009/2010, gehalten von Prof. Dr. P. Rentrop, niedergeschrieben und illustriert von Markus Grimm, Andreas Heider, Lars Hupel, Michael Kerscher, Philipp Meyer, Janosch Peters und Sylvester Tremmel.
Javastars: Unsere Reise nach San Francisco
Wir, Lars Hupel, Thomas Milde und Richard Tschirschnitz sowie unserer Lehrer Mirko König sind am 5. Mai 2007 nach San Francisco geflogen, um an der weltweit größten Entwicklerkonferenz – der JavaOne 2007 – teilzunehmen. Dies hatten wir als 1. Preis beim Programmierwettbewerb „Java Stars 2006 – Sun Microsystems Award“ gewonnen und durften daher für einige Tage in den USA verweilen.