insights(2) · reading index

Insights

Notes and case studies about AI systems, retrieval, infrastructure, and cost. Start with a topic, or follow a series.

37published notes 5topic groups W5latest week

Discovery Systems

Three product-first notes on how feeds, first-use experiences, and search help people find what matters.


GenAI

Retrieval, reranking, learned indexes, and practical notes around production GenAI systems.

GenAI Aug 2026

Your Agent Is a Contractor, Not a Chatbot

A 40-step agent that is 99% reliable per step gets it right 67% of the time. The fix is not a better model. It is knowing which actions deserve a phone call — with LangGraph interrupts in Python and TypeScript.

AgentsLangGraphAI EngineeringInteraction Design
Read note →
GenAI Aug 2026

Your Contracts Folder Is Not a Search Problem

A JSON inventory answers aggregation questions with 9,810 tokens instead of 663,181 — a 68x context collapse. Two LangGraph tools in Python, one Pydantic schema, and the honest benchmark that argues against the design.

AgentsLangGraphData EngineeringExtraction
Read note →
GenAI Oct 2026

I Swapped Embedding Models and Half My Search Results Changed

Switching from text-embedding-ada-002 to text-embedding-3-small on this site's 330 article sections kept only 47.6% of the top-5 results. The new model was better (recall@5 64.5% vs 56.6%), but forgetting to re-embed the index made search no better than random, with no error.

RAGEmbeddingsRetrieval EvaluationAI Engineering
Read note →
GenAI Sep 2026

What We Mean When We Say the Model Thinks Step by Step

Writing steps down gives a fixed model the depth that long chains of reasoning need, and thinking models now do it themselves. On a local test, a three-call chain around a thinking model cost 1.25x the tokens for the same answers.

AgentsReasoning ModelsLLM ArchitectureAI Engineering
Read note →

Project Reviews

Project writeups and case studies with the constraints, tools, and evidence kept close to the work.

Project Reviews undated Week 1

GenAI Chatbot: The Better Labyrinth Game

A practical AI engineering review of building a browser-based Next.js Web UI RAG assistant for real users: retrieval, latency, prompt control, failure modes, and expectations.

ragai-engineeringnextjs
Read note →
Case StudyRAG support assistant

Ecommerce AI Chatbot

A production support assistant for ecommerce: semantic product search, context-aware answers, and ticket deflection measurement.

RAG pipelinererankingsupport automation
Ecommerce AI Chatbot case study preview
Case Studysemantic search

Scentum

A semantic fragrance search product: natural language queries, vector embeddings, and scoring over scent descriptors.

semantic searchembeddingsproduct discovery
Scentum semantic search preview

Concepts

Engineering fundamentals, Python notes, containers, data structures, and measurement-first habits.

Concepts Aug 2026

DNS Was Never Just an Address Book

Twelve of twenty-one well-known domains share a Cloudflare or AWS nameserver. Five live DNS queries, lamest to strangest, show the moment a lookup stopped answering "where" and started answering "who is asking."

DNSInfrastructureSecurityPrivacy
Read note →
Concepts Jul 2026

Unstructured Was Never the Right Word

Frontier models turning video, audio, sensor streams, and DNA sequences into structured JSON — the extraction problem finally has a general solution.

LLMsData EngineeringMultimodalFunction Calling
Read note →
Concepts Sep 2026

Zero Milliseconds Is Not a Score

0ms on LeetCode is a stopwatch rounding error, not a score — the real optimization target is cycles per character, measured with perf after the algorithm is already O(n).

Performance EngineeringSystems ProgrammingBenchmarkingC
Read note →
Concepts Sep 2026

What We Mean When We Say a Generator Is Lazy

A lazy generator stops when nobody asks for the next value. In a streaming endpoint the one asking is our own loop, not the reader: a silent client let the model write 28,573 tokens before the socket pushed back.

PythonLLM StreamingBackpressureAI Engineering
Read note →
Concepts Jun 2026

Python Type Hints: Looking Under the Hood

Python has not become statically typed. What changed is the tooling around it — type checkers, linters, and editors that reason about your code before it ever runs.

PythonType HintsStatic AnalysisTooling
Read note →
Concepts Mar 2026

From Stacks and Queues to Graph Algorithms

From Stacks and Queues to Graph Algorithms: how primitive containers — stacks, queues, sets, heaps — power the higher-order algorithms of computer science.

Computer ScienceAlgorithmsPythonData Structures
Read note →

SEO/GEO

Search and generative-engine optimization notes, with a preference for measured changes over claims.

SEO/GEO Jul 2026

Delete Before You Compress: the Second Optimization Pass

The sequel to the on-site SEO workout: a second pass built on one hierarchy — does a byte need to exist, block, run, or weigh this much? Page JavaScript went from 113 KB to 1.6 KB and first paint from 0.6 to 0.4 seconds, mostly by deleting instead of compressing.

SEOPerformanceCore Web VitalsWeb Development
Read note →

Economics

Expected value, routing, retrieval costs, and decision-making for GenAI systems.

Economics Sep 2026

The Assignment Is Not the Test. The Conversation After It Is.

A live coding round samples one hour of thinking under conditions the job never has. A take-home assignment followed by a design review sees the work and the reasons behind it, and the unpaid hours are a commitment test that runs both ways.

HiringRecruitingEngineering InterviewsSoftware Design
Read note →
Economics May 2026

Measuring the EV+ of Agentic AI & GenAI

Measure the EV of every Agentic AI and GenAI inference call. EV formula, RAG vs agentic cost breakdown, optimal model routing, and equilibrium play for production systems.

EVinference economicsRAGagentic AI
Read note →