Advent of Code 2022

Motivation Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. As I already tried some of the puzzles last year I wanted to see how far I could get this year. Registration To be…

Der neue Softwerker ist da (Vol. 21)

Der Softwerker Der Softwerker ist ein deutsches Fachmagazin für Entwickler und Softwarearchitekten Man kann das Magazin kostenlos abonnieren und bekommt es dann entweder digital oder per Post geschickt. Der Softwerker erscheint 2 bis 3 mal jährlich. Inhalt Ausgabe 21 Diese Ausgabe hat 122 Seiten! Steffen Oehme – Working Software is not the Primary Measure of…

How to configure git

Motivation Working on different projects with different user info and settings you may find it necessary to dive deeper into the git configuration. First of all you need to know that there are at least three git configuration files system global local worktree Each level overrides values in the previous level, so local overwrites global,…

RAII in C++ and Python for custom types

Resource Acquisition Is Initialization (RAII) is a programming idiom that describes how resource acquisition and deallocation should be tied to object lifetime. Wikipedia demonstrates how the C++ standard library implements this idiom using the types std::lock_guard<> and std::ofstream as examples. But is it really necessary to implement this idiom in every type you create? Can’t…