Topics /

Math & Algorithms

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

2018
123

Let’s talk about PAKE

The first rule of PAKE is: nobody ever wants to talk about PAKE. The second rule of PAKE is that this is a shame, because PAKE — which stands for Password Authenticated Key Exchange — is actually o…

125

A New Angle on L2 Regularization

Deep neural networks have been shown to be vulnerable to the adversarial example phenomenon: all models tested so far can have their classifications dramatically altered by small image perturbations . The following predictions were for instance made by a state-of-the-art network trained to recognize celebrities :

126

Just teach my kid the math

This is a new thing for me - I'm hosting a blog post by a colleague/friend - James Tanton. You can find James' original post here. One reason it's being re-hosted here is because Medium is apparently blocked in some countries: Egypt Malaysia ..... possibly others. It is astounding to me that mathematics - of all…

128

Gravitational attraction of stars and cows

One attempt at rationalizing astrology is to say that the gravitational effects of celestial bodies impact our bodies. To get an idea how hard the stars and planets pull on us, let's compare their gravitational attraction to that of cows at various distances. Newton's law of gravity says that the gravitational…

129

Advent of Code Python Solutions, Explained

I first participated in Advent of Code (AoC) in 2017. My co-workers at Formlabs introduced it to me. This year (2018), quite a lot of Formlabs folks are taking part and we have a nice private leaderboard going. I'm having a lot of fun with it. I've been staying up until midnight to work on the problems as soon as…

132

So You Think You Have a Power Law (2007)

Regular readers who care about such things — I think there are about three of you — will recall that I have long had a thing about just how unsound many of the claims for the presence of power law distributions in real data are, especially those made by theoretical physicists, who, with some honorable exceptions…

145

Random Points on a Sphere

John D. Cook, Greg Egan, Dan Piponi and I had a fun mathematical adventure on Twitter. It started when John Cook wrote a program to compute the probability distribution of distances $latex |xy &#82…

147

Constraint Solving with MiniZinc

This is part one of a two-part article. Part two is here. A while back somebody told me to check out MiniZinc. Eventually I did and really enjoyed it, so figured I’d write about it here. This is actually going to be a two part article. Right now we’re talking about what it is and how it works, and in the next post…