Sunday, Oct 12, 2025
As a studious GNU Units user, I have a small body of notes documenting various ways to perform calculations with unit conversions. Here are a few select ways that I found use of GNU units.
But first, a word about using GNU Units GNU Units is a powerful, free calculator that performs unit conversions for you. Please check out the examples on GNU Units’ homepage to see what it is capable of.
Continue reading…
Tuesday, Oct 7, 2025
Python 3.14 was released today and I caught myself reading the Python 3.14 release notes so figured I’d type up what changes caught my eye.
Installing Python There are probably better ways to do this. I opted to manually build and install Python 3.14:
./configure --prefix=$HOME/python3.14 && make -j && make install export PATH="$HOME/python3.14/bin:$PATH" which python3 # Should print out a path equivalent to $HOME/python3.14/bin/python3 python -m json This is a nice way to pretty-print JSON (both indentation and color).
Continue reading…
Monday, Oct 6, 2025
I am curious regarding how many packages existed on my system. Then I got to wondering how many are Google projects? How many are Apache projects? Are all packages fully installed?
Get a list of packages into sqlite First, one needs to create the sqlite3 file. The following bash script generates a .csv file with a header (that’s the echo command on the third line) and a dpkg-query incantation. Then the script prepares a sqlite file and imports the .
Continue reading…
Sunday, Sep 8, 2024
Previously I introduced the reader to ShellCheck. In this post I detail how I use Flycheck in Emacs and offer an Emacs function to automatically suppress Shellcheck errors at the current line.
I’m an avid Emacs user and it follows that I’ve set up editor customization to exude the most from ShellCheck. If you, dear reader, are not an Emacs user, I cannot help you! Please, for the love of shell scripts, ensure ShellCheck works within your preferred text editor, lest you wish to ship edgecased buggy scripts!
Continue reading…
Sunday, Sep 1, 2024
In this post I hope to convince the reader on the merits of ShellCheck. Stay tuned for more posts about using ShellCheck.
On Shellscripting Shell scripting is a of passion of mine. Preferably Bash (here’s a guide). (POSIX sh a.k.a. Bourne shell works too, albeit with more effort thanks to diminished versatility when compared to Bash.) The shell scripting language family has many warts as the languages were designed for both real-time interaction and automation programming.
Continue reading…
Tuesday, Jul 23, 2024
Turns out my NAS is vulnerable to the SSH vulnerability which allows anyone to log into your host with enough time, guaranteed. Dubbed regreSSHion (CVE-2024-6387), it affects a host of different OpenSSH version ranges. If one has OpenSSH 9.8p1 or later, one is totally fine.
Unfortunately, the NAS is still on NixOS 23.11. The NAS remains on NixOS, but all my other devices have been migrated off to Debian Testing.
Continue reading…
Monday, Jul 15, 2024
Here’s a few notes on CPUID and /proc/cpuinfo. I made a table for quick reference.
What is CPUID? On x86 and amd64 CPUs, there is a large swathe of differences in features available to the software. Some CPUs ship with AES encryption support, others ship with virtualization support, almost all ship with a collection of SIMD (single instruction multiple data) instructions. The name of the game is to reduce CPU execution times using specialized instructions.
Continue reading…