News for hackers. Stuff that matters.
Re:Five million people see a classic case of calling random(... by chipsy on Friday October 23, 2009 @10:07PM (#900013)
This is partly the fault of Flash itself. It doesn't provide control over seeding the API's PRNG.

A diligent coder can of course implement their own PRNG method, but that is not an excuse for providing a half-broken feature.

Re:Five million people see a classic case of calling random(... by tesseract on Saturday October 24, 2009 @02:20AM (#900190)
The regular random number generator in Flash is automatically seeded and you can't specify a seed. This article, though, talks about using BitmapData.noise() which takes a seed as a parameter, and normally when I see people discussing the use of that API for general purpose random number generation it is precisely because it allows control over seeding.
Re:Five million people see a classic case of calling random(... by antirez on Saturday October 24, 2009 @04:37AM (#900277)
rc4 is a prefect algorithm to build a fast and very high quality PRNG for instance.