Topics /

Math & Algorithms

The most popular blog posts about math & algorithms on Hacker News. 237 posts.

2024
61

Doing is normally distributed, learning is log-normal

There are few things I think about more than the essays on gwern.net, and there are few with as satisfying a theoretical payout to contemplate in my orb as his essay on “leaky pipelines”, aka log-normal distributions. The skulk: Say you’re working on a Laravel web app. You’re about 90% sure you know how to start the…

69

The Curious Case of MD5

Recently I came across a puzzling fact: the International Criminal Court hashes electronic evidence with MD5, even though MD5 is badly broken. So, why are lawyers using broken, outdated technology? The answer involves the common law system, cultural isolation, and a single man named Don L. Lewis.

74

Poor Foundations in Geometric Algebra

EDIT: Be warned that this post is angry. If you’re easily offended when someone goes on a rant, then leave now because I’m very unforgiving in several places below. The tone of my writing is unusually harsh, but the people whose work I’m talking about deserve it, and here’s why. Even though I had been working with…

80

Tritone Substitutions

A ‘tritone substitution’ is a popular trick for making your music sound more sophisticated. I’ll show you a couple of videos with lots of examples. But since I’m mathematici…

81

A High-Level Technical Overview of Homomorphic Encryption

About two years ago, I switched teams at Google to focus on fully homomorphic encryption (abbreviated FHE, or sometimes HE). Since then I’ve got to work on a lot of interesting projects, learning along the way about post-quantum cryptography, compiler design, and the ins and outs of fully homomorphic encryption. If…

84

SQL is syntactic sugar for relational algebra

This idea is particularly sticky because it was more or less true 50 years ago, and it's a passable mental model to use when learning sql. But it's an inadequate mental model for building new sql frontends, designing new query languages, or writing tools likes ORMs that abstract over sql.

87

An Intuitive Explanation of Black–Scholes

The Black–Scholes formula is the crown jewel of quantitative finance. The formula gives the fair price of a European-style option, and its success can ultimately be measured by its impact on option markets. Before the formula’s publication in 1973 (Black & Scholes, 1973; Merton, 1973) , option markets were relatively…