Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 14,540 posts.
GoAWK: an AWK interpreter written in Go
How I wrote GoAWK, how I tested it, and how I measured and improved its performance.
How I use Kate editor
I love the Kate Text editor. I use it for pretty much all the programming projects I do.…
The Second Edition of “Refactoring”
I'm finishing a new edition of my Refactoring book. Here's details and periodic memos about my work.
Executable Examples in Go
Did you know that Go lets us provide executable code examples as part of our documentation? It’s pretty neat. Let’s take a tour of this useful feature and see how it works.
Hidden gems of moreutils
It seems no matter how long I work with the command line, every once in a while I find handy utilities I've never encountered before. Most people have heard about the bird coreutils , that's where utilities such as echo , cat , and others come from. But did you know about moreutils ?
A decades-old bug in Knuth's long division (TAOCP Vol II, Algorithm 4.3.1D)
A long division story
High-performance .NET by example: Filtering bot traffic
Mistakes and lessons from a real-world feature performance optimizations: from API usage to advanced data structures, from bit hacks to CPU-friendlier code.
I built a vector map from scratch
How I Built a Vector Map from Scratch
Crafting a 13KB Game: The Story of Space Huggers
One of my favorite game jams is the legendary Js13kGames competition, where participants have one month to make a web browser game that fits in a 13 kilobyte zip file. To put that into perspective,…
Fast enough VMs in fast enough time
Updated (February 07 2013): If you enjoy this article, you may also find the more academically-inclined article The Impact of Meta-Tracing on VM Design and Implementation interesting.
Every bug/quirk of the Windows resource compiler (rc.exe), probably
Fuzz testing decades-old software can turn up some curious behaviors
Python’s tug of war between beginner-friendly and advanced features
Python is my favourite programming language. Since I discovered it in 2004, programming in Python became my favourite hobby. I've tried to l...
What comes after Git
Git was born from the collaboration problems in the Linux kernel. Nearly a decade later, new problems arose when Kubernetes (the operating system of the cloud) brought open-source collaboration to a new level.
Moving Away from Python 2
About a month ago I tweeted this: Thought: get the maintainers of a bunch of big Python libraries to sign something saying that they WILL drop Python 2.7 support in 2020.— Aaron Meurer (@asmeurer) Mar
How about trailing commas in SQL?
Anecdotally, this might be the most requested feature in SQL: Allow some trailing commas.
My favorite interview question
The Official Web Site of Nicholas C. Zakas
How I Eat for Free in NYC Using Python, Automation, AI, and Instagram
Living and working in the big apple comes with big rent.
Zig's new LinkedList API (it's time to learn fieldParentPtr)
Karl Seguin's Blog - A mix of coding and creative writing
How Uber tests payments in production
Well-run payment systems are developed by engineers who understand what is the best use of their time: to catch unknown unknowns, and to do it fast.
How I stopped worrying and loved Makefiles
Learn how to use Makefiles to streamline your Terraform and Hugo projects, making environment management and static site generation more efficient.
Now that people are considering NOSQL will more people consider no-DB
A memory image replaces database interactions with in-memory data using event sourcing to record persistent changes
Meanwhile, at code.org
In Mindstorms I made the claim that children can learn to program and that learning to program can affect the way they learn everything else. I had in mind something like the process of re-empowerment of probability: the ability to program would allow a student to learn and use powerful forms of proba- bilistic ideas…
If DSPy is so great, why isn't anyone using it?
Any sufficiently complicated AI system contains an ad hoc, informally-specified, bug-ridden implementation of half of DSPy.
Your "simulation" might not need state
The bouncing DVD logo is a fun and easy coding project. Watching Daniel Shiffman code it in p5.js is one of my earliest programming memories. However, the naive solution is far from optimal.
The Algebra of Loans in Rust
The heart of Rust borrow-checking is this: when a borrow is taken, and until it expires, access to the borrowed place is restricted. For example you may not read from a place while it is mutably borrowed.