Blog Collection of technical blog posts by Jian Lin (also known as Ziya). Covering frontend architecture, micro-frontend, cross-platform development, performance optimization, React/Vue/Astro, TypeScript, LLM/RAG/Agent AI engineering.
> July 13, 2026 · 2 min
LLM Inference Optimization in Practice: vLLM, PagedAttention, Quantization & Speculative Decoding A frontend-friendly deep-dive into inference — KV cache bottlenecks, how PagedAttention saves GPU memory, the 4 quantization options compared, and why speculative decoding gives 2-3x speedup with zero quality loss
> July 8, 2026 · 1 min
Add an AI Assistant to Your Static Blog: Pagefind + Gemini Pure Frontend Approach A pure frontend solution to add an AI chatbot to your Astro blog. No backend deployment required. Supports site search, page navigation, and AI chat.
> July 7, 2026 · 1 min
Agent Architecture: ReAct, Plan-and-Execute & Multi-Agent From single-tool calls to a full agent reasoning loop — three mainstream architectures and their production trade-offs.
> July 7, 2026 · 1 min
AI-Native UI: What Interfaces Should Look Like in the New Era Generative UI, Agent-first, conversation-as-operation — 7 paradigm shifts in AI-era UI design, 3 production patterns, near-future trends.
> July 7, 2026 · 1 min
Function Calling & Tool Use: From Protocol to Engineering How LLMs call your code — JSON schema design, tool choice, error handling, Zod validation, production pitfalls.
> July 7, 2026 · 1 min
Embedding Models & Vector Database Selection in Practice How to pick RAG's two core dependencies — BGE / OpenAI / Cohere / Voyage? Pinecone / Milvus / pgvector / Qdrant / Weaviate?
> July 7, 2026 · 1 min
LLM Cost & Performance Optimization: Caching, Streaming & Model Routing How to fix runaway token bills — prompt cache, semantic cache, streaming optimization, model routing, automatic fallback (5 optimization levers).
> July 7, 2026 · 1 min
LLM Evaluation: Metrics, LLM-as-Judge & A/B Testing Once observability gives you data, how do you decide which prompt is better — evaluation metrics, LLM-as-Judge, regression tests, Braintrust / Ragas practice.
> July 7, 2026 · 1 min
LLM Guardrails: Prompt Injection & Output Safety 5 layers of defense for LLM apps — prompt injection defense, Guardrails AI practice, input/output validation, PII detection, dangerous-action approval.
> July 7, 2026 · 1 min
Memory System Design for LLM Applications Short-term / long-term / semantic memory engineering — three memory types, Mem0 architecture, context window management, production pitfalls.
> July 7, 2026 · 1 min
LLM Observability: Tracing, Logging & Debugging After your LLM app is in production, how do you know what it's doing — Langfuse architecture, OpenTelemetry GenAI semantics, token cost monitoring, production debugging.
> July 7, 2026 · 1 min
From Demo to Production: Engineering LLM Apps at Scale 5 engineering practices for LLM teams — prompt versioning, CI/CD, canary releases, multi-model failover, team workflow (monorepo vs multi-repo).
> July 7, 2026 · 1 min
RAG: From Naive RAG to Production-Grade Architecture More than 'stuff context into the prompt' — the RAG evolution path, five advanced techniques, and the engineering traps of production RAG.
> July 7, 2026 · 1 min
Starship Terminal Prompt: Install and Usage Guide Starship is a Rust-based cross-platform terminal prompt with millisecond startup. This guide covers installation and basic configuration on macOS and Windows.
> July 3, 2026 · 1 min
LLM Fundamentals: How Transformers & LLMs Actually Work A frontend architect's crash course on the LLM stack — Transformer, the three training stages, and what happens at inference.
> July 3, 2026 · 1 min
Closed vs Open-Source LLMs: An Architect's Decision Framework Stop picking models by gut feel — 5 evaluation dimensions, three selection tiers, API vs self-hosting cost math, and a hybrid routing strategy.
> July 3, 2026 · 1 min
Tokens, Context Window & Prompt Engineering Patterns Turning the LLM fundamentals into prompt craft — tokenization economics, context boundaries, and five patterns that actually work.
> December 22, 2018
· Updated July 7, 2026 · 1 min
Oh My Zsh Ultimate Configuration Guide: From Beginner to Productive Development 2026 comprehensive Oh My Zsh installation guide (macOS + Windows), themes, plugins, performance optimization, and developer productivity tips.
> November 12, 2018
· Updated July 7, 2026 · 1 min
The Complete Guide to Git Branching: From Basics to Team Collaboration 2026 comprehensive guide to Git branching, covering core commands, branching strategies, conflict resolution, and team collaboration best practices.
No posts match that search. Try a different keyword?