Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,291 posts.
On CPU backdoors - Trusting hardware
So, you're a decent paranoid person, running only open source software on your box: Linux, GNU, etc. You have the feeling you could, if you ...
Playing on Hard Mode
Airbnb and DoorDash both created new markets where ones did not previously exist; they are startups played on “hard” mode.
Cracking random number generators (xoroshiro128+)
In software, we generate random numbers by calling a function called a "random number generator". Such functions have hidden states, so that repeated calls to the function generate new numbers that appear random. If you know this state, you can predict all future outcomes of the random number generators. O'Neill, a…
On calculating Fibonacci numbers in C
A few months ago Evan Miller wrote an essay called The Mathematical Hacker . While an interesting post he does make a mistake when he gives ...
Patriarch of Pandemics
In the last article we covered some of the historical pandemics that rocked the world - smallpox, typhoid, and the bubonic plague. We ended on a hopeful note - many of the pandemics that plagued the world in the past have faded, and that modern pandemics have been far less fatal than historical o
GPL upgrades via section 14 proxy delegation
I am not a lawyer. This is provided solely for the purposes of general information and does not constitute legal advice, guidance, or counsel. No attorney-client relationship is established by the provision of this information, and no reliance should be placed on this information in lieu of seeking professional legal…
Interview with CEO of Flexport: Supply chain crunch, modern logistics
The supply chain crunch, modern logistics, and that famous trip around the Port of Long Beach
The Modern Observability Problem
The observability problem - Why is the system exhibiting this behaviour?
Union Types in Flow and Reason
Union types are powerful yet often overlooked. At work, I've been using Flow which thankfully supports union types. But as I've refactored more of our code to use union types, I've noticed that our bundle size has been steadily increasing!
How I archived 10 years of memories using Spotify
David's notes.
Building an AI agent inside a 7-year-old Rails monolith
We run a multi-tenant Rails application with sensitive data and layered authorization. In this post, I walk through how I added the first AI agent tool using RubyLLM, Pundit policies, and our existing Algolia search, without introducing a parallel system or loosening constraints.
Why have I never heard of the Ene-Farm? (2017)
While reading up on architecture in Japan recently, I came across a technology that I hadn’t heard of before: the Ene-Farm. It’s a domestic energy system that is being used in Japan and…
Using the 5S Principle in Coding
A few years ago, I read The Toyota Way, driven by my curiosity about the origins of Agile software development. However, I became even more…
You can use newline characters in URLs
We locate web content using special addresses called URLs. We are all familiar with addresses like https://google.com. Sometimes, URLs can get long and they can become difficult to read. Thus, we might be tempted to format them like so in HTML using newline and tab characters, like so: <a…
Reasons to choose PostgreSQL 9.6
PostgreSQL 9.6 was released a few days ago and it’s another huge milestone for the PostgreSQL community ! The release notes are way too long, so I’ve decided to pick up 6 big improvements that may change the way you will use PostgreSQL.
LittleJS is 2D and 3D now
LittleJS just got the biggest update since it launched! It is still the small, fast, dependency-free HTML5 game engine it always was. Now it also has a full 3D renderer sharing the canvas with your…
Flight stats, entertainment, and trying to crack Widevine
Investigating onboard flight entertainment APIs, flight telemetry, and Widevine-protected media.
Browser History (2013)
Wow! This takes me back! Please check the date this post was authored, as it may no longer be relevant in a modern context.
Appending to a file from multiple processes
Suppose you have multiple processes appending output to the same file without explicit synchronization. These processes might be working in parallel on different parts of the same problem, or these might be threads blocked individually reading different external inputs. There are two concerns that come into play:
Bureaucrat Mode
The road to hell is paved via collaboration, consensus, inclusiveness, stability
How to Roman Republic 101, Part IIIa: Starting Down the Path of Honors
This is the third of our planned five part series (I, II, IIIa, IIIb, IIIc, IV, V, A1, A2) on the structure of the Roman Republic during the third and second centuries. Last time we discussed Rome&…
Quirksmode is seeking to raise € 2,500 in donations
I have no idea if this is going to work. I’ve never tried it before. But if I never try I’ll never know, so here it goes. And I’ll give you fair warning: there’s a blackmail aspect to all of this.
Why I Stopped Throwing Out Junk Mail
Whenever I start to write something online, for myself or for a client, I have to answer one hard question: who cares ?
Coding Agent VMs on NixOS with Microvm.nix
I have come to appreciate coding agents to be valuable tools for working with computer program code in any capacity, such as learning about any program’s architecture, diagnosing bugs or developing proofs of concept. Depending on the use-case, reviewing each command the agent wants to run can get tedious and…
Various ways to include comments on a static site (2018)
Overview of different techniques to implement comments using a static site generator.