SỔ TAY KỸ THUẬT · ENGINEERING LOGBOOK

Engineering Monographs

16 monographs RSS

Deep-dive monographs and research logs on deterministic AI agents, Hybrid GraphRAG, multimodal diffusion systems, and low-resource neural inference.

Glory Vocab: Architecting an 8,400-Page Static TOEIC Platform with Hugo, Offline-First FSRS, and Cloudflare D1 Sync

Inside the architecture of Glory Vocab (gloryvocab.com): compiling 4,090 YAML lexicon entries into 8,406 bilingual static pages with 100/100 Lighthouse performance, client-side FSRS spaced repetition on IndexedDB, Service Worker v7, and Zero-PII Cloudflare D1 edge sync.

AI-Doodle CLI: Building a Deterministic Multi-Mode Authoring Engine in Go with Saga Checkpoints and W3C EPUB 3.3

Inside the architecture of ainovel-cli (aidoodle-cli) in Go 1.25+: orchestrating autonomous Architect/Writer/Editor workers via a Deterministic Saga Engine, enforcing Mechanical Output Validators across 7 specialized AI modes, and compiling zero-dependency W3C EPUB 3.3 e-books.

Claw-CLI: Vietnamese Voice-Controlled Terminal Agent with Silero VAD v5 ONNX and a 4-Tier Safety Sandbox

Inside the architecture of claw-cli: a voice- and text-controlled terminal assistant for developers featuring on-device Silero VAD v5 ONNX, a Unified Colab Gateway (Gemma 4 26B + E2B STT), and a 4-Tier Safety Policy Sandbox.

Video Factory (Doodle Explainer): A 6-Stage Modular Animation Pipeline with Content-Addressed Caching

Inside the architecture of Video Factory (doodle_explainer): automating YouTube-grade 2D minimalist doodle explainer videos via a 6-stage decoupled pipeline, 5-layer configuration cascade, SHA-256 content-addressed manifest caching for single-scene rebuilds, and a hybrid Gemini + Colab FLUX NF4 engine.

Real-Time Chatwoot Integration: ActionCable WebSocket State Machine, Circuit Breaker, and FastAPI

Inside the architecture of chatwoot_api_channel and chatwoot-ws: engineering a resilient ActionCable WebSocket state machine with exponential backoff, heartbeat watchdog, circuit breaker, and shared connection pooling in FastAPI.

Shinobi AI Video Studio: Building a Cross-Platform Node-Graph AI Video Editor with Kotlin Multiplatform

Inside the architecture of Shinobi AI Video Studio (ai-video): engineering a cross-platform Node-Graph storyboard and AI video generation studio for Desktop and Android using Kotlin Multiplatform, Compose Multiplatform, Decompose, Gemini, and Fal.ai FLUX First/Last Frame conditioning.

Skills KMP: Deploying Design Patterns and the Art of Refactoring in Kotlin Multiplatform

Taming the cross-platform KMP monster from our AI Lingua production journey. How applying 22 classic Design Patterns and banishing 15+ Code Smells culminated in the architecture framework at github.com/vinh-gogo/skills-kmp.

Comprehensive AI Video Generation: Decoding MiniMax H3 & LTX-2.5 Architectures with ComfyUI, MSR, and Low-VRAM Optimization

In-depth engineering deep dive into the dual pillars of open-source AI video generation: MiniMax H3 (Hailuo) and Lightricks LTX-2.5 (22B). Architecture breakdown across ComfyUI, Gradio Studio, Multi-Subject Reference (MSR), IC-LoRA Ingredients, and 16GB-24GB GPU optimization.

Quantization Int8/FP4: Serving Large AI Models on Hardware Constraints

Mathematical formulation and empirical benchmarks of Int8 and FP4 post-training quantization techniques, enabling 13B–30B Diffusion Transformer models to execute on 16GB GPUs without Out-Of-Memory (OOM) errors.

PDF-RAG: When 200-Page Reports Make Your Bot Hallucinate and How Dual-Level Qdrant Saves the Day

How we cured a knowledge retrieval bot from acute hallucinations on 200-page dense PDF reports. Dual-Collection architecture (Pages & Sequences) on Qdrant, Vietnamese embedding benchmarks, and an end-to-end hands-on guide.