Blog Archive: 2026
July
Jul 31
6 min read
Dropping the iframe only gets you halfway, because the thumbnail still phones home. What it takes to serve YouTube preview images from your own domain.
Jul 30
3 min read
A book slug returning 400 as an Ecto.Query.CastError, because a sixteen-byte string is also a valid raw UUID. Why a cast can't tell ids and slugs apart, and a strict check that can.
March
Mar 21
4 min read
A simple CSS trick to make light-background screenshots look good in dark mode without maintaining two versions of every image.