ARTICLES

Articles

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 …

Coastal High 50

Analysis of the Coastal 50 trail run shows that from 35km+ it will be heinous. There are aid stations here. Likely walking most of the last 15km. The first hill will be ok (fresh), while …

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 …

ESP32 Cam OV5640 Board

Setup board is V1.2.1 with the OV5640AF (autofocus) pin out of this board ubuntu linux Getting Started Arduino IDE (quick and dirty) Install Follow the install instructions for Arduino. Add boards (File>Preferences>Boards URL) at https://espressif.github.io/a…

IoT

Different Voltage References with IotaWatt

There's a few "built in" voltage references (in tables.txt version 0.0.8): They seem pretty different: {"model":"DCSS AC910(Aus)","mfg":"Radio Parts","cal":20.72,"p50":[2.17]}, {"model":"Powertech MP-3027(Aus)","mfg":"jaycar","cal":23.18,"p50":[0.92]}, Note t…

Timeseries Data Schema

Different code uses different formats for Time Series data. With query languages converted to, say, Python lists and dicts, the structure can depend on the query. The query can be dynamic and therefore the structure …

IoT
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(): …