Hi Didier, Didier Kryn writes:
> Le 16/03/2018 à 09:19, Olaf Meeuwissen a écrit: >>> This is getting off the topic in the subject line, [...] >> Indeed;-) >> >>> In PostScript, I don't readily find any built-in operators that could >>> give a result that differs on every run, so you probably have to >>> inject suitable arguments for srand from outside sources. PostScript >>> can read data from files, so you could have a large file of seeds, and >>> read a new seed for each simulation. >> If it can read data from files, have it read from /dev/urandom! After >> all, in Unix everything's a file:-) > > Not sure I understand everything here: PS is meant to be processed > by the cpu of the printer. Not sure it is running any *nix OS. Don't > even know how it can read a file. My bad! If the PS is processed on the printer then all bets are off. If it is processed on host to convert it to something a non-PS printer groks, it ought to work (modulo being able to read partial files). But then again, you were all talking about PS printers, IIRC. Sorry, -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng