A Software Engineers Casual Log
November 2026
October 2026
Receipts for your AI workflows
Ordinary engineering visibility for agent sessions: skills, failures and timings.
January 2025
Experimenting with Server-Driven UIs
An experiment in server-driven UI for mobile: a Rails API describes the screens, components and actions, and a React Native app renders them.
May 2024
CLI::UI hidden gems 💎
Explore the hidden gems of CLI::UI. Adding links, printing tables & separating frames for better command-line interface experience.
April 2023
Failing RSpec have_attributes with arguments matchers
Why when using have_attributes with multiple argument matchers and only one is a failure, RSpecs fails all the rest of matchers ?
August 2022
MutationObserver, keep an eye for DOM changes 🧐
MutationObserver lets a script watch the DOM for added, removed or changed nodes, which helps when other scripts on the page rewrite the markup you rely on.
December 2021
Killing n+1 problems using groups
Fix n+1 update queries by grouping records by their new value: one UPDATE … WHERE id IN (…) per group, plus the Rails update_all version.