Jjaberadam2001insimplyexplained.hashnode.dev·11h ago · 9 min readTimeouts Don't Cancel Work: Deadlines, Cancellation, and the Unknown OutcomeHere's a pattern that shows up in a lot of codebases: try { const res = await fetch(`${PAYMENTS}/charge`, { method: "POST", body: JSON.stringify(order), signal: AbortSignal.timeout(5000)00
Jjaberadam2001insimplyexplained.hashnode.dev·1d ago · 12 min readOffset vs Cursor Pagination: The 3 Ways Rows Still Go MissingYou ship an infinite-scroll feed. A week later a ticket arrives: "Page two sometimes shows a post I just saw on page one." You reproduce it, shrug, and switch the endpoint from LIMIT/OFFSET to cursor 00
Jjaberadam2001insimplyexplained.hashnode.dev·2d ago · 11 min readStop Reporting Percent Complete. Ship the Unknowns First.Most of us run our task lists through an invisible sort before we start working: plan = sorted(ticket.subtasks, key=how_well_i_understand_it, reverse=True) Nobody writes that line. Everybody executes20
Jjaberadam2001insimplyexplained.hashnode.dev·3d ago · 10 min readPrompt Caching for AI Agents: Stop Breaking Your Own CacheHere's a quick audit worth running before you read further. Pull the usage object from your last hundred LLM calls and work out what fraction of input tokens came from the cache. def cache_hit_rate(us00
Jjaberadam2001insimplyexplained.hashnode.dev·4d ago · 10 min readThe Exception Pass: Catching What AI Summaries DeleteTL;DR An AI summary isn't a smaller version of your document. It's a more typical one. The sentences most likely to vanish are the ones that limit, reverse, or doubt something else: conditions, nega00