Signs that you are a bad programmer
Reasoning about code means being able to follow the execution path (“running the program in your head”) while knowing what the goal of the code is.
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 6,985 posts.
Reasoning about code means being able to follow the execution path (“running the program in your head”) while knowing what the goal of the code is.
“These models somehow just generalize dramatically worse than people. It's a very fundamental thing.”
What images were used to train Stable Diffusion's text-to-image AI model? I worked with Simon Willison to make a data browser to explore and search a sample of 12 million images.
GitHub Actions has a package manager that ignores decades of supply chain security best practices: no lockfile, no integrity verification, no transitive pinning
So I’m two months into trying to teach a proof of Fermat’s Last Theorem to a computer. We already have one interesting story, which I felt was worth sharing.
This post is a long form essay version of a talk about PyTorch internals, that I gave at the PyTorch NYC meetup on May 14, 2019.
Are you a Python programmer and interested in Rust? This article goes over the basics of making the jump.
Several years ago I was courted by O’Reilly Media. After the success of my first book, Show Me the Numbers , the folks at O’Reilly were interested in publishing my second. I responded cautiously at first, because my prior self-publishing experience was extremely positive. Analytics Press, the publisher of Show Me the…
Writing your own TCP/IP stack may seem like a daunting task. Indeed, TCP has accumulated many specifications over its lifetime of more than thirty years. The core specification, however, is seemingly compact[^tcp-roadmap] - the important parts being TCP header parsing, the state machine, congestion control and…
I think the word “component” in “web components” confused a lot of people — at least it did me. “Web components” sounded like the web platform’s equivalent to…
I've been very surprised and delighted over a number of years now by Microsoft's strong efforts in open source. I understand the skeptics, I was on Slashdot when they tried to sue Linux out of existence and I think only time will tell. I figure MS contributing is better than them hunting Linux distributions for sport…
I have kept myself busy with the Game Engine Black Books and I have plenty of news. Most importantly, they have been revised. The DOOM book is now in version 1.1 while the WOLF3D book is entering v2.1. And there is more.
Three weeks ago I received a very flattering email from the University of Cambridge, asking me to judge the Adam Smith Prize for Economics:
This week, by order of the ACOUP Senate, we’re talking about the Late Bronze Age Collapse (commonly abbreviated ‘LBAC’), the shocking collapse of the Late Bronze Age state system …
Writing a SQL database from scratch in Go: 1. SELECT, INSERT, CREATE and a REPL
A startup called Taalas , recently released an ASIC chip running Llama 3.1 8B (3/6 bit quant) at an inference rate of 17,000 tokens per seconds. That's like writing around 30 A4 sized pages in one second. They claim it's 10x cheaper in ownership cost than GPU based inference systems and is 10x less electricity hog…
The Spreadsheet That Launched A Million Companies
New global study from Sapien Labs finds consistent links, stronger for girls
A list of unheralded improvements to ordinary quality-of-life since the 1990s going beyond computers.
Recently Google Bard got some powerful updates, including Extensions. Extensions allow Bard to access YouTube, search for flights and hotels, and also to access …
What is the average size of JavaScript code downloaded per website? Fuck around and find out!
Last week, I released A Snake’s Tale on iOS , Android , Windows, Mac, and Linux .
Git is the source code version control system that is rapidly becoming the standard for open source projects. It has a powerful distributed model which allows advanced users to do tricky things wit…
I have been reading Doom Guy by John Romero. It is an excellent book which I highly recommend. In the ninth chapter, John describes being hit by lightning upon seeing Adaptive Tile Refresh (ATR). That made me realize I never took the time to understand how this crucial piece of tech powers the Commander Keen (CK)…
Your Makefiles are full of tabs and errors. An opinionated approach to writing (GNU) Makefiles that I learned from Ben may still be able to salvage them.
If it hurts to type you’ll have a much harder time working as a programmer. Yes, there’s voice recognition, but it’s just not the same. So when my wrist and arm pain returned soon after starting a new job I was starting to get a little scared. The last two times this happened I’d had to take months and then years off…
In the span of just weeks, the US government has experienced what may be the most consequential security breach in its history—not through a sophisticated cyberattack or an act of foreign espionage, but through official orders by a billionaire with a poorly defined government role. And the implications for national…