Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Tobias Pape

On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:

> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>> Tobias Pape uploaded a new version of Network to project The Trunk:
>> http://source.squeak.org/trunk/Network-topa.166.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Network-topa.166
>> Author: topa
>> Time: 21 October 2015, 8:26:14.656 pm
>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>> Ancestors: Network-topa.165
>>
>> UUIDGenerator
>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>> - Do not reset default on startup but rather reseed TheRandom
>>
>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>>
>
> This is outstanding. The UUID plugin has long been a source of problems in
> the VM, partly due to issues in various Linux distributions.
>
>  http://bugs.squeak.org/view.php?id=7358
>
> Making the plugin unnecessary is a big improvement.

Thats what I thought.
Probably we want to present this (Mersenne PRNG + new UUID gen) to
the Pharo core developers (cc) so that we can just remove the UUID plugin
from the VMs (cc vm-dev)?

Best regards
        -Tobias
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Marcus Denker-4

> On 22 Oct 2015, at 14:49, Tobias Pape <[hidden email]> wrote:
>
>
> On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>
>> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>>> Tobias Pape uploaded a new version of Network to project The Trunk:
>>> http://source.squeak.org/trunk/Network-topa.166.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Network-topa.166
>>> Author: topa
>>> Time: 21 October 2015, 8:26:14.656 pm
>>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>>> Ancestors: Network-topa.165
>>>
>>> UUIDGenerator
>>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>>> - Do not reset default on startup but rather reseed TheRandom
>>>
>>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>>>
>>
>> This is outstanding. The UUID plugin has long been a source of problems in
>> the VM, partly due to issues in various Linux distributions.
>>
>> http://bugs.squeak.org/view.php?id=7358
>>
>> Making the plugin unnecessary is a big improvement.
>
> Thats what I thought.
> Probably we want to present this (Mersenne PRNG + new UUID gen) to
> the Pharo core developers (cc) so that we can just remove the UUID plugin
> from the VMs (cc vm-dev)?
>

That sounds good!

        Marcus


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Marcus Denker-4

> On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:
>>>
>>
>> Thats what I thought.
>> Probably we want to present this (Mersenne PRNG + new UUID gen) to
>> the Pharo core developers (cc) so that we can just remove the UUID plugin
>> from the VMs (cc vm-dev)?
>>
>
> That sounds good!

I added an issue tracker entry so we do not forget:

        https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak


        Marcus

--
Marcus Denker  —  2Denker GmbH
http://www.2denker.de 
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Tobias Pape
Hi Marcus
On 22.10.2015, at 16:44, Marcus Denker <[hidden email]> wrote:

>> On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:
>>>>
>>>
>>> Thats what I thought.
>>> Probably we want to present this (Mersenne PRNG + new UUID gen) to
>>> the Pharo core developers (cc) so that we can just remove the UUID plugin
>>> from the VMs (cc vm-dev)?
>>>
>>
>> That sounds good!
>
> I added an issue tracker entry so we do not forget:
>
> https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak
>

Is there any way to view those issues without creating a fogbugz account?

best regards
        -Tobias =



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Marcus Denker-4

> On 22 Oct 2015, at 17:26, Tobias Pape <[hidden email]> wrote:
>
> Hi Marcus
> On 22.10.2015, at 16:44, Marcus Denker <[hidden email]> wrote:
>
>>> On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:
>>>>>
>>>>
>>>> Thats what I thought.
>>>> Probably we want to present this (Mersenne PRNG + new UUID gen) to
>>>> the Pharo core developers (cc) so that we can just remove the UUID plugin
>>>> from the VMs (cc vm-dev)?
>>>>
>>>
>>> That sounds good!
>>
>> I added an issue tracker entry so we do not forget:
>>
>> https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak
>>
>
> Is there any way to view those issues without creating a fogbugz account?
>

Sadly not. Just for that it was a mistake to use FogBugz. But moving now is difficult.

        Marcus


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Levente Uzonyi-2
In reply to this post by Tobias Pape
On Thu, 22 Oct 2015, Tobias Pape wrote:

> Hi Marcus
> On 22.10.2015, at 16:44, Marcus Denker <[hidden email]> wrote:
>
>>> On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:
>>>>>
>>>>
>>>> Thats what I thought.
>>>> Probably we want to present this (Mersenne PRNG + new UUID gen) to
>>>> the Pharo core developers (cc) so that we can just remove the UUID plugin
>>>> from the VMs (cc vm-dev)?
>>>>
>>>
>>> That sounds good!
>>
>> I added an issue tracker entry so we do not forget:
>>
>> https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak
>>
>
> Is there any way to view those issues without creating a fogbugz account?

