<div dir="ltr">Hi Benoit!<br><div> As Luciano mentioned, we try to keep the Cuis core image small and have packages for things that are important but not crucial.</div><div> There is a cuis repo called Numerics where we usually put the packages related to math stuff. I think you could put the one for ScaledDecimal there or of course keep it as your repo.</div><div><br></div><div> Cheers!</div><div> Hernan</div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 31, 2021 at 7:26 AM Luciano Notarfrancesco via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi, I think if you need to port ScaledDecimal for your project it would be nice to put it in a separated ScaledDecimal package, so anyone who needs it can use the package. We do this with Complex for example.</div><div dir="auto"><br></div><div dir="auto">About random generators, I use the default one (ParkMiller93Random), have been using it extensively for years and never had the need to use a different one. But again it is great to have alternatives, and could be useful to have this in a package too. In Cuis the random number generators are extensible, so it is easy to create a new subclass of Random that implements a different algorithm. The disadvantage I see with the algorithm you propose is that it uses 64 bit arithmetic and would end up using LargeIntegers in 32 bit platforms, right? About gaps, in Cuis we implemented the random number generators as sort of black boxes that output a number of uniformly distributed bits each time, and we can concatenate them to generate random bitstrings of any size, so there are no gaps when generating Floats or arbitrarily large integers (see Random>>nextInteger:). Of course there could be loss of random qualities if you use it to generate too big bitstrings, but the period is large enough and it never was a problem for me.</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 31 Mar 2021 at 4:26 PM Benoit St-Jean via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there any reason why ScaledDecimal is not present in Cuis? Would <br>
anyone be interested if I did port it to Cuis?<br>
<br>
I was thinking about porting the MySQL driver to Cuis (hence the need <br>
for ScaledDecimal) as a nice project to experiment with Cuis. Anyone <br>
interested by such a port?<br>
<br>
I noticed you have a few random number generators in Cuis. Would anyone <br>
like me to port my version of SplitMix64 <br>
(<a href="https://github.com/bstjean/SmalltalkStuff/tree/master/SplitMix64" rel="noreferrer" target="_blank">https://github.com/bstjean/SmalltalkStuff/tree/master/SplitMix64</a>) to <br>
Cuis ? It's a RNG used to generate very large numbers that doesn't <br>
suffer the usual gaps created with 32 bit arithmetic.<br>
<br>
P.S. Very nice job guys!<br>
<br>
-- <br>
-----------------<br>
Benoît St-Jean<br>
Yahoo! Messenger: bstjean<br>
Twitter: @BenLeChialeux<br>
Pinterest: benoitstjean<br>
Instagram: Chef_Benito<br>
IRC: lamneth<br>
GitHub: bstjean<br>
Blogue: <a href="http://endormitoire.wordpress.com" rel="noreferrer" target="_blank">endormitoire.wordpress.com</a><br>
"A standpoint is an intellectual horizon of radius zero". (A. Einstein)<br>
<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="https://10pines.com/" style="font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium" target="_blank"><img width="108" src="https://10pines.github.io/email-signature/10pines-firma@2x.png" style="margin-bottom: 0.5em;"></a><span style="color:rgb(0,0,0);font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium"></span><h1 style="margin:0px;font-size:14px">Hernán Wilkinson</h1><h2 style="margin:0px 0px 1em;font-size:14px;color:rgb(100,100,100)">Software Developer, Teacher & Coach</h2><p style="margin:0px;color:rgb(100,100,100);font-size:12px">Alem 896, Floor 6, Buenos Aires, Argentina</p><p style="margin:0px;color:rgb(100,100,100);font-size:12px">+54 11 6091 3125</p><p style="margin:0px;color:rgb(100,100,100);font-size:12px">@HernanWilkinson</p></div></div></div></div></div></div></div></div></div></div>