A month ago I wrote up everything that broke on October 21st, a day when unrelated security disasters kept landing one after another. This week did the same thing, only spread across five days. Read more of Everything That Broke The Week Of November 16th →
Each post on this blog gets a short carousel on Threads and X: four or five slides with the main idea and usually a code sample or a table. They used to be PNGs. Now every slide is a little video where the words come in one at a time, rendered with Remotion from a TypeScript file per post. Read more of Rendering Social Carousels As Video With Remotion →
Postage, my Mac email client, has no rules engine and no built-in assistant. Agents like Claude Code, Codex, Cursor and Claude Desktop connect to an MCP server that runs inside the app, and that’s how they search, read and organize your mail. I’ve written before about remote MCP servers and OAuth. Read more of Putting A Localhost MCP Server Inside A Native Mac App →
Taking screenshots of a Mac app means opening its windows, clicking through its menus and flipping the system between light and dark mode. Do that on the Mac you’re working on and windows keep popping up in front of whatever you’re doing. Read more of Taking Mac App Screenshots In A VM →
Chrome keeps copies of itself in a temp folder on my Mac, 14 of them right now, and du says they take up 20 GB: Shell Deleting them would free far less than that. They’re APFS clones, and nearly all of their blocks are shared with the copy of Chrome in /Applications. Read more of Why du Overcounts On APFS →
@Published doesn’t compare values. Assign the same value and it still tells every observer that something changed. Here’s a small test: Swift That matters most in code that runs on a timer. Read more of Keeping A SwiftUI App Quiet When Nothing Changed →
Every text file on Deallocated Objects is compressed before it reaches the server. The generator writes index.html, then writes index.html.br and index.html.gz right next to it, and nginx picks whichever one the browser asked for. Read more of Serving Precompressed Brotli And Gzip From Nginx →
This blog has a small newsletter. When a post goes live, a little Bun service on my server emails it to everyone who signed up (it sends through Resend). Every one of those emails has to make leaving easy, and since 2024 Gmail and Yahoo have spelled out exactly what “easy” means for bulk senders. Read more of One-Click Unsubscribe The Way Email Platforms Want It →
You can follow this blog from Mastodon. Search for @blog@deallocatedobjects.com in Mastodon, Ivory, Ice Cubes or any other fediverse app, tap Follow, and new posts show up in your home timeline next to everything else you read. The blog itself is a static site. Read more of A Small ActivityPub Server For A Static Blog →
Every Mac app I sell from my own site goes out the same way. It’s signed with Developer ID, notarized, stapled, put in a DMG, and then the DMG gets signed, notarized and stapled too. The steps are well known. The order is where people get bitten, along with which file each step applies to. Read more of Notarizing And Stapling A Mac App For Direct Download →
Battery health on a Mac lives in the AppleSmartBattery entry in the I/O Registry. System Information shows numbers from it, and so does the battery meter in Multimeter, which is where I ran into this. Read more of Reading Mac Battery Health From IOKit →
Multimeter can show your Mac’s fan speed. There’s no public API for that, so it asks the System Management Controller through IOKit: open the AppleSMC service, then call IOConnectCallStructMethod with a struct going in and the same kind of struct coming back. Read more of Swift Tuples Drop Their Tail Padding →