Topics /

Math & Algorithms

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

2020
100

Better Geometry Through Graph Theory (2018)

A few months ago, I decided to implement set operations on curved regions. I had the the canonical textbook on computational geometry , which described approaches for polygons comprised of straight lines, and it seemed like other projects had extended these techniques to parametric curves . I figured it would take a…

111

Peter Montgomery Has Died

Peter was born in San Francisco, California, on September 25, 1947. He went to UC Berkeley in 1967 and received a BA in Mathematics in 1969 and an MA in 1971. Peter’s undergraduate advisor was Derrick H. Lehmer, an excellent match given Peter’s research interests since high school: integer factorization.

113

The polls messed up

To continue our post-voting, pre-vote-counting assessment (see also here and here ), I want to separate two issues which can get conflated: 1. Problems with poll-based election forecasts.

116

Transformers Are Graph Neural Networks

Engineer friends often ask me: Graph Deep Learning sounds great, but are there any big commercial success stories? Is it being deployed in practical applications? Besides the obvious ones–recommendation systems at Pinterest, Alibaba and Twitter–a slightly nuanced success story is the Transformer architecture, which…

119

Doing a math assignment with the Lean theorem prover

Note: this post was written for Lean 3; the latest version, Lean 4, is a very different language. Turn back the clock to 2009: a confused physics major newly infatuated with math and computer science, I enrolled in MATH 273: Numbers and Proofs at the University of Calgary. This wasn’t my first encounter with…