Re: [Pharo-users] Hi Community

2019-12-28 Thread Sven Van Caekenberghe
Nice indeed, well done. > On 28 Dec 2019, at 04:28, Ben Coman wrote: > > Looks cool. Thanks for sharing. > > cheers -ben > > On Sat, 28 Dec 2019 at 09:55, Pablo Navarro wrote: > Hi everyone, my name's Pablo and I'm from Argentina. I'm taking my first > steps in Pharo and created this tool (h

Re: [Pharo-users] uses or instead of a searching literal

2019-12-28 Thread Kasper Østerbye
Are you aware of the ‘finder’ tool?, in particular the ‘examples' mode is useful. try: ‘aaa_bbb-ccc’. ‘_-‘. #(‘aaa’ ‘bbb’ ‘ccc’) Best, Kasper On 28 December 2019 at 08.12.03, Roelof Wobben via Pharo-users ( pharo-users@lists.pharo.org) wrote: Op 27-12-2019 om 23:33 schreef Richard O'Keefe: >

Re: [Pharo-users] uses or instead of a searching literal

2019-12-28 Thread Roelof Wobben via Pharo-users
--- Begin Message --- yep. Im aware of this tool but on this case nothing pops up. Roelof Op 28-12-2019 om 09:22 schreef Kasper Østerbye: Are you aware of the ‘finder’ tool?, in particular the ‘exa

Re: [Pharo-users] uses or instead of a searching literal

2019-12-28 Thread Sven Van Caekenberghe
I would go for 'Portable Network Graphics' findTokens: ' -_'. > On 28 Dec 2019, at 09:35, Roelof Wobben via Pharo-users > wrote: > > > From: Roelof Wobben > Subject: Re: [Pharo-users] uses or instead of a searching literal > Date: 28 December 2019 at 09:35:17 GMT+1 > To: pharo-users@lists

Re: [Pharo-users] can I write this without the three if then;s

2019-12-28 Thread Dennis Schetinin
It would be an overkill to do it for this particular case, but Smalltalk makes it possible to implement a case-like construction: [ expression ] when: [ :value | condition1 ] do: [-0do :value | ... ]; when: [ :value | condition2 ] do: [ :value | ... ]; otherwiseDo: [ :value | ... ];

Re: [Pharo-users] Hi Community

2019-12-28 Thread Norbert Hartl
Hi Pablo, welcome and great tool. If you extend it you could could consider using pillar document model (https://github.com/pillar-markup/pillar) Norbert > Am 27.12.2019 um 23:55 schrieb Pablo Navarro : > >  > Hi everyone, my name's Pablo and I'm from Argentina. I'm taking my first > steps

Re: [Pharo-users] uses or instead of a searching literal

2019-12-28 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Hello  Sven, Thanks. this is what im looking for. Roelof Op 28-12-2019 om 10:46 schreef Sven Van Caekenberghe: I would go for 'Portable Network Graphics' findTokens: ' -_'. On 28 Dec 2019, at 09:35, Roelof Wobben via Pharo-users wrote: From: Roelof Wobben S

Re: [Pharo-users] Hi Community

2019-12-28 Thread Pablo Navarro
Thanks for the comments. I'll check Pillar. Best Regards, Pablo. El 28 de dic. de 2019 08:10 -0300, Norbert Hartl , escribió: > Hi Pablo, > > welcome and great tool. If you extend it you could could consider using > pillar document model (https://github.com/pillar-markup/pillar) > > Norbert > >

[Pharo-users] how to change data on real data but not on test data

2019-12-28 Thread Roelof Wobben via Pharo-users
--- Begin Message --- I have this code so solve a challenge of Advent Of Code : process: anArray | op | ram := (anArray splitOn: ',') collect: [ :ea | ea asInteger ]. in := ReadStream on: ram. [ (op := in next) = 99 ] whileFalse: [ self processOpcod

Re: [Pharo-users] how to change data on real data but not on test data

2019-12-28 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote > so to be clear. In the test are data given which not has to be changed. As > soon as you have to solve the real problem , some data needs to be > changed. It's difficult to give good design advice with such a partial picture of the domain, but two straig

Re: [Pharo-users] how to change data on real data but not on test data

2019-12-28 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Oke Maybe it is better to give the whole challenge On the way to your gravity assist around the Moon, your ship computer beeps angrily about a "1202 program alarm". On the radio, an Elf is already explaining