April 2017

S M T W T F S
      1
2345678
910111213 1415
16171819 2021 22
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Friday, July 19th, 2002 01:03 pm
I just wrote a PERL script that randomly generates RPS throws. It generates 500, and pretty-prints them into a 25x20 matrix, with row numbers (0-origin, by twos) for easy reference. This can then be copied&pasted into a word processor - if printed in 8 pt. Courier New, it fits on a business card.
The truly geeky part is that it takes input from /dev/random, which theoretically has high enough entropy for use in strong cryptography. It takes about 15 seconds of playing with the mouse to get enough data to generate a card.
(Next, I need to make the script automatically generate the PostScript so it can be sent straight to a printer without the messing with the word processer junk)