Re: [Pharo-users] Reading a text file line by line

2017-10-05 Thread Stephane Ducasse
Yes I would like to have an action list. Stef On Thu, Oct 5, 2017 at 9:37 AM, Guillermo Polito wrote: > > > On Wed, Oct 4, 2017 at 10:12 PM, Stephane Ducasse > wrote: > >> Hi sven >> >> I wonder how we can make progress on this front. Because we should move >> on. >> I'm fed up to get all this

Re: [Pharo-users] Reading a text file line by line

2017-10-05 Thread Guillermo Polito
On Wed, Oct 4, 2017 at 10:12 PM, Stephane Ducasse wrote: > Hi sven > > I wonder how we can make progress on this front. Because we should move on. > I'm fed up to get all this crap of the old stream around. > Could not we just keep positionable stream and start to get rest nice? > Could we point

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Stephane Ducasse
Hi sven I wonder how we can make progress on this front. Because we should move on. I'm fed up to get all this crap of the old stream around. Could not we just keep positionable stream and start to get rest nice? Stef On Tue, Oct 3, 2017 at 4:22 PM, Sven Van Caekenberghe wrote: > > >> On 3 Oct 2

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Cyril Ferlicot D.
Le 04/10/2017 à 16:31, Sven Van Caekenberghe a écrit : > Dirk, > > > One day we will have package level comments that will make clear the scope > and purpose of groups of code. > Hi, Package level comments are possible since Pharo 6. In Nautilus just open the comment pane while selecting a pa

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Sean P. DeNigris
Dirk Olmes wrote > However if I find classes in a package with prefix "Zinc" and I google > for "Zinc Pharo" the first thing that comes up is > http://zn.stfx.eu/zn/index.html - Zinc HTTP Components The problem is that Sven has the nasty habit of turning frustrating areas of the system into top-no

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Sven Van Caekenberghe
Dirk, > On 4 Oct 2017, at 15:43, Dirk Olmes wrote: > > On 10/04/2017 10:22 AM, Sven Van Caekenberghe wrote: >>> ZnCharacterReadStream belongs to the Zinc classes. I would have expected >>> a generic character reading stream to be part of the core classes >>> (whatever that means :-) and not a pa

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Dirk Olmes
On 10/04/2017 10:22 AM, Sven Van Caekenberghe wrote: >> ZnCharacterReadStream belongs to the Zinc classes. I would have expected >> a generic character reading stream to be part of the core classes >> (whatever that means :-) and not a part of some HTTP component classes. >> But that may only be my

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Sven Van Caekenberghe
> On 4 Oct 2017, at 09:23, Dirk Olmes wrote: > > Hi Sven, > >>> I'm trying to get started with Pharo doing something really simple - at >>> least that's what I thought ... I'm trying to read a text file line by line. >>> >>> If I use File named: '/tmp/linex.txt' readStream nextLine I'll get

Re: [Pharo-users] Reading a text file line by line

2017-10-04 Thread Dirk Olmes
Hi Sven, >> I'm trying to get started with Pharo doing something really simple - at >> least that's what I thought ... I'm trying to read a text file line by line. >> >> If I use File named: '/tmp/linex.txt' readStream nextLine I'll get a >> debugger telling me that BinaryFileStream does not unde

Re: [Pharo-users] Reading a text file line by line

2017-10-03 Thread Sven Van Caekenberghe
> On 3 Oct 2017, at 10:53, Guillermo Polito wrote: > > Yes, in my todo, but changing FileReference like that will break a lot of > backwards compatibility :) Yes it will. I have said this before: the problem is that the current stream API is much too wide, we need to trim it to something cl

Re: [Pharo-users] Reading a text file line by line

2017-10-03 Thread Guillermo Polito
Yes, in my todo, but changing FileReference like that will break a lot of backwards compatibility :) On Mon, Oct 2, 2017 at 10:22 AM, Stephane Ducasse wrote: > Yes this is why we should continue to clean and remove cruft. Now I > remember that guille did that for File. > > Stef > > On Mon, Oct 2

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Stephane Ducasse
Yes this is why we should continue to clean and remove cruft. Now I remember that guille did that for File. Stef On Mon, Oct 2, 2017 at 3:20 PM, Sven Van Caekenberghe wrote: > If you do > > (File named: '/tmp/lines.txt') readStream[Do:] > > you seem to get a binary stream (this is the new impl

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Sven Van Caekenberghe
If you do (File named: '/tmp/lines.txt') readStream[Do:] you seem to get a binary stream (this is the new implementation I guess), when you go via FileReference you get a character stream (but that are old ones). I know, very confusing. We're always in the midst of transitions. > On 2 Oct 2

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Stephane Ducasse
Sven I do not see the binary stream. Is it ZnCharacterReadStream? Stef On Mon, Oct 2, 2017 at 1:22 PM, Sven Van Caekenberghe wrote: > Hi, > >> On 2 Oct 2017, at 13:07, Dirk Olmes wrote: >> >> Hi, >> >> I'm trying to get started with Pharo doing something really simple - at >> least that's what

Re: [Pharo-users] Reading a text file line by line

2017-10-02 Thread Sven Van Caekenberghe
Hi, > On 2 Oct 2017, at 13:07, Dirk Olmes wrote: > > Hi, > > I'm trying to get started with Pharo doing something really simple - at > least that's what I thought ... I'm trying to read a text file line by line. > > If I use File named: '/tmp/linex.txt' readStream nextLine I'll get a > debugg