@admin·5 min read·Web Development Beyond basic SSE parsing, a production client must also constrain malicious long records, slow consumers, and reconnect replays. This article builds a resumable link with bounded framing, on-demand pull, and a post-commit cursor.
#AI #TypeScript #DevOps♥ 550 comments
@admin·12 min read·Web Development Pagination looks simple, but a poor design becomes slow, skips records, and eventually stops paging. This article compares offset pagination—simple but vulnerable to performance and consistency problems—with cursor pagination—fast and stable but more complex—then covers use cases, infinite scroll, and metadata such as total, hasMore, and cursor.
#TypeScript #DevOps♥ 580 comments
@admin·6 min read·Web Development A client-side model is composed of Wasm, JS glue, weights, and a tokenizer; any cached skew can silently produce wrong results. This article provides digest verification, an ABI manifest, isolation-header decisions, and a rehearsed rollback plan.
#AI #TypeScript #DevOps♥ 560 comments
@admin·11 min read·Cloud Native Is your service running blind, with users reporting incidents first? This guide covers practical observability: structured JSON logs and request IDs, log levels and sampling, RED/USE metrics, alert design without fatigue, and a fast incident workflow using metrics, traces, and logs.
#DevOps♥ 590 comments
@admin·6 min read·Web Development Moving inference into a Worker only prevents main-thread jank; it doesn't automatically solve out-of-order results, backlog, or cancellation. This article designs a decodable message envelope, cooperative stopping, hard termination, and generation isolation protocol.
#AI #TypeScript #DevOps♥ 570 comments
@admin·12 min read·Web Development React testing is not about testing everything; it is about testing the right things. Learn the React testing pyramid, what to unit-test, component-test, and cover with E2E, how to choose Vitest, Testing Library, and Playwright, and why behavior matters more than implementation.
#React #TypeScript♥ 600 comments
@admin·5 min read·Indie Hacking When bulk-changing plans, revoking entitlements, or re-sending notifications, a single stale filter can affect all customers. This article freezes the target set, per-item preconditions, approval evidence, and external effect receipts into a pausable, reconcilable execution plan.
#AI #DevOps #Indie Hacking♥ 580 comments
@admin·11 min read·Web Development CSS gets messy at scale: naming collisions, global pollution, specificity wars. This article clarifies the mainstream CSS architecture patterns: BEM (naming conventions), CSS Modules (local scoping), CSS-in-JS (styled-components/emotion), and the rise of Tailwind/atomic CSS, with guidance on when and how to choose.
#React #TypeScript♥ 610 comments
@admin·5 min read·Cloud Native Singleflight can coalesce concurrent origin fetches, but it can't stop a stale rebuilder from overwriting the new value after invalidation. This article uses target generations, rebuild leases, conditional publication, and a bounded stale policy to close cache stampede and late-write windows.
#TypeScript #DevOps♥ 590 comments
@admin·11 min read·Cloud Native Some data is naturally semi-structured, including configurations, events, and nested objects. PostgreSQL JSONB combines relational structure with document flexibility in one database. This guide covers storage, access, operators, GIN acceleration, and when to use JSONB instead of relational columns.
#DevOps♥ 620 comments
@admin·4 min read·AI Coding A smarter-looking demo of a new code search engine doesn't mean it can replace your existing grep, LSP, or symbol index. This article freezes query tasks, code snapshots, and relevance judgments, then uses dual-index shadow traffic to verify recall, freshness, permissions, and reversible switching.
#AI Agent #TypeScript #DevOps♥ 600 comments
@admin·5 min read·AI Coding Claude Code's power isn't 'chatting' — it's that you can customize it into a dedicated tool. Covers two extension mechanisms: Skills (packaging domain knowledge + workflows into reusable capabilities) and Hooks (event-driven automation), with a real example baking workflows like 'run an SEO check before publishing' into Claude Code.
#AI #Vibe Coding♥ 230 comments