Linux swap over loopback devices

Some Linux filesystems do not natively support swapfiles as they do not implement the required kernel calls or are unable to do so. Notable amongst this list of filesystem is btrfs, whose snapshot functionality I use to streamline my backup system.

Unfortunately, some systems I maintain have a chronic lack …

more ...

Gentoo pkg-config and cross-compilation

A note to myself (given that I’ve solved this issue a few times now).

If you’re attempting to cross-compile under Gentoo, and are using pkg-config, certain functionality will be silently disabled. Of particular note for my purposes is PKG_CONFIG_PATH, which I use as part of my autotools sub-package …

more ...

KVM and WiFi

When developing cross-platform code, testing is critical. Access to various families of operating systems will allow rapid identification of (some) inadvertent platform specific assumptions. While there are some public testing services, like Travis CI, you will inevitably need to test locally at some point. I use a set of small …

more ...

Improving Linux Font Rendering

After spending the better part of a day reinstalling my operating system (protip: don't uninstall your system compiler if you're running a source based distro), I finally got my system back to the point where I had a browser and email.

Immediately the text rendering in Chromium stood out as …

more ...

Ideal Daemon Configuration Files

If you're thinking of writing a daemon that has anything in the way of configuration files I implore you to consider a small amount of implementation effort for an 'include' directive.

This simple addition may not seem like a great deal for yourself, but it will undoubtedly go a long …

more ...