Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,823 posts.
Honey, I shrunk {fmt}: bringing binary size to 14k and ditching the C++ runtime
The {fmt} formatting library is known for its small binary footprint, often producing code that is several times smaller per function call compared to alternatives like IOStreams, Boost Format, or, somewhat ironically, tinyformat. This is mainly achieved through careful application of type erasure on various levels…
So you wanna write Kubernetes controllers?
Any company using Kubernetes eventually starts looking into developing their custom controllers. After all, what’s not to like about being able to provision resources with declarative configuration: Control loops are fun, and Kubebuilder makes...
Vim Reference Guide
Concise learning resource for beginner to intermediate level Vim users
When compilers surprise you
Sometimes compilers can surprise and delight even a jaded old engineer like me
Dijkstra’s algorithm and the Fibonacci heap
A couple of Sundays ago, I wrote an implementation of Dijkstra’s algorithm in Clojure. The core algorithm came to twenty-five lines. I banged out the code as...
Faster Layouts with CSS Grid and Subgrid
CSS Grid has been available in most major browsers since early 2017, and it makes web layout more powerful than ever before. But complex-looking new syntax (line-names! grid-areas! minmax! fit-content! ...
Isolating complexity is the essence of successful abstractions
Complexity has to live somewhere; but it does not have to live everywhere.
Behind GitHub’s new authentication token formats
We’re excited to share a deep dive into how our new authentication token formats are built and how these improvements are keeping your tokens more secure. As we continue to…
Securing Firefox with WebAssembly
Protecting the security and privacy of individuals is a central tenet of Mozilla’s mission. While we continue to make extensive use of both sandboxing and Rust in Firefox to address ...
“A state of flow can be achieved by deep work”
The following article summarizes my lessons learned from the books Deep Work and Flow. It can be the way to achieve a fulfilled life. Cal Newport and Mihaly Csikszentmihalyi have written outstanding books in their ...
Modern SQLite: Features You Didn't Know It Had
SQLite has evolved far beyond a simple embedded database. Explore modern features like JSON, FTS5, window functions, strict tables, and more.
I did Advent of Code on a Playstation
How far can I get in Advent of Code if I do all the problems in Dreams?
The Craft of Text Editing (1999)
Copyright 1999 by Craig A. Finseth. Contact the author with questions about distribution rights.
PyPy 1.6 Released - Full Python 2.7.1 Implementation
We're pleased to announce the 1.6 release of PyPy. This release brings a lot of bugfixes and performance improvements over 1.5, and improve...
Introduction to Formal Verification with Lean Part 1
A tutorial Formal Verification using Lean for cryptographic engineers. Implement and prove correctness of the One-Time pad following a cryptography book.
Lisp: Icing or Cake?
The Spring Lisp Game Jam 2024 ended one week ago. 48 games were submitted, a new record for the jam! This past week has been a time for participants to play and rate each other’s games. As I explored the entries, I noticed two distinct meta-patterns in how people approached building games with Lisp. I think these…
Untapped Way to Learn a Codebase: Build a Visualizer
Understanding large codebase can be incredibly difficult. In this post I walk through how I learn a codebase use turbopack as my case study.
SQLite internals: How the most-used database works
Explore SQLite Internals: How The World's Most Used Database Works by Abdur-Rahmaan Janhangeer. Deep dive into database internals, systems engineering, and advanced Python.
On modern hardware the min-max heap beats a binary heap
The heap is a data structure that I use all the time and that others somehow use rarely. (I once had a coworker tell me that he knew some code was mine because it used a heap) Recently I was writin…
A Programming War Between 545 Wizards
What happens when you challenge hundreds of elite programmers to put on their robes and wizard hats, enchant their minions to solve a constantly shifting multi-agent traveling salesman problem, use the loot to build mighty armies, and vie for eternal glory and tournament prizes? You get a lot of
A WebAssembly compiler that fits in a tweet
Starting with a 192-byte one-liner that implements a Reverse Polish Notation arithmetic compiler, we'll work backward to transform it into readable JavaScript by removing one code golf trick at a time
Why Python Is Not My Favorite Language (2016)
Historical reference to Ian Denhardt’s Why Python Is Not My Favorite Language (2016-12-25), with archive and current documentation links.
The TTY demystified (2008)
The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it. I believe that a basic understanding of TTYs in Linux is essential for the developer and the advanced user.