ARTICLES

Software

Python DevOps - uv, podman, quadlets and friends

Rationale and recipe for developing and deploying webapps with Python and linux. Components SSL and Proxy: Nginx - SSL endpoint, proxy to Django application Backend: Django - running via gunicorn Frontend: TS static files, compiled …

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 …

Make Apps with Flutter

I need to make an app. I'm an experienced programmer. These are my 2023 notes. Getting Started I choose Flutter to (hopefully) have a single code base for Andriod, iOS and (maybe) Web. Inital impressions …