Blog
Thoughts, tutorials, and insights on development, technology, and more.
Media engineeringReact and TypeScriptAI and retrievalDjango backendPython automationDevOps and reliabilityHandle unanswered RAG questions explicitly, distinguish absent evidence from missing policy, and evaluate false answers alongside abstentions.
Attach RAG answer claims to exact retrieved passages and source revisions, then validate citation IDs, permissions and supporting evidence.
Enforce tenant permissions during retrieval, test every downstream evidence stage, and keep cache and citation access in the same scope.
Add reranking after candidate retrieval, retain both result orders, and evaluate missing candidates, truncation and processing cost.
Establish a PostgreSQL lexical-search baseline for names and error codes, inspect parser behavior, and compare labeled retrieval results.
Separate durable source IDs from content hashes so RAG reindexing updates revisions without leaving abandoned chunks searchable.
Compare RAG chunk overlap using fixed boundary questions, inspect complete supporting text, and account for duplicate passages and cost.
Preserve source identity, headings and offsets before chunking a RAG handbook, and check whether each passage retains its needed context.
Keep React search typing immediate while debouncing requests, then handle blank input, Enter submission and stale responses deliberately.
Design WebSocket inbox recovery with replay cursors, deduplication and an explicit snapshot fallback when retained events are unavailable.
Release React image-preview object URLs when files change or the component unmounts, while preserving the resource during its usable lifetime.
Defer a React editor with lazy and Suspense, inspect production chunks, and provide a separate recovery path for failed module loads.