TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

RandInt: For all your application random number needs...

14 pointsby gacbaover 14 years ago

9 comments

gdlover 14 years ago
Awesome. I've been a longtime random.org user but have always complained about the lack of a Comic Sans interface. It seems my prayers have finally been answered:<p><a href="http://randint.com/labs/comicsans.php" rel="nofollow">http://randint.com/labs/comicsans.php</a><p>(My first Comic Sans number was 17 - it even <i>feels</i> more random than the competition!)
评论 #1773116 未加载
deutroniumover 14 years ago
Does anyone know how these are generated?<p>Could anyone explain what this paragraph means from their FAQ:<p>"Since 1992 at least 24 companies have set out to solve the random integer problem. Most fail for obvious reasons. It is rumored that a few of our competitors may have a 1-5 algo that works approximately 40% of the time. Our 1-100 algo is rock solid. In short, there is a consumer need for a random integer but the problem isn't easy. Even Google is rumored to be 2 years away from a reliable 1-50 algo."<p>I'm probably being stupid but I don't understand what 'works approximately 40% of the time' means in this respect.<p>Also this is cool : <a href="https://www.fourmilab.ch/hotbits/secure_generate.html" rel="nofollow">https://www.fourmilab.ch/hotbits/secure_generate.html</a>
评论 #1773715 未加载
评论 #1773610 未加载
adammichaelcover 14 years ago
And sometimes it takes a break... <a href="http://i55.tinypic.com/1zr2743.png" rel="nofollow">http://i55.tinypic.com/1zr2743.png</a>
评论 #1773821 未加载
dholowiskiover 14 years ago
Cool, but I think your API is too complicated ;)
r11tover 14 years ago
A command line version:<p><i>curl -silent randint.com | grep "&#60;/h1&#62;" | sed 's/\&#60;\/h1\&#62;//'</i>
hugh3over 14 years ago
I got 88 on my first try. That's not very random at all.<p>Seriously though, are these true random or pseudorandom? There's nothing to say how they're generated. I personally want a true quantum random number generator, so that I can use it to make decisions and be guaranteed that an alternate-universe counterpart of myself made the opposite decision. That way at least one of me is going to be right.
dmn001over 14 years ago
<a href="http://www.random.org/" rel="nofollow">http://www.random.org/</a>
ronnochover 14 years ago
Cool. Would be even cooler if you could specify a range.
astonover 14 years ago
No JSONP?
评论 #1774265 未加载