Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Sean P. DeNigris
hernanmd wrote > To me the Hello World in Smalltalk was always just writing: 'Hello world' +1. While putting it in a class shows a few more of the system's features, it also makes it seem more complex than other languages, when that's not really true. Why not just PrintIt: 'Hello world'? If it see

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sean P. DeNigris
Sven Van Caekenberghe-2 wrote > It would probably be possible to write a more lenient parser as opposed to > a strict one. I have not yet given that idea much thought. K, thanks for the explanation and assistance. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f131

Re: [Pharo-users] Hello world as initial example

2017-12-07 Thread Richard A. O'Keefe
From: Offray Vladimir Luna C?rdenas That being said, I have always felt that hello world is kind of a strange introduction to programming: Surely the traditional Smalltalk first step is 1. Open Workspace/Playground. 2. Type 3+4. 3. Cmd-P ? If I can remember that far back, my first exercise w

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Hernán Morales Durand
To me the Hello World in Smalltalk was always just writing: 'Hello world' 2017-12-07 19:35 GMT-03:00 horrido : > Done. Class #Hello is now #Greeter in package "HelloDemo". > > I presume we're good to go, then? > > > > Offray Vladimir Luna Cárdenas-2 wrote >> May be the class name could be change

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread horrido
Done. Class #Hello is now #Greeter in package "HelloDemo". I presume we're good to go, then? Offray Vladimir Luna Cárdenas-2 wrote > May be the class name could be changed a little bit to allow more > flexibility using the Pharo Quick Start as a base. Something like > "Greeter" and "Greeter new

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sven Van Caekenberghe
> On 7 Dec 2017, at 18:00, Sean P. DeNigris wrote: > > Why not: > 'https://en.wiktionary.org/wiki/prêt#French' asUrl => > https://en.wiktionary.org/wiki/pr%C3%AAt#French > ? #asUrl invokes the URL parser that takes the EXTERNAL string representation of a URL as input. It stays strict to the

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Offray Vladimir Luna Cárdenas
May be the class name could be changed a little bit to allow more flexibility using the Pharo Quick Start as a base. Something like "Greeter" and "Greeter new say: 'Hello world!'" or "Greeter new sayIt" could be implemented from there. Nice to see more and more documentation around Pharo, including

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread horrido
I've revised the draft slightly for the comments given here: https://medium.com/@richardeng/pharo-quick-start-5bab70944ce2 Yes, it's a definite improvement. Thanks. Richard Sargent wrote > Excellent work, Richard! > > May I offer the small criticism against using #initialize for the method > n

Re: [Pharo-users] Commander feedback

2017-12-07 Thread Stephane Ducasse
Thanks a lot Juraj. This is great to have a client :) and we will work on the new version of the documentation. Stef On Tue, Dec 5, 2017 at 9:05 PM, Juraj Kubelka wrote: > Hi, > > I like the idea of the Commander library > https://github.com/dionisiydk/Commander > I am trying to understand how t

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Richard Sargent
Excellent work, Richard! May I offer the small criticism against using #initialize for the method name? I think a name like #sayIt (for example) and invocation like "Hello new sayIt" would make it explicit. This will be a great help for people who drop by out of curiosity. On Thu, Dec 7, 2017 a

Re: [Pharo-users] Fwd: Installing pharo6.1-64

