Engineering
Insights

Technical deep dives into full-stack engineering, architecture, performance, and system design.

RESULTS: 36 UNITS

How to Match Globs Without Compiling a Regular Expression cover image

How to Match Globs Without Compiling a Regular Expression

Use matchnext from source, learn the real isMatch and match APIs, and compare a pathological glob against picomatch 4.0.7 using measurements from one machine.

Tutorial
How to Combine TanStack Query, Table, Form, and Virtual in One React App cover image

How to Combine TanStack Query, Table, Form, and Virtual in One React App

A practical walk through a public demo that composes TanStack Query, Form, Table, Virtual, and Store in one TanStack Start app, including optimistic updates and a real limitation in the virtual list.

Tutorial
How to Pin a JSON Patch to the Document It Came From cover image

How to Pin a JSON Patch to the Document It Came From

Install jsondiffnext, build a SHA-256-pinned patch bundle, apply it without mutating the caller, and reject a patch aimed at the wrong document.

Tutorial
semvernext says which comparator failed cover image

semvernext says which comparator failed

A zero-dependency SemVer parser that keeps node-semver's fixtures and adds explain(): the canonical range, the failed comparator, and the prerelease-tuple policy.

TypeScript
templatenext compiles templates to JavaScript and never trusts the template cover image

templatenext compiles templates to JavaScript and never trusts the template

Version 0.2.0 deleted the Rust VM. Template source is parsed into a closed grammar, and code generation emits only JSON literals and parser-owned identifiers — so nothing written in a template becomes code.

JavaScript
jsondiffnext pins the document, not the patch cover image

jsondiffnext pins the document, not the patch

Three JSON diff engines, one v1 bundle. SHA-256 of RFC 8785 canonical JSON on the base and the result, then apply on a clone.

TypeScript
textdiffnext counts the way JavaScript already counts cover image

textdiffnext counts the way JavaScript already counts

A UTF-16-native rewrite of Google diff-match-patch. Patch coordinates stay in code units, unpaired surrogates serialize as %uXXXX, and a 45 KB file stops silently corrupting.

TypeScript
dotagents is a folder on purpose cover image

dotagents is a folder on purpose

Two directories, a markdown memory note, and a ripgrep search. The install prompt, the doctor check, and the commits that made them.

AI/ML
Connecting AI Agents to the Real World: APIs, Databases, and File Systems cover image

Connecting AI Agents to the Real World: APIs, Databases, and File Systems

A practical guide to tool and function calling for AI agents — from safe file system access to database queries to sandboxed execution, with a look at the emerging MCP protocol.

AI/ML
Building Production AI Agents with LangChain: Memory, Tools, and Reliability cover image

Building Production AI Agents with LangChain: Memory, Tools, and Reliability

How I built a real AI agent system for the Agentic SDLC project using LangChain, covering vector-based memory, tool integration, and reliability patterns that actually hold up in production.

AI/ML
REST vs gRPC: Choosing the Right API Pattern for Your System cover image

REST vs gRPC: Choosing the Right API Pattern for Your System

A practical decision framework for choosing between REST and gRPC, with real code comparisons, versioning strategies, and honest trade-offs from production experience.

Architecture
Clean Architecture with TypeScript and Node.js: A Practical Guide cover image

Clean Architecture with TypeScript and Node.js: A Practical Guide

A ground-up guide to implementing Clean Architecture in a TypeScript Node.js project — real folder structure, dependency inversion, repository pattern, and use cases that actually make sense.

Architecture