The 3am Pager - A Scrappy LLM Cost Monitor with Python and ntfy.sh
This article is for the ones building an LLM product and want to know what it actually costs you - per feature, per user, per request - without paying for Datadog or wiring up OpenTelemetry.
Your RAG Pipeline Is Lying to You
We will walk through a concrete RAG example - a pipeline over a corporate annual report - and build the testing layer that most teams skip entirely. The code is real and runnable. The failures are not hypothetical.
Your Python Tool Needs Persistence - It Doesn't Need a Database Server
Your Python tools need persistence. Here's how to add it without spinning up a database server, using TinyDB, a zero-dependency document store that lives in a single JSON file.
Serving a Live Battery Dashboard from ESP32-C3 with Microdot and MicroPython
In this article we wire an INA219 power monitor to an ESP32-C3 Super Mini, charge an 18650 cell through a TP4056, and serve a live voltage/current/power dashboard directly from the device using Microdot.
Python Decorators - The Three-Layer Pattern
If you've written a decorator before, you know the syntax. But let's slow down and look at what Python is actually doing, because that mental model is the key to understanding parametrized decorators later.