Archives
All the articles I've archived.
-
Compounding Research Corpora
Concept-shaped knowledge bases with dense bidirectional links compound across articles; topic-shaped ones produce excellent stand-alones.
-
Ambient Spaced Repetition
Osmosis learning via desktop notifications and HUD displays, utilizing spaced repetition algorithms to naturally build memory.
-
API Mom as Intelligent Router
The layer between your agent and the LLM market — routes by capability, optimizes for cost, abstracts away every provider decision.
-
AI Context Efficiency
A practitioner's field guide to context engineering for AI coding assistants.
-
AI Usage Postmortem
Analyzing quota blindness, token pricing blindspots, and the need for usage monitoring across AI tools.
-
Claude Code Context Monitoring
Complete reference for setting up worktrees and configuring the hook system for AI agent teammates.
-
Autonomous Agent Frameworks
A deep dive into why every agent framework converges on similar patterns, and how to choose the right one.
-
Composable Processor Architecture for AI Content Pipelines
Processors are decoupled by data, not coupled by flow. A modular architecture for scalable AI content and processing pipelines.
-
Durable Object Rate Limiting
How to build an adaptive rate limiting controller using Durable Objects to prevent getting blocked when crawling.
-
Content Rewards Clipping Guide
A comprehensive guide to the content rewards and clipping business model.
-
Reading the Disk in Order
The history and science of sequential I/O optimization, from spinning disks to modern OS I/O schedulers and file system layouts.
-
Funnel Design for Free Tool Sites
The playbook for converting traffic from free web tools into email captures, active users, and paying customers.
-
LCD Display Protocols & LED Matrix Libraries
Understanding display protocols from HD44780 to RGB LED panels, and integrating them into software-defined virtual displays.
-
Multi-Agent AI Processing Pipelines on Cloudflare Workers
Architecture overview and production patterns for orchestrating multi-agent pipelines on the edge.
-
Multi-Machine AI Agent Deployment
Architecture and protocols for deploying AI agents across multiple machines, discovering capabilities, and submitting work that requires GPU.
-
Notification System Design Patterns
From iOS/macOS/Android native behavior to building an intelligent, cross-platform HUD notification API.
-
Ghostty, Tmux, and AI Integration
Core concepts and patterns for integrating Ghostty and Tmux with AI workflows, handling background jobs and timeouts.
-
Production AI Anti-Patterns
A guide to the most common mistakes in production AI systems, from quota blindness to uncontrolled cron spending.
-
Progress Visibility
After tqdm: how to implement robust progress reporting and checkpointing for long-running batch and agent processes.
-
Securing Servers with Tailscale and Cloudflare
Layering Cloudflare Access, Tunnels, and Tailscale Mesh VPNs to completely shield your origins and servers from the public internet.
-
Self-Healing Parsers
Building parsers and scrapers that automatically recover and roll back when target structures change or break.
-
Deploying TanStack Start to Cloudflare Workers
A guide to deploying TanStack Start full-stack applications to Cloudflare Workers correctly, covering architecture, bindings, and D1 integration.
-
Programmable 3D Avatar Faces
Engines, APIs, and real-time control techniques for building expressive 3D avatars for AI assistants.
-
Troubleshooting tldraw with TanStack Start
Working around SSR framework crashes, Vite HMR breakages, and library configuration issues when embedding tldraw.
-
How to Export Twitter/X Bookmarks
Every method explained with code, from GraphQL interception to DOM scraping, to safely and reliably backup Twitter bookmarks.
-
Video Creation Resources
A complete resource index for video creation, tools, and pipelines.
-
Video Production Techniques
A guide on Hollywood-style video production techniques and FFmpeg effects.
-
Viral Video Bible
The complete playbook for creating and scaling viral video content.
-
Cost Observability for Cloudflare Workers
How we burned $19.63 in D1 row reads and built a free zero-cost monitoring system using Workers Analytics Engine.
-
Event-Driven Architecture on Cloudflare Workers
Connecting Durable Objects, queues, and agents to form a cohesive, stateful event-driven architecture.
-
Event-Driven Architecture on Cloudflare Queues
How to design queue topologies for multi-service architectures, implement idempotent consumers, and handle fan-out patterns.
-
Worker Analytics — Lightweight Monitoring for Continuous Pipelines
How to build operational monitoring for continuous Cloudflare Workers pipelines that costs essentially nothing.
-
Autonomy Is Substrate Discipline
Why all working autonomous agents look the same: the three universal moves that make any agent autonomous.
-
A Repo Is Context
A project is nothing but context. Git is the right medium for context — content-addressable, versioned, permanent.
-
Two Classes of Agents: Codebase-Native vs Workers-Native
Agent frameworks split cleanly into two classes based on tool access, determining whether they belong in containers or on edge runtimes.
-
Context Is a Harness Artifact
LLMs are stateless. A conversation is a UX fiction. Long-horizon autonomy is a question of harness design, not model capability.
-
Dreaming and the Effect Gate
Why an active-memory substrate needs two execution modes — awake and dream — and a hard gate on effectful pipelines in dream mode.
-
Goal Generation Is Agency
Agency is the capacity to generate goals from ambient state — not the capacity to execute given goals.
-
Memory as Lazy Queries Over the World
In a stateful LLM system, memory is not a mirror of the world — it is a graph of lazy queries that resolve into the world on demand.
-
Thinking Is Substrate Self-Modification
Thinking is not something a model does. It is something a substrate does to itself, using models as workers.
-
The Harness Is a Prompt Compiler
Every LLM system is implicitly a compiler. Given accumulated history and a goal, it produces a prompt. The quality of that compiler is the entire game.
-
Cloudflare Service Binding Pitfalls
When Worker-to-Worker communication silently breaks because your target Worker exports a Durable Object class.
-
Inversion of Control in Data Pipeline Architecture
Don't hardcode how functions are called, where they run, or who calls them. Inject all of these decisions to enable multi-runtime systems.
-
Prime: A Conversational Control Plane
The human talks to the business. The business talks to the code. Every conversation makes the autonomous organization smarter.
-
Self-Hosted to Serverless: Migrating a WebSocket Relay
Using Cloudflare Durable Objects to manage persistent connections, fan-out routing, and shared in-memory state for real-time synchronization.
-
The Capability Primitive
Decomposing monolithic applications into self-registering functions for better composition and cost economics.
-
Why Every Capability Should Assume 80% Reliability
No media processing service is reliable enough to trust. The architecture that survives production expects everything to fail and handles it gracefully.
-
Composable Pipelines: When a Pipeline IS a Capability
The recursive property of workflows — pipelines calling pipelines calling pipelines — is the most underexplored idea in workflow orchestration.
-
Cost-Aware Orchestration: Budget as a First-Class Constraint
Every pipeline step has a cost. The orchestrator must treat budget like it treats timeout — a hard constraint that shapes every routing decision.
-
Durable Objects as Capability Registries
A service registry does not need a consensus protocol or a cluster. A Durable Object is already the single source of truth for its capability.
-
The Media Store Pattern
Content-addressable storage as an infrastructure primitive that naturally caches and deduplicates intermediate pipeline artifacts.
-
The RFC Process for Multi-Repo Ecosystems
A design document protocol that lives in the owning repo, cross-references dependencies, and coordinates architectural shifts.
-
Bridging Local Compute and Cloud APIs
Using Tailscale Funnel to bridge Cloudflare Workers with local GPU workstations or APIs sitting behind CGNAT.
-
Streaming Data Pipelines with Async Generators
Why async generators are the right primitive for data pipelines—backpressure, composition, and natural event flow.
-
Layered Architecture for Distributed Data Systems
How dependency injection separates pure logic from I/O, enabling testable, multi-runtime data systems.
-
Local Testing of Distributed Systems
How to test complex distributed systems using in-memory databases, mock filesystems, and dependency injection.
-
Automating Slate.js Editors from a Chrome Extension
The only technique that reliably gets text into Slate's internal model from a Chrome MV3 extension service worker.
-
The Faceless Channel Playbook
Building an AI-Powered short-form video engine. The floor for quality has risen; survive by treating AI as a production accelerator.
-
The Bandwidth Wall: Why Physical-First Backup Is Not a Workaround
Cloud backup has a physics problem. At any realistic residential upload speed, terabytes of data cannot cross the internet in a human time frame.
-
Metadata Economics in Personal Storage
Why the catalog is cheaper than you think: demonstrating the 1,000:1 ratio between content byte size and metadata index size.
-
Distributed Block Storage for Home Drives
Content-addressed block distribution fixes idle capacity by treating the drives you already own as a cohesive storage pool.
-
The Recurring Run Review
A formal governance gate, observability checklist, and kill switch architecture for any automated pipeline that runs more than once.
-
Building an Autonomous Data Pipeline on Cloudflare Workers
How to wire Workers, Queues, Durable Objects, D1, R2, and Workflows into a self-driving data pipeline.
-
Durable Object Patterns on Cloudflare Workers
Stateful compute primitives for the edge — four production patterns, design principles, and practical examples.
-
The Three-Layer AI Agent Architecture
How to separate agent state from LLM logic and API metering to build intelligent, financially observable agents.
-
Prime: Persistent Org-Level AI Agents on Cloudflare
A control plane architecture for autonomous multi-repo organizations — built on Cloudflare Agents SDK, Durable Objects, and GitHub as long-term memory.
-
Never Fail Twice: The Escalation Ladder That Learns
The right architecture treats failure as fuel — successful fixes become permanent skills, making the system progressively more capable.
-
The Tight Loop: Observability and Action
Applying the Observe-Orient-Decide-Act (OODA) loop, control theory, and chaos engineering to build high-reliability software systems.
-
The Autonomous Entity Pattern
Every complex domain is a hierarchy of entities. Each entity needs a persistent agent with memory, decision-making, and the ability to delegate work.