Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,267 posts.
How to exfiltrate code from Bitbucket
Every year or so, something compels me to start over with a fresh OS image. Most recently, that something was an unfortunate water bottle incident. Once again, I need to pull down my digital life from the internet. The code and assets for this blog currently live in a 500 MB Git repository, which was hosted on…
Oil-Canning
Flat sheetmetal is the hardest to fabricate - and keep flat! There is a reason old cars were rounded. When I was a student at GMI, one of o...
Porting SBCL to the RISC-V
What better thing to do, during the hot, hot July days, thank something semi-mechanical involving very little brain power? With student-facing work briefly calming down (we've just about weathered the storm of appeals and complaints following the publication of exam results), and the all-too-brief Summer holidays…
Procrastination can be caused by anxiety
Anxiety is a feeling of worry and unease that people experience in various situations, such as before taking a test, interviewing for a job, or making a big decision. Occasional anxiety is an expected part of life, though some people suffer from anxiety disorders, which generally involve episodes of anxiety that are…
Why airplane windows have round corners (2016)
It's to prevent them from killing you
GitHub Actions and vanity metrics
The measure of a modern software engineer in our attention economy is easily calculable thanks to companies like Microsoft acting both as bastion and companion in demonstrating one's prowess.
Ramanujan Factorial Approximation (2012)
Ramanujan came up with an approximation for factorial that resembles Stirling's famous approximation but is much more accurate. As with Stirling's approximation, the relative error in Ramanujan's approximation decreases as n gets larger. Typically these approximations are not useful for small values of n. For n = 5…
Why is Snapshot Isolation not enough?
Let's talk about why Snapshot Isolation is not enough for a general purpose concurrency control. Snapshot Isolation has been adap...
TCP Performance problems related to Nagle’s Algorithm and Delayed ACK (2005)
This page describes a TCP performance problem resulting from a little-known interaction between Nagle’s Algorithm and Delayed ACK. At least, I believe it’s not well known: I haven’t seen it documented elsewhere, yet in the course of my career at Apple I have run into the performance problem it causes over and over…
Every thought about giving and taking advice I’ve ever had
It’s easy to give useless advice that feels profound. For example, one of the pieces of advice I give most often to people is to write more. So a few months ago I suggested to a friend of mine that they should write about the situations in which they started procrastinating and explained that writing forces you to…
How I failed to make a game: Raycasting on the GBA
Today I am releasing my raycasting tech demo for the GameBoy Advance. Although it falls short of the goals I set out in the beginning – which included releasing a playable game –, I think there are some lessons worth sharing with the world.
My black body story (it's physics)
I studied physics in university, and at one point asked a professor if I should learn German, because it seemed all the key texts of early ...
All you need is λ, part one: booleans
Words by Rob Rix.
Decimating Array.Sort with AVX2
Decimating Array.Sort with AVX2. I ended up going down the rabbit hole re-implementing array sorting with AVX2 intrinsics. There’s no reason I should go down alone.
Compiling ML models to C for fun
We make micrograd fly with a little compiler magic. In this post, we’ll write a ML compiler from scratch.
How to Learn Hacking
The “ hacking ” we'll be talking about in this document is exploratory programming in an open-source environment. If you think “ hacking ” has anything to do with computer crime or security breaking and came here to learn that, you can go away now. There's nothing for you here.
How stdbuf works
Harry Marr — Member of Technical Staff at Anthropic. Co-founded Dependabot, previously at GitHub, Monzo, and GoCardless.
Building a baseline JIT for Lua automatically (2023)
This is the Part 2 of a series. Feel free to read the prequel for more context: Building the fastest Lua interpreter automatically Building a good VM for a dynamic language takes a ton of engineerin
Powering the Python Package Index
The Python Package Index, or as most call it “PyPI” is a central part of the ecosystem of Python. It serves as a central registry of names, helping to prevent collision between different projects as well as the default repository that most Python users go to when looking for software. Though it has its issues (of…
Hiding your data in plain sight: USB hardware hiding
This article will describe the possibility of hiding data in any kind of USB hardware. Even though USB data carriers come in various sizes and forms, which already sometimes makes them hard to recognize, this approach could even make it worse. Any USB device could be a data carrier and thus from a forensics point of…
From Azure Functions to FreeBSD
Putting FreeBSD’s “power to serve” motto to the test. On Thanksgiving morning, I woke up to one of my web services being unavailable. All HTTP requests failed with a “503 Service unavailable” error. I logged into the console, saw a simplistic “Runtime version: Error” message, and was not able to diagnose the problem…
Everything that turned out well in my life followed the same design process
The context is smarter than you.
Resilience and Waste in Software Teams
Resilience is coping with unexpected events and environmental change. To have resilience, you need slack. Slack in software development lets people do the little tasks that keep the work moving smo…