one concept at a time
technical notes
Practical notes on applied AI, HTTP caching, and reliable APIs, with interactive examples, runnable code, and primary references.
Idempotency and duplicate requests
How application programming interfaces (APIs) handle repeated requests with idempotency keys and a database uniqueness constraint.
— likes— views— notesText embeddings and cosine similarity
An introduction to embeddings and cosine similarity, with a small vector sketch and a runnable example.
— likes— views— notesHTTP caching and stale responses
How fresh and stale responses work, with Cache-Control rules and a version check that can avoid a download.
— likes— views— notes