SuperScript

Blog

Debian JRE Package Bug

In attempting to install openjdk on Debian I ran into the following error: Setting up openjdk-17-jre-headless:amd64 (17.0.13+11-2~deb12u1) ... the java command requires a mounted proc fs (/proc). The /proc directory exists and is populated, so why does this error occur? The posti…

Linux Jails With VNET

Look online for information about how to run a Linux jail with VNET and you’ll find very few resources. And of course some of the advice appears obsolete. I managed to do this recently with FreeBSD 14.1 and Debian 12, and here is the setup. The instructions in the FreeBSD Handboo…

mawk Is Not awk

Today I had occasion to use mawk instead of awk with a command that read lines from standard input, manipulates them, and prints them to standard output. Simple enough, or so I thought. I’ve had this code in production for years. Today I fired it up under mawk and behold: no outp…

Cognitive Load

Involve junior developers in architecture reviews. They will help you to identify the mentally demanding areas. Interesting thinking on modularity: Cognitive Load More material referenced there: Decomposition Criteria Contra Clean Code Some Ousterhout

fzf Plus rg

As stand-alone tools fzf and rg are very useful. And there is an example in the fzf docs showing how to toggle between fzf and rg, with the initial mode being rg. It works by feeding files (or standard input) to rg, and then making the list available to fzf for fuzzy match. When …