Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbaagoe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
jbaagoe
15y ago
You are quite right, of course. One should only tolerate such quick and dirty solutions if M is much bigger than n - but then, that is often the case.
2.
▲
by
jbaagoe
15y ago
I have tentatively copied that page to a wiki. The license issues have been clarified in the process. Here it is: http://baagoe.org/en/wiki/Better_random_numbers_for_javascri...