Latest Posts (20 found)
Unsung Today

Unsung turns one

Unsung is turning one today, and I wanted to leave you with one of my favourite YouTube videos ever, from hbomberguy : = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/unsung-turns-one/yt1-play.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/unsung-turns-one/yt1-play.1600w.avif" type="image/avif"> It’s about an obscure game and an even more obscure system and I find it funny, but also warm and inspiring. Tomorrow: On tools and screenshots.

0 views

2026.49: Agent Questions

Welcome back to This Week in Stratechery! As a reminder, each week, every Friday, we’re sending out this overview of content in the Stratechery bundle; highlighted links are free for everyone . Additionally, you have complete control over what we send to you. If you don’t want to receive This Week in Stratechery emails (there is no podcast), please uncheck the box in your delivery settings . On that note, here were a few of our favorites this week. Presented by Technology has a habit of commoditizing incumbents’ advantages. The Internet made access to consumers nearly free, shifting power away from publishers and retailers  toward platforms like Google and Amazon. Cloud computing made massive computing infrastructure available to startups with a credit card. AI is making specialist capabilities available to almost anyone. It turns out this pattern is thousands of years old. Stripe’s Works in Progress, a publication about discoveries that drive human progress,  followed it back to the Bronze Age . Bronze weapons required scarce tin and sprawling trade networks, giving empires a competitive advantage. That is, until communities realized iron, while not materially better, was abundant enough to arm themselves without needing access to imperial supply chains. Works in Progress argues that this helped shift the balance of power and made large empires harder to sustain.  AI is making yet another scarce capability abundant. History suggests the balance of power will shift; the question is where it shifts to. Explore more ideas about progress and technology at worksinprogress.co .  This week’s Stratechery video is on The Individual Exception . Commerce and Definitions. One of my favorite Stratechery posts ever was 2022’s Data and Definitions , where Ben explored the broad implications of Apple’s ATT changes by parsing the precise language in the company’s advertising policy. In contrast to that exercise in 2022, this week’s Stratechery Article embraces a different challenge: how should we understand consumer behavior in an “agentic commerce” category where all the language is imperfect? Ben’s argues that current definitions are too narrow, and reliance on contemporary metrics is myopic. We discussed all of it for the first hour of this week’s Sharp Tech —including a variety of institutions, analysts, and listeners who are skeptical that “agentic commerce” is, or will be, a big deal.  — Andrew Sharp Amazon’s Full Stack Approach . This week’s Stratechery Interview with AWS CEO Matt Garman was recorded one week early, which meant it hit on every component of Amazon’s approach to agentic infrastructure except one: this week’s surprise release of Ergo, a new open weights model that appears to be very capable. Wednesday’s Update closed that loop with coverage of not only Ergo’s arrival, but also the coherence of the AWS strategic logic generally. If serving compute ultimately becomes a commodity business, that’s not altogether different from the business that AWS has dominated for the past 20 years, and the company is already working to deploy a similar playbook for the decades to come.  — AS Purges and Politics. We were outside the paywall for a busy episode of Sharp China this week , where Bill and I began with a window into the continued purges throughout all levels of the CCP. In parallel to stories of prolonged economic malaise, the Chinese bureaucracy may be paralyzed, feedback loops may be broken, and cadre corruption crackdowns definitely call back to Mao’s reign 50 years ago. Then: upheaval in the United States, where Jensen Huang’s recollection (or lack thereof) was the star of the show this week, and bipartisan chip furor may spur geopolitical instability as loopholes are abruptly closed, Chinese AI progress is kneecapped, and the PRC may be left with no choice but to deploy policy escalations of its own.  — AS Agentic Commerce and Cart Construction — Agentic commerce is misunderstood: the purchase isn’t the point; having a partner who solves problems — and constructs carts — is the future, and Meta’s big opportunity. Eero Enterprise, The AI Software Paradigm, The Middle Way of AI Software Disruption — AI software will be fundamentally different than human-written software; the real market opportunity for the frontier labs is in being the first to deliver it. AWS re:Invent, Structural Security, Ergo — AWS’ big annual announcement was strikingly coherent about how to effectively deliver agentic computing; even better, it came with a new open weights model. An Interview With AWS CEO Matt Garman About AWS’s Past and Future — An interview with AWS CEO Matt Garman about building AWS, and building AWS for AI. Agent Shopping Encryption at Risk Hollow Core: Breakthrough Optical Fiber Austria Revolutionized Steelmaking with Pure Oxygen Purges Unseen in a Half-Century; Stock Market Rescue; Jensen Goes to Washington; US Warns Companies Doing Business in China OKC, Luka, and POINT NURK, The Cup Knockout Round Is Set, Entering the Darkness in D.C. Jensen’s Resurrection and Thanksgiving Mail on Android, Music, Muse, Parenting, and More The Future of Shopping, The Folly of Imitating Amazon, Q&A on Cryptography Concerns, Anthropic, Advertising

0 views

The GradScaler implosion: how filtered-out NaN gradients became NaN weights

