Skip to content

Programming

Code, languages, tools and the craft of writing software.

Updated

80 of 80 posts on this page

Monday 23 November

Ladybird's first alpha release

Ladybird is an astonishingly ambitious project: a new browser, in 2026, with its own implementation of most of the key components - HTML parsing, CSS engine, layout, JavaScript, even WebAssembly. It still uses a few external components - things like HarfBuzz for text shaping…

When in doubt, flail about

When you’re working in an unclear situation — you have no clear guidance, or you don’t know what will help — the best course of action is often just to flail about. This sounds counter-intuitive. Wouldn’t it be better to be cautious and wait until you have a better…

5 min read

Notes on OpenAI's perplexity reveal

OpenAI have just released a fascinating graph showing the perplexity over time of all their released models: Here are a bunch of thoughts I have about this: Why OpenAI? This is the most visibility we’ve ever had into the internal training metrics at a frontier lab Releasing…

3 min read

Sunday 22 November

To code well, avoid blunders

The secret to writing good code is to avoid catastrophic mistakes. Many engineers think about programming as if the goal is to have brilliant insights, but they’re wrong. If you don’t blunder, you will win. Many other domains are like this. If you can play chess without ever…

3 min read

Saturday 21 November

Why output caching doesn't work

LLM inference economics depends on caching model inputs, to prevent the entire conversation history being recomputed on each message. Should we cache model outputs in the same way? As it turns out, no. Why cache outputs? First, here’s why we might think caching outputs is a…

3 min read

Friday 20 November

Fragments: November 20

Marcus Borg recounts an experiment to investigate if healthy code was cheaper for agents to review. Between a typical unhealthy pull request (CodeHealth 2.8) and a typical healthy one (9.7), that adds up to 22 to 35%. The measures of health come from CodeScene. The experiment…

7 min read

Thursday 19 November

Nudeps: bundler-like imports, none of the baggage

The goal is light-build, not no-build You npm install a package (e.g. vue), you write import { createApp } from "vue", and it works — as long as there is a bundler in between. Without one, the browser has no idea what "vue" is: it only understands URLs, and node_modules/ was…

8 min read

Wednesday 18 November

Data Contracts

Data contracts are a way to describe the contents and guarantees of datasets. Simon Harrer and Arif Wider describe in detail what they are and how to use them. They apply practices from API design to data by treating them as data-providing services - such as data products -…

curl on OSS-Scanner

OSS Scanner is a service by Anthropic to scan critical open-source repositories for security vulnerabilities Enrollment curl maintainer Max Dymond submitted pull-request 1191 to OSS-Scanner in the end of October and we were swiftly enrolled into the program. The idea for this…

4 min read

Tuesday 17 November

The curl 30 years gource

In association with curl’s 30 year anniversary, I made another gource video visualizing its development. Unfortunately it doesn’t cover the full 30 years since we only have records from late 1999 until today; but it is still decent. Instead I added a little bonus: I’m doing a…

Deterministic Simulation Testing

Distributed systems are hard to test because partial failures overlap with live traffic and the same fault can produce different execution traces on different runs. Unmesh Joshi describes how deterministic simulation testing addresses this by replacing real clocks, networks…

Monday 16 November

Actual curl rewrites in rust

For a long time we have received repeated requests for, or questions about, a curl rewrite in rust. Often as a joke, but also seriously. In this modern world of AIs, we have only been waiting for someone to prove it possible and now it seems we don’t have to wait anymore. This…

3 min read

Sunday 15 November

Saturday 14 November

How to find meaning in large tech companies

Why do many people hate working in large tech companies? The obvious answer is “because organizational dysfunction stops them from doing the things they want to do”. Engineers like to write code and ship things, and if their company’s dysfunction is preventing that, it’ll make…

4 min read

Friday 13 November

Google Project ZeroNatalie Silvanovich

Policy and Disclosure: 2026 Edition

Since 2021, Project Zero has followed a “90 + 30” vulnerability disclosure policy, allowing vendors up to 90 days to remediate a vulnerability plus an extra 30 days “soak time” for patch rollout. Our goal was to encourage faster patching and give vendors time to deliver patches…

5 min read

Thursday 12 November

Bliki: Generated Glossary

When we use LLMs in a specialized domain, such as the operations of any reasonably-large organization, there is a lot of specialized vocabulary. Such words and specialized meanings will be foreign to an LLM because they aren't in its training set, making it harder for the LLM…

4 min read

Wednesday 11 November

Tests as data: ensuring AI-generated code does what we want

Automated testing in the age of AI coding assistants is problematic: when AI agents write both production and test code, developers risk losing the assurance that automated tests protect against functional errors. Matteo Vaccari makes three claims: (1) when AI writes the code…

Candidate Statement for the 2026 W3C TAG Election

