Page 1 of 1
Curiosity : RandomSeed(Random(1000))
Posted: Tue Oct 21, 2025 2:03 pm
by SPH
Curiosity:
Code: Select all
RandomSeed(Random(1000))
Debug Random(1000)

Re: Curiosity : RandomSeed(Random(1000))
Posted: Tue Oct 21, 2025 3:25 pm
by Mindphazer
So, what ?
Re: Curiosity : RandomSeed(Random(1000))
Posted: Tue Oct 21, 2025 4:53 pm
by SPH
And so: asking PB to create a random RandomSeed when it shouldn't, I find that comical.

Re: Curiosity : RandomSeed(Random(1000))
Posted: Wed Oct 22, 2025 10:33 pm
by Piero
Huh?
Do you (always) get a weird result (like 1000)?
Not here on ARM Mac…
¿ random RandomSeed when it shouldn't ?
Re: Curiosity : RandomSeed(Random(1000))
Posted: Wed Oct 22, 2025 11:32 pm
by mk-soft
Doesn't make sense.
Random always starts at program start randomly
Re: Curiosity : RandomSeed(Random(1000))
Posted: Sat Oct 25, 2025 1:55 pm
by DarkDragon
Pseudo random number generators (PRNGs) are state machines and the seed sets that state. You're setting the state randomly based on the previous random state. Some PRNG algorithms use the previous random number directly as state.
Re: Curiosity : RandomSeed(Random(1000))
Posted: Wed Oct 29, 2025 3:51 pm
by Piero
I heard many times about getting a Random "random SEED"… (e.g., to then extract lottery numbers…)
Stupid example I just invented now: you can use the luminosity of a flame being gently blown by a fan…
…or the movements of your mouse…
…or………
…Isn't that
WEIRD?
………I find "randomness" to be very fascinating, like "infinity"…
I must stop here, or Olli will say I'm posting religious stuff

Re: Curiosity : RandomSeed(Random(1000))
Posted: Wed Oct 29, 2025 4:01 pm
by Demivec
Piero wrote: Wed Oct 29, 2025 3:51 pm
I heard many times about getting a Random "random SEED"… (e.g., to then extract lottery numbers…)
Stupid example I just invented now: you can use the luminosity of a flame being gently blown by a fan…
…or the movements of your mouse…
…or………
…Isn't that
WEIRD?
………I find "randomness" to be very fascinating, like "infinity"…
Even those things you mentioned are predictable if given enough information (and time). The only attribute you need to concern yourself with is whether they are random enough or if their randomness is comparable to the process you are trying to mimic.
Re: Curiosity : RandomSeed(Random(1000))
Posted: Wed Oct 29, 2025 4:34 pm
by Piero
Demivec wrote: Wed Oct 29, 2025 4:01 pmThe only attribute you need to concern yourself with is whether they are random enough or if their randomness is comparable to the process you are trying to mimic.
Thanks Demivec; that's real Science! (Although much more limited than most ppl think)
PS: hmmm… are you really sure the flame luminosity is predictable? ;P
Re: Curiosity : RandomSeed(Random(1000))
Posted: Thu Oct 30, 2025 8:36 am
by jacdelad
Re: Curiosity : RandomSeed(Random(1000))
Posted: Thu Oct 30, 2025 2:35 pm
by NicTheQuick
If you need real randomness use `CryptRandom()`. It creates cryptographic secure randomness.