Topics /

Math & Algorithms

The most popular blog posts about math & algorithms on Hacker News. 2,851 posts.

Any year
31

Music theory for nerds

Not music nerds, obviously. I don’t know anything about music. I know there are letters but sometimes the letters have squiggles; I know an octave doubles in pitch; I know you can write a pop song with only four chords. That’s about it. The rest has always seemed completely, utterly arbitrary. Why do we have twelve…

34

Square Theory

The story starts in Crosscord, the crossword Discord server. Over 5,000 users strong, the server has emerged as a central hub for the online crossword community, a buzzing, sometimes overwhelming, sometimes delightful town square where total noobs, veteran constructors, and champion solvers alike come together to talk…

41

Rolling Shutters

I remember seeing once the following photo from Flickr, and having my brain melt slightly from trying to figure out what went wrong: The issue was the propeller was rotating as the camera detector 'read out', i.e. there was some motion during the exposure of the camera. This is an interesting thing to think about…

46

Functorio

You might have heard people say that functional programming is more academic, and real engineering is done in imperative style. I’m going to show you that real engineering is functional, and …

47

Learning Math for Machine Learning

Vincent Chen is a student at Stanford University studying Computer Science. He is also a Research Assistant at the Stanford AI Lab. -------------------------------------------------------------------------------- It’s not entirely clear what level of mathematics is necessary to get started in machine learning…

49

The hunt for the missing data type

A (directed) graph is a set of nodes, connected by arrows (edges). The nodes and edges may contain data. Here are some graphs: All graphs made with graphviz (source) Graphs are ubiquitous in software engineering: Package dependencies form directed graphs, as do module imports. The internet is a graph of links between…