Writing
Things I found worth writing about.
7 posts
-
The model invented a city
New rules took Sninat's search from 18.8% to 63.8% of test searches fully right. Adding an AI model scored higher but made up cities.
-
The type checker doesn't read my posts
astro check reads .astro and .ts files and never opens an .mdx one, so every prop I pass inside a post is unchecked. One of 3 places here where the types stop.
-
Deleting files in WSL doesn't free your disk
Deleting 15 GB inside WSL and Docker freed nothing on C:. Getting the space back takes a trim, a shutdown and a compaction.
-
The drawings on this site have tests
The drawings on this site are code, so the site's tests check them. Every shape names a role, like skin or line, and each colour theme decides what that role looks like.
-
Two ways to stop a double booking
How 2 booking systems stop the same race: one with a database constraint, one with a single guarded write.
-
The queue dropped 14 entries and told nobody
Filling a search index stored 90 of 105 entries. Nothing failed loudly, and the count you check lags behind.
-
The bigger server was cheaper
A price change made a machine twice the size cheaper. Switching meant destroying the live server, so OpenTofu did it.