No, there isn't. I guess it would be fairly easy to export all issues to
a static website, but once you have an account, your interest in creating
such site vanishes. :)

Levente

>
> best regards
> -Tobias =
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Henrik Sperre Johansen

On 22 Oct 2015, at 5:35 , Levente Uzonyi <[hidden email]> wrote:

On Thu, 22 Oct 2015, Tobias Pape wrote:

Hi Marcus
On 22.10.2015, at 16:44, Marcus Denker <[hidden email]> wrote:

On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:


Thats what I thought.
Probably we want to present this (Mersenne PRNG + new UUID gen) to
the Pharo core developers (cc) so that we can just remove the UUID plugin
from the VMs (cc vm-dev)?


That sounds good!

I added an issue tracker entry so we do not forget:

https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak


Is there any way to view those issues without creating a fogbugz account?

No, there isn't. I guess it would be fairly easy to export all issues to a static website, but once you have an account, your interest in creating such site vanishes. :)

Levente


best regards
-Tobias =

There's http://forum.world.st/Pharo-Issue-Tracker-f3456798.html, but there's both a delay, and it's a PITA to read without threading, so...

Now if only source.squeak.org was up so it'd actually be possible to upgrade a Squeak image and check out the changes ;)

Cheers,
Henry

signature.asc (859 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

monty-3
Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] The Trunk: Network-topa.166.mcz

Henrik Sperre Johansen
In reply to this post by Tobias Pape

> On 22 Oct 2015, at 2:49 , Tobias Pape <[hidden email]> wrote:
>
>
>
> On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>
>> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>>> Tobias Pape uploaded a new version of Network to project The Trunk:
>>> http://source.squeak.org/trunk/Network-topa.166.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Network-topa.166
>>> Author: topa
>>> Time: 21 October 2015, 8:26:14.656 pm
>>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>>> Ancestors: Network-topa.165
>>>
>>> UUIDGenerator
>>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>>> - Do not reset default on startup but rather reseed TheRandom
>>>
>>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>>>
>>
>> This is outstanding. The UUID plugin has long been a source of problems in
>> the VM, partly due to issues in various Linux distributions.
>>
>> http://bugs.squeak.org/view.php?id=7358
>>
>> Making the plugin unnecessary is a big improvement.
>
> Thats what I thought.
> Probably we want to present this (Mersenne PRNG + new UUID gen) to
> the Pharo core developers (cc) so that we can just remove the UUID plugin
> from the VMs (cc vm-dev)?
>
> Best regards
> -Tobias
In the release version of Squeak 5.0, the Mersenne Twister is initialized using a single seed restricted to 32bit.
Has this been changed since to use a wider ranged value?
Otherwise, you run into problems with potential collisions from separate image starts rather too fast for UUID uses... (IMHO)

Cheers,
Henry

signature.asc (859 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] The Trunk: Network-topa.166.mcz

Nicolas Cellier
For these reasons, I often prefer the Marsaglia's KISS

2015-10-22 17:57 GMT+02:00 Henrik Johansen <[hidden email]>:

> On 22 Oct 2015, at 2:49 , Tobias Pape <[hidden email]> wrote:
>
>
>
> On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>
>> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>>> Tobias Pape uploaded a new version of Network to project The Trunk:
>>> http://source.squeak.org/trunk/Network-topa.166.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Network-topa.166
>>> Author: topa
>>> Time: 21 October 2015, 8:26:14.656 pm
>>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>>> Ancestors: Network-topa.165
>>>
>>> UUIDGenerator
>>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>>> - Do not reset default on startup but rather reseed TheRandom
>>>
>>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>>>
>>
>> This is outstanding. The UUID plugin has long been a source of problems in
>> the VM, partly due to issues in various Linux distributions.
>>
>> http://bugs.squeak.org/view.php?id=7358
>>
>> Making the plugin unnecessary is a big improvement.
>
> Thats what I thought.
> Probably we want to present this (Mersenne PRNG + new UUID gen) to
> the Pharo core developers (cc) so that we can just remove the UUID plugin
> from the VMs (cc vm-dev)?
>
> Best regards
>       -Tobias

