Re: [Pharo-users] 6.0 vm crash in FreeTypeFace

2016-12-21 Thread Peter Uhnak
This bug resurfaced after switch to Spur about a year ago. I envy you that you ran into that only now. :) (my favorite crashes for FT is during saving the image...) P On Wed, Dec 21, 2016 at 12:49:23PM -0300, Johan Fabry wrote: > Hi all, > > I’d like to report a vm crash of the 6.0 vm in a 5.0

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

2016-12-21 Thread Tudor Girba
Hi, > On Dec 21, 2016, at 3:05 PM, stepharong wrote: > > > >> Hi Alex, >> >> Following the design proposed by Stef, in your case you would use a >> different collection. > > Doru I have multiple missingValue so that they embed their own strategy. > Now I do not know for the scenario of alex

Re: [Pharo-users] NeoJSON

2016-12-21 Thread Sven Van Caekenberghe
Stef, Do you still have trouble with this ? It is really hard for me to help you without a reproducible case. Sven > On 16 Dec 2016, at 21:02, stepharong wrote: > >> >> Strange. >> >> In Neo-JSON-Core-SvenVanCaekenberghe.37 in the class comment of >> NeoJSONMapper last paragraph before the

Re: [Pharo-users] 6.0 vm crash in FreeTypeFace

2016-12-21 Thread Sabine Manaa
Hi Johan, I think it is the same as this one: https://pharo.fogbugz.com/f/cases/18872#BugEvent.180477 Regards Sabine 2016-12-21 16:35 GMT+01:00 jfabry [via Smalltalk] < ml-node+s1294792n4927846...@n4.nabble.com>: > Hi all, > > I’d like to report a vm crash of the 6.0 vm in a 5.0 image on MacOS E

[Pharo-users] 6.0 vm crash in FreeTypeFace

2016-12-21 Thread Johan Fabry
Hi all, I’d like to report a vm crash of the 6.0 vm in a 5.0 image on MacOS El Capitan. It happened when running some tests, no Roassal stuff this time. Apparently the problem is in FreeTypeFace(FT2Handle)>pvtDestroyHandle VM: 201610211421 https://github.com/estebanlm/opensmalltalk-vm.git $ D

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

2016-12-21 Thread Alexandre Bergel
> Doru I have multiple missingValue so that they embed their own strategy. > Now I do not know for the scenario of alex. For example, obtaining the classes for which metrics cannot be computed (e.g., source code is missing). Alexandre > >> >> Cheers, >> Doru >> >> >>> On Dec 21, 2016, at 8

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

2016-12-21 Thread stepharong
Hi damien why not :) Now I do not know if may be is helping me in my scenario. On Wed, 21 Dec 2016 13:54:12 +0100, Damien Pollet wrote: On a more general note, what do you think of how it's done in other languages (Haskell's "Maybe") ? We already have it in the form of nil / all other

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

2016-12-21 Thread stepharong
On Wed, 21 Dec 2016 12:05:32 +0100, Tudor Girba wrote: Hi, I forgot to mention that another option I played with was to always use a metric object, and never numbers. So, numberOfLinesOfCode would return a MetricValue. I think the same idea is present in acqoncagua. Yes in fact may be

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

2016-12-21 Thread stepharong
Hi Alex, Following the design proposed by Stef, in your case you would use a different collection. Doru I have multiple missingValue so that they embed their own strategy. Now I do not know for the scenario of alex. Cheers, Doru On Dec 21, 2016, at 8:13 AM, Alexandre Bergel wrote:

Re: [Pharo-users] Resetting Ring ?

2016-12-21 Thread Sven Van Caekenberghe
> On 21 Dec 2016, at 14:49, Nicolai Hess wrote: > > > > 2016-12-20 11:45 GMT+01:00 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 t

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

2016-12-21 Thread stepharong
On Wed, 21 Dec 2016 08:13:19 +0100, Alexandre Bergel wrote: 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. can y

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

2016-12-21 Thread stepharong
On Wed, 21 Dec 2016 08:07:39 +0100, Tudor Girba wrote: 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

Re: [Pharo-users] Resetting Ring ?

2016-12-21 Thread Nicolai Hess
2016-12-20 11:45 GMT+01:00 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 ? > I do not remember any case in w

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

2016-12-21 Thread Damien Pollet
On a more general note, what do you think of how it's done in other languages (Haskell's "Maybe") ? We already have it in the form of nil / all other objects and #ifNil:, but that would make it explicit with a couple of classes: Maybe subclass: ActualValue Maybe subclass: MissingValue and a #defa

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

2016-12-21 Thread Tudor Girba
Hi, I forgot to mention that another option I played with was to always use a metric object, and never numbers. So, numberOfLinesOfCode would return a MetricValue. I think the same idea is present in acqoncagua. Cheers, Doru -- www.tudorgirba.com "Every thing has its own flow" > On 21 Dec 20

Re: [Pharo-users] FFI on MacOS 10.12 using Pharo 5

2016-12-21 Thread Jay Hardesty
Thx - yes exactly the same path I took - strictly 32-bit (i386) worked, in my case on Sierra. Jay -- View this message in context: http://forum.world.st/FFI-on-MacOS-10-12-using-Pharo-5-tp4927537p4927740.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] FFI on MacOS 10.12 using Pharo 5

2016-12-21 Thread Pierce Ng
On Tue, Dec 20, 2016 at 05:23:37PM -0800, Jay Hardesty wrote: > realizing I had a 64 vs 32 bit problem.. works now. I built a 32/64-bit combo SQLite dylib and it didn't work with Pharo on El Capitan. A pure 32-bit dylib worked. Pierce