
4 Jun
2009
4 Jun
'09
9:55 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Thu, Jun 4, 2009 at 5:10 PM, Sergey Manucharian wrote: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkooQtkACgkQvpDo5Pfl1oJn3QCgikW0q5sF7C30XexAzl7/gG9G wlkAnj4x8RIOHPXr8sYc69NC2JYZVxMS =vC9o -----END PGP SIGNATURE-----
Yeah, I liked that idea several years ago, it was inspired by old OpenWindows by Sun :)
Actually to avoid "extra dependency" on python you can use a shell variable: # echo $RANDOM it will print a random number every time you use it.
Cheers, Sergey
Sure, but then he'd need to scale it. $RANDOM outputs between 0 and 32767, not 0-100. -- gwern