Raise better Exceptions - Apr 16, 2018

Good and helpful error messages can be notoriously difficult to write. Except, of course, when you're SQLAlchemy.

Beancount DKB - Apr 11, 2018

Beancount is an excellent piece of software for keeping track of finances using the double entry bookkeeping system. This post talks about making it play along with the CSV exports from DKB (one of the rather popular banks in Germany).

Always be Questioning - Jan 26, 2018

One of the most important lessons I've learned from working as a software developer is to always be questioning the core assumptions, and to not be afraid of saying no. More often than not, the two go hand in hand.

Encrypting Sensitive Data in SaltStack - Jan 05, 2018

SaltStack supports distributing sensitive data to minions using Pillars. While the "distribution" is secure, the pillar entries themselves are all in plain text files, unless you use GPG to encrypt them.

Handling the "N + 1 selects" problem in SQLAlchemy - Dec 17, 2017

Latency in database-backed web applications often results from too many database calls, especially when you have models linked using foreign keys and loading one kind of (parent) object entails loading a few other (child) objects. In this post we'll look at one way SQLAlchemy helps you handle such cases.