Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Perfectly Random generator

Author
Message
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 18th Mar 2008 21:18
If you can find a way to produce a number in a particular range, where a prediction about the chance of a number being produced is the same for all numbers in the range, it is effectively random. They will never be EXACTLY the same, so you just have to get as close as possible. To do this, you would want to get as many factors as possible to influence the result.

Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 19th Mar 2008 13:08
To get close then you could use external inputs. So, for example, like Kentaree said you could access the mic or webcam on a computer if it exists and use the data accessed to build a random number table (obviously build this up before starting the game). If a webcam or mic doesn't exist on the computer then revert to built in rnd functions.

Another external input could be the internet. Get it to automatically google a random number (or several searches) generated in DBP (or a random collection of letters). Almost bound to get a load of stuff from the search. Then parse what you get back from the Google search to build up a random number table. Even if you get the same DBP random number to google then the websites may have changed (perhaps auto browse to X sites found in the list to build up table further) since last time. Or Google layout has changed. Whatever. You use all the HTML retrieved to build the random number table.

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 19th Mar 2008 16:53
Quote: "Get it to automatically google a random number (or several searches) generated in DBP (or a random collection of letters). "


But then you are using the original non-random random number system from your PC
Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 19th Mar 2008 18:34
Quote: "But then you are using the original non-random random number system from your PC"
Never said it was perfect. But even if you google the same number (or word made from ASCII of RNDed numbers) as before, then if you are using the HTML from the Google search (or even X number of sites from that search) to produce the random number set somehow then because other people are changing sites everyday then it will produce a random effect that is based on stuff that is completely outside your control. I mean just a date and time update on someones blog from one of the search pages would cause you to have a slightly different random number table. And if they update that blog then weyhey, totally different.

Of course using the unprovable idea (which I happen to believe) that if you could map every single thing in the universe then you could predict anything, then even this is not truly random. But I never said it was. Just that it would be a better way of achieving a pseudo random number table mainly because it is using things that are external to your PC (microphone and webcam is also really good - with a webcam then different times of the day/year will have an impact, as will decoration of the room, cam position and even what you wear).

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
kaedroho
17
Years of Service
User Offline
Joined: 21st Aug 2007
Location: Oxford,UK
Posted: 19th Mar 2008 20:27 Edited at: 19th Mar 2008 20:33
Quote: "Everything they do, is generated by random numbers"


a human cant come up with random numbers. What you do is based on your sences and memory.

Login to post a reply

Server time is: 2024-11-20 04:42:36
Your offset time is: 2024-11-20 04:42:36