ARTICLES

Programming

django, uv, direnv, cookies

It's 2025 man, and I'm starting a new Django project. There's a billion options for management. I want linux uv (instead of poetry) vscode secrets in .env podman or docker for redis and postgres boilerplate …

Podman: the good, the bad

Containers, containers, containers. Not the steve guy from microsoft TLDR> p odman is worth the effort, just. Why Podman? I was spending a lot of time deploying manually. I liked the idea of one, independent …

TimescaleDB

Why not Influx I've been using Influx (v1 and v2). Flux is great but now (2025) unsupported. Influx has bugs with won't be fixed. The worst is duplicate points which means you can't rely on …

Publishing and Signing WinForms Apps

dot what? Use (2024) .NET 8.0. ##Visual Code Digital Signing Digicert hardware key must be physically present (no private key in software now allowed) Sign .exe and .msi of the app (?) Ensure your clock …

Encode custom models to Django's JSONField

Problem Say you have a Class like this: class Device(): def __init__() ref = 333 name = "sweet one" things = { ... of things... } when = datetime.now() and then you want to serialise …

image 41

Quick Debug with VSCode and debugpy

Need to debug a random python process? Overview Add the code below where you wanna break. Start the process with the debugpy modoule Use VSCode to connect to listening debugger 1 Add Code def somefunction(): …

Big RAGs to Riches?

Problem: Make a chatbot which answers complex questions based on a terabyte of mixed media documents. Prototype : here it is! It reads some text files, processes (embeds?) them into vectors (caching to disk) and …

Scheduling Notifications

Scenario: you wanna delivery users Notifications (e.g. email) at certain intervals. The system is run periodically and we need to work out whether to sent or not. Simples, right? Um... We're in python and using …

Panda Bears and Pythons

I've seen import pandaas and and numpy around the traps and thought 'geez, that'll be a long install. Today I saw why it's gooda. Some things I learnt: Python on windows is crap. Try conda …

Using Riverpod with Flutter

I'm new to app development. This is 2023 notes about state management in Flutter using Riverpod. Code generation Probably better NOT to use this at the start, it's another layer of complexity. But it's nice …

Bloody CORS and Grafana

Breaking news : see the solution where I asked on community.grafana . Spoiler: add a slash. There's a billion queries about this topic. Here's some notes. I don't understand the information flow. Maybe writing it …

Multi-Tenant Grafana with DRF

While looking at Grafana Multi-Tenant arrangements, I realised it's problematic to have a multi-tenant SQL database accessed by Grafana. One solution is to use the X-GRAFANA-USER. If we can trust this header it will allow …