Professional

Professional

Production-grade patterns from real systems. Architecture decisions, debugging stories, and hard-won lessons.

Building a Video Intelligence Pipeline: Scene Detection + Audio + Face Recognition
Professional ai ml 22 min

Building a Video Intelligence Pipeline: Scene Detection + Audio + Face Recognition

Three standalone tools — SaySee, Cairn, and Tactical ID — combine into a full video intelligence pipeline. Here's how they fit together.

video-intelligence scene-detection audio-classification
Documentary Beat Indexing — 17-Class Scene Taxonomy with FCP XML
Professional ai ml 16 min

Documentary Beat Indexing — 17-Class Scene Taxonomy with FCP XML

ScorsAI classifies documentary footage into 17 scene types and generates Final Cut Pro XML markers — turning hours of raw footage into a searchable beat sheet.

documentary scene-classification fcp
SaaS Billing with Stripe — Checkout, Webhooks, Tier Sync
Professional web development 18 min

SaaS Billing with Stripe — Checkout, Webhooks, Tier Sync

I wired Stripe into a market data service: checkout sessions, webhook handlers, and tier synchronization with Supabase. Here's the production setup.

stripe saas billing
Multi-Stage Dockerfile: From 1.2GB to 180MB
Professional devops 14 min

Multi-Stage Dockerfile: From 1.2GB to 180MB

OMNI's Docker image was 1.2GB. Three stages — deps, build, runtime — brought it to 180MB. Here's the exact Dockerfile with annotations.

docker dockerfile optimization
Fusing 25 Live Data Feeds on a 3D Globe — Layer Pipeline Architecture
Professional web development 25 min

Fusing 25 Live Data Feeds on a 3D Globe — Layer Pipeline Architecture

OMNI renders 25 real-time data layers on a CesiumJS globe — AIS ships, aircraft, weather, earthquakes, wildfires. Here's the layer pipeline that makes it work without melting the browser.

cesium geospatial real-time
Natural Language Commanding: Building an NLP Action Dispatcher
Professional ai ml 20 min

Natural Language Commanding: Building an NLP Action Dispatcher

OMNI's LENS command palette lets users type natural language to control 84 platform actions — fly to locations, toggle layers, run queries. Here's how the dispatcher works.

nlp command-palette ai
Building a Production API Proxy: Rate Limiting, Caching, and SSRF Protection
Professional cybersecurity 16 min

Building a Production API Proxy: Rate Limiting, Caching, and SSRF Protection

OMNI proxies 13+ external APIs through Next.js API routes. Here's how I built rate limiting, response caching, and SSRF protection into the proxy layer.

api-proxy security rate-limiting
Zustand at Scale: 4-Slice Architecture for a Real-Time Platform
Professional web development 16 min

Zustand at Scale: 4-Slice Architecture for a Real-Time Platform

OMNI manages globe state, layer toggles, panel visibility, and user preferences across 25+ data sources. Here's the 4-slice Zustand architecture that keeps it sane.

zustand state-management react
Race Conditions in Cesium Click Handlers — A Three-Week Bug Story
Professional web development 14 min

Race Conditions in Cesium Click Handlers — A Three-Week Bug Story

Clicking an entity on the OMNI globe sometimes selected the wrong one. The bug lived in a closure over stale state. It took three weeks to find.

cesium race-condition debugging
Imperative vs Declarative 3D: Why CesiumJS Crashes at Scale
Professional web development 12 min

Imperative vs Declarative 3D: Why CesiumJS Crashes at Scale

CesiumJS has a React wrapper called Resium. It works fine for demos. It will destroy your production app. Here's why I went fully imperative.

cesium resium react