zsh · 404human@dev:~Tab complete · ↑↓ history · type help
#reliability
Tag
#reliability
Articles
50 posts
Running local LLMs with Ollama and Qwen: guideHow to run local LLMs on a laptop with Ollama and Qwen—real RAM and quantization math, tool-calling gotchas, and when local beats cloud APIs.
5 min
What is an LLM context window (and its limits)What an LLM context window holds, how tokens add up across prompts, tools, and replies, why 1M-token windows still degrade, and how to budget it.
5 min
LLM evaluation and metrics: a practical guideHow to build an honest LLM evaluation suite—held-out cases, deterministic graders vs LLM-as-judge, decoy traps, and a runnable Python eval harness.
4 min
Webhook security best practices: sender & appHow to secure both sides of webhooks: HMAC-SHA256 signing, replay timestamp windows, constant-time verify, idempotency, and SSRF/DNS rebinding.
4 min
API rate limiting implementation: real guideHow to implement API rate limiting that survives production: token buckets, bounded maps, real client IPs behind proxies, and IPv6 /64 bucketing.
5 min
API security checklist with concrete testsA practical API security checklist backed by real tests—auth before body buffering, tenant RLS, rate limits, SSRF, idempotency, and audit logs.
6 min
AI observability: why telemetry must show gapsWhat AI observability actually needs in production—per-operation timelines, explicit gap markers when events drop, secret redaction, and real bugs.
6 min
AI agent security: threat model and defensesThe seven real security threats in production AI agents—from indirect prompt injection to secret exfiltration—and the code-level defenses that hold.
6 min
CLAUDE.md and AGENTS.md: what actually worksHow to write a short, high-signal CLAUDE.md or AGENTS.md file—what belongs in instructions vs CI tests, a real template, and the hijack risks.
5 min
MCP vs API vs RAG: how to pick for AI appsWhen to use a plain REST API, RAG retrieval, or an MCP server—decided by failure modes, latency, auth boundaries, and how real apps combine them.
5 min
How to build an MCP server (without the traps)Build a working MCP server in ~85 lines of Python over stdio JSON-RPC 2.0, plus the real OAuth, Cloudflare 1010, and approval bugs we hit live.
5 min
Codex vs Claude Code vs Cursor for real reposHow Codex, Claude Code, and Cursor compare on real codebases: terminal vs IDE loops, why one agent shouldn't review itself, and how to choose.
6 min
How to build an AI agent without a frameworkBuild a working AI agent in ~90 lines of code—with step budgets, output caps, approval gates, and the real production bugs toy loops hide.
KV cache explained: why long prompts eat RAMEvery new token an LLM generates has to attend to every previous token. The KV cache saves compute by trading RAM—and explains how prompt caching works.
4 min
How draft preview actually works on a static siteMost headless CMS preview guides assume SSR. Here is what breaks when you add draft preview to a static Astro site on Cloudflare Pages—and how to fix it.
4 min
Why naming a collection /media broke our appHand-maintained reserved-slug lists always rot when new routes ship. Fix route collisions permanently with a CI test that reads your frontend route tree.
3 min
Why every rate limiter behind Caddy saw 127.0.0.1Behind Caddy on loopback, peer-IP rate limits collapse every user into one bucket. Here is how to trust proxy headers safely and stop IPv6 bucket sprays.
Go vs Rust for backend APIs and background workersGo vs Rust in production backends: compile times, tail latency, memory bounds, error handling, async pitfalls, and when each language is the pragmatic choice.
PostgreSQL vs Redis for background job queuesPostgreSQL (FOR UPDATE SKIP LOCKED) vs Redis for background jobs: crash durability, transactional enqueueing, throughput, and operational footprint.
The fixes landed, and the reviews found bugs in the fixes2026-11-17: every project's review round landed on main, most with a final "ship". The best finds weren't in the original code. They were in the fixes: an honest peer banned, a restore that charged twice, a parser crash anyone could reach. Plus the load runs that finally ran.
The bug hiding in the "nothing to do" pathColophon crash-resume testing caught a bulk job stuck running forever when every item finished before the crash—the empty path never checkpointed.