Tag
This article from The Old New Thing explains the concept of making APIs 'inert'—do nothing in a way that avoids breaking existing apps—using examples like printing support on Xbox and retiring widget APIs.
The author describes a common user onboarding problem with MCP servers—users opening the endpoint in a browser and seeing a 401 error—and shares a simple hack: returning an HTML page that explains how to properly add the server to an LLM client, which drastically reduced support tickets.
The article highlights a lack of benchmarks for evaluating the reliability of agent harnesses, specifically focusing on how MCP implementations handle tool calls and errors compared to the models themselves.
A developer catalogued JSON output failures across 288 local model runs, finding common issues like markdown fences and trailing commas, and built outputguard, a Python library to repair invalid JSON with 15 strategies.
This article discusses Wix's initiative to improve thousands of error messages across its platform, defining characteristics of good versus bad error handling in UX design. It emphasizes clarity, empathy, and actionable solutions over technical jargon or blaming users.
This article explains how to build a Claude agent using Python, emphasizing the importance of handling tool failure cases effectively rather than just relying on happy-path scenarios.
The article discusses the complexities of implementing idempotency in APIs, arguing that handling edge cases like concurrent requests and content mismatches is harder than simple replay caching.
A blog post detailing a minimal pattern for adding error context in Zig using errdefer logging, comparing it to full diagnostics sinks and catch blocks, and discussing tradeoffs.
该文章介绍了在Zig中使用诊断工厂模式来管理错误报告,避免预先定义错误类型,而是提供一组构造函数来生成错误信息,并展示了在TigerBeetle项目中的实际应用。
Mitchell Hashimoto introduces Tripwire, a Zig library that injects failures to test error recovery paths, with zero runtime cost when disabled.
Effect is a TypeScript library for building robust, type-safe, production-grade applications, handling typed errors, dependency injection, structured concurrency, scheduling, tracing, and schema validation. Version 4.x is announced as a long-term support release with at least three years of support guarantees.