Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by donohoe

2 months ago

  function getRandomNumber() {
    return 4
  }

5 comments

donohoe

Reply

joquarky  2 months ago

Good teacher. He really seems to care.

About what, I have no idea.

mewpmewp2  2 months ago

Prove to me that it's not perfectly random.

  • jvanderbot  2 months ago

    It is perfectly random for some distributions

    • getnormality  2 months ago

      And it's big-O of zero time. The solution is already there.

shepherdjerred  2 months ago

It’s better with the comment

https://xkcd.com/221/

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities