Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-30 Thread Sean P. DeNigris
stepharo wrote > Polling is a bad idea from an architecture point of view. And dated :) While in this case that might be true (I haven't looked at the code), IMHO it's overstated to say that polling is always a bad idea. For exploratory spikes, mockups, throwaway tools, etc it can be very useful.

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-30 Thread stepharo
Le 30/6/15 10:12, Merwan Ouddane a écrit : On lun., 2015-06-29 at 14:09 -0700, Sean P. DeNigris wrote: MerwanOuddane wrote You should just replace it with a StringMorph and figure out how to update the morph right on time :) It seems like there should be Morph>>#addAlarm:every:, but I don't

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-30 Thread stepharo
I think that if you use StringMorph it will work. We should accept that Pharo is moving and that some old abstractions were not good. :) You do not want something doing constant polling in the UI. Stef Le 29/6/15 21:17, Volkert a écrit : I am trying to load the old chess game from Squeak [1]

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-30 Thread Merwan Ouddane
On lun., 2015-06-29 at 14:09 -0700, Sean P. DeNigris wrote: > MerwanOuddane wrote > > You should just replace it with a StringMorph and figure out how to > > update the morph right on time :) > > It seems like there should be Morph>>#addAlarm:every:, but I don't see > anything like that... > Is

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-29 Thread Sean P. DeNigris
MerwanOuddane wrote > You should just replace it with a StringMorph and figure out how to > update the morph right on time :) It seems like there should be Morph>>#addAlarm:every:, but I don't see anything like that... - Cheers, Sean -- View this message in context: http://forum.world.st/

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-29 Thread Merwan Ouddane
On 29/06/2015 21:17, Volkert wrote: I am trying to load the old chess game from Squeak [1] into Pharo 4.0. The game depends on the class "UpdatingStringMorph", but this is not part of Pharo. I think it is a StringMorph who's watching changes by calling a method on an object. What happened to

Re: [Pharo-users] Chess Game / UpdatingStringMorph

2015-06-29 Thread Nicolai Hess
2015-06-29 21:17 GMT+02:00 Volkert : > I am trying to load the old chess game from Squeak [1] into Pharo 4.0. > > The game depends on the class "UpdatingStringMorph", but this is not part > of Pharo. > > What happened to it? Was it renamed? > removed, but I don't know why: 11492

[Pharo-users] Chess Game / UpdatingStringMorph

2015-06-29 Thread Volkert
I am trying to load the old chess game from Squeak [1] into Pharo 4.0. The game depends on the class "UpdatingStringMorph", but this is not part of Pharo. What happened to it? Was it renamed? BW, Volkert [1] http://map.squeak.org/package/cb19b6f1-e371-47b2-b814-4bad079d0fbc