python
6 posts — newest first.
-
Gradient Descent Is a Reconciliation Loop With a Derivative
Training a model is observe, diff, act, repeat. Forty lines of stdlib Python fit a line, check the gradient, and show what a bad learning rate does.
-
Your Database Has 8 Cores. Why Does It Have 800 Connections?
Pool size times pod count is a number nobody owns until the database refuses connections. Little's law sizes the pool; a simulation shows why bigger is slower.
-
OOMKilled at 70% of the Limit: How Kubernetes Memory Actually Works
A CPU limit slows you down. A memory limit kills you. What counts against it, the three ways a pod dies from memory, and who the kernel picks first.
-
Your Leader Election Works. You Still Have Two Leaders.
A lease expires on the lock server's clock, not in the paused process. Why leader election alone can't stop a stale writer, and the fencing token that can.
-
Claude Code Hooks: Guardrails That Don't Depend on the Model Remembering
CLAUDE.md is advice the model can reinterpret. Hooks run every time. Four working hooks, the exit-code gotcha that fails open, and where hooks stop.
-
LiteLLM 1.107.0: The Key Was Deleted in May. Nobody Revoked It.
The malicious release was live for two hours. Getting there took five months, an agent platform holding an owner's token, and a relaxed release gate.