Blog
Writing
Longer articles on Python, machine learning, data engineering and diving, mixed with short TIL notes: one command, one gotcha, one thing that cost an hour.
5 posts
2026
- 2 Sept 2026 TILuv can run a script with inline dependencies PEP 723 metadata at the top of a script and `uv run script.py` does the rest — no venv, no requirements file. pythonuv 1 min
- 30 Aug 2026 Why I log every dive (and built a website to do it) A paper logbook is a nice object. A database is a better one. On turning fifteen years of scribbles into something you can query. divingdatameta 4 min
- 21 Aug 2026 TILJSONB containment beats LIKE for tag columns Store tags as a JSONB array and query with `@>` — it uses the GIN index and reads like what it means. postgressql 1 min
- 14 Aug 2026 TILSvelte actions should return a destroy function An IntersectionObserver created in an action outlives the element unless the action returns `{ destroy }`. svelte 1 min
- 12 Jun 2026 From turbulence to tensors What a PhD in experimental fluid dynamics taught me about machine learning, and the one habit I wish I had picked up earlier. careerphysicsmachine-learning 3 min