bitcreed

Notes

Things worth writing down.

Mostly problems I hit and solved, kept here because I will need them again and so might you.

01

Embedded & Sensing

Sensors, drivers, calibration, and the hardware/software boundary.

02

Linux & Systems

Filesystems, distributions, networking, and keeping machines coherent.

  • Starlink on the Road

    Months of Starlink on an RV: in-motion use, foliage and signal reacquisition, measured power draw, PoE cabling, router bypass and custom DNS.

  • Fixing ZFS Filesystems That Do Not Automount on Ubuntu

    ZFS pools gone after every reboot on Ubuntu 22.04? Install zfs-initramfs so ZFS lands in the initrd, and enable zfs.target in systemd.

  • Refreshing Rust

    Back to Rust after five years, to merge a 700 MB ddrescue log into a few kilobytes: compiler errors, the linter, inline tests, Cargo.

  • PowerShell: Check if a File Was Fully Copied

    Spot interrupted copies on Windows: a PowerShell function that compares a file's size with its size on disk, and a loop over a whole directory tree.

03

Engineering Practice

How software gets built, and what it costs when it is built badly.

  • The Hidden Cost of Bad Engineering

    Hacks are an unpaid credit card bill. When to pay down technical debt, the rule of three, naming variables well, and state diagrams anyone can read.