- P1 · Ecosystem AdaptationP1
- P2 · Module IntegrationP2
- P3 · Logic RefactoringP3
- P4 · Delivery AutomationP4
- P5 · Low‑level DriversP5
当 GB18030 解码 UTF-8 时,你看到的可能不是乱码
深入剖析 UTF-8 与 GB18030 编码空间的字节碰撞,揭示编码检测中“合法乱码”的迷局,并提出确定性门控 + 启发式确认的工程化方案。
Flutter Desktop Input Design — Where Does the Enter Key Actually Go?
From "pressing Enter does nothing" to "the numpad Enter still inserts a newline" — all these desktop input field pitfalls trace back to the same root cause: the Focus Chain. A deep dive into LogicalKeyboardKey, Shift+Enter semantics, and input history lifecycle.
Flutter Streaming UI: How the Typewriter Experience of AI Replies Is Built
The typewriter effect looks simple — characters appear one by one. But behind "skip without truncation" and "no data loss" lies a full set of engineering decisions. From SSE buffering to skip semantics to testing strategies.
Three Attempts to Refactor a Large Flutter State Class — and the Final Solution
When an 800-line State class mixes contract trees, stage operations, and navigation — how do you safely split it? A complete refactoring journey from Mixin and part to Widget Composition.
Brand Ecosystem: Design Philosophy & Visual Contract
Elevate your theme into a design system with design philosophy, a visual contract, and a brand ecosystem.
Design System: DTCG Three-Layer Architecture & Dark/Light Variants
Use the DTCG design token standard to manage colors and build dark/light variants with visual weight parity.
Theme Engineering: From a Monolithic JSON to Modular YAML
Refactor your monolithic theme JSON into modular YAML with a build script, and automate theme generation.
LLM Narrative Engines, Part 6: Runtime Loop and Branching
You have a contract — now how do you bring it to life? Five-layer sandwich prompt, streaming full-width indentation, Mother-Child branching, memory extraction — building a complete runtime loop.
LLM Narrative Engines, Part 4: Parsing Rules and Interpolation
How do you parse condition-action expressions? How does the {variable} interpolation syntax work? This post covers the last two pieces of the parsing layer — turning rules from text into executable structures.
LLM Narrative Engines, Part 3: Block Scanner and Line Numbers
From format design to parser implementation — a handwritten block scanner that reports "line 12" instead of "position 246." Precise line number binding is the core value of a custom parser.