Hacker News new | ask | show | jobs
by procrastitron 198 days ago
This was exactly what I thought of as well.

Garfield’s version seems more complicated since you have to calculate the area of a trapezoid instead of the area of a square, but conceptually they are the same.