Best of 2025

The blog posts Hacker News loved most in 2025. 238 posts.

Math & Algorithms
128

Beautiful Abelian Sandpiles

I can't remember where I first saw them, but ever since, I have been unable to forget them: abelian sandpiles. I'm far from the only one . They're remarkably simple, yet produce lovely symmetric patterns. I loved them so much that I adorned the title banner of this blog with an animation of an abelian sandpile. But…

133

Sorting algorithms with CUDA

Building on my previous post on sorting algorithms, I implemented the same algorithms using CUDA to explore performance improvements through parallel computing. The goal is to see how we can leverage the power of parallel computing to speed up our sorting algorithms. I went for a NVIDIA recruiting event some days ago…

138

50 years of proof assistants

Crackpots ranging from billionaire Peter Thiel to random YouTube influencers claim that science has been stagnating for the past 50 years. They admit that computing is an exception: they don’t pretend that my personal 32GB laptop is not an advance over the 16MB mainframe that served the whole Caltech community when I…

141

Packing the world for longest lines of sight

I have a side project to find the longest line of sight on the planet 1 using a novel Total Viewshed algorithm . At a resolution of 3 arc-seconds (~92m x 92m), the planet contains around 4.5 billion elevation samples 2 . Now obviously we don’t need to calculate the visibility between literally every single one of…

143

The Math Behind GANs (2020)

Generative Adversarial Networks refer to a family of generative models that seek to discover the underlying distribution behind a certain data generating process. This distribution is discovered through an adversarial competition between a generator and a discriminator. As we saw in an earlier introductory post on…