How can Computers be random? - Overclock.net - An Overclocking Community

Forum Jump: 

How can Computers be random?

 
Thread Tools
post #1 of 9 (permalink) Old 09-10-2005, 07:01 PM - Thread Starter
New to Overclock.net
 
Join Date: Oct 2004
Location: Missouri
Posts: 2,174
Rep: 132 (Unique: 106)
I was just wondering how computers can really choose something at random. Whether it be the "shuffle" option on your cd player, or variables in a game, or just a random number generator. Can someone explain, thanks.

22 views and no one knows?

Gnarly is offline  
Sponsored Links
Advertisement
 
post #2 of 9 (permalink) Old 09-10-2005, 07:19 PM
New to Overclock.net
 
Join Date: Jul 2005
Location: Raleigh,NC
Posts: 997
Rep: 132 (Unique: 96)
I assume because it is never an infinite set of variables to choose from. If it were,the computer would never decide,thereby causing an infinite loop(instance where you must use ctrl+alt+del.). For example in VB.net when setting random numbers using the RAN command you are setting random numbers but within a certain frame of numbers,its not infinite in the way infinite is normally percieved.


For an easier example,on a cd player shuffle command. The player only has 12 numbers to decide between,it is a set interval. Its not going to try and do track 1.2343492859435.

...Maybe that cleared it up. Probably not.


Note:This is all an assumption.
TylerBello is offline  
post #3 of 9 (permalink) Old 09-10-2005, 07:22 PM
New to Overclock.net
 
Join Date: Oct 2004
Posts: 579
Rep: 30 (Unique: 25)
random number generators are programed it many different ways. They are of course never really "random" however they fake it pretty well. usually there is a complex algorithum <sp??> that is "seeded" by or based upon the system time. In the case of the cd shuffle it keeps a list of the numbers is "randomly" picked so it will not choose them again.

PaulB is offline  
Sponsored Links
Advertisement
 
post #4 of 9 (permalink) Old 09-10-2005, 07:29 PM
New to Overclock.net
 
Join Date: Nov 2004
Location: Northern VA
Posts: 2,398
Rep: 261 (Unique: 193)
There are pretty good algorithms that are very close to random... lots of programs pull the milliseconds off the system clock. Pretty random, face it. Then they might throw that number as a seed into a random number generator, and use the result...check this out...very informative. Yes, I'm a programmer.

Overclocking in a nutshell: CyberDruid's BOOK | EvilXP's List of OCing Guides | DeathONator's Ultimate Overclocking Guide | The TOS
Quote:

In other words: Removed code is debugged code, and it certainly doesn't use any memory or CPU time; so even better if you don't write it.
ouroboros1827 is offline  
post #5 of 9 (permalink) Old 09-10-2005, 08:40 PM - Thread Starter
New to Overclock.net
 
Join Date: Oct 2004
Location: Missouri
Posts: 2,174
Rep: 132 (Unique: 106)
Quote:
Originally Posted by ouroboros1827
There are pretty good algorithms that are very close to random... lots of programs pull the milliseconds off the system clock. Pretty random, face it. Then they might throw that number as a seed into a random number generator, and use the result...check this out...very informative. Yes, I'm a programmer.
Thanks for clearing that up. I know that the game Kinko or whatever in casinos was cracked by a guy, He figured out the equation it used was able to predict the numbers thus winning the 500,000 dollar jackpot, but he got caught.

Reps comin' around.

Gnarly is offline  
post #6 of 9 (permalink) Old 09-10-2005, 08:43 PM
New to Overclock.net
 
Join Date: Feb 2005
Location: Cincinnati, OH
Posts: 2,234
Rep: 108 (Unique: 91)
How did they catch him?

My Signature was getting old. Its changed now.

Hollowman8904 is offline  
post #7 of 9 (permalink) Old 09-10-2005, 08:48 PM - Thread Starter
New to Overclock.net
 
Join Date: Oct 2004
Location: Missouri
Posts: 2,174
Rep: 132 (Unique: 106)
Quote:
Originally Posted by Hollowman8904
How did they catch him?
Well he stayed in his hotel room with his laptop with the program he made to figure out the numbers, then he found this guy to actually play the game on casino floor, using an ear pierce he read the numbers out to the guy. When the guy won he didn't "play" it right and asked for his winnings in cash. The casino got suspicous since no one has one the grand prize and predicted like 25#s or whatever correct, a 1/10^25 chance is what you would have I guess. Then I guess the casino investigated who was staying in the room, what other gambling activities they took part in (If you play only one game and end up winning half a million against all odds then want it in cash to leave that evening looks might suspicious). So in the end they caught him.

Gnarly is offline  
post #8 of 9 (permalink) Old 09-10-2005, 08:51 PM
New to Overclock.net
 
Join Date: Feb 2005
Location: Cincinnati, OH
Posts: 2,234
Rep: 108 (Unique: 91)
Yea well... if your gonna cheat to get some money... at least dont be so obvious

My Signature was getting old. Its changed now.

Hollowman8904 is offline  
post #9 of 9 (permalink) Old 09-10-2005, 08:54 PM
New to Overclock.net
 
jrabb1920's Avatar
 
Join Date: May 2005
Location: Tucson, Az.
Posts: 5,332
Rep: 471 (Unique: 257)
Quote:
Originally Posted by ouroboros1827
There are pretty good algorithms that are very close to random... lots of programs pull the milliseconds off the system clock. Pretty random, face it. Then they might throw that number as a seed into a random number generator, and use the result...check this out...very informative. Yes, I'm a programmer.

Good info.

jrabb1920 is offline  
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off