Re: [gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-29 Thread Matti Nykyri
On Jun 29, 2014, at 0:28, Kai Krakow hurikha...@gmail.com wrote: Matti Nykyri matti.nyk...@iki.fi schrieb: On Jun 27, 2014, at 0:00, Kai Krakow hurikha...@gmail.com wrote: Matti Nykyri matti.nyk...@iki.fi schrieb: If you are looking a mathematically perfect solution there is a simple

[gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-28 Thread Kai Krakow
Matti Nykyri matti.nyk...@iki.fi schrieb: On Jun 27, 2014, at 0:00, Kai Krakow hurikha...@gmail.com wrote: Matti Nykyri matti.nyk...@iki.fi schrieb: If you are looking a mathematically perfect solution there is a simple one even if your list is not in the power of 2! Take 6 bits at a time

Re: [gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-28 Thread Canek Peláez Valdés
On Sat, Jun 28, 2014 at 4:28 PM, Kai Krakow hurikha...@gmail.com wrote: [ ... ] I cannot follow your reasoning here - but I'd like to learn. Actually, I ran this multiple times and never saw long sets of the same character, even no short sets of the same character. The 0 or 1 is always rolled

Re: [gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-28 Thread gottlieb
On Sat, Jun 28 2014, Canek Peláez Valdés wrote: That doesn't matter. Take a non-negative integer N; if you flip a coin an infinite number of times, then the probability of the coin landing on the same face N times in a row is 1. This is certainly true. This means that it is *guaranteed* to

Re: [gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-28 Thread Canek Peláez Valdés
On Sat, Jun 28, 2014 at 7:37 PM, gottl...@nyu.edu wrote: On Sat, Jun 28 2014, Canek Peláez Valdés wrote: That doesn't matter. Take a non-negative integer N; if you flip a coin an infinite number of times, then the probability of the coin landing on the same face N times in a row is 1. This

[gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-27 Thread Kai Krakow
thegeezer thegee...@thegeezer.net schrieb: On 06/26/2014 11:07 PM, Kai Krakow wrote: It is worth noting that my approach has the tendency of generating random characters in sequence. sorry but had to share this http://dilbert.com/strips/comic/2001-10-25/ :-) I'm no mathematician, but

Re: [gentoo-user] Re: Re: OT: Mapping random numbers (PRNG)

2014-06-27 Thread Neil Bothwick
On Fri, 27 Jun 2014 19:50:15 +0200, Kai Krakow wrote: You can actually learn from Dilbert comics. ;-) Unless you're a PHB, they never learn. -- Neil Bothwick You know how dumb the average person is? Well, statistically, half of them are even dumber than that - Lewton, P.I. signature.asc