Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,258 posts.
Introducing the USB Stick of Death
Several months back we have been playing with different file systems on various system platforms, examining the security posture and robustness of numerous device drivers’ implementations. One of the configurations we spent some time on was the commonly used NTFS on Microsoft Windows – as the file system is rather…
The Elements of APIs (2021)
Would you like the design a web API that is reliable and pleasant to use? I have some ideas for you.
Building DigitalOcean's API Gateway
technology blog about ruby, scala, java, golang, software engineering and programming in general
Flow Field Pathfinding
You may know me for my interactive tutorials. But before that, I was writing visual but non-interactive tutorials. In particular, there wasn’t a lot of information about A* on the web, so I decided to collect all my notes about pathfinding [1] together in one place in the 1990s. But then in the 2010s I started making…
Redbean Tiddlywiki Saver
Tiddlywiki is a great tool, but because it runs in the browser, it has only limited access to the filesystem to save changes. This has led to dozens of tools called "savers" that work with Tiddlywiki to save it. These span the gamut, including full fledged desktop apps (most notably TiddlyDesktop ), browser…
Finding the Lost Vikings – Reversing a Virtual Machine
After having fun reverse engineering the Comprehend Adventure game (Recomprehend) I was looking for a new DOS game reverse engineering project. Over the years various people have reversed a lot of …
Roguelike Tutorial: Up-to-Date and Literate
Started on 9th May, 2019 it took almost five months to finish. It again puts the tutorial in a place I am happy with for now, and it will likely stay there for quite some time. Given the priorities and circumstances in my life, I don’t expect to keep working on it for time to come.
Reducing the maximum latency of a bound buffer in Erlang
Recently I came across two great articles on the Pusher blog: Low latency, large working set, and GHC’s garbage collector: pick two of three and Golang’s Real-time GC in Theory and Practice . The articles tell the story of how Pusher engineers reimplemented their message bus. The first take was done in Haskell. During…
IOCCC Flight Simulator (2010)
The IOCCC Flight Simulator was the winning entry in the 1998 International Obfuscated C Code Contest. It is a flight simulator in under 2 kilobytes of code, complete with relatively accurate 6-degree-of-freedom dynamics, loadable wireframe scenery, and a small instrument panel.
Repairing Corrupted ZIP Files by Brute Force Scanning in C
My brother is a wonderful photographer , and took 14 gigabytes of photos at my recent graduation from Columbia, some of which I hope to post on PhotoFloat -- my web 2.0 photo gallery done right via static JSON & dynamic javascript .
Reverse Engineering a Keyboard to Play Snake
While I'm a hacker of all kinds of electronics things by night, my day job is being a software developer. That mostly means sitting in front of a computer all day, entering code, debugging, etcetera. You probably can imagine my main weapon of choice to tame all that code is my keyboard: I'm usually happily tapping…
Stealing everything you've ever typed on your Windows Recall PC is now possible
Recall is a new feature in Windows 11 which takes a screenshot every few seconds, runs local device OCR on it and stores the resulting text in a SQLite database. …
The practice of programming, 18 years later
Over the new year holiday time I had a chance to get away from it all, and snuck up to Finland to sit in a lodge on the Gulf of Finland, sip coffee, take saunas and read. I brought along a few books, the only programming one being Brian W …
You Negotiate Commodities, But You Seize Opportunities
It took losing something important to understand the difference between a commodity and an opportunity. Along the way I also learned yet another way entrepreneurs see the world differently from the…
I wrote a beginners guide to Kubernetes
In this multi-part series of articles I'll try and capture everything I think someone who wants to learn and work with Kubernetes should know about. If you h...
Clojure: Managing throughput with virtual threads
A blog mostly about Clojure programming
Jailed Just-in-Time Compilation on iOS
Saagar Jha's website.
Stateful Experiments on AWS Lambda
In January 2017, we presented results to the European Commission on a FP7project called SyncFree, where we were tasked with a large-scale evaluationof the Lasp programming system. In this evaluatio...
An Introduction to Conflict-Free Replicated Data Types
This is an interactive tutorial series about Conflict-Free Replicated Data Types, or CRDTs for short. Their purpose is to allow seamless replication of data on different nodes in a distributed system. Merging is by construction always possible, without any conflicts. This series assumes no knowledge about CRDTs, but…
Lessons Learned in Software Development
Here is my list of heuristics and rules of thumb for software development that I have found useful over the years: Development 1. Start small, then extend. Whether creating a new system, or …
An Opinionated Guide to Machine Learning Research
I originally wrote this guide in back in December 2017 for the OpenAI Fellows program