Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,296 posts.
Converting a WW2-Era Landing Gear and Flaps Indicator into a USB Peripheral
The landing gear and flaps indicator, control board stack, and C# .NET Windows Forms app running on the Surface in the background. Everything set for smooth and level flight!
The Continual Learning Problem
A perspective on continual learning, motivating our paper on sparse memory finetuning
Linguistic Harbingers of Betrayal
In life, love, war, and planetary colonization, even long-lasting friendships can end if one betrays the other's trust for his own gain. We studied the language of betrayal by observing players of Diplomacy , the game that ruins friendships . In this very popular game, players can form alliances and try to conquer the…
Graphics Analysis of an NES Game's Select Menu
In Star Versus’s two player mode, the first thing players see is a menu to select their ships, handicaps, and arenas. Although straight forward in concept, this menu actually maxes out the NES’s graphics in multiple ways. Specifically, it uses each available palette, requires all 64 sprites, and places 8 sprites onto…
Incrementally Improving the DOM
Last time , I tried to convince you that you might not need the virtual DOM, and that many common UI patterns can be reproduced with a completely static page, with changes only happening at the leaves of the tree - attributes and text nodes. For some trickier UI patterns, I added back a limited form of dynamic…
How Safe Browsing Works in Firefox
Firefox has had support for Google's Safe Browsing since 2005 when it started as a stand-alone Firefox extension . At first it was only available in the USA, but it was opened up to the rest of the world in 2006 and moved to the Google Toolbar . It then got integrated directly into Firefox 2.0 before the public launch…
The Secrets of Medieval Fonts
One of the fundamental things in a medieval book is letters – those symbols that fill up page after page and that make up meaning. Each one of us human beings writes differently and considering tha…
Doing Windows, Part 2: From Interface Manager to Windows
Bill Gates was as aware as everyone else of the abundant deficiencies of his own company’s hastily procured operating system for the IBM PC. So, in September of 1981, before the PC had even shipped and just a handful of months after VisiCorp had started their own similar project , he initiated work at Microsoft on a…
Implementing Raft, Part 3: Persistence and Optimizations
This is Part 3 in a series of posts describing the Raft distributed consensus algorithm and its complete implementation in Go. Here is a list of posts in the series:
Analysis of 419,000 FlapMMO attempts
FlapMMO is a new and popular browser game inspired by Flappy Bird. Unlike Flappy Bird, though, each server has hundreds of other players and you can all see each other. It's lots of fun and I previously posted about hacking FlapMMO for mouse control .
Setup a complete Django server, deploy, rollback – all in one powerful script.
This will create the neccesary directories, install nginx and gunicorn under supervisord control and upload new configuration files made from templates on all the app-servers. Additionally it deploys the newest codebase from your local git branch.
Making a low level Linux debugger, part 2: C
Last time , we started making a debugger and live editor for (re)creating assembly and C programs.
Mobile Smalltalk
I've been announcing the Open Beta release of my game HexSolve for Android and iOS. HexSolve was written in Smalltalk and people have been ...
Managing Technical Quality in a Codebase
If there’s one thing that engineers, engineering managers, and technology executives are likely to agree on, it’s that there’s a crisis of technical quality. One diagnosis and cure is easy to identify: our engineers aren’t prioritizing quality, and we need to hire better engineers or retrain the ones we have. Of…
Gradual typing for Clojure
Today’s programming landscape is dynamic and polyglot . Interlanguage interoperability is a mainstay — it’s almost unavoidable that a given piece of code will be used without the knowledge of the original author.
Security and Privacy Implications of Zoom
Over the past few weeks, Zoom’s use has exploded since it became the video conferencing platform of choice in today’s COVID-19 world. (My own university, Harvard, uses it for all of its classes. Boris Johnson had a cabinet meeting over Zoom.) Over that same period, the company has been exposed for having both lousy…
Belgium Is Unsafe for CVD
This post is about the reason I will probably never try to warn any organisation in Belgium about any vulnerability again. Recently I have been dealing with an attempt at coordinated vulnerability disclosure (CVD) with an organisation in Belgium. This post is not about that, because I’m not allowed to write about it…
Making of Crash Bandicoot - GOOL
I’m always being asked for more information on the LISP based languages I designed for the Crash and Jak games. This post is about GOOL, the LISP language used in Crash 1, Crash 2, and Crash …
VP trees: A data structure for finding stuff fast
<img src="http://stevehanov.ca/wavelet/cup.png"/> Let's say you have millions of pictures of faces tagged with names. Given a new photo, how do you find the name of person that the photo most resembles? <p> In the cases I mentioned, each record has hundreds or thousands of elements: the pixels in a photo, or patterns…
Ebtrees: Elastic Binary Trees (2011)
Administrivia This article was initially posted on Wikipedia in 2008, which explains why it's written at the 3rd person and looks familiar...
GPU Debug Scopes
Using RAII to attach diagnostic information to your command buffers