Live data from Hacker News

Are You 1 in 1,000,000?

areyou1in1000000.com

31–38 of 38 posts

Re: Are You 1 in 1,000,000?

#31

There’s no cookie so I assume you’re restricting it to one entry per day based on IP. Could somebody ruin the whole thing by flooding the server with requests with spoofed IP addresses?

If someone in a position to fully establish TCP connections with spoofed IPs wanted to ruin something, I'd think they'd find something a lot more interesting to do...

Re: Are You 1 in 1,000,000?

#32
post #18

I kind of like the high number and how long it will take to find a "winner". Allows whoever wins to spread word about something they want (hopefully something clever) and it will be there for a while. The website would lose its meaning if the winner changed every day.

If the website gets over a million uniques a day, there will be a new winner every day.

Actually not true. If the website gets a million unique visitors, there is about a 60% chance of someone winning.

Re: Are You 1 in 1,000,000?

#33
post #18

I kind of like the high number and how long it will take to find a "winner". Allows whoever wins to spread word about something they want (hopefully something clever) and it will be there for a while. The website would lose its meaning if the winner changed every day.

If the website gets over a million uniques a day, there will be a new winner every day.

Not necessarily. Just like the lottery, it is possible (maybe even likely) that having about a million hits in a day will have periods where nobody wins for a few days, or that a winner might happen two or three times in one day. I’ve forgotten my college statistics, but I believe there are permutation or combination equations that would explain this concept simply in symbolic terms.

Re: Are You 1 in 1,000,000?

#34
post #18

I kind of like the high number and how long it will take to find a "winner". Allows whoever wins to spread word about something they want (hopefully something clever) and it will be there for a while. The website would lose its meaning if the winner changed every day.

If the website gets over a million uniques a day, there will be a new winner every day.

Depends.

Do you roll a random number from a generator until it matches the displayed number?

If yes, if you have 1,000,000 visitors per day, the probability of having a winner is around 63 %.

However, if your random number generator guarantees that each player gets a different number then yes, the probability of having a winner approaches 100% as you get closer to the millionth visitor.

Re: Are You 1 in 1,000,000?

#35
post #6
post #5

At this rate it'll be half a year before anyone wins! That could put a damper on traffic. How about just randomly picking someone each day?

It does randomly pick someone each day... with 1/1,000,000 probability.

It is not possible to both guarantee a victor, and maintain 1/1,000,000 probability, if your amount of traffic is less than 1,000,000 people per day.
Post reply on HN