On Thu, May 31, 2018 at 3:09 PM, hans w. koch <hansw.k...@gmail.com> wrote:

> but couldn´t that pi limitation worked around by a loadbang -delay combo
> to read a date, once the system has established one?
> would need mention in the helpfile though.
>
> The pi might not be connected to any network, in which case it will always
start at Jan 1, 2000.
/dev/random may not be usable right at startup as it needs time to
accumulate entropy, .dev/urandom is guaranteed to give some sort of random.
Reading a few bytes from /dev/urandom into a table then combining them into
a float or long int seems like a better idea.
There's an equivalent method in the WIndows API (SystemPrng), but it would
have to be coded into an external since it's not a file like in linux.

Martin
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to