On Thu, 2008-06-12 at 09:24 -0600, Joshua Lutes wrote: > On Wed, 2008-06-11 at 19:54 -0600, Andrew Jorgensen wrote: > > This comes up every month at PLUG (for door prizes) so I thought I'd > > ask here. What's an easy to remember way to generate a random number > > between 1 and some given number. Language doesn't matter so long as > > the code is easy enough for someone to remember the entire thing and > > type it up at the drop of a hat. > > > Why not just use the PHP version (or javascript or whatever) and put it on a > page on the website? You could make it as "cryptographically appropriate" > as you want and never have to worry about forgetting it or whatever. > > Then you just have to type "http://plug.org/random/".
Well for that matter, just use random.org. Corey
signature.asc
Description: This is a digitally signed message part
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
