Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on “Oh By” Is the Universal Shortener. Parent comment
Thanks for being our customer (at rsync.net).
"How are the codes derived?"
# generate the ohby code use String::Random; my $pattern = new String::Random; my $size = 6; # don't use i,I,1,l,L,0,O,X,x etc.. $pattern->{'A'} = [ 'A'..'H', 'J', 'K', 'M', 'N', 'P'..'W', 'Y' .. 'Z', '2'..'9' ]; my $code = $pattern->randpattern('A' x $size);
Right now we are handing out random (free) codes that are 6 characters long, but at some point I suppose we have to increase to 7 ... like ICQ ...
There are no comments on this comment yet.
Thanks for being our customer (at rsync.net).
"How are the codes derived?"
(We disallow ILOX and 0 since that could get confusing)Right now we are handing out random (free) codes that are 6 characters long, but at some point I suppose we have to increase to 7 ... like ICQ ...