In the release version of Squeak 5.0, the Mersenne Twister is initialized using a single seed restricted to 32bit.
Has this been changed since to use a wider ranged value?
Otherwise, you run into problems with potential collisions from separate image starts rather too fast for UUID uses... (IMHO)

Cheers,
Henry

Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] The Trunk: Network-topa.166.mcz

Levente Uzonyi-2
In reply to this post by Henrik Sperre Johansen
On Thu, 22 Oct 2015, Henrik Johansen wrote:

>
>> On 22 Oct 2015, at 2:49 , Tobias Pape <[hidden email]> wrote:
>>
>>
>>
>> On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>>
>>> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>>>> Tobias Pape uploaded a new version of Network to project The Trunk:
>>>> http://source.squeak.org/trunk/Network-topa.166.mcz
>>>>
>>>> ==================== Summary ====================
>>>>
>>>> Name: Network-topa.166
>>>> Author: topa
>>>> Time: 21 October 2015, 8:26:14.656 pm
>>>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>>>> Ancestors: Network-topa.165
>>>>
>>>> UUIDGenerator
>>>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>>>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>>>> - Do not reset default on startup but rather reseed TheRandom
>>>>
>>>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>>>>
>>>
>>> This is outstanding. The UUID plugin has long been a source of problems in
>>> the VM, partly due to issues in various Linux distributions.
>>>
>>> http://bugs.squeak.org/view.php?id=7358
>>>
>>> Making the plugin unnecessary is a big improvement.
>>
>> Thats what I thought.
>> Probably we want to present this (Mersenne PRNG + new UUID gen) to
>> the Pharo core developers (cc) so that we can just remove the UUID plugin
>> from the VMs (cc vm-dev)?
>>
>> Best regards
>> -Tobias
>
> In the release version of Squeak 5.0, the Mersenne Twister is initialized using a single seed restricted to 32bit.
> Has this been changed since to use a wider ranged value?
> Otherwise, you run into problems with potential collisions from separate image starts rather too fast for UUID uses... (IMHO)

No, that's still something to be done[1].

Levente

[1] http://lists.squeakfoundation.org/pipermail/squeak-dev/2015-October/186409.html

>
> Cheers,
> Henry
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Levente Uzonyi-2
In reply to this post by Henrik Sperre Johansen
On Thu, 22 Oct 2015, Henrik Johansen wrote:

>
>       On 22 Oct 2015, at 5:35 , Levente Uzonyi <[hidden email]> wrote:
>
> On Thu, 22 Oct 2015, Tobias Pape wrote:
>
>       Hi Marcus
>       On 22.10.2015, at 16:44, Marcus Denker <[hidden email]> wrote:
>
>                   On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:
>
>
>                         Thats what I thought.
>                         Probably we want to present this (Mersenne PRNG + new UUID gen) to
>                         the Pharo core developers (cc) so that we can just remove the UUID plugin
>                         from the VMs (cc vm-dev)?
>
>
>                   That sounds good!
>
>
>             I added an issue tracker entry so we do not forget:
>
>             https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak
>
>
>       Is there any way to view those issues without creating a fogbugz account?
>
>
> No, there isn't. I guess it would be fairly easy to export all issues to a static website, but once you have an account, your interest in
> creating such site vanishes. :)
>
> Levente
>
>
>       best regards
>       -Tobias =
>
>
> There's http://forum.world.st/Pharo-Issue-Tracker-f3456798.html, but there's both a delay, and it's a PITA to read without threading, so...
>
> Now if only source.squeak.org was up so it'd actually be possible to upgrade a Squeak image and check out the changes ;)
Thanks Henry. It should be up again.

Levente

>
> Cheers,
> Henry
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Levente Uzonyi-2
In reply to this post by monty-3
This should be promoted more vigorously.

Levente

On Thu, 22 Oct 2015, monty wrote:

> This gives you threading: http://lists.gforge.inria.fr/pipermail/pharo-bugtracker/
>  
>
>
Reply | Threaded
Open this post in threaded view
|

Replacing FogBugz with an open source alternative. was: Re: [squeak-dev] The Trunk: Network-topa.166.mcz

Paul DeBruicker
In reply to this post by Marcus Denker-4
Gitlab.com has an import tool for fogbugz issues.  Their hosted service is https://about.gitlab.com/gitlab-com/

I'm not sure of the quality of their issue tracker but it could be a way out.  

The gitlab source issue tracker is here: https://gitlab.com/gitlab-org/gitlab-ce/issues to see what its like.  

They also include mattermost.org which is an open source Slack alternative.  

