Two small problems that cost me more time than they should have, an openvpn3 error about an invalid D-Bus path and an SSH connection that hung because of a stale ControlMaster socket, plus a recap of the whole series.
Inside the AI agent backend: LangGraph runtimes cached on a 16-part key, progressive skill disclosure with a 128-tool cap, compare-and-swap settings mirrors, and a feedback pipeline that groups meetings by red flags.
Every bug I hit while building my own VPN gateway, internal network and DNS, grouped by kind, with the symptom, the cause and the fix, and the three patterns behind most of them.
How my OpenVPN fallback on TCP 443 is configured, why tls-crypt made it stop answering scanners, how I build client profiles, and the steps for adding and revoking a client.
Clean-code and clean-architecture standards meeting real code: the boolean flag that became two functions, the 70 duplicated lines that stayed duplicated on purpose, and import invariants enforced by AST tests.
Building a new certificate authority for my OpenVPN fallback with easy-rsa, choosing validity periods, staging the files with strict permissions, and replacing 150 lines of inlined certificates with five directives.
Adding one phone to my OpenVPN fallback revealed that the private key of the old certificate authority no longer existed anywhere. How I searched for it, and the 30-second check that proves whether a certificate and a key belong together.
How the team scaled LLM-assisted development with specialized agents, an adversarial test-triage workflow, and hooks executed by the harness — the layer that instructions cannot override.
Why I split DNS into two layers, CoreDNS as the authority for my internal names and Pi-hole as the filtering resolver my devices use, and the settings that keep internal names from leaking.
Setting up WireGuard as the primary tunnel into my servers, with keys that never leave their machines, a split tunnel on the laptop through NetworkManager, and TTL values to prove the routing.
How I set up a minimal VPN gateway with two open ports, SSH only on the internal network, a login account without sudo and a default-deny nftables firewall that fits on one screen.
A .NET service that ran out of memory in production: per-meeting state that outlived the meetings, a GC ceiling fixed at process start, and why raising the limit was the right stopgap — done deliberately.
How I gave my virtual machines their own routed network across two Proxmox hosts, using isolated bridges, static routes and NAT, and how a missing NetworkManager option caused silent packet loss.
The first post in my Owning the Edge series. The VPN into my servers broke in three ways at once, so instead of repairing a box I did not control, I built my own gateway, internal network and DNS from scratch.
Deploying the voice agent on Kubernetes: why one missing webhook secret took a whole namespace down three times, the split-horizon DNS that silently killed observability, and the isolation patterns that came out of it.
Building a voice agent that takes real phone calls: HMAC-verified webhooks, a sideband transcript pump, delegation-based tool dispatch, and a refusal layer protected by cryptographic digests.
A centralized settings module as the last line of defense: boot gates that collect every missing variable, fallbacks that log at ERROR instead of degrading quietly, and why point-of-use beats boot-time for some checks.
Inside the notification scheduler: a ten-second tick over five sweeps, five-minute compare-and-swap leases, a recurrence engine with strict and non-strict personalities, and retry accounting that never double-charges.
Designing the push-notification service: idempotency keys as mandatory input, durable in-app records before OS push, fail-open preferences, receipt reconciliation, and WebSocket auth via subprotocol.
An in-process cron scheduler with a generation token, a promise lock, and soft-delete reconciliation — plus the drift panel that turns destructive sync into a recoverable operation.
Designing an Express + Better Auth service where deactivated users cannot sign in even when the database is down, tokens die on role change, and audit logging can never block a login.
A Diátaxis taxonomy, ADRs that running code reads, evidence-first writing, and a nightly production-to-staging database refresh — how one team made documentation cheaper to keep than to skip.
Building a FastAPI service that parses a large polyglot repo with tree-sitter, indexes it with embeddings and FAISS, generates architecture diagrams on demand, and answers natural-language questions about the codebase.
A look inside the three most complex feature areas of the Meridian web app — the assistant console, survey administration, and the audit-heavy admin surface — and the shared architecture underneath all of them.
How the Meridian web app picked React 19, TanStack Router and Query, Jotai, and Tailwind v4 — and why the most valuable piece of the design system was a single prop called containerClassName.
The first post in my Techstack Challenges series, about a client engagement where the coding standards were not a wiki page but executable files in the repo, loaded by both humans and coding agents before every change.
Voice agents feel synchronous but live on a mess of tool calls, reconnects, and long-running jobs. A background job manager with dedup, bounded retries, a dead-letter queue, and a sideband control channel — plus a discovery system for assumptions you cannot verify.
Should a survey be "completed" or "expired"? Store the flag and it lies between updates; compute it on read and it is always true. A design for lifecycle derivation, assignee coverage, and the short-circuits that keep it fast.
How does an assistant remember you across sessions? A speaker-attributed extraction pipeline with dedup and rate limits, three isolation scopes, and a retrieval hierarchy that ranks topics, decays by recency, and never truncates silently.
Third-party webhooks expire, get orphaned by restarts, and miss events. A reconcile-loop design that converges desired vs. live state, plus deduplication by join URL and latches that remember deliberate exits.
How do you compare LLMs on generating structured queries? Syntax similarity is worthless. What works: executing generated queries against a live triplestore and comparing result sets — plus a spread rule most benchmarks ignore.
How to make a language model reliably drive a structured UI: force a tool call every turn, treat the final answer as a schema, feed validation errors back for self-correction, and bound the whole thing by construction.
What if a language model compiles a procedure once and never runs again? A skill compiler with hard structural gates, a zero-model interpreter that walks the graph in plain code, and a trust ladder that must be earned run by run.
Background jobs that run for minutes, pause for human answers, and survive restarts need more than a status column. A design for pausable, resumable, auditable background work: explicit states, a question channel, generation gates, and append-only logs.
Dense embeddings find paraphrases; full-text finds exact terms. How to run both legs concurrently and fuse their rankings with RRF — a simple formula that consistently beats either leg alone.
When a model answers over private knowledge, the answer must never leak what it used. How to scrub IRIs, UUIDs, and query fragments across streaming chunk boundaries, and how to project provenance as an allowlist.
The small but sharp security machinery behind an API endpoint: in-memory token buckets, peppered SHA-256 with constant-time comparison, and deterministic session namespacing.
iCalendar RRULE looks like a solved problem until INTERVAL=0 hangs your sweep, BYHOUR means the wrong hour across timezones, and legacy rows encode their whole schedule in one string. A field guide to doing it safely.
How to run a distributed scheduler on a single table: advisory-lock leader election, SKIP LOCKED work claiming, semaphore-style concurrency caps, and heartbeat reaping.
Mein DevBG-Vortrag über die Vielseitigkeit von Python: Syntax und Features wie Context Manager und Decorator, objektorientierte Programmierung und Pythons Rolle im Machine Learning.
Two small algorithms that make a notification service boring in the best way: cursor pagination that cannot skip rows, and exactly-once-flavored dispatch built on a single SQL statement.
Notizen vom Panel „Enterprise AI Application" auf der Konferenz von Confindustria Bulgarien, wo ich darüber sprach, wie KI und Machine Learning Innovationen in der Fertigung vorantreiben und sich in MRP/ERP-Systeme wie SAP integrieren lassen.
Ein Review von „Forecasting at Scale" von Sean J. Taylor und Benjamin Letham (Facebook) – mit den Komponenten Trend, Saisonalität und Feiertage des Prophet-Modells, Analyst-in-the-Loop-Modeling und automatischer Prognose-Evaluation.
Eine Einführung in die Stack-Datenstruktur in Python – mit sequenzieller und verlinkter Implementierung, einem Geschwindigkeitsvergleich von push/pop und zwei Anwendungen: ein Infix-zu-Postfix-Konverter und ein Labyrinth-Löser.
Eine Erklärung der Konzepte und Eigenschaften verteilter Hashtabellen (DHTs), ihrer Vor- und Nachteile, sowie ein Schritt-für-Schritt-Beispiel zum Aufbau, Verändern und Abfragen einer einfachen DHT.
Eine Einführung in lineare Listen in Python – sequenzielle Listen (Arrays) im Vergleich mit verknüpften Listen, Herleitung der durchschnittlichen Kosten von Insert- und Delete-Operationen sowie Implementierung von Listen-Einfügung, -Löschung und Polynomaddition.
Eine Anleitung zum Bau eines Messaging-Systems für Systemressourcen mit der Telegram Bot API in C/C++ – mit Kindprozessen, die Ressourcendateien überwachen, und einem systemd-Service, der den Bot verwaltet.