Posts
- The capacity check that let all nine throughNine writers hit one limited slot at the same moment and all nine got on. The capacity check ran for every one of them, the lock was the right lock, and a one-user test passes it every time.
- The graphs came back, and that proved nothingI moved Grafana and Prometheus to a new VM and every panel drew straight away. A graph only draws what's there. It can't tell you what's gone.
- The diagrams carried the argument, and screen readers got none of itNearly every post on this site opens with a diagram that does the explaining. For as long as the site has existed, not one of those diagrams had alt text, and the theme I'd picked had left nowhere to put it.
- My deploy ran my tests, and my tests ran my deployMy desktop ran out of memory five times in two days, once killing 29,082 processes at a stroke. Two files that were each sensible on their own had made a loop with no way out.
- A memory limit made Grafana hammer the diskGrafana stalled for minutes while the host had more than 4 GB of memory available. The clue that it was starving for memory was the NVMe reading 1.7 GB a second.
My NAS was doing a server's job, so I bought it a serverMy ZimaBoard was holding my photos, my documents, my monitoring and my AI agents in 7.5 GiB. The agents were the reason the fix had to be a second machine.- Railway shows my request counts but won't export themRailway's dashboard knows how many requests my app served, but there's nothing for Prometheus to scrape. Turning its per-minute figures into a counter goes wrong three ways.
- A third of my request was the garbage collectorA slow grid in a Flask app I maintain had an obvious suspect. The biggest cost was Python re-checking 134,000 objects that would never be freed.
- The 03:37 alert that was never sentMy monitoring pinned a 3am outage on Cloudflare within seconds, and my notes said my phone was paged at 03:37. Nothing had been sent, ever.
- The folder on the RAID that wasn'tMy photo library was on the one drive with no mirror. The obvious folder to move it to, on the mirror, was a symlink straight back to the photos.
- Every site is monitored twiceI set up uptime monitoring for my sites and nearly made every check meaningless. They all sit behind Cloudflare, and a plain HTTP check there proves that Cloudflare answered, not that my app is alive.
- Homepage kept showing My First GroupI replaced the example config on my Homepage dashboard and the page source still showed the examples. It survived a full container recreate, because it was never my config to begin with.
- One character in /etc/shadow locked me outA fresh container refused my SSH key with Permission denied (publickey). The key was right, the sshd config was right, and the account had a single exclamation mark where it needed an asterisk.
- The Tailscale login that could never finishI installed Tailscale in a container, approved the login link, watched the node appear in my tailnet, and then watched it sit offline. It had sixty seconds to log in, and a browser login takes longer than that.
- The ZimaOS update the updater never offeredMy ZimaBoard had been running an eight-month-old alpha since January, and the built-in updater said there was nothing newer. There was. Getting to it meant learning what 100% on the root filesystem actually means on this box.
- The date that was yesterday until 3amA one-line date bug that only existed between midnight and 03:00, in an app whose heaviest users work nights. Then my fix for it turned out to be wrong in two of the three places I applied it.
- Enforcing a Content-Security-Policy without noncesMy app's pages each carried thousands of lines of inline JavaScript, which is exactly what a strict Content-Security-Policy forbids. Getting to an enforcing policy took one line of JSON per page and no nonce machinery at all.
- The badge that said 21 for a count of 1I added a small shield badge showing how many months someone had won a challenge. On my own profile, with one win, it said 21. The sample render I had checked it against said 1.
- The stale Excel export was Cloudflare, not ExcelI re-downloaded a spreadsheet export and got the version from before my last edit. Another machine got the current one. Nothing in my app was wrong, and nothing in Excel either.
- Safari could not download the fileA download button in an app I maintain failed on a Mac with WebKitBlobResource error 1. The fix was to delete code: the server had been able to do the job by itself all along.
- The scanner that was never brokenThe scan half of my HP OfficeJet had never worked from this machine, and I'd filed that under driver problems. No driver was needed. There was no scanner software installed at all, and the real mistakes started after I installed some.
- The 144 Hz monitor that preferred 60My 144 Hz panel ran at 60 from the day the machine was built, and again after a graphics card swap. Different cause each time, and nothing reported a problem.
Where the distro hopping stoppedUbuntu, Zorin, CachyOS, and now Omarchy. Why the hopping stopped: keyboard-first everything, apps that earn their keep, and a distro built to be made yours.- I wrote the lesson down. I broke it two days later.My project keeps a lessons-learned file. Going back through my notes, I found the same pattern five times: the lesson gets written down, and the repeat comes anyway.
- My GitHub recovery codes lived on GitHubI found my GitHub recovery codes in my notes vault - the vault that syncs to GitHub. Six months in git history, two copies. What I did about it, and the question I should have asked first.
- OneDrive and git fought over my vault. Both lost.My notes vault appeared to delete itself, git recorded 146 deletions that never happened, and OneDrive forked 120 conflict copies. Nothing was lost, and the warning was in the manual all along.
- Case study: the Paul Newman CupA full walk-through of a small production Flask app: the operational problem, the architecture, the identity-versus-permission model, the database and deployment decisions, the failure scenarios, and what shipping it taught me.
- Hugo's module.mounts quietly replaced my static directoryEvery deploy was green, every page worked, and one file returned 404 in production. The cause was a Hugo module mount behaviour that is documented but easy to miss.
- The SQLite trap caught me the same day I wrote about itI published a post warning that SQLite on an ephemeral filesystem silently loses your database. Hours later, my own app turned out to have been doing exactly that on every deploy.
- My folder locker never locked anythingA Windows batch script I wrote in February 2025 hid a folder behind a Control Panel CLSID and called itself secure. It hid nothing that mattered, and one of its bugs stayed invisible for seventeen months.
- Running SQLite in production (yes, really)I deployed a Flask app to Railway with SQLite as the only database. Here is why that was the right call, and the five things that actually bite when you do it.
- When RAID1 saved the data but not the stateA homelab migration filled the system disk and the storage layer lost track of a perfectly healthy array. Here is why I wiped and rebuilt from backup instead of recovering in place.
- Twelve things wrong, and the one I fixed firstA code review of a low-code automation that worked perfectly and could not be maintained. Finding the problems was the easy part. Deciding which one to raise first was the job.
- Low-code is not no-logic: expression thinking in Power AutomateDevelopers judge low-code platforms by their drag-and-drop layer and conclude there is no programming in them. The programming is in the expression language, one level down.
Johnny Decimal for the files, Zettelkasten for the thoughtsHow I organise everything: one numbering system across my whole file tree, and a separate note system for ideas. The trick is knowing which job belongs to which.- Use secrets, not random, and remember the shufflePython's random module is the wrong tool for passwords, and swapping it for secrets is only most of the fix. The shuffle at the end catches people out.
- Parsing Markdown by alternating on odd and evenThe nicest idea I met while building boot.dev's static site generator: parse inline Markdown by splitting on the delimiter and alternating, and get validation free from the section count.
- The particle fade that never fadedI wrote fade-out code for explosion particles in a Pygame project, and it looked fine to me for months. It never faded once, and the reason is a quiet rule about how Pygame draws.
- Installing Hugo on WSLA short guide to getting Hugo running on Windows Subsystem for Linux, and why you want the extended build.
- Space has no drag, so I added someThe guided version of Asteroids moves the ship directly: press a key, move; release, stop. I wanted it to feel like space, which meant momentum, and momentum turned out to need a compromise.