If the fogbugz integration with the image is just some REST calls, maybe it wouldn't be too bad to convert to gitlab's API (http://doc.gitlab.com/ee/api/README.html)


I know that this change would require some serious time investment in the analysis and deployment phase.




Marcus Denker-4 wrote
> On 22 Oct 2015, at 17:26, Tobias Pape <[hidden email]> wrote:
>
> Hi Marcus
> On 22.10.2015, at 16:44, Marcus Denker <[hidden email]> wrote:
>
>>> On 22 Oct 2015, at 16:13, Marcus Denker <[hidden email]> wrote:
>>>>>
>>>>
>>>> Thats what I thought.
>>>> Probably we want to present this (Mersenne PRNG + new UUID gen) to
>>>> the Pharo core developers (cc) so that we can just remove the UUID plugin
>>>> from the VMs (cc vm-dev)?
>>>>
>>>
>>> That sounds good!
>>
>> I added an issue tracker entry so we do not forget:
>>
>> https://pharo.fogbugz.com/f/cases/16846/integrate-non-Plugin-UUIDGenerator-from-Squeak
>>
>
> Is there any way to view those issues without creating a fogbugz account?
>

Sadly not. Just for that it was a mistake to use FogBugz. But moving now is difficult.

        Marcus
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] The Trunk: Network-topa.166.mcz

stepharo
In reply to this post by Levente Uzonyi-2
Yes I will add to our immense todo :)

Stef

Le 22/10/15 19:17, Levente Uzonyi a écrit :
> This should be promoted more vigorously.
>
> Levente
>
> On Thu, 22 Oct 2015, monty wrote:
>
>> This gives you threading:
>> http://lists.gforge.inria.fr/pipermail/pharo-bugtracker/


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] The Trunk: Network-topa.166.mcz

stepharo
In reply to this post by Nicolas Cellier
In SciSmalltalk we added some more random generators but people should have a look....


Stef


Le 22/10/15 18:21, Nicolas Cellier a écrit :
For these reasons, I often prefer the Marsaglia's KISS

2015-10-22 17:57 GMT+02:00 Henrik Johansen <[hidden email]>:

> On 22 Oct 2015, at 2:49 , Tobias Pape <[hidden email]> wrote:
>
>
>
> On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>
>> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>>> Tobias Pape uploaded a new version of Network to project The Trunk:
>>> http://source.squeak.org/trunk/Network-topa.166.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Network-topa.166
>>> Author: topa
>>> Time: 21 October 2015, 8:26:14.656 pm
>>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>>> Ancestors: Network-topa.165
>>>
>>> UUIDGenerator
>>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>>> - Do not reset default on startup but rather reseed TheRandom
>>>
>>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>>>
>>
>> This is outstanding. The UUID plugin has long been a source of problems in
>> the VM, partly due to issues in various Linux distributions.
>>
>> http://bugs.squeak.org/view.php?id=7358
>>
>> Making the plugin unnecessary is a big improvement.
>
> Thats what I thought.
> Probably we want to present this (Mersenne PRNG + new UUID gen) to
> the Pharo core developers (cc) so that we can just remove the UUID plugin
> from the VMs (cc vm-dev)?
>
> Best regards
>       -Tobias

In the release version of Squeak 5.0, the Mersenne Twister is initialized using a single seed restricted to 32bit.
Has this been changed since to use a wider ranged value?
Otherwise, you run into problems with potential collisions from separate image starts rather too fast for UUID uses... (IMHO)

Cheers,
Henry


Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] The Trunk: Network-topa.166.mcz

SergeStinckwich
Yes I could have a look but no time right now ...


On Thu, Oct 22, 2015 at 11:07 PM, stepharo <[hidden email]> wrote:

