Optimizing a ring buffer for throughput (2021)
In this article I will take a look at the classic concurrent ring buffer and how it can be optimized to increase throughput.
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 791 posts.
In this article I will take a look at the classic concurrent ring buffer and how it can be optimized to increase throughput.
This week we’re going to take a detour into understanding the structure of academia, in particular the different kinds of ‘professors’ and their academic ranks in the American sys…
The most important step is the first one. Humanity didn't get good at building houses by building the same house a million times. We built lots of different houses and learned from each other's failures. Gravitating away from monopolies is a way everyone can help improve software, regardless of our abilities or needs.
Neural Radiance Field training can be accelerated through the use of grid-based representations in NeRF's learned mapping from spatial coordinates to colors and volumetric density. However, these grid-based approaches lack an explicit understanding of scale and therefore often introduce aliasing, usually in the form…
We've been heads down iterating on D1, and we've just shipped a major new version that's substantially faster, more reliable, and introduces Time Travel: the ability to restore a D1 database to any point in time.
The domain name registrar Freenom , whose free domain names have long been a draw for spammers and phishers, has stopped allowing new domain name registrations. The move comes after the Dutch registrar was sued by Meta , which alleges the company ignores abuse complaints about phishing websites while monetizing…
Lately, there's been an resurgence of new programs written for retro computers—everything from a Slack client to many Wordle clones, to a Mastodon client. But most of these programs, if they connect to the Internet, require a proxy running on a modern computer to handle the SSL/TLS connection, which almost all APIs…
An expert is a man who has made all the mistakes, which can be made, in a very narrow field. (Niels Bohr) If you unexpectedly find a problem solving itself almost effortlessly, and you can’t quite …
For 40 years, Costco has succeeded with a simple formula: reinvest merchandising profits into lower prices and better products; be a disciplined operator; and treat customers and employees well. But with greater share of shopping moving online, it’s fair to wonder if the company's best da
This document explains the WebAssembly tail calls proposal and demonstrates it with some examples.
John MacFarlane
I've written tens of thousands of lines of code with Remix and I want to tell you why I love using this framework.
John D. Norton Department of History and Philosophy of Science, University of Pittsburgh Pittsburgh PA 15260. Homepage: www.pitt.edu/~jdnorton This page is available at www.pitt.edu/~jdnorton/goodies
Combobulate is a package that adds advanced structured editing and movement to many programming modes in Emacs. Here's how it works, and how it can enrich your editing experience in Emacs.
A rewrite of this blog post with many new insights and updates appeared in Jan 2026
How PC hardware is implementing USB-C in a way that may or may not violate standards.
This controversial decision coupled with poor messaging has created anxiety the Open Source community. Learn what's happening and how we can move forward.
Free LUTs for iPhone 15 Pro Log Video
A bottom-up, animated guide to HTTP load balancing algorithms.
New talk: Making Hard Things Easy
GitHub Copilot is evolving to bring chat and voice interfaces, support pull requests, answer questions, and adopt OpenAI's GPT-4.
Nitrokey security research reveals that smartphones with Qualcomm chips secretly send device data to Qualcomm without user consent. NitroPhone is not affected.
Microsoft knowingly released a broken product for short-term hype
Let’s fix these pesky Transformer outliers using Softmax One and QuietAttention.
M3, M3 Pro, and M3 Max feature groundbreaking technologies that deliver dramatically increased performance and unleash new capabilities for Mac.
This pedestrian bridge crosses I-494 just west of the Minneapolis Airport . It connects Bloomington to Richfield. I drive under it often and I wondered: why is it there? It's not in an area that is particularly walkable, and it doesn't connect any establishments that obviously need to be connected. So why was it built?