News for hackers. Stuff that matters.
Re:Social Roulette has a 1 in 6 chance of deleting your account by olympus on Saturday May 11, 2013 @12:55PM (#5691207)
While the code could use streamlining by only drawing one randint and comparing it to a static number, the probability of orangethirty's way of doing it still gives the correct probability of 1/6. Think of it as two dice, the chance of rolling doubles is 6/36 = 1/6.
Re:Social Roulette has a 1 in 6 chance of deleting your account by andrewchoi on Saturday May 11, 2013 @03:03PM (#5691708)
I think the point of the post you're responding to is that the code doesn't actually delete anything.
Re:Social Roulette has a 1 in 6 chance of deleting your account by orangethirty on Saturday May 11, 2013 @03:45PM (#5691867)
How could it delete what is not there? Or did you really expect me to write python script with fb graph integration?