> In SciSmalltalk we added some more random generators but people should have
> a look....
>
>
> Stef
>
>
> Le 22/10/15 18:21, Nicolas Cellier a écrit :
>
> For these reasons, I often prefer the Marsaglia's KISS
>
> 2015-10-22 17:57 GMT+02:00 Henrik Johansen <[hidden email]>:
>>
>>
>> > On 22 Oct 2015, at 2:49 , Tobias Pape <[hidden email]> wrote:
>> >
>> >
>> >
>> > On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>> >
>> >> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email]
>> >> wrote:
>> >>> Tobias Pape uploaded a new version of Network to project The Trunk:
>> >>> http://source.squeak.org/trunk/Network-topa.166.mcz
>> >>>
>> >>> ==================== Summary ====================
>> >>>
>> >>> Name: Network-topa.166
>> >>> Author: topa
>> >>> Time: 21 October 2015, 8:26:14.656 pm
>> >>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>> >>> Ancestors: Network-topa.165
>> >>>
>> >>> UUIDGenerator
>> >>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960)
>> >>> for even more speed
>> >>> - Fix UUIDGenerator class>>#initialize to correctly register at
>> >>> startup
>> >>> - Do not reset default on startup but rather reseed TheRandom
>> >>>
>> >>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.'
>> >>> (0.25 times slower than primitive version)
>> >>>
>> >>
>> >> This is outstanding. The UUID plugin has long been a source of problems
>> >> in
>> >> the VM, partly due to issues in various Linux distributions.
>> >>
>> >> http://bugs.squeak.org/view.php?id=7358
>> >>
>> >> Making the plugin unnecessary is a big improvement.
>> >
>> > Thats what I thought.
>> > Probably we want to present this (Mersenne PRNG + new UUID gen) to
>> > the Pharo core developers (cc) so that we can just remove the UUID
>> > plugin
>> > from the VMs (cc vm-dev)?
>> >
>> > Best regards
>> >       -Tobias
>>
>> In the release version of Squeak 5.0, the Mersenne Twister is initialized
>> using a single seed restricted to 32bit.
>> Has this been changed since to use a wider ranged value?
>> Otherwise, you run into problems with potential collisions from separate
>> image starts rather too fast for UUID uses... (IMHO)
>>
>> Cheers,
>> Henry
>
>
>



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

Reply | Threaded
Open this post in threaded view
|

Re: [Vm-dev] [squeak-dev] The Trunk: Network-topa.166.mcz

Levente Uzonyi-2
In reply to this post by Nicolas Cellier
I don't see how using KISS would have any effect on this problem - the
problem of setting the initial state of the generator.
I also don't see how could KISS be implemented in Smalltalk efficiently.

Levente

On Thu, 22 Oct 2015, Nicolas Cellier wrote:

> For these reasons, I often prefer the Marsaglia's KISS
>
> 2015-10-22 17:57 GMT+02:00 Henrik Johansen <[hidden email]>:
>
>       > On 22 Oct 2015, at 2:49 , Tobias Pape <[hidden email]> wrote:
>       >
>       >
>       >
>       > On 22.10.2015, at 14:37, David T. Lewis <[hidden email]> wrote:
>       >
>       >> On Thu, Oct 22, 2015 at 06:28:09AM +0000, [hidden email] wrote:
>       >>> Tobias Pape uploaded a new version of Network to project The Trunk:
>       >>> http://source.squeak.org/trunk/Network-topa.166.mcz
>       >>>
>       >>> ==================== Summary ====================
>       >>>
>       >>> Name: Network-topa.166
>       >>> Author: topa
>       >>> Time: 21 October 2015, 8:26:14.656 pm
>       >>> UUID: d6d9910f-fa67-4c69-9a89-030c81233e90
>       >>> Ancestors: Network-topa.165
>       >>>
>       >>> UUIDGenerator
>       >>> - Use new Random>>#nextBytes:into:startingAt: (needs Kernel-ul.960) for even more speed
>       >>> - Fix UUIDGenerator class>>#initialize to correctly register at startup
>       >>> - Do not reset default on startup but rather reseed TheRandom
>       >>>
>       >>> Timings improved:  '1,190,000 per second. 842 nanoseconds per run.' (0.25 times slower than primitive version)
>       >>>
>       >>
>       >> This is outstanding. The UUID plugin has long been a source of problems in
>       >> the VM, partly due to issues in various Linux distributions.
>       >>
>       >> http://bugs.squeak.org/view.php?id=7358
>       >>
>       >> Making the plugin unnecessary is a big improvement.
>       >
>       > Thats what I thought.
>       > Probably we want to present this (Mersenne PRNG + new UUID gen) to
>       > the Pharo core developers (cc) so that we can just remove the UUID plugin
>       > from the VMs (cc vm-dev)?
>       >
>       > Best regards
>       >       -Tobias
>
> In the release version of Squeak 5.0, the Mersenne Twister is initialized using a single seed restricted to 32bit.
> Has this been changed since to use a wider ranged value?
> Otherwise, you run into problems with potential collisions from separate image starts rather too fast for UUID uses... (IMHO)
>
> Cheers,
> Henry
>
>
>
>