Re: [Pharo-users] [Moose-dev] Design Challenge: metrics missing value...

2016-12-20 Thread Tudor Girba
Hi Alex, Following the design proposed by Stef, in your case you would use a different collection. Cheers, Doru > On Dec 21, 2016, at 8:13 AM, Alexandre Bergel wrote: > > Hi Stef, > > You are raising an interesting point to discuss. This MissingValue is indeed >

Re: [Pharo-users] [Moose-dev] Design Challenge: metrics missing value...

2016-12-20 Thread Alexandre Bergel
Hi Stef, You are raising an interesting point to discuss. This MissingValue is indeed better than having -1 Something to keep in mind: it may be that one would like to focus on the missing value and not really the value. Consider: > testCollect > > | uarray collected | > uarray

Re: [Pharo-users] [Moose-dev] Design Challenge: metrics missing value...

2016-12-20 Thread Tudor Girba
Hi, MissingValue (or NoValue) is definitely the way to go. The UniformOrderedCollection is an interesting idea, too. We had a NoValue like solution a long time ago but we discarded because we missed the idea around collections. It would be really cool to have this working. Cheers, Doru > On

Re: [Pharo-users] [Moose-dev] Design Challenge: metrics missing value...

2016-12-20 Thread Serge Stinckwich
So basically you are trying to deal with missing values in collections. People working with R or Python data analytics framework made some ways to work with specific data structures called dataframes where you can have some missing values. For example you may have a look here:

Re: [Pharo-users] Password storage options

2016-12-20 Thread Jan Blizničenko
I'm currently trying it and it seems quite easy to load and use - just working fine. Of couse it seems kinda slow in comparison with native implementations (2000 iterations of SHA256 into 32 byte hash taking almost a second on my quite powerful PC), but that's expected and not that much of a

[Pharo-users] Design Challenge: metrics missing value...

2016-12-20 Thread stepharong
Hi dear great OO designers Here is a little challenges for your brainy souls :) In Moose when we compute metrics it may happen than a tool (often external to pharo) does not compute a metrics and when we request it in moose we check and often we return a not so good -1. I'm trying to

[Pharo-users] Resetting Ring ?

2016-12-20 Thread Sven Van Caekenberghe
In a 4.0 image I got in a situation where it seems Ring is out of sync (I am getting errors of missing meta classes on each accept). I vaguely remember there being an expression to reset/reinitialise Ring ? Does anyone remember ? Thx, Sven

Re: [Pharo-users] Protego - smart way to manage NIL's in business calculations

2016-12-20 Thread Stephane Ducasse
Yes this is why it would be a good addition to protego On Sun, Dec 18, 2016 at 8:21 PM, Denis Kudriashov wrote: > > 2016-12-18 20:19 GMT+01:00 Denis Kudriashov : > >> >>> What is the main difference between proposed MissingValue and >>>