[Labs-l] Down to the millisecond
Maximilian Doerr
maximilian.doerr at gmail.com
Thu May 26 22:46:55 UTC 2016
Why can’t you use the script language’s native number generator?
Cyberpower678
English Wikipedia Account Creation Team
ACC Mailing List Moderator
Global User Renamer
From: Labs-l [mailto:labs-l-bounces at lists.wikimedia.org] On Behalf Of Huji Lee
Sent: Thursday, May 26, 2016 6:19 PM
To: Labs <labs-l at lists.wikimedia.org>
Subject: Re: [Labs-l] Down to the millisecond
Actually no, turns out Rand also uses seconds (not milliseconds) and can be gamed.
Sorry, will stop spamming now. Please advise!
On Thu, May 26, 2016 at 6:17 PM, Huji Lee <huji.huji at gmail.com <mailto:huji.huji at gmail.com> > wrote:
Nevermind. I just realized we have a {{Rand}} template :)
On Thu, May 26, 2016 at 6:14 PM, Huji Lee <huji.huji at gmail.com <mailto:huji.huji at gmail.com> > wrote:
Do we store any information in the MW tables down to the millisecond? I want to generate some pseudorandom numbers and I want to use the rightmost digit of a timestamp for that reason but I want to make sure it is not feasible to game the system, so timestamps that are only down to the second are not going to cut it.
Other ideas about how to generate pseudorandom numbers using MW data are welcome.
PS: I wish we had a rand parse function.
Huji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20160526/a5c3a8d3/attachment-0001.html>
More information about the Labs-l
mailing list