I had the great honor of being elected to the TAG by the W3C membership in 2020 and again in 2022, serving two terms from 2021 to 2025. After a two-year break, this year I’m running to return, thanks to Google, Microsoft, and OpenJS Foundation pooling resources to make it…

4 min read

Tuesday 10 November

30 years of Internet transfers with curl

Thirty years ago, on November 11, 1996 the young Brazilian student Rafael Sagula posted the source code for his tiny HTTP download tool online. That was httpget 0.1: a little over 100 lines of C code. Bare bones source code with almost no error checks and limited functionality…

20 min read

Monday 9 November

Hide your slop PR descriptions behind

Most of the changes I make to my projects these days come in the form of PRs opened for me by Claude Code or Codex. The PR is my unit of work - I use them to bundle commits together, iterating on them until a feature is complete, document decisions and then merge the finished…

AI and Irontown

For our last movie night we watched Princess Mononoke. I remembered loving that movie when I was younger, but watching it as an adult made me once again realize how Miyazaki has a way of expressing diverging sides without picking one. The film shows people, animals and spirits…

4 min read

Sunday 8 November

Friday 6 November

After Binance, check what your signing systems can approve

Binance’s October 2026 security incident raises an operational question for every organization holding user funds: Can your security controls recognize when a valid signature grants an attacker wallet authority? If an organization only monitors transfers and ownership changes…

Thursday 5 November

Tuesday 3 November

Scrutinize our assessments

I recently blogged about how the curl project switched to doing all handling of vulnerabilities at severity LOW and MEDIUM in the public. Let me now describe how you can follow along this process and help out. Add your opinions, comments and assessments to help the curl project…

3 min read

Monday 2 November

Backporting security fixes at scale with Codex

Stable Linux releases lack existing security fixes because backporting them is time-consuming and often thankless work. We’re using Codex to reduce the backporting process time from days to hours per fix, empowering human patch reviewers to rapidly submit fixes for critical…

Sunday 1 November

Friday 30 October

Thursday 29 October

Custom Voices With Qwen3-TTS

With my kids I’m currently building a little dungeron crawler and we’re trying to learn a bit about game development along the way. However given that we live in the modern times of increasing capabilities we wanted to get a narrator and voice over. But we also wanted it to not…

7 min read

NYC

The apartment is packed up and empty and I'm leaving New York for Durham this Saturday. Just short of my 9th full year here. People, visitors mostly I guess, seem to associate New York with skyscrapers and traffic and concrete. To me New York is the water. Looking out from…

Wednesday 28 October

Tuesday 27 October

Sunday 25 October

Friday 23 October

Thursday 22 October

Wednesday 21 October

Your AI agent fixed the bug, but what else did it change?

Today we’re publishing patching-bugs and regression-hunt, two plugins that let engineers delegate patch development and regression checks to agents. Our patching-bugs plugin reproduces reported bugs, develops fixes, and tests them. The regression-hunt plugin checks whether any…

Thursday 15 October

Wednesday 14 October

Package managers have an integrity problem

I tested 25 of the most popular package managers to check whether they detect a compromised package repository injecting malicious code into legitimate packages. This code integrity problem could be solved using cryptographic hashes or signatures, but many package managers are…

Tuesday 13 October

Sunday 11 October

The best way to use icons in Web UIs

TL;DR? Jump to demo I’ve always had a soft spot for icons. Not only do they add polish to a UI, they can also tangibly improve usability. Familiar icons help users find what they need quickly, since we recognize pictures much faster than we read words. And as a web architect at…

26 min read

Thursday 8 October

Wednesday 7 October

On Git Refs

I have recently improved my mental model of Git. Consider these two git commands:

5 min read

Tuesday 6 October

Google Project ZeroNatalie Silvanovich

How to fix a bug in a fix

Project Zero often works with software vendors to remediate the vulnerabilities we report and provide broader guidance on making software more secure. Some vendors express concern about potential scenarios in which they are unable to fix vulnerabilities that are causing…

9 min read

What is Codemode

More than a year ago I wrote a few posts here that recommended people not to load custom tools into their context (or MCP servers) but to just use more scripts. Most importantly I wrote that Code Is All You Need and I wrote about that MCP needs code. With Pi 1.0 we now added…

12 min read

Monday 5 October

Benchmark In Milliseconds

How long should a micro benchmark run? My rule of thumb is to tweak the input size until the benchmark takes about 300ms, for the following reasons:

Sunday 4 October

Tuesday 29 September

Deser: Rethinking Rust Serialization

Serde is an amazing serialization library for Rust and it has been a huge reason why I felt productive with it for years. However already while at Sentry I got quite frustrated with some of the limitations with it but actually replacing Serde is tricky because of the might that…

13 min read

Monday 28 September

The Code Nobody Reads

Line-by-line review is going away. Whatever replaces it has to earn the trust reading used to provide.

18 min read