Retrieval over internal docs that contradict each other
When your knowledge base has three versions of the same policy and two are wrong, retrieval needs to handle disagreement before it handles relevance.
Insights from building and maintaining production systems. We share what we've learned about software development, long-term maintenance, and the philosophy behind our approach.
When your knowledge base has three versions of the same policy and two are wrong, retrieval needs to handle disagreement before it handles relevance.
A teacher sees attendance, an admin sees fee status, a parent sees homework. One record, three views, and the boundaries between them.
What we do to keep field staff notifications arriving on budget Android phones that aggressively kill background processes.
Five AWS charges that quietly accumulate when no one is watching, and how to catch them before the bill arrives.
How we handle the stock race condition that surfaces when a store's traffic spike creates concurrent checkout requests for the final SKU unit.
We update dependencies monthly, skip the risky ones, and track what we deferred so it doesn't become a surprise later.
How we clean years of inconsistent spreadsheet records into structured ERP data without losing the relationships between rows.
A payment gateway retries a webhook after a timeout and your store creates a second order. Here is how we prevent that with a deduplication table.
How to compute the prorated charge for a mid-cycle plan upgrade and present the resulting invoice so the customer understands it.
Replacing fragile regex against free-text LLM output with a JSON schema the model is forced to fill, with notes on cost and validation.
How we handle offline edits in React Native apps when two staff members touch the same record and reconnect at different times.
Validation, pending states, and error handling in Next.js Server Actions for users on mid-range Android phones with uneven data.
Configuring ALB health checks and deregistration delays so ECS rolling deploys drain tasks without dropping in-flight requests.
How we build ERP reports that accountants trust without correcting them in a spreadsheet first.
Postgres RLS is a clean way to isolate SaaS tenants, but transaction-mode pooling drops the session variable it depends on.
The tradeoffs of maintaining what we ship, and how it changes the way we build from day one.
How we handle attendance capture in classrooms with no connectivity and resolve conflicts when the device reconnects.
Learn how we approach building software and the values that guide our work.
Exploring our commitment to long-term software maintenance and support.
Get notified when we publish new insights about software development and building systems that last.
Get in touch