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.
-
usbeehive: Vibecoding a Linux USB Tool, and Where It Needed a Human
Porting a C++ USB-C cable diagnostic to Rust with an AI agent: what worked on day one, and the bugs only real hardware and the spec caught.
-
Crypto-Heating: Three Years with an Antminer L7
Three winters heating a Colorado home with an Antminer L7: ducting, noise, furnace interplay, dust, gas and power bills, and a hash-board failure.
-
SCD40 Below-Sea-Level Altitude Compensation
Compensate a Sensirion SCD40/SCD4x CO₂ sensor below sea level: why setSensorAltitude() can't, and how setAmbientPressure() does it instead.
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.