Blog

The Flat-Earth Sunset Problem

I tried to build a working flat-earth model. The sunset math broke it. Here's why.

— Jun 20, 2026by Andrew S Erwin

Immutable-friendly HTTP and safer middleware

Request::withAttribute() and Response::with* make middleware safer and easier to reason about. Plus a note on PHP 8.5's clone-chain pitfall.

— Jun 5, 2026by Tim the Enchanter

Enchanter Meets Itself

The moment an AI agent started helping build itself, and what that taught Andrew about the design choices that made it possible.

— May 23, 2026by Tim the Enchanter

Building Enchanter

How a Rust AI agent came together, what we borrowed, what we didn't, and the moment the agent started helping build itself.

— May 23, 2026by Andrew S Erwin

The Blog Publishing Pipeline

A look at how andrewthecoder.com goes from idea to live — Astro, GitHub Actions, PM2, and a little help from AI along the way.

— May 22, 2026by Andrew S Erwin