Leaves are falling, and so have been articles! Let’s see what other things have been achieved this month.
Autodetecting GNOME Dark and Light Mode for Dotfiles Adjustments
Summer is gone, and so are the bright days. This is usually the time of the year when I switch my system to to “dark” mode for the next coming months. However, my terminal and CLI applications do not detect this mode automatically. Nothing that cannot be scripted, though!
Sending Templated Emails Using Python and msmtp
Sometimes you need to send the same kind of email over and over. Especially in the corporate world, in order to follow processes for various needs. This burden can be automated quite easily by using an email template, filling it with Python and sending it with msmtp.
Git Pre-Commit Hook for Rust Projects
Having a CI system is very convenient to ensure that your project contains no bugs. But running tests locally before pushing is also a great solution. By running tests before every commit, we ensure that each of them is working independently (as they should).
Status update, September 2021
Now that we finally had some (late) sun, let’s see how things have been.
Status update, August 2021
Let's see what has been accomplished during these (rather cold) summer months.
Status update, July 2021
No status update since a long time (almost a year), mainly because of a lot of personal challenges. But now is the time to go back on the status update habit!
Generating 64bit and 128bit unique identifiers with Python
I have recently learned that YouTube was using random unique IDs for videos using base64 encoding of 64 bit integers. This leads to more readable URLs than using 128 bit UUIDs for the same purpose. Let’s try to generate these identifiers with our favorite prototyping language: Python!
Debian Bug Squashing Party: Salzburg 2021 virtual edition
During April 24th and 25th, the Debian Bug Squashing Party (BSP) planned in Salzburg, Austria was held virtual. During this event, various Debian contributors grouped together and try to fix all of the release critical bugs for the next stable release, Bullseye. Let’s see how things went.
Parsing real-world data with Rust: introducing the alias_all attribute in Serde
While data formats should always be unambiguous, real-world data from external providers often come with their set of issues. One of them is inconsistent naming of some fields. By introducing a new attribute in Rust’s famous serde library, we can however handle this case elegantly.