My first patch to the Linux kernel
How an undefined behavior in C made me pull my hair out for days but became my first patch to the Linux kernel!
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,218 posts.
How an undefined behavior in C made me pull my hair out for days but became my first patch to the Linux kernel!
Updated (2023-05-08): the Go compiler keeps evolving and it takes time to keep up with changes. While the general gist of this post remains true and it's worth reading to understand how the compiler works on a high level, the details of the modifications are slightly different now.
A few years ago I came across this video, showing a complex machine built entirely in Conway’s Game of Life:
This week, the European Parliament's negotiators reached a broad majority agreement on a common position concerning the controversial EU chat control bill. The Commission’s bill proposes bulk scanning and reporting of private messages for allegedly suspicious content by using error-prone algorithms,
Internet History The Internet from every angle has always been a house of cards held together with defective duct tape. It's a miracle tha...
Airplane window seats are great! Not only are they more comfy and easier to take a nap in, but they also have the most quaint form of in-flight entertainment: The outside world!
THE ROBOT AND THE BABY
Well well well, it's been quite a while! Nice to see you again. Sorry for the delay... I forgot my blog password, and I had to run some errands, the decade just got away from me. Anyway, the password was qwerty123 so let's get on with it...
Posted by Nick Johnson | Filed under homomorphic-hashing , damn-cool-algorithms , fountain-codes
Discussions: Hacker News (63 points, 8 comments), Reddit r/programming (312 points, 37 comments) Translations: Arabic, French, Spanish Update: Part 2 is now live: A Visual And Interactive Look at Basic Neural Network Math Motivation I’m not a machine learning expert. I’m a software engineer by training and I’ve had…
I’ve been working with Machine Learning models both in academic and industrial settings for a few years now. I’ve recently been watching the excellent Scalable ML from Mikio Braun, this…
What is an Economics PhD worth in 2025?
An unhinged polemic
In 2001, Edsger W. Dijkstra wrote a letter to the Budget Council of The University of Texas. A PDF is available here , I’ve typed it up so that everyone can read it. Sadly, the curriculum was changed to Java . Relatedly, the algorithmic language Scheme was replaced by Python in MIT’s The Structure and Interpretation…
A while ago I treated you to a dissertation entitled “Does The Sun Set On The British Empire?”, and concluded that it doesn't. The UK's widely scattered overseas territories, sparse though they are, mean that the sun is still always shining, somewhere in the world, over British territory.
A battery technology that’s getting a lot of attention is solid-state batteries, lithium-ion batteries that replace the liquid electrolyte with a solid material.
This series has been independently translated into Chinese , Russian , Turkish , and Korean , and formatted as an ebook .
My home server completely shit the best recently and I thought I'd lost all my data.
NOTE: This post is a slightly longer version of a piece I recently published on The Federalist. Their editor asked me to cut some passages because it was a bit long, but I figured that readers of my blog would…
Kubernetes Service Meshes aren't free anymore, what teams need to know moving forward.