Welcome, netizen!

It appears that you have landed in my personal site. Were you looking for it or was it an act of pure chance?

Take a moment to relax and read what my pages have to offer. There is not much yet, I admit, but I hope to add more things in the future.


The frequency game

Hello internet! This week, my brother-in-law and his girlfriend have come visit for a couple of days and they've teached us a nice, simple game to play in small groups, which they call frequency. I want to teach it to you in this short entry.

Read more  ↩︎

Moving my package tests from Docker to systemd-nspawn

Hello internet! I recently moved my pkgbuilds testing environment from using Docker to plain systemd-nspawn containers. To me, this switch has definitely been an upgrade. I now have a simple, concrete tool to start local containers whose file systems live in the pkgbuilds directory. My decision to ditch Docker is a very personal one and I understand if you believe that what follows is a lot of work for very little gain.

During this transition, however, I found one difficult obstacle to overcome: a lack of concrete user documentation for creating and spinning up containers. The systemd-nspawn (nspawn for short) manual is wonderfully detailed, but I missed being able to read articles focusing on setting your system up with ease.

Today I'm trying to share this knowledge with you while the process is still fresh in my brain. Keep in mind that the examples are going to be based on Arch Linux, so a few details may be different in your particular system. Let's begin!

Read more  ↩︎

Finding the narrowest integer

Hello internet! I'd like to inaugurate my blog with a topic that's very dear to me: metaprogramming! In particular, I want to guide you through an introduction to this fascinating discipline in a way that's easy to follow and that gives you the building blocks to write your own tools. Being completely honest, this is an advanced programming topic, but the tools we're going to use are mostly learnt during one's first year of programming.

We're going to be writing C++20, so expect lots of shiny templates! Grab a seat and a compiler and let us answer the fundamental question of this post:

What's the narrowest integer that can hold a particular value?

Read more  ↩︎