Re: [Pharo-users] Fail on condense when image name is drgeo.image

2019-03-04 Thread Alistair Grant
Hi Hilaire, On Mon, 4 Mar 2019 at 22:18, Hilaire wrote: > > Hi, > > When I use the stable P7, drgeo build fails. > > There is an obscure error in File>>nextVersion, with negative index > which are not catch, although it looks like it should be. > > This same build was working on alpha P7 of June.

[Pharo-users] Fail on condense when image name is drgeo.image

2019-03-04 Thread Hilaire
Hi, When I use the stable P7, drgeo build fails. There is an obscure error in File>>nextVersion, with negative index which are not catch, although it looks like it should be. This same build was working on alpha P7 of June. The stack of the debugger is attached as well the PharoDebug.log. Does

Re: [Pharo-users] Google Protobuf and usage of Slots

2019-03-04 Thread Marcus Denker
Hello! Nice, I will have a look. I am interested to see how class layouts / slots can be used here. (but it might take some days to find time…) Marcus > On 26 Feb 2019, at 07:54, Holger Freyther wrote: > > Hi, > > from my point of view the pillars of future services are Google proto

[Pharo-users] Changes between two different classes

2019-03-04 Thread Ben Coman
Say I duplicate Class A as Class B then modify some methods in Class B. Is there some way to use the DIff or Changes tools to compare Class A and Class B ? cheers -ben

[Pharo-users] Exercism / Ring

2019-03-04 Thread Ben Coman
For Pharo track on https://exercism.io it may be useful for mentors to be able to review submitted solutions without disturbing their live image, and I wonder if Ring could be useful? Looking at Slide 30 here... https://www.slideshare.net/esug/metamodeling-of-custom-pharo-images it seems that mayb

Re: [Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Herby Vojčík
On 4. 3. 2019 14:15, Esteban Maringolo wrote: Well... you have the cascading that provides you that. book1 title:'C Programming'; author: 'Nuha Ali '; subject: 'C Programming Tutorial'; book_id: 6495407. What I would like, sometimes, is the option to nest cascades, very much lik

Re: [Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Tim Mackinnon
> On 4 Mar 2019, at 13:59, Christian Haider > wrote: > > Or #ifNotNil: When you are in the right mindset - lots of things come out of the wood work...

Re: [Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Tim Mackinnon
> On 4 Mar 2019, at 13:34, Sven Van Caekenberghe wrote: > > There is #in: that does exactly that: Classic - it was there - you just needed to get the name right. thanks.

Re: [Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Christian Haider
Or #ifNotNil: class metaclass ifNotNil: [ :metaclass | metaclass xxx. metaclass yyy ]. With the added benefit to not do anything with nil. Christian > -Ursprüngliche Nachricht- > Von: Pharo-users Im Auftrag von > Sven Van Caekenberghe > Gesendet: Montag, 4. März 2019 14:35 > An:

Re: [Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Sven Van Caekenberghe
There is #in: that does exactly that: class metaclass in: [ :metaclass | metaclass xxx. metaclass yyy ]. This is quite similar to lisp's let. You can do almost anything with blocks/closures. Although not relevant in most cases, there is a small performance price to pay - but again this is

Re: [Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Esteban Maringolo
Well... you have the cascading that provides you that. book1 title:'C Programming'; author: 'Nuha Ali '; subject: 'C Programming Tutorial'; book_id: 6495407. What I would like, sometimes, is the option to nest cascades, very much like the WITH DO construct of Pascal, Basic and others.

[Pharo-users] A "with" construct like Pascal - easy to do, but is it terrible?

2019-03-04 Thread Tim Mackinnon
I’ve noticed that as we’ve progressed there has been a move to more concise and fluid code - e.g. I quite like the new String streaming stuff e.g. ^ String streamContents: [ :stream | stream nextPut: …. ] So I was wondering why we don’t have a construc

Re: [Pharo-users] Stability of Pharo 7 vs 6?

2019-03-04 Thread Tim Mackinnon
Just as a follow up to this - since not running fullscreen (as in not click on the green expand button in OSX) and having saved my image once - the stability seems to be much better. I’ve had an image running in the background for over a week now with no issue (whereas before it crashed in less