Re: [Pharo-users] mentor question 2.

2020-04-26 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Op 26-4-2020 om 20:17 schreef Sven Van Caekenberghe: On 26 Apr 2020, at 20:10, Gabriel Cotelli wrote: In the first method you aren't doing an assignment, are sending the message = to the temp isValid, if you change the method to: decimalFromBinary: aString |

Re: [Pharo-users] mentor question 2.

2020-04-26 Thread Sven Van Caekenberghe
> On 26 Apr 2020, at 20:10, Gabriel Cotelli wrote: > > In the first method you aren't doing an assignment, are sending the message = > to the temp isValid, if you change the method to: > decimalFromBinary: aString > | result isValid | > isValid := self isValidBinary: aString. >

Re: [Pharo-users] mentor question 2.

2020-04-26 Thread Gabriel Cotelli
In the first method you aren't doing an assignment, are sending the message = to the temp isValid, if you change the method to: decimalFromBinary: aString | result isValid | * isValid := self isValidBinary: aString.* isValid ifTrue: [ result := 0. aString

[Pharo-users] mentor question 2.

2020-04-26 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Hello, I have to make some code that convert a binary to a decimal and im not allowed to use the convert methods that Pharo has. So I have written this : decimalFromBinary: aString     | result isValid |     isValid = self isValidBinary: aString.     isValid        

Re: [Pharo-users] running Pharo8 in Digitalocean

2020-04-26 Thread Ben Coman
Have you considered installing Ubuntu App from Microsoft App Store? cheers -ben On Sun, 19 Apr 2020 at 01:15, Sanjay Minni wrote: > Hi, > > I am using a Windows 10 local machine and digitalocean ubuntu server > droplet > - how can I run pharo 8 remotedly in the windows 10 inbuilt powershell

Re: [Pharo-users] mentor wanted

2020-04-26 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Op 26-4-2020 om 06:30 schreef Richard O'Keefe: Roelof, *I* was offering to write something. On Sat, 25 Apr 2020 at 19:47, Roelof Wobben via Pharo-users wrote: Op 25-4-2020 om 08:30 schreef Richard Sargent: On Fri, Apr 24, 2020, 22:25 Richard O'Keefe wrote: Roelof, I