I noticed something odd when I was training some models the other day -- something that went against my understanding of how PyTorch's Automatic Mixed Precision (AMP) training tools worked. In particular, I believed that the class filtered out non-finite gradients -- that was based on this comment in the AMP recipe page : However, I was finding that the weights of a model I was training were all being set to NaNs, and while I could see ways that could happen even with finite gradients, none of those appeared to be happening. Understanding your tools properly is an essential part of engineering, so I decided to dig in and find out what was happening -- in particular, what I was misunderstanding about what was going on. This post has the details, but so as not to bury the lede, while the does not let non-finite gradients through, that's more a side-effect of its real purpose -- and if it gets into a sufficiently degenerate state, it will actually filter non-finite gradients, but respond to good, finite ones by trashing your weights! The good news is that it's only likely to do this if your model is in such a messed up state that your training run is probably doomed anyway. I don't think it can reasonably be called a bug, as a well-designed training run should have errored out before it kicks in. Here's how it works. I was training a weight-tied model as part of my yak-shaving trajectory towards exploring the logit lens . Weight-tied models are fiddly to train -- you need to get your hyperparameters and the like just right, or they head off into infinite loss territory. But I'd spotted that the weights -- not just the loss -- in the last checkpoint for one of my failed training runs were all NaNs. Now, I was using AMP, which -- as I said -- I believed would be filtering out non-finite gradients, so I was initially quite surprised by that. I was sometimes getting NaN for my loss, which would have led to NaN gradients, but those would have never been applied to the weights; only the finite gradients would. How could finite updates to finite weights make them non-finite? Only one possibility came to mind: a non-finite value can wind up in a float because it overflowed. So you can imagine (slightly handwavily) that the training run might wind up in a regime where it kept bumping weights up using finite gradients, step after step, and eventually they would all overflow. As a mechanism, it seemed plausible, so I decided to see if it was happening. I added a new optional training parameter, , and if it was set, in rank zero just after the code to step the optimiser and the learning rate scheduler, we'd log the current model norms to a JSONL file: So: we'd log the L2 norm for each named parameter in the model. A named parameter in this sense is a parameter tensor: an unbiased linear layer would have just one, the weights matrix, while a biased one would have two, one for the weights and one for the biases. The L2 norm of a set of numbers is the square root of the sum of their squares, so it is a good proxy for the size of the numbers that make up each tensor. With that, I kicked off another training run, ran it until it diverged, then asked Claude for some charting code to plot the norms over time for everything, treating their initial values as 100 so that they all worked in the same chart. Here's what happened: So that was entirely different to what I'd expected! All of the norms grew steadily but appeared to be settling down, but then it looked like they all blipped up to NaN on the same step. I checked the raw numbers to be sure -- and indeed, prior to step 17,186, the norms were finite, and then they all switched over to NaN in one go. How could that happen if non-finite gradients were being filtered out by the ? The answer lies in what the scaler is actually doing under the hood. Up until this point I'd been treating the pretty much as a black box. By following the recipe , I knew that in order to use AMP, you would change a training step like this: ...to this: The context manager would do calculations in 16-bit floating point in cases where that would be relatively harmless, and in 32-bit if needed -- and the would... do something to make that work smoothly. I'd not really dug into what. That felt like a gap! Unfortunately the PyTorch docs are very light on what happens. There's the recipe I linked to above, which just says how to use it, and the API docs for the itself , which just define the signature of the constructors for two deprecated versions of it, both of which look like this: See . is deprecated. Please use instead. The text is not a link, and as far as I've been able to discover with copious searching, there is no docs page to see for it. So I had to look elsewhere, and I found two pages on ApX Machine Learning that were invaluable: After reading through those, I had the idea of asking an agent to dig around for the PyTorch docs for the . It also could not find them, but had the bright idea of checking the source -- and there we have a nice docstring that explains things for us; I guess something went wrong in whatever pipeline they use to generate the docs. Let's try to summarise how it works, anyway. What is gradient scaling and why do we do it? What we're trying to do is train a model with 32-bit floating point (FP32) weights, but do some of our calculations in 16-bit FP16 so that we get better performance. AMP does the FP16 calculations selectively, based on how important precision is for a particular operation, but for the purposes of this explanation, I'll just write as if all of the forward and backward pass happens in FP16. The underlying issue is that FP16 has a smaller range than FP32. The Wikipedia page has lots of interesting details, but the relevant ones for our purposes are that FP16 can only handle numbers in the range from -65,504 to +65,504, and that there are similar issues in how small a number they can represent. Asking NumPy for the differences: (The smallest "normal" number is the smallest one the format can support without losing precision -- if we trade off precision for scaling down, then we get into "subnormal" numbers.) Let's compare that to FP32: It has a much bigger range, and that mismatch can cause problems! In FP16, small values that would be representable in FP32 can underflow to zero, and likewise large ones can overflow to infinity. Now, for the forward pass, we're kind of on our own -- if we get an overflow, we'll get infinity in our results and therefore non-finite values in our loss, and likewise underflows will just get rounded to zeros. But in deep networks, very small or very large gradients are not uncommon even for "sane" loss values -- the classic problems of vanishing or exploding gradients. And the scaler can help with the backward pass that takes us from the loss to the gradients. Let's say that normally we would have a loss of ℒ , so we would work out our gradient for a weight w like this: If there are numbers within the backward pass that works out the gradient that are represented in FP16, they might overflow or underflow. Let's imagine that in a particular case, the gradients are small enough to underflow. Now imagine that instead, we multiplied the loss by some scaling factor S before doing the partial derivative: We'll imagine that S is large enough it bumps up the numbers in the backward pass enough so that there's now no underflow. So we have a gradient -- great! -- but it's the wrong one, g ′ rather than g . However, because S is just a constant scaling factor and is not expressed in terms of the w on the bottom of the partial derivative, we can pull it out and rewrite that equation above as: ...which means that we can just substitute in from the first equation: Or, to put it less mathematically -- if we scale up the loss by multiplying by S , then work out our gradients, and then divide them by S , we get the same results as we would without scaling. But, with the right value for S , we dodge the risk of underflowing during our backward pass. Clearly, with S < 1 , the same applies -- we'll scale the loss down and the resulting gradients up, so we can use that to try to avoid overflows. This is exactly what the does. You do your forward pass, and then call ...to scale it by a scaling factor S and then do the backward pass. It starts off with S set to some particular value -- that in the docs above. After the backward pass has worked out the gradients, you call the scaler's function: It checks for any NaN/infinite gradients, and: Then you call : That checks the notes from the call to : if there were any NaN/infinite values, then it assumes that the scaling factor is too large, and reduces it by multiplying it by a constant -- that in the docs. Let's imagine that S starts too high; in each step we get an overflow, so it will halve. This happens every time until it reaches an acceptable value. Additionally, if the correct value of S changes over the course of the training run so that it needs to be reduced, the same backoff will happen over one or more steps. Now, you've probably noticed that while this handles overflows, it doesn't do anything with underflows. That's because those are "invisible" to the scaler. An overflow will manifest as a NaN/infinity in a gradient, which is obviously a sign of a problem that the scaler can check for. But an underflow will just mean that something that should be small but non-zero is zero instead -- and zero is a perfectly fine value for a gradient. Underflows are handled by the and the in the docs. Let's say that the scaler has been running for steps with no reductions in the scale. That may be a sign that it's doing its job, and the scale is calibrated correctly -- but it might be a sign that your training run is getting underflows and doing nothing. So after successful steps, will multiply the scaling factor by so that the next step will try a higher one. That might cause an overflow in the next step, of course -- but that would be immediately corrected by a reduction in the scale, which would (hopefully) get things back into the right range. So the net effect is that every good steps it will try making the scale a bit higher, so it will rise gradually until it hits the maximum level it can be at without causing overflows, then sit there, blipping up to an unsustainable number every steps. That's unbalanced, of course -- if we overflow, we rescale immediately, but if we're underflowing, we rescale after a bunch of steps. But given that only overflows are visible to the scaler, it's a reasonable balance. After all, if we rescaled upwards every time there were no non-finite values (that is, set to 1) then if we got to the right value, we'd be bouncing up to a higher one every other step, and skipping half of them due to overflows. Now, that does mean that if the scale factor is set too low at the start, then you'll wind up with a bunch of wasted steps -- I think that is why the default starting value is surprisingly high, at -- better to start with too high a value so that it will halve each step until it's within range, than to start with too low a value and only scale it up after 2,000 steps, and again after 2,000 more, and so on. So, that's how the works. It does, as I thought, skip non-finite gradients -- but it's more as a side effect of its dynamic adjustment of the scaling factor than it is an explicit feature. And that, finally, answers a question I had way back in February when I was looking into gradient clipping -- why is the feature to skip non-finite gradients implemented as part of a tool designed for handling mixed-precision training? It's not there as a deliberate choice -- it's just there as a result of how that tool detects overflows. Now that we know how it works, let's think about how it can fail. Let's revisit the simplified AMP training loop: We know that the call to has multiplied our loss by S , then we did the (hopefully non-overflowing) backward pass, and then we call the scaler's and . What would happen if S was zero? If S becomes zero, but we have finite gradients, then when we divide the gradients by S , we get NaNs. And the NaN check has already happened, before the division -- so the scaler will ask the optimiser to apply NaN updates to the weights. Obviously, you wouldn't set the scale to zero directly. But it can become zero with a long-enough series of dynamic backoffs. Imagine, for example, that you got repeated NaN losses on the forward pass, or the gradients repeatedly exploded to NaNs or infinity on the backward. The scale is stored as a 32-bit float, so for the sake of argument, let's assume that for a particular step, it's set to 4096.0 (that specific number will become relevant later). If you get a series of non-finite gradients, then each time it will halve -- and eventually it will underflow and reach zero: And it actually gets a bit worse. If we look at the code , it (as of this writing) scales the gradients down by S using a reciprocal, like this: is our S , and (if we're not on Apple's GPU backend, which is the bit), it works out by converting to FP64, taking its reciprocal, and then converting back to FP32 -- then it multiplies gradients by that reciprocal downstream in . How small does need to be before that becomes infinite? So, if we start with a scale of 4096.0, a long string of steps where there are NaNs in the gradients can cause the scaler to adjust its scale to zero after 162 bad steps, or even just to a number that is so small that it's essentially zero -- in terms of what happens when you try to use it -- after 140 steps. But wait, it gets worse again! You don't even need those NaN steps to be consecutive. Remember, the scaler only adjusts the scale upwards after steps of non-NaN updates. The default interval is 2,000, so if you get, say, 140 steps with NaNs in the loss after starting with 4096.0, so long as there are fewer than 2,000 steps with non-NaN loss between each of them, you're in this death spiral. The scaler will keep reducing its scale factor, and you'll wind up with garbage weights. This would happen even with one NaN, then up to 1,999 OK steps, then another NaN, then up to another 1,999 OK steps, and so on. So it's more plausible than you might think! So now let's take a look at what was happening in my training run -- the one that started all of this investigation. Let's take a look at those weight norms again: I really like Matplotlib's XKCD mode; the slightly wobbly hand-drawn lines reflect the uncertainty of measured values quite nicely. But this is a case where that's fighting against us. Let's look at how it would look if plotted normally (I'll stick to these more boring plots for the rest of this post): There's something very clear there: you can see a tiny blip shortly after step 15,000, and then everything is completely flat. The norms don't change until they explode to NaNs at step 17,186. Looking at the raw data, I found that the point where the norms "locked" was just after step 15,368 -- for every step thereafter, they were identical, until the explosion. So, that means that the norms were locked for the 1,817 steps from 15,369 to 17,185 inclusive. What was going on then? I added code to log the losses (I was doing gradient accumulation over 16 microbatches, so each step had 16 losses) and the scaler's scaling factor: ...and kicked off the run again. When it was done, I asked Claude for some updated charting code to see what the results looked like. The scaling factor first: You can see that it bimbled around a bit (technical term) up until somewhere after step 15,000, then dropped off a cliff. Zooming in: To be precise: the scale dropped to a level where dividing by it (specifically in the code, that ) would result in infinity at step 15,509, and then fell to zero by step 15,531. And very neatly: Those match up with the tests above -- when we started with 4096.0, then halved it each time until the reciprocals started failing, and until it reached zero. The reason for that starting point of 4096.0 was (as I assume you've guessed) that's what the scaler's scale happened to be for the step where the norms stopped changing. That would suggest that every step from step 15,369 until 15,531, we got NaNs somewhere in the backward pass. Now, a NaN can potentially appear in the gradients even if the loss was finite, due to an exploding gradient overflowing. But the opposite does not hold: a NaN loss will always cause NaN gradients. So what did our losses look like? My logging code was including them, so we can see a chart. Because each step had 16 losses, one for each microbatch in the step, the chart shows the average of the finite losses, and then has a red flag at the top if there are one or more non-finite losses. ...and zooming in to the area in question again: You can (hopefully) see that from step 15,369 onwards, every step had at least one NaN. There were a couple of NaNs shortly prior to that (they're specifically at steps 15,352 and 15,360), and it recovered for a few steps, but then blew up completely. Additionally, the average finite losses had been declining reasonably smoothly over the run, but that first NaN at step 15,352 seemed to kick it into an upward trend, and then they got stuck at somewhere around 9 -- unsurprisingly not changing much, given that the model's weights were not changing, and we were just seeing the results of changing training data. The scaler was blocking all updates due to non-finite gradients. Digging into the logs, the losses told the same story -- for every step after 15,368, there was at least one NaN in the losses. The model was broken, our losses were frequently NaNs, and the scaler wasn't allowing any updates through. Additionally, looking at step 15,352 -- that first NaN loss above -- the scaler's scale was 524,288.0 there. Although the only NaN losses before the complete collapse at 15,369 were at steps 15,352 and 15,360, the scale also halved on steps 15,354, 15,356, 15,359, 15,361, and 15,364. That implies that even with the finite losses, we were pretty frequently getting non-finite gradients over that period -- like I said, NaN can potentially appear in the gradients even if the loss was finite, due to an exploding gradient overflowing. So what happened at step 17,186 that triggered the update where all of the weights got trashed? That's where the NaN issue temporarily stopped. Let's look at its raw losses from the logs: They're all finite! And so now, we have our explanation: And with that we were done. Guaranteed-finite gradients had overwritten all of our weights with NaNs due to a divide-by-zero in the scaler. While researching this problem, I came across this comment from on the PyTorch forums, writing to someone who'd seen a similar issue: If your model outputs NaN values, the training is generally broken and I don’t know if the model can somehow recover from it. [...] That's a really good point. Understanding this was an interesting puzzle -- and, at least for me, has been a good way of getting to understand the reasoning behind and the implementation of the . But the issue with finite gradients trashing the model's weights with NaNs is a downstream symptom of the real problem -- that the model had started diverging and returning results that got NaN losses. Even in the worst-possible case I outlined above, where NaNs appear with as many as good steps between them, I think you can make a solid case that something in the model is broken and that is what needs fixing. The model I was working with when I hit this problem was one using weight tying, which I've found is very finicky about the hyperparameters and general training setup, and this specific training run used what I think is too low a value for the weight decay. And that's the underlying problem to fix. But at least I now understand why it's failing in the specific counterintuitive way that it is. And that, I think, is worth a lot. Challenges with FP16 Training (Range Issues) Loss Scaling Techniques If it finds any, it makes a note of that and skips the optimiser step (because the gradients it has are worthless). If it doesn't, then it notes that, then scales the gradients down by dividing by S , and lets the optimiser do its thing. If there are any non-finite gradients, will skip the step, and will reduce S to try to bring it within range. If there are no non-finite gradients, will divide what it has by S , and then use the optimiser to apply them, and will update a counter of "good" steps so it can try bumping scale up after of them -- or will bump it up if it has reached that target. If there are any non-finite gradients, it will skip the step etc. If there are no non-finite gradients, it will divide them by S , and... oh dear. 15,509 is exactly 140 steps from when the NaNs started coming in consistently and norms stopped changing at step 15,369. 15,531 is exactly 162 steps from the same point. Training was working reasonably well until step 15,352, where the weights got into a state where sometimes the loss was a NaN. Updates from those broken forward passes (and some others with OK forward passes but broken backward ones) made the scaler start reducing its scaling factor and stopping the weights from changing, but other updates with finite losses were getting through. Loss started rising -- we had started "climbing out" of a basin in the loss landscape. By step 15,369, things had become broken enough that every step contained at least one NaN, so the scaler halved its scaling factor every step and no updates got through. By step 15,509, the scaler's scale had fallen to a level so low, that when the scaler did its reciprocal, we'd get an infinite result -- the scale wasn't zero, but was indistinguishable from it in terms of division. But updates were still not coming through because every step had at least one microbatch with a NaN loss, which led to NaN gradients, so the scaler was blocking them. By step 15,531, the scale had underflowed to exactly zero; still every step had at least one NaN loss, so the weights remained unchanged. Finally, at step 17,186, by chance a step happened to have no NaNs in its losses. The scaler did its job: it multiplied them by the scale, which was zero, did the backward pass, multiplied the resulting gradients by the reciprocal of zero and got NaNs, then used those to update the weights.

0 views

I Have Post-Quantum Depression

The sites I go to for tech news, as well as my social media timelines are all infested with the craziest takes about encryption and cryptography. If you are to believe what people are saying it's pretty much game over for encryption and online security. And who is in the middle of all this nonsense? Well, none other than Anthropic, who appear to have figured out how to control the narrative and make the entire industry eat out of their hand. It makes me sad to see so many people who used to be credible now posting ( vibeposting ?) about rumors as if they were facts, and doing Anthropic's marketing work for them. For those of you lucky enough to have missed all the noise, I will share a brief summary of what happened over the last few days. And for no reason at all I'm going to plot the main events on top of the Anthropic stock price chart:

0 views

Sharp Tech on Video: The Future of Shopping, The Amazon Obstacle, Cryptography Concerns

Sharp Tech is available on video. You have three ways to consume it: YouTube, Spotify, and here on Stratechery

0 views
Thomasorus Yesterday

December Adventure 2026

Wrote down all the lessons from the previous day into digestible cards, and displayed them on my drawing tables. After that I took the time to analyse the drawing I'm currently working on, to see where I could apply what I just learned. Things immediately made sense, and I put notes on the drawing to what I want to change and why. Very satisfied by the process so far! Took the time to search for a few line tutorial on youtube. Without surprises, found the very good videos of Proko on the topic. The first one is about common mistakes going from gesture to speed and more. I really enjoyed this one about what line weight means. And finally, this one where all the lessons are applied. Folks are merveilles are doing the December Adventure again. I did not participate in the preview iterations due to lack of time and motivation. This time I have no excuses: I broke a ligament, without a job, and am stuck mostly at home with a lot of free time. As I started to draw a little again in the past months, my goal for the december adventure will be to better my drawings by doing a few things: We'll see how it goes! I really enjoyed this one about what line weight means. And finally, this one where all the lessons are applied. December 1 # Folks are merveilles are doing the December Adventure again. I did not participate in the preview iterations due to lack of time and motivation. This time I have no excuses: I broke a ligament, without a job, and am stuck mostly at home with a lot of free time. As I started to draw a little again in the past months, my goal for the december adventure will be to better my drawings by doing a few things: Learn more about drawing theory and apply it to my current drawings. For starter, I will work on line quality, as it's something that has been bothering me for a while. I will try to write down what I learned in my drawing notes section. Then I will go back to my inspirations and study them with this new knowledge. And finally, try to apply them to my current drawings. That means taking decisions about which rules I keep, put aside, break, etc.

0 views
Sean Goedecke Yesterday

AI mathematics does not rely on brute force

There is a common view that AI “creativity” relies on brute force 1 : generating millions of candidate ideas that are then tested against some non-AI verifier. For instance, you might explain the recent flood of AI-driven results in mathematics by saying that AI models are guessing at millions of candidate proofs and then checking them through Lean 2 to try and luck into a correct one. If this is correct, the fact that Claude can prove the Riemann Hypothesis is no more proof of creativity than the fact that my GPU can (theoretically) produce a valid hash for a Bitcoin block. Is it correct? No. AI mathematics does not rely on brute force. Our evidence on how AI proofs are generated is limited, because most of this happens behind closed doors in the labs, but I think what evidence we do have comes down decisively in the “AI models produce proofs in a human-like way and then verify with Lean later” camp: There are some people trying the brute force approach. DeepMind’s AlphaProof attempts a formalized approach with some success, and Harmonic’s Aristotle kind of does both formal search and natural-language work at the same time. This is definitely a natural idea to have. But it doesn’t appear to be the dominant idea in AI-driven mathematics, and definitely isn’t behind the results that are making headlines. There’s also a sense in which AI natural-language proofs use a kind of brute force, simply by trying a lot of different kinds of human-like reasoning on the problem. So far it seems like AI proofs have not yet generated any brand new mathematical ideas, which lends support to this view. If LLMs are simply combining existing mathematical ideas into a proof, is it fair to describe it as a brute force approach? I suppose so 3 , but not a way that would helpfully explain away why LLMs can suddenly do mathematics. It’s pretty clear that LLMs combine existing mathematical ideas like human mathematicians do, not like brute-force solvers do. Given all that, why do people like the brute force explanation so much? This is straying into diagnosis , but it seems to me that it helps people preserve their existing belief that it is impossible in principle for AI to have any kind of creative insight. If your notion of an LLM is that it memorizes and regurgitates fragments of human text 4 , the idea that Claude 5 can prove the Riemann Hypothesis is the kind of revelation that could shatter your entire worldview, unless you’re able to explain it away. Claude didn’t really have an idea for a proof — it stole the ideas of other mathematicians 6 , or the proof itself is nonsense 7 , or, as a last resort, it simply stamped out millions of candidate proofs and happened to get lucky by finding one that passed the Lean check. I don’t literally mean the CS all-possible-candidates definition of brute force, but the colloquial definition of “far more candidate ideas than a human could or would want to check”. Lean is a programming language for formalizing and automatically checking mathematical proofs. Since you can write any proof as a computer program , it’s possible to conclusively demonstrate the correctness of any proof by formalizing it in Lean. In the sense that bringing to bear the superhuman speed of a LLM on any problem has “brute force vibes”, or that you might describe John von Neumann as a “brute force” mathematician. Always false, but never more false than in today’s age of RLVR. With assistance from Levent Alpöge, of course. If you believe this, do you also think that 2026 was bound to be an annus mirabilis for mathematics whether we had LLMs or not? That’d be a big coincidence, don’t you think? Most of these takes seem to come from a misunderstanding of how Lean works: if you start with the standard axioms, and you’re targeting the existing definition of the problem (i.e. not one you made up just for the proof), then the chance that the proof is wrong is vanishingly small. In OpenAI’s August proofs drop , they describe the proofs being found, then “prepared into manuscripts” with human assistance, and only after that being formalized in Lean. If Lean was used as part of the proof-discovery process, the formalization would have happened first. OpenAI’s October proofs drop explicitly claims that the ETH disproof was discovered in “natural language” on October 16 and then formalized on October 17, and that their proof of the local smoothing conjecture was likewise formalized the day after it was discovered. Mathematician Kevin Buzzard says he was told by OpenAI that their May disproof of the Unit Distance conjecture was not formalized in Lean (and that the formalization was done by a separate group a week later). In the same post , Kevin Buzzard relays the experience of his colleague Akhil Mathew who generated an important counterexample with Sol and had to then go to Fable to produce the Lean formalization. Anthropic’s lower-bound work on the Riemann Hypothesis (before the actual proof) was supposedly produced informally , and then formalized in Lean after Claude wrote the result up in human language. For that same result, Anthropic released an actual subagent transcript that you can read here : it does not contain “Lean” or “formalization” or any Lean code, but it does contain a ton of natural-language reasoning. I don’t literally mean the CS all-possible-candidates definition of brute force, but the colloquial definition of “far more candidate ideas than a human could or would want to check”. ↩ Lean is a programming language for formalizing and automatically checking mathematical proofs. Since you can write any proof as a computer program , it’s possible to conclusively demonstrate the correctness of any proof by formalizing it in Lean. ↩ In the sense that bringing to bear the superhuman speed of a LLM on any problem has “brute force vibes”, or that you might describe John von Neumann as a “brute force” mathematician. ↩ Always false, but never more false than in today’s age of RLVR. ↩ With assistance from Levent Alpöge, of course. ↩ If you believe this, do you also think that 2026 was bound to be an annus mirabilis for mathematics whether we had LLMs or not? That’d be a big coincidence, don’t you think? ↩ Most of these takes seem to come from a misunderstanding of how Lean works: if you start with the standard axioms, and you’re targeting the existing definition of the problem (i.e. not one you made up just for the proof), then the chance that the proof is wrong is vanishingly small. ↩

0 views
Farid Zakaria Yesterday

Stop linking by symbol: from O(symbols) to O(store paths)

I spent years thinking about process startup and how to make it faster. I defended my PhD thesis in 2025 1 for research on store-based systems and dynamic linking optimizations. I was continuously nagged by the idea that software systems, especially store-based ones such as Nix , are incredibly static and do not take advantage of the fact that most of the time, nothing changes. The thesis generalizes the terms a little bit beyond store-based systems by introducing the notion of epoch-based computation or Stability , where the system’s state is divided into long periods of stability punctuated by discrete management events. In Nix you can think of each immutable store path as having its own epoch: once it is created, it never changes until it is explicitly removed or replaced. To take advantage of that stability, I built tools that chip away specifically at the dynamic linking overhead: Shrinkwrap froze library search . Instead of letting walk the directories one by one, causing a storm, Shrinkwrap baked exact library paths into the binary. 2 MatR froze symbol resolution . Rather than letting search for each undefined symbol across every loaded library, MatR pre-computed which library satisfies each relocation once per epoch, making dynamic linking significantly faster. Even this optimization was not enough to eliminate the overhead of dynamic linking entirely. I eliminated the need for to search for symbols but the overhead of iterating over all relocations and patching GOT slots remained. Aside Although MatR reduces symbol resolution to O ( r ) , the number of undefined symbols can still be very large in real-world binaries, and patching the Global Offset Table (GOT) touches copy-on-write memory pages which incur kernel page faults and can be expensive in terms of performance. We can shrink dynamic linking down from O ( R + L · r · m ) 3 to O ( R + r ) with MatR, where R is the number of relative relocations, L is the number of loaded shared libraries, r is the number of undefined named symbols, and m is the symbol name length. Can we go even faster? What if we swap r for L , the number of libraries? How much smaller is L compared to r in real-world binaries? You probably expect it to be significantly smaller, since many symbols are resolved by the same store path. MatR made the mistake of still linking by symbol, rather than by store path. MatR had the right insight: in a stable system, the byte offset of every function never changes within a library. The only thing that moves from each process invocation (because of ASLR) is the base address of the library. We only need 1 pointer per library (store path), not 1 pointer per symbol. That insight is what storeld builds on: replacing with a loader that only needs to handle one pointer per store path, rather than one per symbol. Doing so has a dramatic effect on speedup keeping the cost of symbol resolution effectively flat irrespective of the number of symbols. Come along as we explore why linking by store path, rather than by symbol, changes the game entirely. What actually happens when a process starts and needs to resolve symbols from shared libraries is a bit of a mystery to most. To appreciate the insight behind linking by store path, rather than by symbol, it’s helpful to first understand what dynamic linking actually does under the hood. Let’s look at a minimal example: a program which calls a single function in a shared library . Every time Linux runs , the kernel loads the dynamic linker , whose role is to resolve all dynamic symbols and patch the program’s memory accordingly before starts: Each tool has peeled the startup process one phase at a time, reducing the work done by the dynamic linker before is reached. The last layer left is the applying of relocations. This cost is real. It is one of the reasons hyperscalers like Meta and Google prefer to statically link their binaries. The cost is so high that glibc even includes the capability to lazily resolve symbols at runtime, meaning that the actual address of a function is only looked up the first time it is called via the Procedure Linkage Table (PLT) rather than at program startup. Lazily binding symbols however has fallen out of favor due to its potential for exploits and unpredictable performance overhead. 4 Understanding the PLT is key to seeing how storeld achieves this reduction in dynamic linking overhead. The traditional PLT in ELF creates a separate GOT slot for each symbol , which the dynamic linker must populate at runtime. Code jumps to a stub in the PLT, which then reads the final address of the symbol from the corresponding GOT slot. The PLT stub does not know the actual address of the symbol it is calling; it only knows which GOT slot to read. This indirection is what necessitates a separate GOT entry for each symbol. If calls 500 functions in , it will need 500 separate GOT entries, one for each symbol, all of which the dynamic linker must resolve at load time. flips this on its head: it uses a single base pointer per library and computes the final address of each symbol by adding a build-time constant offset, eliminating the need for per-symbol GOT entries. Crucially, this is compiled from the exact same and : zero C source changes are needed. This is eerily similar to a traditional PLT stub, except that instead of reading a per-symbol GOT entry, it reads a single base pointer and adds a constant offset. A natural question is who generates those stubs, and where do they live? You might assume you have to hack or fork to emit them, especially given my fondness for hacking on LLVM but you don’t. generates the stubs at build time as a tiny assembly file and hands it to a stock linker (i.e. ) to produce a standard Linux ELF64 binary, replacing with . The metadata is stored in a read-only ELF section. Integrating it into a Nixpkgs is straightforward: just add to and the rest is handled automatically. 5 How fast is process startup for compared to those traditionally dynamically linked? Well it obviously depends on the number of symbols. I gave some concrete numbers for the number of relocations you might expect for some sample binaries earlier but let’s see how the performance scales as the number of symbols grows from 1,000 to 200,000. Through this scaling experiment, we can observe the dramatic difference in performance between and traditional ELF linking as the number of symbols increases. Both the startup latency and private anonymous RAM usage remain nearly constant for , while they grow significantly for . The top-end performance difference is 43.38 ms vs 0.88 ms. To appreciate the speed improvement, here is a fun visual comparison in real time (slowed 100x): Nix ushered in a new way of building software but we are still reliant on traditional solutions and tooling. We have yet to fully rethink how to leverage the Stability guarantees provided by Nix; dynamic linking is only one piece of the puzzle. Although many systems offer epoch-based computation , they do not make it so easy to patch the world to modify our software to make better use of these epochs. Changing the dynamic linker and rebuilding every package is table stakes for Nix. Performance is not the only reason to pursue these advancements. Removing from the equation also improves security (no IFUNC, no writable GOT) and makes the dependency graph explicit, reducing the attack surface and making it easier to reason about software behavior. There is likely a cornucopia of opportunities to be had from leveraging the additional metadata stored in the ELF section, such as improved dependency tracking, more efficient rebuilds, and enhanced security auditing. The majority of software today presumes complete mutability of everything despite the growing stability guarantees provided by modern package managers and build systems. We need to rethink this assumption and design our software to take full advantage of the immutability and stability offered by these systems. Static linking throws away sharing. Dynamic linking throws away immutability. On an immutable store, you shouldn’t have to pick. My defense is also recorded on YouTube in all its glory.  ↩ Published in Mapping Out the HPC Dependency Chaos .  ↩ This bound assumes , the GNU/ELF hash-table extension supported by glibc and musl; classic SysV ELF symbol lookup is slower.  ↩ Fedora/RHEL , Ubuntu, Debian, and NixOS all enable by default, and musl never implemented lazy binding.  ↩ The README has more details on how to integrate into your build process.  ↩ Shrinkwrap froze library search . Instead of letting walk the directories one by one, causing a storm, Shrinkwrap baked exact library paths into the binary. 2 MatR froze symbol resolution . Rather than letting search for each undefined symbol across every loaded library, MatR pre-computed which library satisfies each relocation once per epoch, making dynamic linking significantly faster. Find the libraries. The dynamic linker first reads the and entries to determine which shared libraries are required and where to look for them. Shrinkwrap eliminated this step. Look up every symbol by name. For every relocation, the dynamic linker hashes the symbol name and searches ( ) each loaded library in order until it finds a match. MatR eliminated this step. Apply the relocations. The dynamic linker then writes the resolved addresses into the appropriate locations in the Global Offset Table (GOT), ensuring that all function calls and global variable accesses point to the correct memory addresses. My defense is also recorded on YouTube in all its glory.  ↩ Published in Mapping Out the HPC Dependency Chaos .  ↩ This bound assumes , the GNU/ELF hash-table extension supported by glibc and musl; classic SysV ELF symbol lookup is slower.  ↩ Fedora/RHEL , Ubuntu, Debian, and NixOS all enable by default, and musl never implemented lazy binding.  ↩ The README has more details on how to integrate into your build process.  ↩

0 views
Unsung Yesterday

“But you know the app will be better for it.”

In 2007, the makers of a programming editor Coda, had an interesting problem – Cabel Sasser hated the look of the Mac OS X toolbar at the time: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/but-you-know-the-app-will-be-better-for-it/1.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/but-you-know-the-app-will-be-better-for-it/1.1600w.avif" type="image/avif"> I’m not a huge fan of how that looks. OK, sure, it’s not like it’s committing pixel genocide or anything — but the hard, rounded bevel always felt a little bit Mac OS 9 to me and, worse still, reminds me of group boxes, the long-lost and visually-face-punching old fashioned way to group controls together. Sasser put together what he wanted the operating system to look… = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/but-you-know-the-app-will-be-better-for-it/2.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/but-you-know-the-app-will-be-better-for-it/2.1600w.avif" type="image/avif"> It improves the link between the toolbar selection and the content area (almost like a tab), the active text being white helps it “pop”, and it has a nice physicality to it. Overall, I gave it a B+. Hopefully you agree. If not, sit on it . …and handed it off to engineers to implement. The problems started immediately: Unfortunately, the finished product would be a long time coming. The nemesis? Three pixels : Yeah. That’s all. Three pixels. We couldn’t touch ’em. Simply put, a regular toolbar never draws down there, so things get real cagey if you do. You can, through some degree of trickery, throw some pixels in there, but the OS never tells you to redraw that area, and never properly redraws that area itself, so if the toolbar changes even slightly , your toolbar is gonna instantly look broken. […] Ultimately we were never happy with the hacks. We threw in the towel. But when Sasser talks about throwing in a towel, he doesn’t mean giving up on the new styling. No, quite the opposite: […] we ended up writing our own very faux-toolbar from scratch. That’s right: we’re not using the system toolbar in Coda. To apologize, that’s why you can’t re-arrange the items in the Coda toolbar — re-implementing all of our own code to make that common toolbar activity work would have been way more trouble than it was potentially worth. (Hands up if you wish you could re-arrange the items in the Coda toolbar!) But yeah, it’s not real. All because of three pixels. And all because we didn’t want to settle. I am sharing this almost two decades later, because there is something very universal here, and something all of us faced at some point: how far are you willing to go? Sasser recognizes this: But there’s one problem, of many potential problems, about forging your own path as a designer: you might encounter a Three Pixel Conundrum. You may come up with a cool idea, but you may never expect that three pixels will spring up and make your very simple idea a technical nightmare. That then becomes a engineering/​design issue, and that means you need to choose your battles carefully, carefully weighing where an engineer is coming from but also considering what’s best for the app and for the user. The engineers will not appreciate this three-pixel stupidity, because there will probably be, oh, actual features they should be implementing instead, while you’re sitting around worried about this seemingly-unnecessary fancy toolbar that you love oh-so-much. But you know the app will be better for it. So, is such a thing worth pushing for? There’s no easy answer, just a gut feeling, you’ll know your dudes better than I do. I chose this battle. I knew that the guys here ultimately care about the little things, and I knew that despite the frustrations they encountered, my gut didn’t want to give up and let something that I never liked in the first place, even if it came from Apple, live longer it should just because it’s “the way it looks”. I can’t thank the guys enough for sticking with it, and I’m really proud that we got it to work, even if it wasn’t.. easy. But it’s not just about spending extra time and resources to follow your gut feeling. Unacknowledged, but hinted at here is another thing: the new toolbar was a compromise and didn’t have all the functionality of the original. Here, that was a deliberate choice, but you probably encountered a lot of homegrown UI replacements that made compromises not intentionally, but out of limited appreciation for the component to be redesigned and rebuilt. We’ve all seen it: links that do not support ⌘-clicking, menus that miss keyboard navigation, UIs that slow you down , hell, even the Golden Gate sliders I mentioned just the other day. But if you rebuild something from scratch, it is your responsibility to go all the way, to have an utmost understanding and respect of the source material and its users, including – I found that this helps immensely – the starting assumption that you are likely not good enough to be doing this, that will help you stay humble and diligent. None of the UI components are as simple as they seem; they stopped being that in already in the early 1990s. There is also an interesting coda to the whole essay, and another towel Panic decided (not) to throw in. I’ll let you discover it yourself . There might be a screenshot missing at the end, but I found that for you, too:

0 views

On design process

Even though I don’t consider myself a designer anymore, Dave was kind enough to have me on as a guest on his Design Process series. Answering questions is always a fun opportunity to reflect on things, and I’m always down to participate in this type of projects especially because I know how annoying running an interviews series can be. Also on the topic of interviews, I recently made an appearance on the Uses This series, which was a delight because this is one of those websites I stumbled upon forever ago, and I visited periodically. If you aren’t already tired enough of me rambling here on the blog, now you have the chance to read even more of my ramblings on someone else’s website. Thank you for using and believing in RSS. You're awesome. Send me an email :: Sign my guestbook :: Become a supporter

0 views

Continuous reinvention: Volumes that fit

In this guest post, Marc Olson reminds us that every once in a while you have to step back and look at what you've built, not to admire it, but to look for new opportunities that you may not have realized you created.

0 views

The LessWrong House Style

How to write a LessWrong post: Never write a sentence when you can write a paragraph. Never write a paragraph when you can write an entire post. Invent at least one unnecessary neologism every 500 words. Where concepts are clear, add unnecessary ontology and conceptual distinctions. Where concepts are vague, keep them vague. Never cite anything outside the ingroup. You can cite Jaynes , von Neumann/Morgenstern , the Sequences, anything from the ingroup. But anything written extramuros has low epistemic hygiene. Shift between different point-definitions of broad concepts. Example: ASI includes both “something Anthropic might build next year” and “a Dyson sphere’s worth of compute”, RSI includes both “ FOOM under 24h ” and “ recursive technology improvement ” (thanks to Theia Vogel for this example ). Never say “premise” when you can say “crux”. Never say “bait and switch” when you can say “motte and bailey”. Then mix up the motte and the bailey. Never say “ADHD” when you can say “akrasia” (for oldheads only). “By default”.

0 views
Stratechery Yesterday

An Interview With AWS CEO Matt Garman About AWS’s Past and Future

Good morning, This week’s Stratechery Interview is with AWS CEO Matt Garman . On Tuesday, Garman gave the keynote at AWS re:Invent 2026 , AWS’s annual conference in Las Vegas; I wrote about Garman’s keynote yesterday . However, last week, before Thanksgiving, I both had a briefing about most of AWS’s major announcements and recorded this interview. The one thing I did not know about was the unexpected announcement of Ergo, AWS’s new open weights model, so the only relevant questions were immediately out of date. I did interview Garman previously, in April of this year , alongside OpenAI CEO Sam Altman on the occasion of OpenAI launching on AWS; that, however, meant that I didn’t have the opportunity to talk to Garman about his background and broader AWS topics beyond AI. That’s exactly what I was excited to get into in this interview. To that end, we talk about Garman’s background, including being the first product manager for AWS, how AWS has grown beyond anything he imagines, and how the service has built trust with its customers. We talk about Nitro and AWS’s chip program, including Graviton and Trainium, and why Garman is confident about AWS’s position in the supply chain and external customers. Then, we talk about two big re:Invent announcements, including DuckDB and Project Greenlight, and why Garman actually thinks they finally have a compelling productivity offering, thanks to AI. As a reminder, all Stratechery content, including interviews, is available as a podcast; click the link at the top of this email to add Stratechery to your podcast player. On to the Interview: This interview is lightly edited for clarity. Matt Garman, welcome back to Stratechery. MG: Thank you. Appreciate you having me here. So we first talked last spring , in a joint interview with Sam Altman about Bedrock Managed Agents , and OpenAI being available on Bedrock for the first time. Given it was a joint interview, I had to skip my favorite part of these interviews, which is background. So now I get my chance, we have some shared background — we actually met in person at the Kellogg reunion this year. MG: Yeah, it was great meeting you. It was! Where did you grow up, and how did you get into the tech industry? MG: Grew up in Scottsdale, Arizona, lived there until I went to college. I went to college at Stanford and studied engineering there. It was industrial engineering, right? MG: It was. It was, as my friends like to call it “imaginary engineering”, so it wasn’t real engineering. Well, but it’s quite relevant to the stuff you’re dealing with now, isn’t it? MG: It is, but they still like to give me a hard time about it. My wife is an electrical engineer, so for her that’s engineering. (laughing) Oh got it, there you go. MG: I went to Stanford, started engineering there, and then from there — this was kind of right when the Internet boom was happening — went to work for a couple of various Internet companies. They didn’t do all that well— Most didn’t. MG: Learned a lot, yeah, it was super interesting. I learned a lot about products, learned a lot about how you think about building technology for customers. Went to Kellogg, as you mentioned, for business school and coming out of Kellogg, I’d only worked for startups, and for my internship I was interested in how a larger company built new businesses inside of an existing company and so I looked at a bunch of different companies for my internship and got a job with Amazon. In particular, Amazon was building this new business inside of the company. Right. So, just for context, this is 2005 , and this new business was going to launch the next year and change the world. MG: That’s right. And so I worked as the intern product manager for AWS, and it was still an internal project for Andy Jassy , and came back full-time as effectively the first product manager for AWS in 2006 when we launched it and now I’m 20 years in working on AWS. How many interns were working on AWS in 2005? MG: Just me, just one. I was the first product manager, it was a very small team, it was a handful of people, it was a much smaller effort then. What has surprised you, if you look back 20 years, about the development of AWS? When you go back to those initial meetings in 2005, you’re hearing about this hare-brained idea. Take me back to then, what was the thesis then? There are all these myths about it like, “We have excess capacity”, which never made any sense because you need the excess capacity. Go back to the initial foundation of AWS . MG: The actual story there was, it was a very interesting insight, it actually started with an effort to expose some of the retail data that we had to customers who were building websites, and third parties that were making — they’d make a website about interesting things about Seattle, and then it would have links to books you could buy on Amazon about Seattle, just as an example. And so we saw that and we started exposing more data to them — our images, the reviews, things like that. Oh, that’s interesting. I didn’t know this angle, actually. MG: We found people doing all sorts of interesting things and we said, “What if somebody could make all of Amazon? What would they need?”, and they would need this data, of course, but then the team sat back and said, “Well, they’d need compute, they’d need storage, they’d need a database, etc., etc.”, and so they said, “Well, what if we made those available for these companies who could make Amazon available?”. It was kind of when everybody was making everything into services, and we had this idea — I wasn’t there yet at the time — that what if you could make infrastructure into services? And so that was the thesis of the idea, and that was it. The very first services they launched were EC2 and S3 and SQS and SimpleDB and a bunch of these really building-block services. We always thought these would be very, very useful for startups and small businesses and others that were going to build things. You asked what was surprising — I didn’t think governments were going to build on that. You didn’t expect entities that big. MG: I didn’t think that it would be the U.S. government, I didn’t think that it would be Goldman Sachs, I didn’t think that it would be JPMorgan Chase, I didn’t think that it would be NATO, I didn’t think that it would be the biggest organizations in the world building on top of this. But it turns out when you build an interesting product that makes it easy to go build things, everybody wants to use it. Was there a shift? You mentioned a bunch of the initial services, but you think about S3 and EC2 as being the original ones, and this is still a core building block, you’re paying for it as a service, but instead of buying a processor you’re buying processing time, but you still have to build the whole thing. But then on top of that you have these managed services, you mentioned the very simple databases before, but you get into much more complex ones later. Was that just a natural progression, or was there a real shift from actually not just the rudiments or the primitives of computing but actually we can go at a higher level of abstraction? MG: I think there’s the first set that were pretty natural, I’d take something like RDS , which is our managed database service, or ELB, which is kind of a managed load balancer, those were key ones where we saw people really struggling, where they needed a load balancer. They’re hard to build! MG: And it’s hard to build a load balancer, as it turned out. And you couldn’t just go buy something from Cisco or buy something off the shelf, because you’re in the cloud — they didn’t exist, so we had to build some of those things. Same for database, people were like, “I don’t want to use Oracle”, a lot of people were just running MySQL back in the day, self-hosting it, but we found out there’s a lot of struggle there. I would say probably RDS was our first kind of up-the-stack a little bit, where it was really this managed database service and that success opened us up to a whole bunch of other things, where we realized we could deliver a huge amount of value for customers by managing some of the services that they used. We quickly expanded out over time to include things like search clusters, monitoring, and a bunch of other pieces that people use and today it’s now into call centers and even into higher-level applications, of course. I think for a long time, especially at the beginning of the cloud, there was a lot of talk about how the best way to sell to enterprise is to say, “Avoid lock-in, come with us and you can take it wherever you want”, and so then people were like, “Okay, I’m only going to use compute, I’m only going to use storage, I’m only going to use a basic database” — is that gone now? Has everyone accepted that, actually, life is just so much easier if I don’t manage this complexity that doesn’t differentiate my business at all, and I’m just going to commit to Amazon and embrace all the new features? MG: I think it’s mostly that. And part of that, I think, is actually because over the last 20 years we’ve really earned the trust of customers that we’re not going to behave like the old-school folks that are going to come and sue you over your licensing rules, or hold you over the coals and raise rates when we think you can’t move. Is this because you’re a usage model? This is just the beauty of a usage model — it’s just naturally aligned with the customers. MG: I think it’s actually some of that and it’s actually like our cores — we came from retail roots, where if Amazon gets you upset, you go buy stuff somewhere else, that’s really easy to switch. We came with this mentality that you have to win the business every day and with AWS, it’s a little harder than retail but it’s not that hard at the end of the day, and with AI, it’s even easier. And so we still have this mentality that we have to win your business every single day. We try really, really hard — even with all of the prices and commodity prices that are going through the roof today — we try really hard not to raise prices for customers, we try really hard that if a customer ever tells us they want to leave AWS, we actually make it easy for them — sometimes we’ll even help them do it. Well, there’s a lot of complaints about your egress fees and stuff like that, although I think those have come down a lot. MG: Egress fees — there are bandwidth fees if you’re running inside of the cloud — but if you actually decide to migrate off, it’s completely covered and free of charge , there is no fee if you actually want to migrate off. If you want to use our networking and CDN and things, there are, of course charges for that, but it’s a service we provide. So people oftentimes conflate those things, but they’re not. If you want to migrate off, you can completely do that free of charge. It turns out most people don’t want to, though, because the service we provide is actually pretty good, and it’s actually harder to do yourself, and we actually provide great service and great security so it’s pretty rare that anyone actually ever wants to do that. Was revealing AWS’s financials the worst thing that ever happened to you? I called it the AWS IPO . Everyone’s like, “We thought you were operating like a 3% margin business” — turns out that wasn’t the case. MG: (laughing) Kind of, but not really. I will say, it’s nice not to have to have a bunch of scrutiny and things like that, but the flip side — actually, I will definitively say it was not the worst day, because it turns out that when you’re a big company or an enterprise wanting to bet on us, you kind of want to know that AWS is going to be here in a year or two, and they want to know that this is a business that Amazon’s going to invest in. So if they saw that we were losing money, they’d be like, “Oh, someday Amazon may turn that off”, but when they saw that it’s a profitable business that’s grown really well, they’re like, “Oh, this is not a business that’s going away”, and you can like your economics and your partners can actually make money on it. Our early customers who really understood this wanted us to make money on this business, because if we didn’t, they knew it wouldn’t be a long-term going concern and they are betting on it. So it’s actually incredibly important and it also gives us more freedom to invest more in the business and do other things like that, if people can see what a great long-term business it is. I want to ask you about both Annapurna Labs and Nitro. What’s the right order to ask you in, or are they inseparable? MG: Annapurna is a great thing to ask about, but Nitro is — I’ll just answer them together. We’ll start with Nitro. Was the Nitro idea what inspired the acquisition of Annapurna Labs? I guess that’s sort of the question that I’m driving at. MG: Yes, that is the question, we started with Nitro. We had this idea — if you really go back, typical virtualization software, particularly 15, 20 years ago, it virtualized everything, when you ran a VM, everything went through the virtualization software — the networking, any sort of storage, all the tenant isolation, everything. So virtual VMs were much lower-performing than bare metal, because you’d get much worse network performance, as an example, if it had to go through the hypervisor you’re using, whether it was Xen — Xen is kind of what we typically used back in the day, an open-source hypervisor, and it would be slow. So we had this idea that if you could virtualize the network through a smart NIC — and these were starting to come on the market — where you could take the networking path and instead send it through a NIC where you could still have all the right virtualization controls, still parse out the network paths so they were encrypted in the right way, but avoid the virtualization tax. You could get better performance and actually decrease your costs, because you freed up a bunch of the cores that you could then resell to customers. That’s right. Running the VM one the server is like — I think it’s like 20% overhead. MG: And now you go resell that to a customer, and all of a sudden it was like free capacity that you found out you could go resell. So we did that, and the performance was much better, we freed up cores, and we’re like, “Whoa, this is interesting”, and so then we wanted to do EBS [Elastic Block Store] next. And the EBS connection — we needed more compute power than anything these cores were doing, and we found this company, Annapurna , who was making a NIC that had ARM cores on it, and they were planning on doing some more interesting network stuff. Our team got together with them and said, “Hey, let’s collaborate and see if we can’t actually do storage virtualization going through this NIC and using some of these cores”, and we collaborated with them, we saw it working, and we basically were like, “We’ve got to own this company, because this is the thing that we think is going to unlock the cloud”. The real thing we want to do is move all virtualization off the box, Which you have done over time. MG: Which we’ve done now. And so now there is no management plane on a server, which is — I still believe to this day — unique to AWS. Everything runs off of what we now call Nitro and so we create VMs via APIs, well-hardened APIs. Everything is virtualized, and so we have a much better security story, and we deliver bare-metal performance for customers. And you get to sell more capacity, because you’re not giving 20% of every core away to run the OS. MG: And the super interesting thing also is, it used to be that developing a new hardware platform took a huge amount of effort, because you had to do all of this interesting virtualization work for every single new platform you supported, now you can put the Nitro card in a new platform, and actually it’s really fast to go and bring up a new platform and so the number of instances that you saw just exploded over time. It’s been core to, I think, all of the compute stuff that we’ve done for the last 10-plus years and then obviously the Annapurna team, just to complete the story. Let me follow up on that, because I want to get more into the chip specifically. But this Nitro thing remains such a massive advantage in sort of traditional cloud computing. It’s a better experience for the customers, to your point. It gives you better capacity, it’s just this really fundamental advantage. Was there any aspect, though, where when AI came along — I mean, there were some articles written that actually this is a real hindrance for Amazon , that they can’t scale up the way they need to, was any of that true, where Nitro was this huge advantage that actually sort of locked you in in a negative way? MG: (laughing) No, not one bit. I think people tried to figure out if it would be, and no, it has been strictly better for us across availability, performance, security. There’s been no situation in which it was not advantageous for us. Let’s talk about Annapurna Labs and your progression as far as chips go. So they do Graviton , which is an ARM processor doing your general compute, which is key for cloud applications. What percentage of Graviton workloads are actually selected by customers purposely, as opposed to being the processor that undergirds AWS’s managed services? So you go get a managed service and you don’t know or care what processor is underneath it, which is great for you because you get to use your cheaper processors and double-dip on margins to a certain extent. MG: Over 98% of our top 1,000 customers intentionally pick Graviton to run their workloads on. They might have a mix — I’m not saying they only use Graviton, they also use x86 — but 98%, not just behind the scenes, hidden behind some managed service, 98% of them use Graviton. I think every year for the last several years, we’ve landed more Graviton chips in our data center than x86 chips, Intel and AMD combined. It turns out that when you deliver a chip that gives you 20% to 30% absolute better performance — it is the best, highest-performing processor that you can run in the cloud today for most workloads — at a 10% to 20% cheaper price, most people choose it, it’s not rocket science. If that’s the case, then why isn’t it 100%? Why are people still choosing x86? MG: There are still sometimes — legacy is a powerful thing. There’s definitely packaged software that doesn’t run on Graviton, if you’re running Windows, it runs mostly on x86, if you’re running a lot of other software products — increasingly ISVs are qualifying on Graviton because they see better performance, we see folks like SAP and others qualifying many of their services, but not all, some of their SAP services still require running on x86. So there are workloads like that, those old services that run there. And there are use cases, by the way, where there are very high-frequency use cases where you have to match which workloads you’re targeting with processors. So for AMD and Intel, there are some use cases like EDA and others where they are actually the best choice to use for some of those workloads, it depends. All of those folks have done a good job innovating and targeting certain workloads and different types of use cases where, in some cases, they are the best cost-performance for a certain set of workloads but for the vast majority of them, we see Graviton as a great choice and customers choose it. How much work did you do — and maybe the hyperscalers broadly — in bringing AMD up to par with Intel? Was there much of a lift, or is this just AMD, through the combination of better design, working with TSMC, they’ve earned their place? Because they’re so much stronger in the hyperclouds generally than individual customers. MG: I will say, I remember — and I’m going to get the date wrong, but it might have been 10, 15 years ago now — where we sat down with [AMD CEO] Lisa [Su] and made a bet with them and I basically worked closely with them, and we made the bet that we would bring AMD to AWS. Now, this is not taking anything away from them, by the way — they have a fantastic team, and they’re the ones that built the processors and developed them. Right, but there’s all these little jobs that no one wants to fix that makes an AMD chip better than an Intel chip, but it’s in the best interest of the hyperscalers to do that, so they’re not beholden to one chip provider . MG: That’s right. And so we made a bet with them, and it was hugely successful because, exactly, we kind of made it where people could use them for a variety of workloads, and they would just look at the price-performance and not look about, “Oh, do I have to re-set-up my workloads or anything like that?”, and I do think that really helped them, but I won’t take sole credit for it. That team has done a great job, of course, as well. But I do think it was a meaningful shift in helping them get back and get to where they are too. I think I asked you this on the last interview, which is a shame I stole it — if you regret the Trainium name. But tell me about the evolution of your AI chip processors and where you’re at today — we’re going to get to selling the chips in a little bit — but how this ties into Nitro and Graviton and all those bits and pieces. MG: I regret a lot of our names, by the way. We’re not that great at naming, but it turns out a lot of them work out. (laughing) Hey look, you’re talking to the right guy for that. MG: (laughing) Yeah, exactly. Even some of our core services now that just seem like words — people are like, “What is S3 and EC2? These aren’t even like words, are you going to name things like things?”, now people love them. The concept of elastic compute wasn’t even a thing — people are like, “Computers aren’t elastic, it doesn’t make sense”. And Trainium, By the way, why is it EC2 instead of just EC? Where did the 2 come from? MG: Because you have Elastic Compute Cloud — and so there’s two Cs, and so we decided to be clever — EC2. (laughing) Oh see, I never even knew that. MG: Yeah, see, it’s the Elastic Compute Cloud. Exactly, anyway, it’s fine. But, yeah, so the Trainium name — the world has evolved. We built it for training and at the time, people would train these really large models, and the inference part of that workload was much, much smaller. We didn’t know at the time, it was five, six, seven years ago that we started working on these, we thought those would be materially different architectures. So were you starting with traditional machine-learning workloads? These weren’t developed initially for LLMs, and that’s part of the reasoning of why you approached it that way. MG: That’s exactly right, it was more traditional ML workloads. And so as the models started getting bigger, you wanted them on the big — it turns out you needed the same server for training and optimal inference, so we just kind of kept with the Trainium name, because people knew it and it was going well. So that’s it. But yes, it was exactly that. It’s a better name than Inferentia . MG: It is, exactly, so we liked it and we stick with it. So you start with this chip effort with these traditional ML workloads. When was the, “Holy cow, we have to shift our approach and what we’re developing this to”, in terms of LLMs? And how long did it take to get a chip that’s actually designed for LLMs? MG: It’s a good question. When we started with our first chip, Trainium 1, we knew it was going to be harder than even general purpose processors — they’re just much more complicated servers, much bigger chip efforts. Right, and it’s not just, because the cores are simpler, but it’s all the networking and linking them together and things like that. MG: The whole thing. It’s a much bigger chip, much more complicated architecture, you have to think about the substrate, the board that they’re on — the whole design is just a much more complicated server. So we launched Trainium 1 as our first effort, and that’s right about the time that some of these LLMs were really starting to take off. When we were starting to build Trainium 2 is really when these things were starting to take off — it’s when you had the ChatGPT moment, and we started working with Anthropic as kind of an anchor customer for what Trainium 2 would be. They were a fantastic design partner to help us understand what their needs were going to be, what scale they were going to think about, what the differences of how these models might work and where they needed things accelerated or not. We worked really closely with them on Trainium 2, and Trainium 2 was really the first platform that was, I think, great for some of these modern LLMs and really the AI world that we’re in today. And now Trainium 3 is fantastic, we’re seeing really, really great price-performance with Trainium 3, and we’re trying to produce them and manufacture them as fast as possible. Well, that’s my question, when did you realize that actually the real fight is going to be in the supply chain — getting all the components you’re going to need to build these? MG: Somewhere between those two. And actually, I would say we’ve taken a really long-term view on this, which I think is beneficial to us now and will continue to be beneficial in the future, which is, some others kind of offload some of this work to other companies, and we don’t. We actually work directly with TSMC, we do the front-end and back-end design for all of our servers. We work with partners, of course, but we own that full end-to-end supply chain — thinking about how we work with memory providers, how we work with board providers, how we work with substrates, all of those different pieces and putting that together and that allows us to really own that end-to-end supply chain and so as we’re thinking about manufacturing, as we’re thinking about where we can squeeze cost out of that whole process, that is a huge benefit to us. We’ve spent a lot of time getting relationships there, earning our way into the supply chain, frankly, where you can make sure that they know you’re going to have demand, that they realize they can count on you going forward in the future, and you’re not just somebody that’s going to ask for millions of chips and then not really have demand for them. That process has been a multi-year process. And now with Trainium 3, we’re seeing it ramp much more quickly than we even did with Trainium 2, which was the fastest we’ve ever ramped and we’re seeing the fruits of that as we’re really rapidly rolling out Trainium 3 servers. So all that discussion, including supply chain, is in a world where compute is scarce. In the long run, are you planning for a world where compute is scarce or where compute is abundant ? MG: I think all of those things are incredibly valuable no matter if compute is scarce or abundant because I would argue that having a really tight control of the supply chain where you squeeze costs out of the supply chain might be even more important where there’s abundance and margin is important and you have to go compete. Today it’s actually like, if you have a good product, you will sell it because there’s a shortage. In a world where there’s not necessarily a supply shortage, you want to make sure that you’re sharp on pricing, that you’re sharp on costs. We always talk about how we want to lower our costs so that we can afford to lower our pricing. In a world where there’s lots of compute everywhere, that’s going to be arguably even more important that you have a really robust control over all of those pieces because cost-performance is going to be critical, not just availability. Right. You probably know this, but I’m totally with you there, this is what you did so well with the initial AWS, general computing was you just had a superior cost structure. Nitro was a massive part of that, as we just talked about and it feels like we’re seeing the same playbook here — where in the long run, if the price is defined not by scarcity but by who’s the market-clearing price, if you have a better cost structure you’re in better shape . Is that exactly how you’re talking about it? And for Trainium, do you see a world where people are choosing Trainium, or is this still going to be a, “Look, they’re going to be on Bedrock, they won’t even know they’re using Trainium, and that’s going to be fine”? MG: Both of those things. We will absolutely — just like with Graviton — have it underpin our services, I expect that most people will use Trainium without knowing it, they’re going to get better price-performance on Bedrock, or we’ll have better margins on Bedrock with partners that are serving their models because it’s running on Trainium but the end customer won’t have to know. You’re just going to go send tokens, or use agents, or whatever it is and you’re going to see either a price-per-token or a price-per-outcome — however people want to price the services — but the underlying components will just be cheaper, and we’ll have more margin to either share with partners or to lower prices. And I think that lots of people are going to start choosing Trainium, because I actually think they’re going to want that better price-performance, and we’re already seeing that with startups that are coming to us and saying, “A year ago it was really hard to get going on Trainium, today it’s actually not hard to get going on Trainium”. In fact, you can just take PyTorch, change one line of code , and your code compiles and runs natively on Trainium. So it’s no longer hard, there’s not this CUDA moat anymore from NVIDIA, and I think that really unlocks a lot of use cases where people are going to choose to run on Trainium. And look, lots of people choose to run NVIDIA for a long time too, but I think it’s going to be a very competitive market, and people are going to choose the platform that works best for their workload. If you have all this demand, why are you going to sell Trainium chips? Is this just to keep some very large customers in the AWS orbit, even if they want to build their own data centers? MG: We want everybody to be able to use Trainium where they can and there are some use cases where people have data centers today — they have these data centers, they have 30-year-long asset lives, and they want to use that workload. Sometimes they’re sovereign nations, sometimes they’re companies, sometimes they just want to have things on-prem and so it’s an interesting, useful business for us where we can actually go sell servers, and it’s a nice high-margin, good business for us. Look at NVIDIA — they do pretty well selling servers, it’s an attractive business, and we actually think that from a portfolio play it works really nicely too. From a cash-flow perspective, when you sell a server you actually get all of the money up front. We love the AWS business, and long-term it’s fantastic, but it is capital-intensive, and actually, if you can balance those two together, potentially selling some of the servers can help you from a cash-flow perspective continue to build more data centers and build up that business that we really like long-term. So we think both of those are long-term good businesses. Presented by Technology has a habit of commoditizing incumbents’ advantages. The Internet made access to consumers nearly free, shifting power away from publishers and retailers  toward platforms like Google and Amazon. Cloud computing made massive computing infrastructure available to startups with a credit card. AI is making specialist capabilities available to almost anyone. It turns out this pattern is thousands of years old. Stripe’s Works in Progress, a publication about discoveries that drive human progress,  followed it back to the Bronze Age . Bronze weapons required scarce tin and sprawling trade networks, giving empires a competitive advantage. That is, until communities realized iron, while not materially better, was abundant enough to arm themselves without needing access to imperial supply chains. Works in Progress argues that this helped shift the balance of power and made large empires harder to sustain.  AI is making yet another scarce capability abundant. History suggests the balance of power will shift; the question is where it shifts to. Explore more ideas about progress and technology at worksinprogress.co . I want to dive into all those, but we are unfortunately limited on time. The occasion of this interview is next week — we’re actually doing this interview before Thanksgiving, and it’s not going to run until a week after Thanksgiving, after your re:Invent keynote in Las Vegas. I always like watching the first five minutes of keynotes, I don’t know if you’re going to give it or if [Amazon CEO] Andy [Jassy]’s going to give it. What’s the framing? What’s the overall context that we’re going to have this massive list of announcements? So give me a preview — what’s the first-five-minutes message of AWS re:Invent 2026 ? MG: I’m giving it, and hopefully everybody who’s listening has already watched some of it, and so this will be a recap for you. But it really is about how agents are kind of taking over and doing a lot of what people are doing today, and how agents are changing how we think about things. Actually, as we think about our AWS services, one of the frames that we’re taking is, “We have to build services that are great not just for people but also for agents”, and we’re customer-focused. And what does that mean? Is this just the speed of interaction, the number of iterations? What is it? MG: It’s all of those things. If you think about data, as an example, when you’re going and doing some analytics queries in today’s world, you go and you think about the problems or the answers you want to answer, and you send off some queries, and the computers churn for a while, and then it comes back and renders some dashboards. Then you think for a little bit, and you analyze it, and you’re like, “Oh, that’s interesting, and I actually have a couple of follow-up questions”, and then you go submit some more queries, and it comes back. Agents don’t do that, they actually ask like dozens of questions at once, sometimes. It’s like the GPU of approaching analytics versus the CPU — it’s massively parallel. MG: That’s right, they ask hundreds of different questions, the answers come back, they instantly analyze them, they ask more. And so they think about a much wider swath of data. They care about spinning up their computer environments in milliseconds. For you and I, if we launch an EC2 instance and it takes 30 seconds, we think that’s fast, an agent wants their computer environment in milliseconds. When we go launch our analytics query on a Spark cluster, that doesn’t work for agents, they actually want some capability that either runs locally or spins up really, really fast and gives them answers much more quickly. That’s actually why we’re leaning into DuckDB from an analytics standpoint. You have two really interesting announcements I want to get to, one is DuckDB. You just acquired the company in August — they actually launched, or first released, in 2019, which I have a few questions about. But the way I’m thinking about DuckDB, it’s like SQLite for analytics — where SQLite, you could package it in your application instead of having a separate database server, it’s just like your database was within your app. This is kind of the same thing for analytics — analytics is just built-in, is that the right way to think about it? MG: It’s super interesting — they’ve made this DuckDB SQL engine that can be embedded exactly in your workload, right next to wherever you are, so you can actually just do analytics whether it’s on your laptop, or in a server, or right next to where the data is and so agents love this. In fact, I showed during my keynote a graph of how many people have downloaded Spark, and how many times DuckDB has been downloaded, and it just — over the last 12 months — has completely eclipsed it. But they came out in 2019, so how did they know that this is what the agentic world needed? MG: Sometimes these things are just happy coincidences. [DuckDB Co-Founder and CEO] Hannes [Mühleisen] and the team — they had this interesting insight that computers were getting bigger. In 2010, in order to do big-data processing, you had to spread it over a whole bunch of machines, whether it was MapReduce and then later Spark, you kind of had to build this distributed architecture in order to do big data. We went back and looked, from 2010 until now, the compute processing power of an EC2 instance has gone up 200x. Right, because you had all this excess power, which you never had before. MG: You can have a computer that can have terabytes of local memory and so you can actually do a lot of data processing inside of a single machine so they had this idea that if you could really get the analytics engine to be embedded there, you could be much, much faster — you could do a lot more work and so they’ve been working on this for a while to really nail this engine. Right. It was open-source, though, so why did you need to buy them? MG: Because we think that they’re an incredibly talented team, and we think that we can actually turbocharge their mission to bring that to every single AWS customer. We didn’t have to, by the way, we saw that our teams were choosing DuckDB, and so we know that there’s some ability for us to take what that team is building — and we’ll continue to invest in the open-source community and make it more robust than it even is today — but really embed that in AWS services. Athena now runs DuckDB natively and throughout the rest of 2027, you’ll see things like Redshift being able to run DuckDB natively, or EMR clusters being able to run DuckDB natively. We think it is the analytics engine of the next generation, where agents are going to want this and we think people are going to pretty quickly, over the next year or two, shift away from Spark-dominated workloads and move to this more next-generation analytics. And we thought we could help them more quickly reach their vision of transforming how analytics are done in an agentic world and they can help our customers go faster. So we really love that partnership, and I think it’s off to a roaring start. What is DuckDB Scales in that? Is this the idea that you can just — you get used to using DuckDB with a single processor, with a single workload, and then you don’t need to, “Okay, now we have to transition to the big iron”, it just— MG: That’s right, you got it. Hannes has this saying he likes to say, that you get a second computer when you’ve learned to use the first one and now they feel like there are a set of workloads where it does actually go larger. Right, it’s like full circle. MG: Something like 90% — you can argue about what the number is — but something like 90% of queries can actually fit on a single machine but the other 10% of queries are actually quite valuable, and sometimes they’re the most valuable for an enterprise, where you want to look across something that’s hundreds of terabytes of storage or even more and for that, you’ve got to actually distribute that query across a few different servers. So that’s what DuckDB Scales is, which allows you to do a more distributed query. The other announcement I want to get to is AWS Greenlight . I had a chance to talk to one of the developers of Greenlight, so I’m just going to jump ahead, because we’re a little short on time. But the way I’m thinking about it — and please correct me if I’m wrong — Meta launched Muse recently , and they talked about Sentinel, which is a separate agent outside of Muse that supervises it, makes sure stuff is okay. I and many developers I think, do something similar — it’s like, “ChatGPT or Codex, you did something, have Claude check it. Claude, have Codex check it,” etc. But you have a probabilistic agent checking a probabilistic agent, and if you do that enough times, the likelihood of missing something approaches one. MG: The math catches up on you! It turns out these agentic loops, when they run over and over and over again, the math eventually trends to a place that you don’t necessarily love. If you have a 0.1% error or drift rate, and you run that loop 1,000 or 2,000 or 10,000 times, all of a sudden you’re like— Have you learned that with developing your own chips — it’s like, “Oh, 0.0001 issues are actually a big deal”? MG: That’s right, exactly right. So, as I understand it — make sure I have this right — you guys have developed the capability to basically algorithmically calculate every possible logical outcome given a set of inputs, which is obviously some incredibly complex math, but doable, and you can check all of them and so that’s what you’re going to do. Is that sort of a summary there? MG: It’s not check all of them, but it’s prove that all of your rules will hold in all possible situations. So the easy way of thinking about this is, we know that X+Y=Y+X, any high school math student can, or hopefully a good high school math student can, work that out. Half of my crowd is like, “Yes, that’s great, I get it”, and the other half is like, “Did I just hear a proof? I thought I left those behind in high school”. MG: A little bit, we know that’s true. But you don’t prove that by going, “Okay, let’s try 1+2, okay, let’s try 1+3, 3+1”, because that is a non-solvable problem — you can’t check all possible outcomes, it’s just no compute, there are infinite numbers, you can’t do it that way, so you can’t check every possible outcome, but you can prove that it’s true. And so it’s this idea that at really large scale, if you can take mathematical proofs with 100% proof of a particular rule given a set of outcomes, and apply that at cloud scale to an LLM — that’s a non-deterministic process — you can say, “I can prove that it’s going to follow this particular set of rules under certain scenarios, this particular set of rules” — or not, by the way. “Not” is also interesting, because it’s like, “Great, then I need to work some more before I can get there”. Or you might say, “I have an acceptable uncertainty for this particular job, and it’s fine”. MG: It turns out actually there is no uncertainty aspect. Automated reasoning either returns a “yes”, a “no”, or “I don’t know”, and “I don’t know” is a very valuable thing, because that’s the thing you can kick off to a human or something else. But if it says “yes” or “no”, there’s a proof. This is interesting — we’ve been spending the last 10-plus years building this space of automated reasoning inside of AWS. The easiest example is, we launched a feature called Block Public Access for your S3 bucket, you would think that that is a relatively easy thing — just don’t allow your S3 bucket to have access to the Internet. It turns out customers tried to do this themselves and it was nearly impossible, there are a million surfaces by which data can somehow get to your S3 bucket in a bunch of different ways. This is like trying to protect user space in Linux. MG: It’s just super hard. But automated reasoning can reason across every possible outcome, and we can actually then say, “Yes, with 100% guarantee, there is no public access to this S3 bucket”, and we’ve done things like that, and other things like that, in AWS. So we know that this can operate at scale, we know that it can be a proof and so this idea that if you can apply this to a set of rules — maybe they’re compliance rules, maybe they’re rules that say my agent is never going to try to increase its privilege, maybe whatever these sets of rules are — if you can apply that to an LLM, then you don’t remove its creativity, you don’t remove its ability to be non-deterministic and go solve problems, but you also can then provably have a set of rules that it will follow. I actually think this is the most transformational thing we announced at re:Invent, I think it’s going to change how people can use it. I agree. Why doesn’t everyone do this? This seems like obviously the right thing to do. MG: Well, it hasn’t existed until now, we just launched it! So I do think people will do this. Did it take 10 years? Is everyone else ten years behind, or what? MG: It’s a discipline where most of the top researchers in the world in this space work at Amazon. Ten years ago, we actually hired some of the early researchers in this space to actually think about security inside of it. And it’s funny you call it automated reasoning, because now reasoning is thought about as being a probabilistic endeavor. In this case, we’re talking about a deterministic endeavor — pure logic, hardcore logic. MG: It’s applying, effectively, math and proof at cloud scale to actually prove some things are true. And so this is our — it’s not yet a silver bullet, there’s a scoped set of things that it can say, “Yes, I can write a rule around that”, but we’re going to keep expanding that aggressively over time. And our partners are incredibly excited about this, customers are really excited about this, folks that operate in regulated industries are thinking about, “Whoa, now I can actually have my agent autonomously go and approve loan workflows, because I know that it’s actually going to follow this certain set of rules without drifting off and eventually saying yes to something I wish it said no to”. Is it a big thing here that the frontier labs — they’re so convinced that AI will solve everything that they just aren’t even considering that maybe the solution to a lot of problems, particularly when it comes to safety, is just engineering? In this case, hardcore logic, deterministic algorithms? MG: I don’t know if it’s that they don’t agree with it. I just think, look, by the way, building frontier AI is hard, that is a hard enough problem, they don’t have to solve all the problems all at once, right? Is it so hard that you guys are not going to do that anymore, or not even attempt? [Editor’s Note: as I explained yesterday , I wasn’t disclosed on Ergo.] MG: No, we are absolutely going to. We actually are super excited about our AI efforts also, but it’s a different set of people. We have a team that is building fantastic models for customers , but it’s a different set of people. And actually, that’s part of how we got this Greenlight service — we brought some of our AI experts together with our automated reasoning experts and had them debate. This was an idea that the team had maybe 18 months ago, and it wasn’t until about six, seven, eight months ago that we really started building the service, because the science hadn’t gotten to a place where they felt like, “Yep, this was actually a thing that we could go and do”. You have to invent, you have to go build science and this is a technical capability that Amazon has really leaned forward and invented, and I think it’s going to be transformational to how people use technology today. I think it’s amazing too. I’m a little skeptical about you building a truly frontier-lab model. In fact, if anything, I feel like there’s been a benefit to Amazon — it seemed like you were behind, but actually sometimes just being the neutral player who works with everyone and is not biased toward anyone is a better place to be. MG: I actually think that independently we will always be neutral. If you look at our roots, we started AWS thinking that the key way we are going to be successful is to embrace our partners to grow along with us. We never thought that we were going to own everything, we never thought that everybody was only going to use AWS services, we build a lot of great services and our partners build on top of us. There are some baseline core things like EC2 and S3 that are primarily just AWS, but all you have to do is get past that core layer and you see folks like MongoDB building a fantastic business on top of us, you see folks like Snowflake and Databricks building a fantastic business on top of us. And our early customers like Netflix — we had to have this question, “Are you going to compete with us, or are you going to be partners with us?”, and we convinced them we’re going to be both. We are going to have Amazon Prime, we’re going to have fantastic movies out there, and we are going to make sure that you have the absolute best technology to build on, so that you can grow your business unconstrained and not be at a competitive disadvantage. We’ve spent 20 years proving that to our partners, that that’s how we operate, and I think the same will happen in the AI space. Well, I have like 15 more questions, some of which I think I have another interview subject I’m able to use them on. I just have to ask one question about one announcement you had at re:Invent, why are you still trying to build office apps ? Is this because you’re in Seattle? MG: No. You know what, this is an interesting one. For a long time we tried to go build office apps, and we weren’t successful at it, because we actually tried to build the same thing that already existed. And it wasn’t successful — I think we weren’t great at that. It turns out at AWS and Amazon, we’re much better at inventing new things than trying to copy things that other people do, and we build them for ourselves. And new things for yourself — if they work for you, they might work for other people. MG: Quick is an entirely new product, AI-native from the ground up, with the idea that we just want to get AI in the hands of everyday employees — not just developers, but the legal teams and the HR teams and the finance teams and the marketing teams and the product teams and so we built it with that in mind. We sat down with them and understood, “Hey, how come you don’t get value out of Copilot?”, and almost everyone you talk to says they don’t really get value out of Copilot, and it’s because it only looks at the data that they give it access to. They don’t really want to integrate into Salesforce, they don’t really want to integrate into Slack because you should be using Teams. They don’t really think about how you have permissions across everything, from data warehouse to unstructured data to all of your different data sources but if you’re an actual employee sitting at your desk, you need all of that data pulled together so that you can actually build workflows and get work done. That’s what we built with Quick and it has grown like wildfire — every time we get it into a customer’s hands, it just explodes throughout the enterprise, because it actually makes their job easier, it actually makes them go faster, and they can actually get work done inside of that environment. So they tell us, “Hey, I hate that I have to jump out of Quick to go work in a word processor, or work in a spreadsheet, or work in a presentation”, so we will build those capabilities, but it’s not the point of them, it’s just because it’s the construct that eventually they want and so they’ll have those built in and I actually think it allows you to just stay in that AI-native environment and continue to work. It’s not the purpose of trying to go build productivity apps. You just sometimes need a spreadsheet. MG: Yeah, sometimes you just need a spreadsheet, and sometimes you want your workflow to actually — it’s actually a quite useful way to think about and calculate data, and you need it inside of the workflow that you’re building so we’ll make that available to customers, and we have teams building that. But it’s not the point. The point is, how do you think completely new about how AI changes how people work? And that’s really what we’re excited about with Quick, and it’s why customers love it so much. Matt Garman, I wish we had more time, this was a great conversation. MG: Thanks, Ben. Thanks for having me, appreciate it. Good luck with your keynote. MG: All right, thank you. This Daily Update Interview is also available as a podcast. To receive it in your podcast player, visit Stratechery . The Daily Update is intended for a single recipient, but occasional forwarding is totally fine! If you would like to order multiple subscriptions for your team with a group discount (minimum 5), please contact me directly. Thanks for being a supporter, and have a great day!

0 views
Ankur Sethi Yesterday

I can’t type Hindustani into my terminal emulator, and that makes me very sad

ecs in all the ways in which terminals’ text rendering is bad ( archive link ): terminals really want text to be a 2d grid of characters which can be rendered by just mapping each character onto a box on the screen. now, if your language uses a latin script, this can probably be made to work good enough. unfortunately, it turns out that language is complex, orthography is complex, and if you try to generalize this approach to text rendering to handle unicode properly, you’re gonna end up with Problems As a software developer, I’m forced to use the terminal for a large portion of my daily work. As a result, I’ve become frighteningly good at typing arcane commands into a black box on my screen. But despite my comfort with the terminal, I’ve always found command line apps to be inferior to their GUI counterparts on every axis besides composability. In fact, I take every opportunity to replace my workhorse command line apps with GUI apps, even if I have to pay good money for the privilege. There is much to complain about when it comes to the modern command line, but this post is about my biggest beef with the ecosystem: in the year 2026, when you can rent superhuman intelligence for $20/month, terminal emulators still don’t support complex scripts. Complex text layout ( CTL ) or complex text rendering is the typesetting of writing systems in which the shape or positioning of a grapheme depends on its relation to other graphemes. The term is used in the field of software internationalization, where each grapheme is a character. Scripts which require CTL for proper display may be known as complex scripts . Examples include the Arabic script and scripts of the Brahmic family, such as Devanagari, Khmer script or the Thai script. That means you can’t type Hindustani, Nepali, Persian, or Thai into your terminal. Urdu? Also no. Bengali? Kannada? Tamil? Nope, nope, and nope. In fact, you can’t type any Indic or RTL script into your terminal without potentially breaking your whole session. Forget typing, sometimes you can’t even view complex scripts in the terminal without breaking your whole session. This might not seem like a big deal if you only interact with computers in English, but some of us feel Very Big Feelings when the limitations of technology force us to abandon our languages and, as a result, our identities and cultures. In most cases, trying to display complex scripts in your terminal emulator will result in incorrectly rendered, unreadable text. Trying to type them will usually result in the emulator getting confused, losing track of the cursor position, printing broken Unicode characters that you can’t erase, getting into an unusable state, or simply crashing. Sometimes you can get out of trouble by resetting your session with a , other times you have to give up and start afresh with a new session. Here’s one of my favorite Hindustani verses, rendered in Devanagari: क्या बूद-ओ-बाश पूछो हो पूरब के साकिनो हम को ग़रीब जान के हँस हँस पुकार के दिल्ली जो एक शहर था ’आलम में इंतिख़ाब रहते थे मुंतख़ब ही जहाँ रोज़गार के उस को फ़लक ने लूट के वीरान कर दिया हम रहने वाले हैं उसी उजड़े दयार के Any modern browser or GUI toolkit will render this correctly. If yours does not, here’s a screenshot of what it should look like: Here’s how the macOS Terminal.app renders this: Here's iTerm, my terminal emulator of choice on my work computer: Here’s Ptyxis, the default terminal on GNOME: Here’s KDE’s Konsole: Here’s the built-in VSCode terminal: (Notice how the text editor component renders the verse correctly, but the terminal garbles it beyond comprehension.) And finally, here’s Ghostty: In my testing, the only terminal emulator that makes a fair attempt at rendering Devanagari is ConEmu on Windows. I’m grateful to the author for at least attempting to support complex scripts, even if it doesn't always work perfectly. (I had to create a whole new Windows 11 VM for this one screenshot. Please appreciate my dedication to this blog post. Also, apologies for the weird fuzzy screenshot. Windows VMs on ARM Macs are fiddly.) Of course, I understand the complex technical and social reasons why terminal emulators can’t (and probably won’t) support complex scripts like Devanagari anytime soon. Here’s Mitchell Hashimoto writing about his attempts to support grapheme clustering in Ghostty ( archive link ): Most terminals today do not support grapheme clustering. A major reason is because advanced terminal applications such as shells and text editors often need to constantly know exactly where the cursor is and remain in sync with the terminal grid state. Because historically terminals used , shells, editors, and other TUI apps also use , and continue to do so today. Even though it produces the wrong values for multi-codepoint graphemes, at least the wrong values are often consistently wrong across terminal emulators. When I first implemented text processing for my terminal , I implemented full grapheme cluster support because I assumed that would be a good thing. However, I was immediately disappointed to find that when I did proper grapheme clustering, fish shell would redraw my prompt in the wrong place when I moved my cursor. 😞 My shell assumed my terminal used , and my terminal assumed programs didn't care. We both were wrong, so I disabled grapheme clustering... There’s a solution to this problem: mode 2027 . Hashimoto again: Mode 2027 is  a proposal for grapheme support in terminals . This proposal is from the author of the  Contour terminal . The idea is that a program running in a terminal can notify the terminal that it wishes to operate with full support for grapheme clustering, and this feature can be turned on and off. The running program can also query the terminal to see if it supports this feature. However, only three terminals appear to support this protocol: Ghostty, Contour, and Foot. Further, from what I understand, it’s not enough for terminals to support mode 2027, individual programs running inside those terminals must opt into the feature too. Additionally, enabling mode 2027 in Ghostty by setting to does nothing to change how it handles Devanagari. Perhaps grapheme clustering is not the only feature terminal emulators must add in order to support complex scripts? I’m sympathetic to the hurdles developers face when trying to support more languages and scripts in their terminal emulators, but that doesn’t make me any less upset about the state of things. And it most certainly doesn’t make it easier for me to for a Hindustani word in my notes directory. In contrast to command line apps, GUI apps on all modern operating systems allow me to use the three scripts I read and write—Latin, Devanagari, and Gurmukhi—across the OS. I can use them in filenames, app names, input fields, even passwords and settings. Cross-platform GUI apps such as Obsidian allow me to take notes using whatever combinations of scripts my heart desires. Telegram, Signal, and WhatsApp let me text people using whichever language I care to throw at them. My browser allows me to read and write any language on the planet, including a few dead ones. Sure, command line apps are useful. Often they can be more powerful than GUI apps, especially when you use them in scripts or compose multiple CLI utilities together in a shell. They’re certainly easier and faster to build, for both humans and LLMs. In some cases, for some specific tasks, they’re the only game in town. But for me, whatever upsides they might have don’t quite make up for their inability to speak the languages that are dear to my heart. For this reason, among many others, my terminal emulator will continue to remain a tool for doing basic work-related tasks that cannot be accomplished via the GUI. I want to emphasize that my rejection of the command line is not a rejection of software that uses text as its primary interface. It’s not a rejection of keyboard-driven applications or UNIX-style composability, either. My rejection of command line software stems from the fact that the modern command line is still stuck emulating hardware from the 70s, even though we already have modern approaches to building powerful, composable text-driven user interfaces that support every language under the sun. Emacs is perhaps the best example of a text-based user interface done right (though it’s not exactly “modern”). It’s extensible, composable, self-documenting, and far more discoverable than your standard ZSH prompt inside Terminal.app. You can use Emacs to do everything you do in your terminal, but better. In fact, one way to think of Emacs is that it’s a 2D CLI . And, in case you were wondering, Emacs renders my favorite verse perfectly: Yes, even inside the built-in terminal emulator: Now that’s how it’s done.

0 views
Andrew Healey 2 days ago

Fingerprinting Chess Players by Their Move Timings

Training a small model to recognize chess players by how long they think.

0 views

Stable element ids in blog article lists

I fixed something mildly annoying with the generation of this site again. Since I promised to reveal what I changed any time I did, here it is. The focus of this change was a hacky function that takes a dictionary linking tags to articles and converts it to an Org mode syntax tree, with top-level headlines for the tags and headlines for each article under that. The easiest way to intuit the result is probably to go to the tag listing on this site. Here’s the function, in all its terrible unglory. (Continue reading the full article on the web.)

0 views
Chris Coyier 2 days ago

Quick Holiday Project: Mashed Potatoes

I was in charge of the mashed potatoes for Thanksgiving. I watched the swearing guy’s advice . I read the New York Times Cooking stuff. I called my mom. I wrote up my own notes. And then I passed what I had to CodePen AI to make a little recipe website, which it was happy to do: It’s not a particularly difficult job. It’s just comforting to me to have a reference easily at hand. I had another reason, too. I picked up an Apple HomeView. The jury is still out on if it was actually a smart buy and will be useful for the house. But this was actually one of the reasons I had in mind when I got it. Sometimes I do the iPad-on-a-stand thing in the kitchen, and this seemed like a non-janky version of that. The device is so bizarre. It’ll tell you to your face it does NOT have Safari as an app on it so it can’t go to websites. But all you do is have the site open in Safari on your phone and hold it close, and it jumps right over to the HomeView. Like… a very intentional feature of it. So weird. Anyway. I made the mashed potatoes, and they turned out pretty good. Just part of my overall point about how the math has changed when it comes to what’s worth taking the time to build a website for. Now it’s basically “all the time” and “for whatever.”

0 views
spf13 2 days ago

The Craftsman's Paradox in the Age of Tokens

I had a conversation with a friend where we discussed how developer communities feel different right now. For decades developer communities emerged around a simple idea that software engineering was a craft and as a community we could learn from and support each other. With the advancement of agentic coding more and more people are treating code as a byproduct, a stream of tokens, and once you think of it that way, the sense of craft around it starts to fade. Much of the product world already talks about software that way. When a model can spit out working code on demand, caring about craftsmanship can look quite antiquated. A remnant of an older time. Here’s the paradox. As the cost of producing code gets very cheap, the people who really understand code at a broad and deep level, the people who know how to design good software, matter more than ever. And right now we’re ensuring that the next generation of them never emerges. Over the past year, I’ve run dozens of experiments pushing frontier coding agents as far as they’ll go, and the result is the same across every model. They write a single line well and handle an isolated function decently, sometimes better than the average programmer. Ask them to design a whole system on their own, though, and they’re terrible at it. Spaghetti code and terrible architecture everywhere. A few months ago, I let an agent build a medium-sized program end to end while I worked on other things. I gave it high-level direction and deliberately didn’t read the code as it went. When I finally opened the repository, I couldn’t use it. The model had solved the same problem three different ways in different parts of the codebase, and the foundation was too tangled to salvage. I track my hours. Writing the program myself would have taken two days; instead it took seven. I spent two days having the model generate it, then three days arguing with it about the architecture. After that, I still needed two more days pointing it at individual functions one by one to clean up the mess. The model wrote fine syntax the whole time, which was never the hard part of the job. I’ve tried the same experiment over and over and while models like Opus 5.5 and Neon and Sol are very capable, the same patterns have emerged as they did in that initial experiment. Without very clear guidance and correction the models produce slop. Take the Go standard library. It endured because of choices like and , two single-method interfaces that did what other languages built deep inheritance hierarchies to express. Every time the Go team turned down a feature request, they protected the readability of million-line codebases years down the road. I saw the same thing when I built Cobra . Any LLM can write a flag parser. What made Cobra the foundation for Kubernetes and the GitHub CLI , as well as Hugo , was the design of the interface. Commands form a tree that matches how a user thinks about the tool, and business logic stays separate from the command wiring. Local flags stay scoped to the command that owns them, while persistent flags are reserved for global options. These are the decisions only a craftsman can make. The ones that take years or even decades of honing your craft. The decisions that come from deep experience and then a lifetime of learning how decisions result in outcomes, both desirable and undesirable. Can you imagine an AI preserving the simplicity of Go’s io.Reader or io.Writer single method interfaces that enable everything from network to file reading to webservers all use the same API? I can’t. When my friend and I were talking about how models struggle with cause and consequence, he asked: what happens to junior developers who never develop calloused hands? Companies aren’t hiring them really at all now, and from an individual perspective it’s impossible to blame them. You’re a manager looking at a budget, the math is easy to see. The work we used to hand a junior developer, like writing a small function or taking a first pass at a bug fix, is the exact work coding models do well. In my experience, they finish it faster than most people I’ve hired at that level. The trouble is that junior roles were never about that function being written. They were always an apprenticeship. Every senior engineer I know built their judgment by getting burned first. You ship the wrong abstraction and spend two years stuck with a brittle interface. You get paged because a race condition finally hit production. Living through those mistakes is how a junior grows into someone who can look at a design and tell it’s going to flop before the first line is written. If companies stop handing juniors that work, the pipeline dries up. Ten years from now, we’ll still need engineers who can design whole systems, and we won’t have trained them. The models still can’t do that part for us and without major new architectural advancements and approaches they are very unlikely to be able to. Software is just the craft I know best, and the same problem shows up anywhere people learn by doing. If AI does all the sketching, we stop getting painters, because an artist learns to see by filling sketchbooks with bad drawings. Musicians still have to grind through scales, and writers learn by fighting through early drafts they’ll throw away. Good designers start out making awful mock-ups too. None of that work looks impressive while you’re doing it, which is why it’s so tempting to hand off. Handing that early work to AI looks free on paper because the immediate output is as good as a beginner’s, and often better. There’s no line item on a quarterly budget for the senior engineers you never trained. If we want craftsmen in the next generation, teams will have to make an uncomfortable choice: keep hiring juniors and let them do the work badly first, even when a machine could finish it faster. That’s the craftsman’s paradox. The cheaper the code gets, the more we need people who know how to shape it, and the less we’re doing to make them.

0 views

What to Make of the NSA Advisory

The NSA has just published an advisory recommending an “immediate transition to post-quantum cryptography.” Frustratingly, the implications are somewhat hard to interpret, especially without background on what the NSA’s standing recommendations are. In this (hastily drafted, sorry) post I will try to help decipher them, because the message is pretty clear reading between the lines, and it is important and urgent. The audience is mostly other cryptography engineers or security practitioners. For everyone else: as usual, make sure you can update things. The summary is: Below, I will quote from the NSA press release , the ONCD, NSA, and CISA joint statement , and the NSA advisory . NSA advises National Security Systems (NSS) owners, operators, and vendors to immediately accelerate the transition to post-quantum cryptography (PQC). Organizations must prioritize the transition to PQC before outdated systems can be exploited. This is the top-level bit: move to PQC, now, much faster than you planned. When the NSA says PQC, they mean ML-DSA and ML-KEM. Their CNSA 2.0 guidelines allow only ML-KEM and ML-DSA as general-purpose algorithms. CNSA 2.0 specifically requires the largest parameters, ML-DSA-87 and ML-KEM-1024, but that’s because it uniformly targets the 256-bit security level. I notice that their top-level message is “PQC,” not “CNSA 2.0.” In fact, they relegate When noting PQC throughout, CNSA 2.0 is the guidance specific for NSS. to a footnote. I take this to suggest there is no new concern about either ML-DSA or ML-KEM. (It is unfortunate that just yesterday we got a result about lattices, but that result is completely theoretical and should not have gotten as much attention as it did. If anything, it should give us confidence that the labs are looking at ML-DSA and ML-KEM, and this is the best they found.) Adversaries are already collecting encrypted information to decrypt once the capabilities become available. This is a good warning about harvest-now-decrypt-later. Your priority should be getting to PQ confidentiality, but PQ auth also went from a later thing to a now thing. Again, you should already be on post-quantum key exchange (ML-KEM) everywhere, but if you aren’t, start there. Non-PQ connections (by and large secured by P-256 and X25519) might be retroactively compromised much sooner than anticipated. Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use. This threat, alongside the existing concerns about quantum computing, presents a significant threat to cryptographic systems protecting sensitive information. The news is specifically something disclosed by AI companies. This, to me, says this is a classical attack, because no quantum algorithm would “present a significant threat to cryptographic systems” without also a big progress in CRQC development, which is not mentioned anywhere. Record which algorithms each system uses for key establishment, signatures, and certificates, particularly checking for algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography). This is the most telling bit. It’s a list of bad things you need to inventory across key exchange and authentication. They are explicitly calling out the P-256 elliptic curve (by exclusion), and Ed25519 (which is the only EdDSA in the NIST specifications). This implicates X25519/Curve25519/Ed25519 along with P-256. They are not calling out RSA. “DSA” and “deprecated Diffie-Hellman groups” mean finite field DSA and DH, which you already should not be doing and that are essentially gone from the TLS, WebPKI, and SSH ecosystems. “Pairing-based cryptography” is preponderantly done over curves with ~256-bit prime subgroup order, so it’s another hint we lost 256-bit ECC specifically. (Don’t be confused by BLS12-381’s name, its group order is 255 bits.) If needing a hybrid key exchange, configure according to IETF RFC 10024 specifications. The NSA wants you to move to PQC in such a rush that it’s saying explicitly, against all its previous recommendations, that you can use the X25519MLKEM768 hybrid key exchange since it’s the most widely available solution. (I think this is commendable policy, it lends credence to their previous anti-hybrid position being a simplicity expedient, and should probably lead to some retrospective about a lot of FUD from certain parties, but we don’t have time for that today.) Verify the use of RSA 3K³ or P-384 as the base size for roots when updating infrastructure. ³ 2K may be required for legacy support in certain instances. The NSA knows updating PKIs to ML-DSA will not always be possible in a couple of weeks. (We’re working on it, but it’s nowhere near as available as X25519MLKEM768.) So it’s telling us what the stopgaps are: P-384 and RSA. You should not delay the rollout of PQC, and if you can go to ML-DSA you should go to ML-DSA, but if that’s not an option, go to RSA 3072 or P-384, or if that’s not an option go to RSA 2048. Again, this is a “get off 256-bit elliptic curves” advisory. Our current assessment, in consultation with these technology companies, is that recent SI advances do not present an immediate and widespread threat to that cryptography. This is from a different press release, one that I think is not meant for “us” but for the general public. They are saying there is no need to panic buy ammo (correct), and one could interpret immediate and widespread as “the attack is barely practical, so it will take some time and few organizations have the money to run it.” That is, the threat might be immediate but not widespread (because it requires a lot of resources at the moment) but might become widespread in the future (if the attack improves). Everywhere I have the authority/responsibility, I am discussing how to I regret not having enough time to do a full “what should you do” post, maybe in the coming days. In short: get your TLS connections to X25519MLKEM768, get your private PKI to ML-DSA (or RSA 3072/P-384 if you really can’t do it), get ready to rotate your WebPKI certificates and update your TLS/ACME stack, update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys. In bocca al lupo. For updates, you can follow me on Bluesky at @filippo.abyssdomain.expert or on Mastodon at @[email protected] . 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought; RSA and P-384 might be fine as an interim solution, but attacks only get better and quantum computers are still coming, so they can only be a stopgap; ML-DSA and ML-KEM are doing fine and it’s what we need to move to ASAP, much quicker than we had planned. drop 256-bit ECC key exchange ASAP (concretely, by moving to ML-KEM hybrids); prepare to require ML-DSA or RSA 3072/P-384 for auth (which is hard, because auth is secure only once you don’t have any vulnerable anchors); accelerate a full transition to ML-DSA and ML-KEM everywhere, prioritizing it over everything else in cryptography land (although RCEs might still matter more than cryptography); plan contingencies in case attacks against ECC and/or RSA get better or materialize over the next weeks and months.

