Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,216 posts.
Beating the L1 cache with value speculation (2021)
If we have a heuristic to guess some value cheaply, we can remove a data dependency in a tight loop using the branch predictor. This allows the CPU to run more instructions in parallel, increasing performance. If this explanation does not make much sense to you, keep reading to learn about some of the magic making…
If you want to create a button from scratch, you must first create the universe
A concrete example of why using native HTML as much as possible is better than slapping ARIA on top of things.
Want to spell check? Read the fine print
Update : This post has hit Hacker News - you might want to follow the comments over there.
Some things I've learnt about programming
I've been programming for over 30 years from machines that seem puny today (Z80 and 6502 based) to the latest kit using languages that rang...
Balancing engineering cultures: Debate everything vs. just tell me what to build
Lessons from leaders at New Relic, Credit Karma, Reforge, Hubspot, Trulia, Intercom, VSCO, and more
Is NixOS truly reproducible?
Build reproducibility is often considered as a de facto feature provided by functional package managers like Nix. Although the functional package manager model...
Investigating how the New York Times A/B tests their headlines
Part 1 of a series on the New York Times, in which I take a close look at how (and when) the New York Times tests multiple headlines for a single article.
Intel Starts Shipping High-NA EUV Silicon
Coming to a Panther Lake notebook near you!
Writing a GPT-4 script to check Wikipedia for the first unused acronym
Curious what the first ‘unused’ alphabetic acronym is, I have GPT-4 write a script to check English Wikipedia. After three bugs, the first unused one turns out as of 2023-09-29 to be the three-letter acronym ‘CQK’, with another 2.6k TLA unused, and 393k four-letter acronyms unused. Exploratory analysis suggests…
Making an old USB printer support Apple AirPrint using a Raspberry Pi
There are longer tutorials on how to connect a USB printer to a Raspberry Pi and make it accessible via AirPrint but here's the minimal one ...
Climbing the wrong hill (2009)
programming, philosophy, history, internet, startups
"The web is considered 'public domain'"
The tl;dr version of this post: My 2005 Ice Dragon entry, called "A Tale of Two Tarts" was apparently printed without my knowledge or permission in a magazine and I am apparently the victim of copyright infringement. The story: I was contacted early last week by a friend of mine who lives in the…
Go 1.7 toolchain improvements
This is a progress report on the Go toolchain improvements during the 1.7 development cycle. All measurements were taken using a Thinkpad x220, Core i5-2520M, running Ubuntu 14.04 linux.
Notes from the Meeting on Python GIL Removal Between Python Core and Sam Gross
During the annual Python core development sprint we held a meeting with Sam Gross, the author of nogil, a fork of Python 3.9 that removes the GIL. This is a non-linear summary of the meeting.
Coroutines and effects
For the past few months I’ve been mulling over some things that Russell Johnston made me realize about the relationship between effect systems and coroutines. You can read more of his thoughts on this subject here , but he made me realize that effect systems (like that found in Koka) and coroutines (like Rust’s async…
Best Practices Exist For A Reason
If you've ever used node.js, you've probably also used Isaac Schlueter's npm, the node package manager. By maintaining a central repository to which authors can quickly publish their JavaScript modules, npm has made it easy to get started building node apps and its popularity has exploded over the past year…
Solo founder dilemma; CEO or CTO?
Choosing to be the CEO or CTO after raising a seed round.
Things I don't know about AI
The more I learn about AI markets, the less I think I know. I list questions and some thoughts.
Writing a simple windows driver in Rust
The Rust language ecosystem is growing each day, its popularity increasing, and with good reason. It’s the only mainstream language that provides memory and concurrency safety at compile time…
How Does Bluesky Work?
One of the reasons I am enthusiastic about BlueSky is because of the way that it works. So in this post, I am going to lay out some of the design and the…
3D-Knitting: The Ultimate Guide
3D-knitting makes a whole sweater in one piece on a four-bed machine: no seams, no cutting, and 99% of the material ends up in the finished garment.
NSO Group Hacked
NSO Group, the Israeli cyberweapons arms manufacturer behind the Pegasus spyware—used by authoritarian regimes around the world to spy on dissidents, journalists, human rights workers, and others—was hacked. Or, at least, an enormous trove of documents was leaked to journalists. There’s a lot to read out there…
Clojure from the ground up
This guide aims to introduce newcomers and experienced programmers alike to the beauty of functional programming, starting with the simplest building blocks of software. You’ll need a computer, basic proficiency in the command line, a text editor, and an internet connection. By the end of this series, you’ll have a…
Why Love Generative Art?
Over the last 50 years, our world has turned digital at breakneck speed. No art form has captured this transitional time period - our time period - better than generative art. Generative art takes full advantage of everything that computing has to offer, producing elegant and compelling artworks tha
How the 8086 processor's microcode engine works
The 8086 microprocessor was a groundbreaking processor introduced by Intel in 1978. It led to the x86 architecture that still dominates de...