Category: Code

Glowing blue and orange data streams flowing through a dark cityscape representing CSP nonce injection through Express SSR, NGINX reverse proxy, and browser enforcement layers

CSP Nonce Injection Through the Entire Stack: Express SSR → NGINX → Browser

Posted on March 18, 2026 by JB

Most developers know Content-Security-Policy exists. Fewer have actually shipped an enforcing policy. And almost nobody talks about the part that makes nonce-based CSP genuinely hard: making it work correctly across an SSR caching layer, a reverse proxy, and a browser that will block your entire page if a single <style> tag is missing its nonce. […]

Read More: CSP Nonce Injection Through the Entire Stack: Express SSR → NGINX → Browser
Posted in Code
Digital speedometer gauge with blue glow and binary code representing BenchmarkDotNet performance measurement in .NET

BenchmarkDotNet in Practice: Measuring What Actually Matters

Posted on February 27, 2026 by JB

Most .NET developers have heard of BenchmarkDotNet. Fewer have used it on something that matters. And almost nobody talks about the part that actually changes how you think about performance: designing benchmarks that answer the right question. I spent several weeks optimizing a poker hand evaluator — a pure C# reimplementation of Cactus Kev’s classic […]

Read More: BenchmarkDotNet in Practice: Measuring What Actually Matters
Posted in Code
Chinese watercolor landscape with pagoda and misty mountains representing concurrent OpenAI calls and parallel orchestration powering iching.rocks I Ching readings

Firing 18 Concurrent OpenAI Calls: The Parallel Orchestration Behind iching.rocks Interpretations

Posted on February 20, 2026 by JB

When a user gets a paid reading on iching.rocks, the system needs to generate a comprehensive, multi-section I Ching interpretation. Not a single paragraph — a full document covering opening observations, hexagram judgments, changing line analyses, Ten Wings commentary, synthesis, and a conclusion. Each section requires its own carefully crafted prompt with injected domain data. […]

Read More: Firing 18 Concurrent OpenAI Calls: The Parallel Orchestration Behind iching.rocks Interpretations
Posted in Code
Digital wireframe skyscraper under construction on a circuit board representing persistent AI context and compounding development results with pgvector semantic knowledge system

From Theory to Proof: 9 Days With a Semantic Knowledge System in Production

Posted on February 19, 2026 by JB

Nine days ago, I published a post about building a semantic knowledge system — a pgvector-backed memory layer that gives every AI agent I work with persistent, searchable context across all my repositories. The architecture was clean. The idea was sound. But it was still mostly a promise. Nine days later, I have the receipts. […]

Read More: From Theory to Proof: 9 Days With a Semantic Knowledge System in Production
Posted in Code
AI brain visualization combining code snippets, database icons, and neural network connections representing a semantic knowledge system built with PostgreSQL pgvector and Model Context Protocol

Giving AI a Long-Term Memory: How I Built a Semantic Knowledge System Across Multiple Repos

Posted on February 10, 2026 by JB

AI coding assistants are powerful, but they have a fundamental limitation: they forget everything between sessions. Every new conversation starts from zero. Your agent doesn’t know what you built yesterday, what decisions you made last week, or why you chose Dapper over Entity Framework three sessions ago. I decided to fix that. Enter the Semantic […]

Read More: Giving AI a Long-Term Memory: How I Built a Semantic Knowledge System Across Multiple Repos
Posted in Code