0 views
Jim Nielsen 2 days ago

A(I)rt-Directed Blog Posts

Remember art-directed blog posts ? The idea is to create a bespoke design for each post unique to its contents. Here’s an example from Jason Santa Maria’s site . I remember briefly trying this. (Sorry, I don’t have any links to share that are still alive; bad for you, probably saving face for me.) In trying, I learned a personal lesson I articulated years later in my post “Things Learned Blogging” : this is precisely why I avoid “art directed” blog posts […] For me, anything that gets in the way of publishing, even the slightest bit, is a danger to blogging. My blog was always meant to be, first and foremost, an outlet for refining my thinking by writing. I found that once I started to gate publishing a post with editorial and design work to make each post “art-directed”, I began to flounder in my goal to write and publish. But the thought came to me the other day: With LLMs, might it be worth trying art-directed posts again? I could let the LLM do most of the “work”, and I just nudge it in the right direction? (“Work” in quotes there because I’ll address the soundness of that logic later.) I figured I’d have a little fun and experiment with the idea by throwing a few posts at the machine and seeing what it came up with. I started by grabbing three recent posts. I gave those to the LLM with instructions on how I wanted an “art-directed” post for each one that looks at the content and creates visuals tied to the thrust of each post’s message. I also said I wanted three different generated versions for each post, as a way to provide contrast around each option and get a better sense for how well the LLM would do at reading a post, sensing its message, and generating visuals around it. Lastly, I said give it to me as a standalone HTML page. You won’t believe what happened next… Actually, you can probably guess. But I brought receipts. This is a reaction post I wrote to Pete Millspaugh’s piece about trying to make the same website across various generative AI tools. Here’s what the LLM came up with. Variant 1 : Variant 2 : Variant 3 : This is a post I wrote about me removing a feature from my icon gallery websites. Variant 1 : Variant 2 : Variant 3 : This is a post I wrote commenting on the phenomenon of demos being amazing to look at but terrible to use. Variant 1 : Variant 2 : Variant 3 : My thoughts were somewhere along these lines: I don’t know if there was some part of me that thought the LLM could one-shot something I’d be so surprised by, that I’d immediately say “I have to do this for every post, this is amazing!” That didn’t happen. I knew it was gonna take more time and attention on my part to get the LLM to spit out something that more faithfully matched whatever it was I had in my mind’s eye. When I reflected on “art-directed blog posts”, my mind flashed back to Trent Walton because I always thought he did ’em well. So I pulled up his archives and clicked through a few posts, including: Trent’s takes are less marketing-site, more blog post. Less chaotic, more focused. He worked with a few solid ingredients to bake the page, like selecting a solid color palette, a primary hero (maybe a little animation mixed in), and some custom typography. You could see him exercising restraint with each page. I like that. The LLM’s approach felt like “Well, I’ve been told to style stuff, so I’m gonna style the hell out of everything I can!” This is such a junior way of thinking (former junior here, 👋). I distilled these thoughts to the LLM and asked for another turn. It did a little better this time around following the rules, but the rules didn’t necessarily result in something that made me go, “Yes, that’s it!” For example, in one of the variants it created a header with a custom graphic meant to depict one of the overarching topics of the post (you ask for “a website”, you get back all kinds of stuff): The tricky part is trying to figure out within myself, “Is this anything?” Like, did the LLM capture and visually translate the core idea of the post in a way that is substantively additive to the post? Is the post better off with or without this kind of treatment? I’m not convinced. On this go-around, the LLM came up with two different heroes to treat the subject of the post. First, it did a variant where it elevated and featured the idea of removing an icon’s size: Then it did a variant where it elevated and featured the idea of the new control for viewing icon sizes: Where the control itself was interactive: Experiment two was interesting, in that I started to get more of what I had pictured in my mind’s eye. However, I still didn’t love the results. (That ever happen to you? An idea seems great in your mind, then you do it and it sucks? That was this.) It’s not that the execution was bad. It was better in the second go-around than the first, but execution was only one part of the problem I was facing. The other problem I was facing was remembering each post, understanding it, distilling its primary idea, and translating that to some kind of visual depiction. I think I was hoping the LLM would be much better (and faster) at that than I. But it wasn’t, at least not in a way that inspired the confidence I needed to keep iterating and refining. Nah. This was an abandoned experiment. Even with some hand-holding, I still felt like what I was getting was just more slop. And that left me feeling like, no matter how much time I spent pushing on this, I’d always be left feeling like the output was slop — probably because what I was trying to do was not just automate coding and design choices, but also automate editorial decision making. Over a decade ago, I moved away from trying to do art-directed blog posts because I didn’t want that kind of design and editorial decision-making to get in the way of publishing my writing. And now I can say, in 2026, that I am going to re-commit to my choice to not do art-directed blog posts because I don’t want additional design and editorial choices to get in the way of publishing my writing. So in essence nothing’s changed, even with LLMs. I still think to get the kind of result I would feel good about, the only way through is manual. If I have a set of priorities for my blog, it would be I don’t want 2 to become more important than (or slow down) 1. I don’t think an LLM helps me with this goal. But it was kinda fun to try. (PS: Standalone HTML pages are still awesome.) Reply via: Email · Mastodon · Bluesky “Damn, I know I shouldn’t be, but I’m still surprised by how fast LLMs can churn this shit out.” “Oh hey, they’re all responsive by default. Nice of the ole’ LLM to take the initiative on that.” “These look more like marketing websites than individually curated blog posts.” “This is slop.” The Notification Machine Team Paravel Divided Attention Zombie Designers Write and publish posts Make posts look good

0 views