[CoLoCo] Random Number Generators
TJ Heaney
tjheaney at gmail.com
Wed Feb 13 18:12:50 GMT 2008
(Sent the source off-list)
As far as "More Random" the problem with Pseudo Random Number Generators is
just that, they are "Pseudo" - Because they are based upon a seed number,
they don't truly generate a random number.
Basically, a seeded number is a starting point
Example of seeded PRNG:
S = 1
MCW = Magical Cloud of Wonder where the randomizing occurs
N = result
S ---->(MCW) ---> N
Example or a Real RNG:
(MCW) ---> N
As you can see it does not have a point of reference, it just grabs a number
out of thin air.
And if this information is not accurate, somebody please clarify for me!
TJ
On Feb 12, 2008 7:20 PM, Leina Hutchinson <leinajay at gmail.com> wrote:
> Hi TJ,
>
> Thank you for the information you have given me.
>
> On Feb 12, 2008 11:57 AM, TJ Heaney <tjheaney at gmail.com> wrote:
>
> > Hi Leina!
> >
> > Here is what I know from my (limited) experience:
> >
> > 1) Scripts and Programs are able to generate a custom Pseudo-RNG. I have
> > personally done one using C++. If you would like, I can provide the source
> > code.
>
>
> That would be nice. Could you give it to me?
>
>
> >
> > 2) This question is a 'maybe' - it all depends on how you configure the
> > script or program. My source code does not do any graphing per se, but does
> > display the results in a list
> >
> > 3)Short Answer: a lot. Show you, no, help you learn it, yes. You will
> > want to look at a few different languages, such as C, C++, Ruby, Perl, and
> > Python. This list is not a comprehensive one, but it is a good starting
> > point.
> >
> > 4)The question here is what way do you define better? Do you want
> > something Faster? Lighter(Program size)? Pretty looking?
>
>
> I mean better as in one that is actually random and not predictable in
> some way.
>
> Thanks again,
> ~Leina
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20080213/fffd0563/attachment-0001.htm
More information about the Ubuntu-us-co
mailing list