Full threadhm2k·I'm sure I saw a better implementation of this on someone's blog only last week, but I don't recall where.I can't be the only one who saw this...View on HN