Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Tim Mackinnon
Has anyone else got any thoughts? I checked out the Larman book - but it seems very process heavy (probably excellent for a full blown course), while I’m looking for something a bit lighter weight to guide students on the right way of thinking/approaching the little problems in Exercism. Wasn’t

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Tim Mackinnon
Looking a bit further - Chapter 3 of: http://sdmeta.gforge.inria.fr/FreeBooks/STandOO/Smalltalk-and-OO.pdf (Smalltalk and Object Orientation - Hunt) gets me a bit closer, but still thinking I’ve seen better somewhere. Tim

[Pharo-users] Special Issue on Smalltalk Technologies

2019-03-26 Thread ducasse
Special Issue on Smalltalk Technologies https://www.journals.elsevier.com/science-of-computer-programming Guest Editors: Loïc Lagadec (Coordinator) Ensta Bretagne, Lab-STICC Anne Etien Université de Lille, CRIStAL, UMR9189 Jan

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Christophe Demarey
http://books.pharo.org/learning-oop/ ? > Le 26 mars 2019 à 11:09, Tim Mackinnon a écrit : > > Looking a bit further - Chapter 3 of: > http://sdmeta.gforge.inria.fr/FreeBooks/STandOO/Smalltalk-and-OO.pdf > > (Smalltalk and

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Tim Mackinnon
Thanks, I looked at that one - the title is right, but it’s more a tutorial where you type in code and follow along (and nothing wrong with that) - but I’m looking for something that teaches/helps you translate a problem domain into the sea of objects we are all accustomed to. And also gets to t

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Stephan Eggermont
Tim Mackinnon wrote: > As I see Exercism students grapple with more realistic, I am wondering > what we point people towards to learn about OO, identifying objects and > more importantly responsibilities these days? > > There is the early Beck CRC paper - but looking at it again, I wonder if > it

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread PBKResearch
Sean I have realized that the method I proposed can be expressed entirely within the Zinc system, which may make it a bit neater and easier to follow. There probably is no completely general solution, but there is a completely general way of finding a solution for your problem domain. It is im

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Tim Mackinnon
Thanks, I recall the Wires-Brock books been pretty good, its a shame you can’t preview any of them (and mine are in a box in my attic somewhere). Unfortunately I can’t imagine that students first staring out will want to invest - but maybe I can find something that might fill the gap leading to

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread Sven Van Caekenberghe
I would use a variant of your original transformation. The issue (the error in the URL) is that all kinds of non-ASCII characters occur unencoded. We should/could assume that other special/reserved ASCII characters _are_ properly encoded (so we do not need to handle them). So I would literally

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Christopher Fuhrman
On Tue, 26 Mar 2019 at 10:17, Tim Mackinnon wrote: > Wasn’t there something that encouraged you to underline the nouns and > circle the verbs and then start to identify objects and responsibilities? > Its that kind of thing I am starting to see as the weak point in people > approaching problems.

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Sean P. DeNigris
Tim Mackinnon wrote > Has anyone else got any thoughts? I think Dan North's Behavior Driven Development stuff is great and covers both OOP and TDD. The code is in Ruby, but the concepts IMHO are on the money. For me, the holy grail of OOP books is A Mentoring Course on Smalltalk, but I definitely

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread PBKResearch
Sven That would certainly work, and represents the most liberal possible approach. An equivalent, keeping entirely within Zinc, would be to use a special-purpose instance of ZnPercentEncoder, in which the safe set is defined as all characters between code points 33 and 126 inclusive. (Starting

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread Sven Van Caekenberghe
Peter, It *is* a bogus URL, please go and read some RFCs. A browser's address/search box is an entirely different thing that adds convenience features, such as the issue we are discussing here. Sven > On 26 Mar 2019, at 16:02, PBKResearch wrote: > > Sven > > That would certainly work, and r

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2019-03-26 Thread PBKResearch
Sven Well RFCs are unreadable - I know, because I looked at 3986 while looking at this question - but OK, I get your point. I suppose I should be looking for something that makes it easier to provide similar convenience features in Pharo. As you say, if this issue is cracked, that is a step on

Re: [Pharo-users] What oo/modelling books/articles do we recommend these days?

2019-03-26 Thread Tim Mackinnon
Actually - I’ve been making good progress on Exercism (with help from Ben and Sam) - we can almost come out of alpha (but just need more exercises converted - not sure exactly what the limit is, but 22 isn’t quite enough). I’m just tuning the tooling - and putting some bits in place so that its

[Pharo-users] how to convert this with a stream

2019-03-26 Thread Roelof Wobben
Hello, I have a SortedCollection of teams. Now I need to convert this to a line like this : 'Allegoric Alaskans |  1 |  1 |  0 |  0 |  3' I tried it with this : outcome := Array         streamContents: [ :s |             TeamStatusSorted                 do: [ :each |              

Re: [Pharo-users] how to convert this with a stream

2019-03-26 Thread Carlo
Hi Roelof I think you meant String streamContents: and not Array streamContents: On 26 Mar 2019, at 20:12, Roelof Wobben wrote: Hello, I have a SortedCollection of teams. Now I need to convert this to a line like this : 'Allegoric Alaskans | 1 | 1 | 0 | 0 | 3' I tr

Re: [Pharo-users] how to convert this with a stream

2019-03-26 Thread Roelof Wobben
Hello Could be , im confused now I tried this : outcome         add: 'Team   | MP |  W |  D |  L |  P'.     outcome         add: [ String                 streamContents: [ :s |                     TeamStatusSorted                         do: [ :each |                    

Re: [Pharo-users] how to convert this with a stream

2019-03-26 Thread Carlo
Hi Roelof The block [] should be (). What's happening is that the block is being added to outcome which will then print itself out. Cheers Carlo On 26 Mar 2019, at 20:45, Roelof Wobben wrote: Hello Could be , im confused now I tried this : outcome add: 'Team

Re: [Pharo-users] how to convert this with a stream

2019-03-26 Thread Roelof Wobben
Carlo, Thanks, This gives the output I expect outcome         add: 'Team   | MP |  W |  D |  L |  P'.     outcome         add:             (String                 streamContents: [ :s |                     TeamStatusSorted                         do: [ :each |