tutorial
16 articles
Autopsy of a Crash (Part 1): Learning to Read a Program's Corpse
Learning how programs die, detective-style. This is Part 1 of a three-part series: first, understand the anatomy — CPU, stack, return addresses, segfault — before you can investigate the crime scene and catch the killer. A quiz at every floor. Pass to proceed.
Autopsy of a Crash (Part 2): The Coroner Won't Save You — Call the Epidemiologist
Autopsy trilogy, Part 2. Enter the core dump crime scene, learn the red zone and signal handler roles, then move from coroner to epidemiologist: use a year of citywide death records to solve the first bug, a poisoned well called a bad host.
Autopsy of a Crash (Part 3): Catching the 18-Year-Old Ghost
The autopsy trilogy finale. The remaining 'return-to-null' murders all died during C++ exception unwinding — a teleport, not a normal return. The killer: an 18-year-old race in GNU libunwind, with a murder window one instruction wide (~100 picoseconds). Plus Fermi estimation to check the math.
The Browser Is Actually a Five-Player Team (Part 1): Why One Crashed Tab Does Not Take Down the Whole Browser
The browser is not one program; it is a coordinated team. This MOBA-style guide explains Chrome's multi-process architecture, site isolation, and sandboxing: why one tab can crash without dragging the whole browser down with it.
The Browser Is Actually a Five-Player Team (Part 2): One Screen Update Is a 16ms Teamfight
After meeting the browser's five-player team, this post follows the rendering combo: DOM, layout, paint, rasterization, and compositing, all inside a 16ms frame budget. It explains why some animations stay smooth while others jank.
How Does an LLM Actually Run? From Tokens to the Next-Token Loop
A large language model looks like it is chatting, but underneath it is a mechanical pipeline: text becomes token IDs, IDs become vectors, position is injected, transformer blocks apply attention and feed-forward processing, residual streams keep the stack stable, and logits become the next token.
Unix Signals 101 — SIGUSR1 vs SIGTERM vs SIGKILL: What Secret Codes Does Your Process Understand?
While managing OpenClaw Gateway, SIGUSR1 enabled config hot-reload through three minutes of instability without killing sessions. A systemctl restart would have sent SIGTERM then SIGKILL and dropped everyone. That difference is today's lesson.
The Complete claude -p Guide: Turn Claude CLI Into Your Agentic App Backend
Anthropic killed third-party OAuth tokens, leaving the official Claude CLI as the way to use a subscription programmatically. This guide covers claude -p input methods, output formats, JSON schema, tool whitelisting, sessions, streaming, and wrappers.
The Journey of a URL — What Actually Happens Between Pressing Enter and Seeing a Page
You type a URL and press Enter every day, but what actually happens in between? This post uses gu-log as a real-world case study to walk you through 7 floors — from DNS to Service Worker — covering the full journey of a URL.
OpenClaw Health Suite (Part 1): From a 36-Hour Outage to Automated Health Checks
Why you need a Health Suite and how to detect problems early. From a 36-hour restart storm to healthcheck + watchdog as your first line of defense.
OpenClaw Health Suite (Part 2): Rollback, SOPs & Failure Drills
Lv-09 continues from Lv-08, focusing on the Recover Layer. We break down rollback safety design, upgrade SOP decision trees, a `|| true` showstopper caught in code review, and actionable drill KPIs.
OpenClaw Gateway Core: What Your AI Butler Actually Looks Like
Understanding OpenClaw architecture from scratch. Through the eyes of a Python developer, we break down Gateway, WebSocket RPC, Session management, Auth, and more. Quiz at every floor!
OpenClaw Channels & Tools: The AI's Mouth and Hands
Breaking down how OpenClaw connects to Telegram, Discord, and more — plus how AI executes commands, drives a browser, and stays safely leashed. A Python-friendly tour of a TypeScript architecture.
OpenClaw Memory, Skills & Automation: Brain and Habits
How OpenClaw remembers things, learns new skills, and runs tasks on autopilot. From Embeddings to Cron Jobs — explained for Python developers.
OpenClaw Testing: Quality Assurance in the AI Era
The philosophy behind 1,086 tests. Why tests matter more than code review in the AI era. How to use tests as specs. The changing role of a Tech Lead.
Complete Prompt Engineering Guide: 17 XML Tags to Go From Copy-Paste to Tony Stark
klöss's complete XML prompt framework: 6 core tags + 11 advanced tags, never copy-paste prompts again