anmol@web | JAIPUR --:-- · … · ANTWERP --:-- · … · CHICAGO --:-- · … tty1

← cd ..

anmol@web:~/posts$ ls -t

blog.log

notes from the production trenches — solo SaaS, Django, LLMs, scrapers, and the small decisions that compound.

total 5

prompt caching a 47K-token medical doc with Claude Sonnet

How we keep a 47,000-token reference manual hot in the prompt cache without paying for it every turn — token budgeting, cache hits in the wild, and the one mistake that resets everything.

~9 min
a council of personas: making LLMs argue productively

Notes from building a debate tool that pits LLM personas against each other. What worked, what produced noise, and the surprisingly small prompt change that made disagreements load-bearing.

~7 min
PDF → Peppol: parsing invoices nobody formats the same way

Belgium mandated structured e-invoicing. PDFs in the wild are anything but structured. A field-by-field tour of what an LLM-assisted parser handles well, and where you still need rules.

~11 min
lessons from a year of running production scrapers

Rotating proxies, browser fingerprints, retry math, and the boring things that keep a scraper running while everyone else is patching their selectors.

~8 min
solo SaaS: what 2 years of Django in production taught me

Boring stack, boring deploy, occasionally-interesting bugs. A retrospective on running multiple Django apps as one person, and the moments I almost reached for something fancier.

~12 min