March 04, 2012
If you only call a random number generator once, then it's little more than a hash of whatever it uses as a seed. And it isn't necessarily a very good hash. So I decided to stop using that completely.
The new approach for picking an image is to use the number of milliseconds since midnight, with a small amount of numerical tweaking. While I was messing around with it, I saw several images I know I hadn't ever seen before. So I think it'll work better, and have a flatter response curve.
As always, you'll need to force a complete reload of the page, or dump your browser cache, if you want the latest version.
Posted by: Steven Den Beste in Site Stuff at
09:50 PM
| Comments (5)
| Add Comment
Post contains 120 words, total size 1 kb.
Posted by: J Greely at March 04, 2012 10:28 PM (2XtN5)
Posted by: Steven Den Beste at March 05, 2012 09:27 AM (+rSRq)
Posted by: Steven Den Beste at March 05, 2012 09:39 AM (+rSRq)
Posted by: Steven Den Beste at March 05, 2012 09:40 AM (+rSRq)
Posted by: Steven Den Beste at March 05, 2012 09:43 AM (+rSRq)
Enclose all spoilers in spoiler tags:
[spoiler]your spoiler here[/spoiler]
Spoilers which are not properly tagged will be ruthlessly deleted on sight.
Also, I hate unsolicited suggestions and advice. (Even when you think you're being funny.)
At Chizumatic, we take pride in being incomplete, incorrect, inconsistent, and unfair. We do all of them deliberately.
How to put links in your comment
Comments are disabled. Post is locked.20 queries taking 0.018 seconds, 22 records returned.
Powered by Minx 1.1.6c-pink.