Tech Blog

Explore the latest technology trends and practical tool guides
244 articles in total

Agent Client Protocol: ACP Architecture and Safety

Learn how Agent Client Protocol v1 connects IDEs and coding agents through JSON-RPC sessions, streamed updates, permissions, files, terminals, cancellation, and explicit security boundaries.

DeepSeek Harness: Cordis Plugins and Agent Architecture

Learn how DeepSeek Harness uses Cordis plugins, profiles, bundles, events, and patches to compose traceable agents, with practical design boundaries for production teams.

DeepSeek Harness Sessions: Trajectory Replay and Recovery

Understand DeepSeek Harness session logs, trajectory inspection, fork and replay semantics, durable event design, context reconstruction, and the limits of replay for external side effects.

AI Agent Tool Security: Permissions and Tool Poisoning

Secure AI agent tools against prompt injection, poisoned metadata, unsafe results, and supply-chain changes. Apply least privilege, runtime policy, approvals, and audit controls.

Constrained Decoding: Schema-Guided LLM Output

Learn how constrained decoding turns JSON schemas, grammars, regexes, and choices into token-level output rules. Compare JSON mode, validation, latency, and production failure handling.

Disaggregated LLM Serving: Prefill and Decode

Learn when to separate LLM prefill and decode into independent worker pools. Understand KV-cache transfer, TTFT and ITL isolation, routing, tuning, and failure modes.

Semantic Caching for LLMs: Production Design and Risks

Design a production LLM semantic cache with calibrated similarity thresholds, tenant partitions, TTLs, versioned keys, false-hit evaluation, and safe invalidation.

Production RAG Evaluation: Metrics and Release Gates

Build a production RAG evaluation system that separates retrieval, generation, and end-to-end quality. Design test sets, calibrate judges, and set safe release gates.

Base64 Encoding: RFC 4648, the BaseN Family, and Constant-Time Decoding

A rigorous treatment of Base64 from first principles: the mathematical basis for the 64-character alphabet (2⁶ = largest power-of-two mapping to printable ASCII), RFC 4648 canonical specification, the BaseN encoding family (Base16 through Base85 with size/alphabet trade-offs), streaming encoder and decoder state machines, MIME line-wrapping rules, PEM format anatomy, constant-time decoding for cryptographic contexts, SIMD-accelerated lookup tables, and production boundary advice for JWTs, data URLs, and HTTP Basic Auth.

Bearer Tokens: JWT, OAuth, Storage & Revocation

Understand Bearer Tokens without confusing the transport scheme with JWT or OAuth. This guide covers issuer, audience, scope and tenant validation, TLS, browser storage and CSRF, refresh-token rotation, revocation, algorithm policy, and framework boundaries.

Online Calculators: Finance, Health, Dates & Study

Choose an online calculator by understanding its formula, units, rounding, and assumptions. This guide covers percentage, tips, compound interest, loans, BMI, body fat, calories, age, dates, GPA, and fractions, with limitations for financial, health, and institutional decisions.

Character Encoding Deep Dive: ASCII, Unicode & UTF-8

A rigorous guide to character encoding: distinguish code points from bytes, compare ASCII, Unicode, UTF-8 and UTF-16, debug mojibake, escape HTML in the correct context, and convert Unicode text without corrupting non-ASCII characters.

AI Design Tools in 2026: Evidence, Workflows & Frontend Engineering

A source-aware guide to evaluating AI design tools in 2026. Separate verified product capabilities from marketing claims, then build auditable workflows for design systems, React code, accessibility, performance, and human review.

Code Formatting: JavaScript, CSS, HTML & XML

A practical guide to formatting JavaScript, CSS, HTML, and XML without confusing style tools with linters or minifiers. Learn parser-aware workflows, team configuration, source-map boundaries, reviewable diffs, and privacy considerations for online formatting.