07. July 2025

Branch Coverage, A Cautionary Tale

Unit testing your code is the ultimate route to developer sanity. A well written test suite is a patchwork proof of the correctness of your system. The more complete your patchwork, the more you can rest easy knowing your code will do what you intend it to do.

more

28. June 2025

Rotary MIDI

Using the BLEMidi.h library, you can get your esp32, the goat of dev boards, to be a midi server (instrument), or client (it’s complicated).

more

17. April 2025

Cookie Clicking

Cookie clicker is a video game where the goal is to click a cookie many times. Each click increments a click counter, and as the number of clicks increases power-ups are unlocked that accelerate the counter incrementing rate. Clearly this is a silly and futile endeavor. But not all silly and futile endeavors are entirely pointless. Enter the Arduino leonardo, an IC controller that can act as a keyboard and mouse.

more

09. May 2024

Using ollama to make an epub synopsis

Like everyone else, I do my best to read many books, and like many, I find it to be a challenge, not just in finding the time, but also I found after you’ve read enough books, especially non-fiction, a lot of the book seems like filler. Different books on the same subject will cover the same material, or the author will be needlessly verbose in covering a topic. I thought ‘if I just want to read this book for the content, not the style, could I shorten it with an ai tool to ease some of the pain points?’

more

20. March 2024

An Intro to Data Build Tool (dbt) Hooks

DBT supports hooks, which are a mechanism for running operations at different points of the execution of your DBT DAG. This is useful for running operations like adding a record to an audit table, running specific reports, and more.

more