[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: random doesn't feel very random
From: |
Ivan Kanis |
Subject: |
Re: random doesn't feel very random |
Date: |
Sun, 26 Aug 2012 11:06:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Richard Stallman <address@hidden> wrote:
> > Why would extra invocations of (random t) cause repetitive behavior?
>
> (random t) calculates a seed based on the current time.
> Unless it is done repeatedly in a very short time, that
> should make a different seed each time.
I had emacs play the same track after two starts. My emacs takes few
seconds to start.
It happened on Ubuntu 10.10 or Debian 6.0.
Does the function random not take into account the seconds when it's
seeded?
--
Ivan Kanis
http://ivan.kanis.fr
Everyone thinks of changing the world, but no one thinks of changing
himself.
-- Leo Tolstoy
I am listening to "Plan B - She Said".
- Re: random doesn't feel very random, (continued)
- Re: random doesn't feel very random, Richard Stallman, 2012/08/26
- Re: random doesn't feel very random, Stefan Monnier, 2012/08/27
- Re: random doesn't feel very random, Eli Zaretskii, 2012/08/31
- Re: random doesn't feel very random, Stefan Monnier, 2012/08/31
- Re: random doesn't feel very random, chad, 2012/08/31
- Re: random doesn't feel very random, Eli Zaretskii, 2012/08/31
- Re: random doesn't feel very random, Achim Gratz, 2012/08/27
- Re: random doesn't feel very random, Eli Zaretskii, 2012/08/31
- Re: random doesn't feel very random, Stefan Monnier, 2012/08/31
- Re: random doesn't feel very random, Eli Zaretskii, 2012/08/31
- Re: random doesn't feel very random,
Ivan Kanis <=
random doesn't feel very random, Stephen J. Turnbull, 2012/08/24
OT: appropriateness of "random" for playlist generation (was: random doesn't feel very random), Jeremiah Dodds, 2012/08/24
RE: random doesn't feel very random, Drew Adams, 2012/08/24