News for hackers. Stuff that matters.
Re:Teal 3d dice roller by ooniverse on Tuesday August 05, 2014 @12:26PM (#8137746)
This is really cool!

I rolled a few times, then decided to have a look at the code but unfortunately, between one request and the next, it's now responding with 503 Over Quota, so I guess it's the old HN hug of death...

Anyway - quick question: I noticed you mentioned using random.org, which is great and everything, but would anyone be able to comment on whether or not the physics simulation introduces biases that might reduce randomness?

Like, what if I always swiped from/to particular points on the screen? Does the size of the window matter? How about different framerates? I'm assuming that the random.org data is used to set up (some of the) initial conditions since I can't check the code right now.

Thanks!

Re:Teal 3d dice roller by sbierwagen on Tuesday August 05, 2014 @12:32PM (#8137764)
I'm guessing that he uses random.org to randomize the initial values of the dice, how they're "being held". All the physics simulation does is roll them across the table.

So it should be impossible to precisely throw a value, since you can't control how you're holding the dice in your hand.

Re:Teal 3d dice roller by teal on Tuesday August 05, 2014 @12:46PM (#8137852)
You are right, exactly this way.
Re:Teal 3d dice roller by Pxtl on Tuesday August 05, 2014 @01:04PM (#8137986)
Ah, so both the physics and the Random.org affect the outcome of the dice. So you can't actually control the outcome of the dice by swapping out Random.org with a non-random source because the physics are also a factor.
Re:Teal 3d dice roller by echeese on Tuesday August 05, 2014 @02:05PM (#8138369)
You could with a replay attack