Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wonder how he got everything to fit as more and more space was sold and if it was a manual process? It must have been like playing Tetris on expert mode.


The problem is, I think, the 2d knapsack problem. In case it's of interest: https://cs.stackexchange.com/questions/1478/algorithms-for-t...

Edit: looks like the million dollar homepage is probably a bit more complicated than 2d knapsack, somewhat like tetris.

Another edit: looks like the only non-rectangular space sold on the million dollar homepage was the last space (as specified in the top linked article). So perhaps 2d knapsack is appropriate. It's late here.


The way it worked was that as you bought, you could select the region that you wanted. You would be charged based on the number of pixels in the region.

I actually have seen the server that it was on. The hosting company provided free hosting to it for several years (at least 8 IIRC). I think that at some point the server died and Alex Tew decided to move elsewhere.

At one point, he had the million dollar pixel lotto which was the same idea except at two dollars per pixel and one person who clicked on one of the pixels would get half the money that came in.


So it was like buying tickets online? if multiple people were interested in the same region, the one which payment went through first got the region? However, this must still have been chaotic once the interest started to rise as space would seem empty until the payment was confirmed, and others would try to buy in the meantime. I guess you would also just have to make a rough estimate on the design of your banner and just buy the space, no time to design it first.


After some research I'm now able to provide an answer to my own question.

The canvas was partitoned into blocks of 10x10 pixels that was white until sold. You would make a payment for X number of blocks through 2Checkout or PayPal. After transferring the money, you would send an e-mail to Alex Tew with the image, coordinates of wanted blocks, URL and TITLE/ALT text. He would then confirm the payment and upload your banner within 48 hours.

So the entire operation was manual with orders placed by e-mail.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: