<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">OK thanks, it’s good to know the expected behaviour. It certainly works that way on Mac, but I’m reasonably certain that it is not working that way on Linux (at least on the most recent version available on raspberry pi). <div class=""><br class=""></div><div class="">Images attached that show the behaviour on Linux - I launch the simple random patch twice on Linux and it produces the exact same stream of numbers.</div><div class=""><br class=""></div><div class="">So perhaps this is a bug that I should file? Perhaps someone else can confirm?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Yann</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="8BE684EF-0F10-42E8-86ED-D94BB0B402BC" width="124" height="184" src="cid:3154DF69-4E71-4BCE-AC15-2AE51F67A268" class=""><br class=""><div><img apple-inline="yes" id="AB597610-7F26-4748-8EE2-76E3E62307DB" src="cid:92DEC60D-F4C0-4315-8FC3-7C7886CC6C42" class=""><br class=""><blockquote type="cite" class=""><div class="">On 11 Mar 2022, at 05:26, Miller Puckette <<a href="mailto:msp@ucsd.edu" class="">msp@ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Each time a [random] is created it gets a new (pseudo-random) seed - so if<br class="">you want total repeatability you should exit and restart Pd.  Then you should<br class="">see exactly the same behavior on linux and on Mac.<br class=""><br class="">cheers<br class="">Miller<br class=""><br class="">On Thu, Mar 10, 2022 at 12:04:15PM +0100, Yann Seznec wrote:<br class=""><blockquote type="cite" class="">Hi! Here's thing I’m confused about…if I use [random] to generate some numbers on startup, it appears to have different behaviour on macOS and on linux (running on a raspberry pi). <br class=""><br class="">With a very simple patch generate a stream of random numbers using [random] (with no seed) and printing to console, on macOS it will create a different random set every time I launch the patch. On linux, it will generate the same set of numbers each time the patch is launched. It feels to me like the [random] object on linux is using the same seed each time, whereas on macOS it is either using a new seed each time or just not using a seed at all (if that’s possible, I’m clearly no random number specialist). <br class=""><br class="">Any thoughts appreciated. Thanks!<br class="">Yann<br class=""><br class=""><br class="">_______________________________________________<br class=""><a href="mailto:Pd-list@lists.iem.at" class="">Pd-list@lists.iem.at</a> mailing list<br class="">UNSUBSCRIBE and account-management -> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_listinfo_pd-2Dlist&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=vNtFkc2FjZDtwqIAgsEDP9Guvogt_cL8daFu1mGXVJv2iRxIu_-NXQ_c8fR_v8tv&s=wdaa7geCOAzHg2vPDAzMrvXU1pfbV3jp-FtB5Wxt6iA&e=" class="">https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_listinfo_pd-2Dlist&d=DwIGaQ&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=vNtFkc2FjZDtwqIAgsEDP9Guvogt_cL8daFu1mGXVJv2iRxIu_-NXQ_c8fR_v8tv&s=wdaa7geCOAzHg2vPDAzMrvXU1pfbV3jp-FtB5Wxt6iA&e=</a> <br class=""></blockquote></div></div></blockquote></div><br class=""></div></body></html>