Skip to content

Techie

    • About
    • Contact
    • Privacy Policy
  • English
    • 中文 (中国)
    • English
  • Nothing Changed, So Why Won’t a Local Rebuild Reproduce It?

    Nothing Changed, So Why Won’t a Local Rebuild Reproduce It?

    The failure vanishes after a local rebuild, and the ticket is closed as cannot reproduce locally. That throws away the one result that mattered: the same source, under another compiler, is a different program.

    November 25, 2026
  • What a Postmortem Is Actually Reviewing: An Investigation Aimed at the System, Not the Person

    What a Postmortem Is Actually Reviewing: An Investigation Aimed at the System, Not the Person

    Blame and a postmortem are fed the same record and asked to do opposite things. Why a blameless review is so hard to hold, how to run one that repairs the system, and what gives way when the code that failed was written by a model that cannot attend.

    November 22, 2026
  • Fixing No Longer Produces Understanding: The Most Dangerous Decoupling of the AI Era

    Fixing No Longer Produces Understanding: The Most Dangerous Decoupling of the AI Era

    AI can fix your bugs without anyone understanding the system. When fixing and understanding come apart, systems run better while fewer people comprehend them — and that trade-off has a cost. This piece unpacks what the decoupling breaks, and how to weld the two back together.

    November 5, 2026
  • Slow Is Not a Number, It’s a Distribution: A Differential Diagnosis of Performance Problems

    Slow Is Not a Number, It’s a Distribution: A Differential Diagnosis of Performance Problems

    Slowness is not a number but a distribution. The mean, p50 and p99 describe three different systems; computing, waiting and queueing are three physical states. Diagnose the shape first, and calibrate the ruler before you measure the system.

    October 24, 2026
  • Code Archaeology: How to Read Code No One Remembers

    Code Archaeology: How to Read Code No One Remembers

    Read legacy code like an archaeologist: stratigraphy, typology, epigraphy, and excavation discipline reconstruct the forgotten history, constraints, and incidents behind every line of code.

    October 11, 2026
  • Every Stack Is Innocent: A Differential Diagnosis of the Hung Program

    Every Stack Is Innocent: A Differential Diagnosis of the Hung Program

    A hung program is a measurement, not a mechanism. This article differentiates five causes of zero progress — deadlock, lost wakeup, livelock, starvation, and phantom hang — through a three-layer triage of CPU, thread state, and wait channel, and an investigation method that reasons before it collects evidence.

    September 9, 2026
  • Heap Corruption Forensics: The Crash Site Is Not the Crime Scene

    Heap Corruption Forensics: The Crash Site Is Not the Crime Scene

    When a heap corrupts, the code on the crash stack is usually the victim, not the killer. A forensics handbook for heap bugs: fill-pattern fingerprints, wound morphology, data-breakpoint stakeouts, and PageHeap — working backwards from the crash site to the crime scene.

    September 5, 2026
  • Non-Invasive Probes: How ASan/TSan/UBSan Expose Bugs Before They Ever Misbehave

    Non-Invasive Probes: How ASan/TSan/UBSan Expose Bugs Before They Ever Misbehave

    How ASan, TSan, and UBSan prove bugs exist before they ever misbehave—by making the assertion behind detection independent of the very variable being disturbed.

    August 29, 2026
  • “It Works on My Machine”: A Complete Taxonomy of Environment Differences

    “It Works on My Machine”: A Complete Taxonomy of Environment Differences

    “Works on my machine” isn’t an excuse–it’s testimony: the bug is environment-coupled. A five-layer taxonomy of environment differences (dependencies, toolchain, system interfaces, hardware, outside world), each with its fingerprint, plus differential experiments, a fingerprint script, and snowflakes-to-cattle prevention.

    August 26, 2026
  • What Is Debugging, Really?

    What Is Debugging, Really?

    Debugging is more than fixing errors; it is the process of restoring the causal link between human intent and machine behavior. This article traces how debugging has evolved with system complexity, examines modern challenges, and argues that AI can assist but cannot replace the engineer’s judgment.

    August 23, 2026
1 2 3
Next Page

Hot

  • The Harder You Look, the Less It’s There: Heisenbugs and the Observer Effect in Debugging

    August 15, 2026
  • Non-Invasive Probes: How ASan/TSan/UBSan Expose Bugs Before They Ever Misbehave

    August 29, 2026
  • From “500 Requests a Month” to a Token Ledger: What GitHub Copilot’s Pricing Shift Really Means

    August 12, 2026
  • After the AI Coding Boom: Will Programmers Really Be Displaced En Masse?

    August 7, 2026
  • Heap Corruption Forensics: The Crash Site Is Not the Crime Scene

    September 5, 2026

Categories

  • Debugging

  • Engineering Practice

  • Reflections

  • Toolchain

技术控LOGO

Techie

Tech, Distilled

    • About
    • Contact
    • Privacy Policy

yingrui.org © 2026