3 ms·
edit: sbierwagen points out below that my comment is wrong, the source was pointed out, I just missed it. > A worth to read article by [Mike Malone](https://me
by masklinn 11y ago
edit: sbierwagen points out below that my comment is wrong, the source was pointed out, I just missed it.
> A worth to read article by [Mike Malone](https://medium.com/@betable/tifu-by-using-math-random-f1c308c4fd9d#.a7ewychse https://medium.com/@betable/tifu-by-using-math-random-f1c308...) explains the problem with Math.random() in more detail.
Probably the source of the shuffle (though it was not mentioned, its visualisation was used) considering the old implementation had been there for about 6 years (and had been partially busted until a few weeks ago)
- sbierwagen 11y agoIt was mentioned. This has been pointed out to us, and having understood the problem and after some research, we decided to reimplement Math.random based on an algorithm called xorshift128+. Hyperlink in the first sentence. (Incidentally, the link is broken in your quote)
- masklinn 11y ago> Hyperlink in the first sentence. Hah you're right, completely missed the link (I'll put up a weak defence that gray visited links in gray text didn't help). Thank you for the correction, noted in the original comment. > (Incidentally, the link is broken in your quote) Unsurprising, I just copy/pasted the section without fixing up the link. Fixed.
- devrelm 11y agoIt is the source. The link to that article is in TFA in the sentence "This has been pointed out to us...."