2017-12-07 Thread Stephane Ducasse
Thanks for the feedback and we should add a readme! On Thu, Dec 7, 2017 at 2:08 AM, Ben Coman wrote: > [fwd to list] > Thanks for having a go at fixing your font. Unfortunately it didn't > work (or maybe something wrong at my end) > I'll follow up with you off-list. > > cheer -ben > > --

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Stephane Ducasse
Once the pharo quick start guide is ready we will add it to the documentation. On Thu, Dec 7, 2017 at 8:45 PM, Stephane Ducasse wrote: > I read it and it is good and to the point. > I was thinking if we could have a class named something else than Hello > May be Repeater new say: 'Hello' ? > >

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Stephane Ducasse
I read it and it is good and to the point. I was thinking if we could have a class named something else than Hello May be Repeater new say: 'Hello' ? Stef On Thu, Dec 7, 2017 at 8:43 PM, Stephane Ducasse wrote: > Thanks Richard. I like when you are doing :) > > On Thu, Dec 7, 2017 at 8:38 PM,

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Stephane Ducasse
Thanks Richard. I like when you are doing :) On Thu, Dec 7, 2017 at 8:38 PM, horrido wrote: > I've completed the first draft of my Pharo Quick Start guide > . I decided > to forge ahead anyway. > > Feedback welcome. > > Note that I

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Stephane Ducasse
Thanks Ben. I have a question. Would it make sense to have a setting to reset on each session the registry? What you should know is that Guille is actively improving (refactoring, rethinking the API of iceberg) to produce a better UI then. We are really concerned how we can get the same confort th

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread horrido
I've completed the first draft of my Pharo Quick Start guide . I decided to forge ahead anyway. Feedback welcome. Note that I chose wget instead of curl because many Linux distros do not have curl installed. I've tested the guide

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Steven Costiou
Thanks :) Will try it :) Le 2017-12-07 16:41, Esteban Lorenzano a écrit : > you need to reset FFI: > > FFIMethodRegistry resetAll. > > Esteban > >> On 7 Dec 2017, at 16:04, Steven Costiou wrote: >> >> Hi, >> >> noob question: i installed bloc and tried to run examples. >> >> It wo

Re: [Pharo-users] Fuel transfer from Pharo 1.4 to Pharo 6.1

2017-12-07 Thread Andreas Brodbeck
As this topic has led to a solution for me, here is a more convenient document: https://gist.github.com/dassi/9da1aa153635f3df99643149d111021f Cheers, Andreas Am 28.11.17 um 11:01 schrieb Andreas Brodbeck: > Hi all, > > I have a long running Seaside/Pharo application which still runs perfect >

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sean P. DeNigris
Why not: 'https://en.wiktionary.org/wiki/prêt#French' asUrl => https://en.wiktionary.org/wiki/pr%C3%AAt#French ? - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Ben Coman
On 8 December 2017 at 00:43, Ben Coman wrote: >> >> >> On 7 Dec 2017, at 16:04, Steven Costiou wrote: >> >> Hi, >> >> noob question: i installed bloc and tried to run examples. >> >> It worked well on Fedora 27 but not on latest Debian 64 bits because the >> path of libcairo.so.2 was wrong. >> >

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Ben Coman
> > > On 7 Dec 2017, at 16:04, Steven Costiou wrote: > > Hi, > > noob question: i installed bloc and tried to run examples. > > It worked well on Fedora 27 but not on latest Debian 64 bits because the > path of libcairo.so.2 was wrong. > > So i fixed it in the code, but when trying the bloc exampl

Re: [Pharo-users] reloading ffi library

2017-12-07 Thread Esteban Lorenzano
you need to reset FFI: FFIMethodRegistry resetAll. Esteban > On 7 Dec 2017, at 16:04, Steven Costiou wrote: > > Hi, > > noob question: i installed bloc and tried to run examples. > > It worked well on Fedora 27 but not on latest Debian 64 bits because the path > of libcairo.so.2 was wrong.

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sven Van Caekenberghe
> On 7 Dec 2017, at 15:49, Sean P. DeNigris wrote: > > 'https://en.wiktionary.org/wiki/prêt#French' asUrl ==> > ZnCharacterEncodingError: ASCII character expected. Ideas? Non-ASCII characters are not allowed in a URL (in its external string representation, the input of the parser), they must

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Offray Vladimir Luna Cárdenas
I meant: Creating directories are just extra steps so Pharo and its images keep the good practice to not let them pollute your home directory... as most programs do these days. Cheers, Offray On 07/12/17 09:49, Offray Vladimir Luna Cárdenas wrote: > > Yes. Creating directories are just extra st

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread PBKResearch
Sean The trick is to url encode the bit that contains the accented characters. In your case, try: ('https://en.wiktionary.org/wiki/','prêt#French' urlEncoded ) asUrl If you use urlEncoded on the whole string, the encoded slashes seem to confuse things. HTH Peter Kenny -Original Message-

[Pharo-users] reloading ffi library

