Author Topic: Interesting article re: QBASIC random numbers  (Read 6143 times)

0 Members and 1 Guest are viewing this topic.


Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Interesting article re: QBASIC random numbers
« Reply #16 on: January 29, 2021, 11:40:47 pm »
I don’t see how it’s not easy, nor quick.

Say you want a 52 card shuffle.  It’s as simple as: https://www.random.org/sequences/?min=1&max=52&col=1&format=plain&rnd=new

Send that, read the result.

The timing. You are now depending on a website to give you your data. You are depending on a quick internet connection. You are depending on them being available. You are depending on them not limiting your request speed. You are going to need to use an HTTP function to get the link. Version 4 UUIDs use either WinAPI for Windows or the terminal for Linux and Mac. All Local. No outside dependence.
Shuwatch!


Offline luke

  • Administrator
  • Seasoned Forum Regular
  • Posts: 324
    • View Profile
Re: Interesting article re: QBASIC random numbers
« Reply #18 on: January 29, 2021, 11:46:01 pm »
Geez, kinda harsh, that article, no?
The complaints are perfectly reasonable and correct.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Interesting article re: QBASIC random numbers
« Reply #19 on: January 29, 2021, 11:49:00 pm »
internet connection? API ?

Don't worry about it. Have fun, NOVARSEG
Shuwatch!

Offline doppler

  • Forum Regular
  • Posts: 241
    • View Profile
Re: Interesting article re: QBASIC random numbers
« Reply #20 on: January 31, 2021, 02:42:58 pm »
The diode

Everyone thought that was going to be the answer.  Until a equilibrium is achieved between voltage and heat.  After a very, very long time it starts to develop patterns of output.  Not very random after all.

You do realize to search for true random does not stop with a method to get it.  You have to prove it too.  What is really not well know is, who is  doing the most funding looking for a perfect random generator.  The Casino's.  From what I last heard, "The diode method" is being used in digital betting games.

Offline NOVARSEG

  • Forum Resident
  • Posts: 509
    • View Profile
Re: Interesting article re: QBASIC random numbers
« Reply #21 on: February 01, 2021, 03:11:32 am »
The diode generators are as random as anything else. A LOTTO machine uses balls that tumble etc

Offline doppler

  • Forum Regular
  • Posts: 241
    • View Profile
Re: Interesting article re: QBASIC random numbers
« Reply #22 on: February 01, 2021, 09:01:22 am »
A LOTTO machine uses balls that tumble etc
Funny you should mention the tumbling balls.  Ever wonder why "During a live lotto event."  They always say the machines have been monitored for a half hour before the pull?  There was a lottery scandal involving the some lotto officials "wetting" all balls except the a few.  The wetter balls being heavier would not pop to the top for daily numbers (3 and 4 ball type pulls).  Very smart gamble.  The balls would dry out by the time they were checked again.

Back to casino's again.  All dice are weighed/balanced/spun on all axis/sized.  Before they are shipped and again at the casino retested.

True random is the holy grail of science.  BTW, the oldest set of dice ever found were tested.  Wanna guess what they found...... "loaded".