Full threadHPsquared·If you write it by hand you get not only code, but also understanding.View on HN