2017-12-07 Thread Steven Costiou
Hi, noob question: i installed bloc and tried to run examples. It worked well on Fedora 27 but not on latest Debian 64 bits because the path of libcairo.so.2 was wrong. So i fixed it in the code, but when trying the bloc examples again the lib path is still wrong (in the debugger). Is there

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Offray Vladimir Luna Cárdenas
Yes. Creating directories are just extra steps so Pharo and its images is just a good practice to not let it pollute your home directory... as most programs do these days. Cheers, Offray On 07/12/17 05:01, Cédrick Béler wrote: > I also find this way simple and the best to me. > > curl get.pharo

[Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sean P. DeNigris
'https://en.wiktionary.org/wiki/prêt#French' asUrl ==> ZnCharacterEncodingError: ASCII character expected. Ideas? - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] [Pharo-dev] [TechTalk] Topics Wanted for 2018!

2017-12-07 Thread Marcus Denker
What about Tuesday 30th Jan? > On 7 Dec 2017, at 02:06, Alexandre Bergel wrote: > > Hi Marcus! > > Thanks for pushing the community! > If there is a free slot at the end of January, I can do another tech talk on > AI technique. I am thinking about a lecture on Genetic Algorithm and Genetic >

Re: [Pharo-users] P3 timeout

2017-12-07 Thread Sven Van Caekenberghe
> On 7 Dec 2017, at 11:38, Henrik Sperre Johansen > wrote: > > Sven Van Caekenberghe-2 wrote >>> On 5 Dec 2017, at 01:00, Pierce Ng < > >> pierce@ > >> > wrote: >>> >>> On Sun, Nov 26, 2017 at 07:17:51PM +0100, Sven Van Caekenberghe wrote: Added P3Client>>#timeout[:] option (thx Pierce

Re: [Pharo-users] P3 timeout

2017-12-07 Thread Henrik Sperre Johansen
Sven Van Caekenberghe-2 wrote >> On 5 Dec 2017, at 01:00, Pierce Ng < > pierce@ > > wrote: >> >> On Sun, Nov 26, 2017 at 07:17:51PM +0100, Sven Van Caekenberghe wrote: >>> Added P3Client>>#timeout[:] option (thx Pierce Ng) >> >> Thank you, Sven. >> >>> About Zdc streams. They have their own de

Re: [Pharo-users] P3 timeout

2017-12-07 Thread Sven Van Caekenberghe
> On 5 Dec 2017, at 01:00, Pierce Ng wrote: > > On Sun, Nov 26, 2017 at 07:17:51PM +0100, Sven Van Caekenberghe wrote: >> Added P3Client>>#timeout[:] option (thx Pierce Ng) > > Thank you, Sven. > >> About Zdc streams. They have their own default timeout (5 seconds). I think >> it is not a goo

Re: [Pharo-users] Calypso bugs with metalinks in latest 7

2017-12-07 Thread Steven Costiou
> To disable critiques look at Problems section in github Calypso [1] Aw... sorry. I didn't read the whole page before so i didn't see it... thanks. Links: -- [1] https://github.com/dionisiydk/Calypso#problems

Re: [Pharo-users] Calypso bugs with metalinks in latest 7

2017-12-07 Thread Denis Kudriashov
Hi. It looks strange because Calypso do not use Ring classes. To disable critiques look at Problems section in github Calypso 2017-12-07 10:50 GMT+01:00 Steven Costiou : > Hi, > > running Reflectivity tests (e.g. ReflectivityReificationTest) prov

Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-12-07 Thread Cédrick Béler
I also find this way simple and the best to me. curl get.pharo.org/64/ | bash ./pharo-ui Pharo.image Don’t really need to say to create a dir or maybe pass it as a parameter in curl. The other way to install through that download one file is nice at first but I find it no convenient especiall

[Pharo-users] Calypso bugs with metalinks in latest 7

2017-12-07 Thread Steven Costiou
Hi, running Reflectivity tests (e.g. ReflectivityReificationTest) provokes errors and tests fails: RGMethodDefinition did not understand #isDeprecated. Seems to be located in MetaLinkChanged calypso extension (the 4 methods provoke the same bug). To reproduce it i used the launcher to get the