News for hackers. Stuff that matters.
Re:“Oh By” Is the Universal Shortener by chrismartin on Monday June 13, 2016 @06:03PM (#11898097)
Another curious rsync.net customer taking a look.

I think you're actually offering a key-value store (aaS) with a 4 KB maximum page size, and one of the use cases happens to be a text/URL shortener.

It looks like someone is squatting on ox.co. You could contact them and hope they haven't seen your project yet..

How are the codes derived?

Re:“Oh By” Is the Universal Shortener by rsync on Monday June 13, 2016 @06:31PM (#11898282)
"Another curious rsync.net customer taking a look."

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);
(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 ...