Was Technik insbesondere Gadgets angeht, bin ich ein sogenannter “Late Adopter”. Wenn ich etwas kaufe, dann erst nach reichlicher Überlegung und mit reichlich meine Monate, wenn nicht Jahre. Greife ich irgendwann dann doch mal zu und befinde es im Alltag für gut, werde ich ein Jünger, ein flammender Anhänger und kann mir ein Leben ohne das Gadget nicht mehr vorstellen. Apple AirTags. Ich suche. Ständig. Überall. Schlüssel, Handy, Geldbeutel, Rucksack, Kopfhörer, meine Hose… Alles. ...
Increasing disk space in FreeBSD
The page you are reading is served from a web server running with FreeBSD 15.1-RELEASE-p2 on an EC2 instance from Amazon Web Services (AWS). The instance type is a t4g.micro with a 10 GiB EBS volume and it costs me around USD 7.84 per month to keep the lights on. In fact, I don’t pay anything. I’ve got so many credits from filling out AWS questionnaires. But questionnaires are not what I want to talk about. 10 GiB is not much by today’s standards. Package upgrades pushed the limit on disk space. ...
Software testing with Apache Maven
This article covers how to run unit and integration tests with Apache Maven. At its core, Maven is framework for a collection of Maven Plugins and a runtime environment for executing these plugins. Hence, Apache Maven provides two distinct plugins: The Maven Surefire Plugin for running unit tests and the Maven Failsafe Plugin for integration testing. Keep in mind that Maven does not provide a testing framework on its own. Both plugins can merely call into testing frameworks. We chose JUnit 6 for both, albeit others exist. ...
Der Wochenrückblick
Diesen Text veröffentlichte ich am 16. Juli auf LinkedIn. Warum nicht gleich hier, weiß ich selbst nicht. Der Wochenrückblick. So beginnt jeden Freitag meine Microsoft Teams Nachricht an das Team Entwicklung von e2n, die dann oft auch meine letzte Nachricht in der Woche ist. Im Umfang einer DIN-A4-Seite, mit 200 bis 300 Wörtern, fasse ich meine Arbeitswoche zusammen: Was ist passiert? Was ist wichtig zu wissen? Was gilt es zu beachten? Ein paar Absätze. Stakkato. Am Ende noch ein “Ansonsten:” mit einer Liste von Links, die zwar interessant und beachtenswert sind, aber keinen Platz in einem eigenen Absatz fanden. ...
NetHack 5.0.0
Am zweiten Mai wurde NetHack 5.0.0 still und heimlich released. NetHack ist ein Rogue-ähnliches Computer-Rollenspiel, das 1987 erstmals veröffentlicht wurde (Wikipedia). Das Spiel ist wirklich so alt, wird dennoch weiterentwickelt und hat weltweit eine Fangemeinde. Vermutlich ist die eher klein. Den Release nahm ich zum Anlass, NetHack mal wieder anzuwerfen. Mache ich alle paar Jahre, nur um festzustellen, dass ich es kaum über das Early Game hinausschaffe. NetHack ist nämlich verflixt schwer. Ich schaffe es kaum durch die ersten paar Level. ...
Enter Typst
Seit ein paar Monaten verwende ich auf der Arbeit immer öfter Typst anstatt Microsoft Word. Typst ist eine Auszeichnungssprache, ein Textsatzsystem und eine Programmiersprache. Vielleicht wäre Skriptsprache passender. Aber wer interessiert sich schon für die Unterschiede? Einfach ausgedrückt, übersetzt Typst eine Textdatei in eine schön formatierte ausdruckbare Datei. Eine PDF-Datei. Wie eben mit LateX und PostScript, nur weniger kompliziert, was allerdings Ansichtssache ist. So schaut eine Typst-Datei hello_world.typ aus: Hallo *Welt*! _Kursiv_ und schöne Formeln $a^2 + b^2 = c^2$ kann Typst auch. Was bloggt der Bub da auf seinem #link("https://raupach.io")[Blog]? Ja, das erinnert erstmal an Markdown, aber Markdown ist weder Textsatzsystem noch Programmiersprache. Der Typst Compiler erstellt aus der hello_world.typ eine hello_world.pdf. ...
Self-hosting git repositories
GitHub has become synonymous with Git-based software development, to the point that some people don’t realize that GitHub is merely a product owned by Microsoft, while Git itself is a free and open source distributed version control system. Just because GitHub exists doesn’t mean you need it. GitLab, Codeberg, or Forgejo are other options if you need to collaborate with others. But if you are like me and just enjoy coding little projects for yourself without sharing them anybody, then self-hosting Git repositories is a viable alternative, or at least a backup solution. ...
AWS Lambda for Java Developers
Originally published on Medium.com Welcome to my third article in my AWS Lambda series. In my previous article we talked about the right amount of memory and whether or not more memory grants you more cores. Today I am looking into how state management with variables works and what happens if we run Java code in AWS Lambda. If you are a Java Developer and working with AWS Lamdba then this article is for you! ...
More Memory, more Cores? No
Originally published on Medium.com In my previous article, I was looking into how memory settings in AWS Lambda affects CPU time. I came to the conclusion that the sweet spot is around 1408 MB. Beyond that, you won’t get any performance improvements. There were open questions. For example, if more memory yields better results for multi-threaded code. Well, I didn’ know, so I ran a little experiment. Setting up the stage Here is a simple Function that returns the number of available cores. Try it with you machine. Mine says 12, because it is an 8th Gen. i7 with 6 Physical cores and Hyper-threading enabled. ...
Choosing the right amount of memory for your AWS Lambda Function
Originally published on Medium.com With AWS Lambda there aren’t many options needed for your functions to run. Only two parameters affect runtime behavior: timeout** and memory. Timeout is value between 1 second and 15 minutes. In my opinion, it make no sense to set the timeout less than the maximum value. If your code executes in less time, you get charged less. Why bother with less? That leaves us with memory. You can set the memory in 64 MB increments from 128 MB to 3008 MB. AWS Lambda allocates CPU power proportional to the memory, so more memory means more CPU power. Right? ...