The method used here by David Ng, was discussed a few days ago at https://news.ycombinator.com/item?id=47322887