Re:There's Math.random(), and then there's Math.random()
by sverhagen on Friday February 07, 2025 @05:55AM
(#42971292)
I don't really disagree with anything you said, but I think the roulette wheel and the E2E chat are funny examples, you could have a high value roulette game and a casual chat about the weather, where the stakes are opposite to your point ;-)
[ Parent
| on HN ]
Re:There's Math.random(), and then there's Math.random()
by cratermoon on Friday February 07, 2025 @10:38AM
(#42973871)
I was thinking this myself.
When significant amounts of real money are sitting on the spin of the wheel and bouncing of the ball,
a bad PRNG like the one discussed in the article would be disastrous.
Re:There's Math.random(), and then there's Math.random()
by masklinn on Friday February 07, 2025 @10:48AM
(#42974011)
Yeah I was thinking less casino thingie and more https://pickerwheel.com, I guess I used the wrong term for it.