Experiences, reflections and what I keep learning
Articles on programming, mathematics and AI with an analytical eye.
22 articles across all areas
Page 1 of 4Looped language models: more depth without more parameters
A looped model runs the same block of layers several times for every token: it computes like a deeper model with the parameters of a small one. What it is, how it's trained, how it differs from reasoning in writing, how many passes pay off, what the numbers from Ouro, Huginn and others say, when it's worth it and when it isn't, and where the research is heading.
Why a voice assistant takes so long to answer, and where the milliseconds go
Between two people, the silence before a reply lasts about 200 milliseconds; a well-built voice assistant takes over a second, and with a tool in the loop, several. What happens between the moment you stop talking and the moment you hear the answer, what each step costs according to published figures, why tools, RAG and MCP multiply the wait, and the techniques that hide or shorten it.
Why we need a perceptron in the Transformer when we already have attention
Every Transformer block has a two-layer perceptron after the attention that hardly anyone explains and that holds two thirds of the parameters. Why attention can't do its job, what the perceptron stores that attention has nowhere to keep, why it has that shape and what has been tried in its place, from gates to mixtures of experts.
What no AI will ever decide, and what it can learn to check
The halting problem doesn't say artificial intelligence has a ceiling, and it doesn't say a future AI will verify everything either. Where it really enters an AI system (in the agent's loop, not in the model), what stays out of reach for good (verifying any program, containment by simulation, proving a successor is better, never hallucinating) and what does improve when the model proposes and another program checks: termination proofs, verified code, hallucinations, reasoning and self-improvement.
The halting problem: exactly what it rules out, and what it doesn't
In 1936 Alan Turing proved that no algorithm can decide, for every program, whether it finishes or runs forever. What that result actually says, how to prove it in ten lines of Python, what it doesn't say, why it follows that almost no question about what a program does has a general algorithm, how compilers, verifiers and tests get around it every day, and why people don't escape it either.
Sandboxes for AI agents: why the model is not the boundary
A coding agent reads a README with a hidden line, runs the command it asks for, and your private key leaves the machine. Why an agent is code nobody has reviewed, what the lethal trifecta is, how code interpreters, local agents, computer-use agents and cloud agents are isolated today, how to design the policy (files, network, secrets, resources and approvals), a bubblewrap example, and what no sandbox solves.
What a sandbox is, what it isn't, and when you need one
Every web page you open runs a stranger's code, and nothing happens because something that code can't touch decides what it's allowed to do. What a sandbox is, where the idea comes from, where the boundary can go (in the language, the process, the kernel or the hypervisor), what each option costs and when to pick it, what gets called a sandbox without being one, and when you don't need one at all.
Articles 1–7 of 22
Sign in to be notified when a new article goes up