@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·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·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·4 min read·AI Coding A diff generated by an agent doesn't mean the engineering task is done. This article builds validation gates—static checks, targeted tests, regression scope, migration review, and human confirmation—so every patch carries traceable, mergeable evidence.
#AI Agent #TypeScript #DevOps♥ 00 comments
@admin·6 min read·AI Coding A line of text in a terminal doesn't mean a command actually ran in the approved way. This article defines an immutable receipt for command argv, cwd, executable, policy decision, exit status, and output digest, while preventing secrets from spreading through logs.
#AI Agent #TypeScript #DevOps♥ 620 comments
@admin·10 min read·Cloud Native Redis is more than a cache. In distributed systems it provides locks, rate limiting, messaging with pub/sub and Streams, leaderboards, and session storage. This article explains each use case and its key reliability concerns, including safe lock release, Stream consumer groups, and accurate rate limiting.
#DevOps♥ 650 comments
@admin·8 min read·Cloud Native Microservices are not a silver bullet; a bad decomposition hurts more than a monolith. This article explains the core patterns: service boundaries, interservice communication (synchronous vs. asynchronous), API gateways, service discovery, distributed transactions, observability, and, most importantly, when to use microservices (most teams should not).
#DevOps♥ 660 comments