Full threadcoderrr·Simpler way to achieve the same thing here:http://news.ycombinator.com/item?id=299982View on HN