Blog

Secure shell Sometimes mosh fails to connect even though UDP traffic was verified to pass. "mosh did not make a successful connection to..." etc. more

dead factory With the recent announcement that HashiCorp switched to the so-called Business Source License I wanted to write my thoughts on it. more

00008-2267842057 Today I heard the sad news that Bram Moolenaar has passed away. more

Supernova Lately I've been getting lots of errors similar to pkg_resources.extern.packaging.version.InvalidVersion: Invalid version. Here's how I fixed them. more

Architecture The split (1) tool is quite useful, but it doesn't recognize quoted fields. This is my solution to this problem. more

Debian On Debian-based systems /lib/modules tends to fill up with obsolete files. The reason is that kernel packages have to be purged to remove those files, and that doesn't happen while normal upgrade/remove operations. This script is my solution to this problem. Deletion is disabled by default, verify the output of … more

Dice The folder sensor in home assistant is good if you need a random file from one directory, but how about a random file from a file hierarchy? more

Glasses I often want to mock reading from a file when writing unit tests in Python, and I always struggle to find the right solution again. So I'm posting it on my own blog in the hope of finding it later 🤣 My solution is to return a StringIO object from … more

Friendship I recently had to restore some data from backups, and was using Django serializers to get the job done. Objects of one class were not deleted, but the relationships were set to None when the related objects were deleted. Here's how I restored the relationship information. more

Pumpkin Soup I ran into this error several times recently while trying to run a few Python-based GTK apps. Here's how I solved the problem. more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo