Gregory J. Suarez: Notes on figuring out how software works

I learn by building things and taking them apart, then I write down what I find: Spark internals, Kafka and Flink pipelines, API gateways and, lately, language models. Some of it becomes videos and hands-on labs, too.

Recent posts

  1. Why Qwen Code spent 25 minutes publishing a page it wrote in milliseconds

    Qwen Code's Artifact tool blocked on "Publishing artifact" until I gave up. The page had been on disk the whole time: the tool was waiting for a browser window to close. How I traced it from a timer to one awaited line, reproduced it without touching my real setup, and wrote a fix.

  2. Debugging Qwen Code's headless mode: when 2>&1 became a file

    Interactively, Qwen Code never gave me trouble. The first time I ran it as a one-shot -p job, the answer was slow and a read-only df was refused. I followed it through the source to two bugs, filed both, and wrote a fix for the one that comes down to a single regular expression.

  3. Spark notebooks through Kong: rebuilding an HDInsight setup in my lab

    I wanted to see how Kong handles traffic that has nothing to do with AI, so I followed Microsoft's HDInsight article on connecting a local Jupyter to Spark through Livy, and put Kong where the HDInsight gateway sits.

  4. Watching my AI agents through Kong: metrics, logs and one shared timeline

    In my last Kong post I broke requests one at a time and read the evidence by hand. This time I asked what the gateway can tell me over hours and across several agents at once, and put its metrics next to the model server and the GPUs.

  5. A gateway in front of my local LLM: breaking Kong on purpose

    I put Kong Gateway and its AI Proxy plugin in front of my local LLM, measured what the extra hop costs, then broke requests on purpose to see where the evidence of each failure ends up.

  6. What does the agent know right now? Testing a webinar's idea with a local LLM

    A talk from IBM, Confluent and Google Cloud argued that AI agents fail for lack of fresh, refined context, not for lack of a better model. I rebuilt the idea with Kafka, Flink, MCP and a local LLM, then asked one question four ways.

All 12 posts

Learn by watching and doing

All videos →
1:19:12

The Personal Learning Series

How a Large Language Model Works

A narrated, fully animated video that follows one sentence through a language model: tokens, vectors, attention, transformer layers, sampling, training, and what it all means.

From my bookshelf

The full library →

The books I study from and recommend. Every one of them has earned its place.

Also in the library: DeepLearning.AI, Andrew Ng's AI courses, and Wolfram Mathematica, with tips on the Personal plan.

About

Hi, I'm Greg.

At Microsoft, I spent many years supporting open-source distributed systems like Spark, Hive, HBase and Kafka in the cloud and on-premises. I connect customers with the engineers who build the product, and I see problems through until they're solved. I also learn by building: lately that means taking language models apart and turning what I find into videos, labs and notes.

More about me →