Atomic save in the Mac App Sandbox: the sibling temp file fails
Write to a temp file next to the original, then swap: the textbook safe save. In a sandboxed Mac app that temp file can't be created. What works.
Write to a temp file next to the original, then swap: the textbook safe save. In a sandboxed Mac app that temp file can't be created. What works.
A 42 KB zip can expand to petabytes. Here's how Purrchiver checks an archive's declared size before extracting it, and when it stops to ask.
How Purrchiver extracts and compresses multi-gigabyte archives with a near-flat memory footprint — and never leaves a half-written file behind.
libarchive returned NULL for every non-ASCII filename in my Swift tests. The cause is the C locale; the fix is uselocale, scoped to the call.
Purrchiver's first day of development: vendoring libarchive and UnRAR, reading RAR and encrypted 7z, and building a test corpus before the app.
The deal that made unpaid open source a fair trade in 2005 doesn't hold in 2026. A simple filter: personal-time dev work should pay you back.
Agents are too lenient reviewing their own work, and prompting won't fix it. A structural fix: separate authors and reviewers across model families.
Long AI skills drift from their own prose. The dot-graph pattern makes a workflow a graph, moves node prose to sidecars, and refuses off-graph moves.
I built a Mailtrap stub, a Claude Code skill and a spec-checking subagent for MessagePit, then deleted them an hour later. Why, and what survived.
MessagePit now captures your app's outbound webhooks on any path and method, shown live with headers and bodies. How it works and its limits.