[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: random doesn't feel very random
From: |
Achim Gratz |
Subject: |
Re: random doesn't feel very random |
Date: |
Mon, 27 Aug 2012 07:17:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Richard Stallman writes:
> It is a feature that, if you don't call (random t), `random' returns
> a predictable sequence. That is good for debugging.
I recognize that, but it leads directly to the mis-use of (random t) all
over the place. Wouldn't it be better (in the absence of any API
changes) to have an option to start Emacs with a predictable seed for
debugging and have it use a random seed otherwise?
> Perhaps we should create a different interface for that feature
> and make the default truly random.
Yes. Again, if applications within Emacs care about that sort of thing
it would really be necessary for them to be able to use their own PRNG
state rather than Emacs' global one, which isn't possible with the
current API.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
- 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, Stefan Monnier, 2012/08/31
- Re: random doesn't feel very random, Leo, 2012/08/31
- Re: random doesn't feel very random,
Achim Gratz <=
- 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, 2012/08/26
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