Re: [Pharo-users] mentor question 4

2020-05-02 Thread Ben Coman
On Sun, 3 May 2020 at 03:09, Roelof Wobben wrote: > Op 2-5-2020 om 19:33 schreef Ben Coman: > > > > On Sat, 2 May 2020 at 15:52, Roelof Wobben via Pharo-users < > pharo-users@lists.pharo.org> wrote: > >> Op 1-5-2020 om 08:35 schreef Roelof Wobben: >> >> On Fri, 1 May 2020 at 02:16, Roelof Wobben

Re: [Pharo-users] [ANN] Pharo Compendium

2020-05-02 Thread Gabriel Cotelli
Really cool Torsten!. A much needed tool :) On Sat, May 2, 2020 at 5:35 PM Torsten Bergmann wrote: > Hi, > > time flows and Pharo-Project is improving on all ends since its inception > in 2008. As you know over time for the code project hosting we used > SqueakSource, SS3 repos and other and

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Richard Sargent
On Sat, May 2, 2020 at 12:38 PM Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Op 2-5-2020 om 21:09 schreef Roelof Wobben via Pharo-users: > > > but this seems to work : > > cardNumber := '4539 1488 0343 6467'. > cleanDigits := cardNumber copyWithout: Character space. >

Re: [Pharo-users] Thinking aloud about project at hand

2020-05-02 Thread Stéphane Ducasse
> >> I'm thinking about implementing a software solution in Pharo (as one of the > candidate environments), it's >> a project that I'm dealing with professionally. The goal is to develop a >> financial planning/simulation >> application on the country level, which is at present developed as a

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Stéphane Ducasse
check with the finder and example S. > On 2 May 2020, at 21:09, Roelof Wobben wrote: > > > From: Roelof Wobben > Subject: Re: [Pharo-users] mentor question 4 > Date: 2 May 2020 at 21:09:12 CEST > To: Ben Coman , Any question about pharo is welcome > > > > Op 2-5-2020 om 19:33 schreef

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Op 2-5-2020 om 21:09 schreef Roelof Wobben via Pharo-users: but this seems to work : cardNumber := '4539 1488 0343 6467'. cleanDigits := cardNumber copyWithout: Character space. preWrapDigits := (cleanDigits asArray reverse collectWithIndex: [ :char :idx | (idx even)

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Op 2-5-2020 om 19:33 schreef Ben Coman: On Sat, 2 May 2020 at 15:52, Roelof Wobben via Pharo-users wrote: Op 1-5-2020 om

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Ben Coman
On Sat, 2 May 2020 at 15:52, Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Op 1-5-2020 om 08:35 schreef Roelof Wobben: > >> On Fri, 1 May 2020 at 02:16, Roelof Wobben wrote: > >>> Op 30-4-2020 om 16:06 schreef Richard O'Keefe: > This sounds very much like the Luhn

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Richard Sargent
It's a good solution. On Sat, May 2, 2020, 00:52 Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Op 1-5-2020 om 08:35 schreef Roelof Wobben: > > Op 1-5-2020 om 02:51 schreef Richard O'Keefe: > >> (oddSum + evenSum) dividedBy: 10 > >> > >> You previously had _ isDivisibleBy:

Re: [Pharo-users] Thinking aloud about project at hand

2020-05-02 Thread eftomi
> I'm thinking about implementing a software solution in Pharo (as one of the candidate environments), it's > a project that I'm dealing with professionally. The goal is to develop a > financial planning/simulation > application on the country level, which is at present developed as a set > of

[Pharo-users] Spec2 SpStringTableColumn

2020-05-02 Thread Tomaž Turk
Dear all, I'm exploring the new Spec2, looking for possibilities to create an 'editable grid'. Tables are very close to this concept, and I wonder what exactly is SpStringTableColumn>>#beEditable supposed to do - I cannot find any references to variable 'editable', so it looks like it's not

Re: [Pharo-users] mentor question 4

2020-05-02 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Op 1-5-2020 om 08:35 schreef Roelof Wobben: Op 1-5-2020 om 02:51 schreef Richard O'Keefe: (oddSum + evenSum) dividedBy: 10 You previously had _ isDivisibleBy: 10 which certainly works. Squeak, Pharo, and ST/X have #isDivisibleBy: VisualWorks. Dolphin, and GNU Smalltalk