Re: [Pharo-users] P7 regression

2019-07-25 Thread Hilaire
I don't understand how #wrappedStream works in my situation? Is #isBinary not good enougth? Le 25/07/2019 à 21:53, Sven Van Caekenberghe a écrit : > If you have a character read or write stream, you can use #wrappedStream to > access the underlying binary stream, should you need to do that. >

Re: [Pharo-users] P7 regression

2019-07-25 Thread Sven Van Caekenberghe
If you have a character read or write stream, you can use #wrappedStream to access the underlying binary stream, should you need to do that. > On 25 Jul 2019, at 20:31, Hilaire wrote: > > Thanks for the tips. It is definitely a left over from porting DrGeo to > P7 from P4/5/6 (not sure) > >

Re: [Pharo-users] P7 regression

2019-07-25 Thread Hilaire
Thanks for the tips. It is definitely a left over from porting DrGeo to P7 from P4/5/6 (not sure) But it can't really work as put:into: is used to write both sktech content (XML file) and its PNG preview. At some point in Pharo history both UTF8 and bitmap were using binary stream. Likely a

Re: [Pharo-users] Personal Programming

2019-07-25 Thread Cédrick Béler
Me too ! And on the huge esug discussion points to have ^^ Cheers, Cedrick > Le 25 juil. 2019 à 13:09, Marcus Denker a écrit : > > Looks very interesting! I will read it (it arrives just in time to be part of > the holiday reading pile…) > > Marcus > >> On 25 Jul 2019, at 11:29,

Re: [Pharo-users] OrderedCollection as an instance variable

2019-07-25 Thread Herby Vojčík
On 25. 7. 2019 4:27, Richard O'Keefe wrote: Comment 2. ?? This is a poor design.?? As it is, any object can replace the tracks of an artist ?? with *anything*.?? And even without doing that, any object can add and remove ?? items to an artist's tracks, even if the added items are not

Re: [Pharo-users] Personal Programming

2019-07-25 Thread Marcus Denker
Looks very interesting! I will read it (it arrives just in time to be part of the holiday reading pile…) Marcus > On 25 Jul 2019, at 11:29, Trygve wrote: > > Dear all, > The final draft of my magnum opus about Personal Programming is now ready for > review: >

Re: [Pharo-users] OrderedCollection as an instance variable

2019-07-25 Thread Herby Vojčík
On 24. 7. 2019 17:30, sergio ruiz wrote: hmm??? maybe this is cleaner.. tracks tracks ifNil: [ self tracks: OrderedCollection new ]. ^ tracks IMO, return ifNil: value is an understood and used idiom, so I'd say ^ tracks ifNil: [ tracks := ... ] is the most clean way. Maybe look at sender