Strict TypeScript is a contract for the whole team.
Why compiler constraints matter when both engineers and AI tools contribute code.
Read the noteAN OPEN NOTEBOOK
Thoughts from the messy, interesting work of building things that matter.
THE NOTEBOOK / 01
Observations, questions, and lessons from building in the real world.
Notes on engineering, search, and the ideas I’m learning through the work.
Why compiler constraints matter when both engineers and AI tools contribute code.
Read the noteHow a shared secrets manager changed our team’s workflow across services and environments.
Read the noteLessons from pnpm workspaces, shared packages, and Turbo’s build cache.
Read the noteHow explicit transition guards protect the submission lifecycle from silent invalid writes.
Read the noteA submission workflow protects the canonical graph while giving researchers room to propose changes.
Read the noteWhat controller, service, and repository boundaries bought our growing team—and when they felt heavy.
Read the noteA failed message matters only if someone can see it, diagnose it, and choose a safe recovery.
Read the noteWhat concurrent Lambda invocations, retries, and duplicate messages mean for graph synchronization.
Read the noteFan-out, independent buffering, and failure handling for graph updates.
Read the noteWhy we use events to keep search, vectors, and documents in sync with a changing knowledge graph.
Read the notePutting embeddings, filtering, indexes, and candidate scoring together.
Read the noteScalar, product, binary, and TurboQuant compress vectors in different ways.
Read the noteA look at Qdrant’s write path and the operational space needed around it.
Read the noteA working mental model for distributing and copying collection data.
Read the notePayloads make results useful; indexes help combine similarity with the constraints users care about.
Read the noteA graph-based approach to approximate nearest neighbors, and the parameters worth measuring.
Read the noteRAM, memory-mapped files, and the trade-off between storage cost and search latency.
Read the noteHow segment organization and background optimization affect ingestion, search, and disk use.
Read the noteVector size, distance metric, and the shape of a Qdrant point.
Read the noteWhy a research search needed semantic similarity alongside lexical matching.
Read the noteA mental model for vectors—and why more coordinates come with a practical cost.
Read the noteEmbedding dimensions, precision, indexes, and candidate counts all shape the cost of retrieval at scale.
Read the noteBEIR datasets and retrieval metrics turn changes to an AI pipeline into something we can compare.
Read the noteA cross-encoder takes a closer look at relevance, with a real cost in latency and compute.
Read the noteReciprocal Rank Fusion brings dense and sparse results together without pretending their raw scores are comparable.
Read the noteMeaning and exact words are different signals. A strong retrieval system makes room for both.
Read the noteA useful answer starts long before the LLM. Lessons from building and evaluating a multi-stage retrieval pipeline.
Read the note