celic/Beaconator — pull request #6 by celic (2014-08-10 21:58:27+00:00)
Title: More randomness

Fixes #2 and #5 at the same time!

This PR first limits the random numbers to 8 hex chars per request. This number is massive in decimal, and provides all the randomness we need. It also allows 16 random requests per minute. Yes it does loop back, but you shouldn't be spamming beaconize like that.

This PR also has a little shuffle feature on the array of options to prevent the first elements of the array having a slightly larger chance of being selected. Yes that chance was ridiculously small, but now things are much more even.

@arempe93, please take a look at this and merge it and then push to OpenShift.