5 ms·
The email address script was cute :)
by iqster 15y ago
The email address script was cute :)
- ed209 15y agoor just send an email to 0@,1@,2@,3@,4@...22@ :)
- borski 15y agoAssuming they won't notice that is probably not the right way to go. Also, 22@ might be a little high. Just sayin'
- iqster 15y agoHeh ... I wonder why they didn't multiply by 7 (rather than 11)? The frequency counts would have been the same as rolling two dice. Too obvious perhaps? Or maybe that would have attracted the wrong sort of developers :-p
- Dn_Ab 15y agoArdent monopoly fans? heh. I not particularly skilled in javascript but surely multiplying by 7 would return a number between 0 and 6 inclusive? Which is much more like rolling two 7 sided dice numbered from 0 which yields a different value in the pattern.
- iqster 15y agoCatan fans and craps shooters ;) Oops ... off by 1 again ... story of my life :p
- dpritchett 15y agoFun, too! I just spent a nice few minutes in the Chrome debug console brute forcing it.
- mitjak 15y agoI suck at stats but isn't the expected value of Math.random E=0.5? Which makes the result Ex11x2 = 11? EDIT: I do suck. The expected value of Math.random*11 is 5.5, which floors to 5. Thus the total is 10.