Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,205 posts.
Server-Sent Events (SSE) Are Underrated
Most developers know about WebSockets, but Server-Sent Events (SSE) offer a simpler, often overlooked alternative that deserves more attention
Fastest branchless binary search
Fastest general and simple binary search C++ implementation
Panic Attacks
I read the ESPN piece on Kevin Love and other NBA players’ mental health issues this morning. My son had sent it to me yesterday. The bit about his panic attack during an Atlanta Hawks game, initially disclosed in this piece Kevin wrote on The Players Tribune, was particularly hard to read. Kevin Love started […]
Fira Sans: a Free, Open Source Typeface Commissioned by Mozilla
As designers in open source, we’re constantly looking for opportunities to bring the principles of universal access and redistribution to new areas. While the term “open source” may still be mainly associated with code, the value in free collaboration benefits every discipline – particularly design.
Whence '\n'?
If you do just foo , the following justfile will write a single byte 0x0A to a file named bar:
A decade of dotfiles
Reflections on a decade of configuration files.
Thousands dead, millions deprived of civil liberties? (2001)
If we are not careful, the deadly attacks on New York and Washington will lead to far worse secondary damage, if the U.S. Congress adopts "preventive measures" that take away the freedom that America stands for.
When to join a startup
<p>Something has changed in the last few years which has made an increasing number of people want to join startups. It seemed to start around ...
State machines are wonderful tools
I love when my current problem can be solved with a state machine. They’re fun to design and implement, and I have high confidence about correctness. They tend to:
Write Your Own Virtual Machine (2022)
In this tutorial, I will teach you how to write your own virtual machine (VM) that can run assembly language programs, such as my friend’s 2048 or my Roguelike . If you know how to program, but would like to gain a deeper understanding of what is going on inside a computer and better understand how programming…
Spotlight on pdfly, the Swiss Army knife for PDF files
Project documentation: pdfly.readthedocs.io pdfly is the youngest project of the py-pdf organization. It has been created by Martin Thoma in 2022. It's simply a CLI tool to manipulate PDF files, written in Python and based on the fpdf2 & pypdf libraries. I'm a maintainer of the project 🙂 What can …
How I Made a Heap Overflow in Curl
In association with the release of curl 8.4.0, we publish a security advisory and all the details for CVE-2023-38545. This problem is the worst security problem found in curl in a long time. We set it to severity HIGH. While the advisory contains all the necessary details. I figured I would use a few additional ……
Benoit Mandelbrot, RIP
Nothing in the news media yet, but many folks on Twitter and colleague Nassim Taleb are reporting that the father of fractal geometry is dead at age 85. We’re n
Git log – The good parts
If you’re managing a complex git codebase with multiple developers, then you may well be using a tool like GitHub or BitBucket to delve into the history and figure out branch and merge issues.
Awfice – A collection of tiny office suite apps
Let's build a tiny browser-based office suite - a text editor, a speadsheet, a drawing app and a presentation maker - all in four lines of code.
Neon: Node plus Rust
If you’re a JavaScript programmer who’s been intrigued by Rust’s hack without fear theme—making systems programming safe and fun—but you’ve been waiting for inspiration, I may have something for you! I’ve been working on Neon, a set of APIs and tools for making it super easy to write native Node modules in Rust.
My Losing Battle with Enterprise Sales
If you prefer to receive all of my writing in your inbox, you can subscribe here. I strive to publish weekly, on Tuesday mornings.
Why American ambulance rides are so expensive
The unfortunately botched economics of emergency care
The "email is authentication" pattern
By Ruben Schade in Eora/Sydney, Australia.
I don’t believe in sprints
Sorry, I have opinions again.
Impacts of lack of sleep
Sleep is important. People vastly underestimate the extent to which not sleeping is harmful, viewing it as a valid trade off for productivity and overlooking all of the longterm negative effects.
MacBook Neo Deep Dive: Benchmarks, Wafer Economics, and the 8GB Gamble
MacBook Neo processor: Apple's A18 Pro, the iPhone 16 Pro chip. Geekbench 6: 3,569 single-core, between M3 and M4. Full CPU benchmarks, thermals, and $699.