Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2017-06-16 Thread Stephane Ducasse
Hi ww Can you explain what your script do or even better what is the scenario ? You remove all the pharo60 and 60 inbox from the packages. ok This because you do not want to do merge? or changes comparison? Tx for sharing it. On Fri, Jun 16, 2017 at 2:43 PM, webwarrior wrote: > Updated script

Re: [Pharo-users] Teapot and POST:

2017-06-16 Thread Stephane Ducasse
Hi attila did you do a pull request on the book chapter? Stef On Fri, Jun 16, 2017 at 9:16 PM, Attila Magyar wrote: > I added it to the doc. > > > > -- > View this message in context: > http://forum.world.st/Teapot-and-POST-tp4951616p4951702.html > Sent from the Pharo Smalltalk Users mailing l

Re: [Pharo-users] Teapot and POST:

2017-06-16 Thread Attila Magyar
I added it to the doc. -- View this message in context: http://forum.world.st/Teapot-and-POST-tp4951616p4951702.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Anonymous classes performances

2017-06-16 Thread Steven Costiou
You can find the code below. I just change the call to m by m1 to test the two methods. I started again in a fresh pharo 6 image and now the results seem all similar for the following code. I will do all my tests again to see if it was my fault but it takes a lot of time (2 hours for each full te

Re: [Pharo-users] Anonymous classes performances

2017-06-16 Thread Denis Kudriashov
Hi Steven. Could you show code which you measure? 2017-06-16 17:17 GMT+02:00 Steven Costiou : > I have been playing a bit with anonymous subclasses, and instances of anon > subclasses seem slower to execute code than "regular" subclasses instances, > but sometimes they reach equivalent performan

[Pharo-users] Anonymous classes performances

2017-06-16 Thread Steven Costiou
I have been playing a bit with anonymous subclasses, and instances of anon subclasses seem slower to execute code than "regular" subclasses instances, but sometimes they reach equivalent performances (for code defined in anon-subclasses). I don't understand why. I have a class A with a method m.

Re: [Pharo-users] Can not save the source file

2017-06-16 Thread K K Subbu
On Friday 16 June 2017 05:38 PM, Marc Hanisch via Pharo-users wrote: -rw-rw-r-- 1 marc marc43775 Jun 9 15:47 PharoDebug.log You may want to check this log for error messages .. Subbu

Re: [Pharo-users] PharoDays17 Slides and some Videos

2017-06-16 Thread Marcus Denker
Hi, The final video has been added, now we have all talks complete. > On 13 Jun 2017, at 15:53, Marcus Denker wrote: > > We have now 9 more videos in the playlist: > > https://www.youtube.com/playlist?list=PL4actYd6bfnw7ous5We-XnWq0NZquP3gM > >> On 7 Jun 2017, at 16:24, Marcus Denker w

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2017-06-16 Thread webwarrior
Updated script for Pharo6: StartupPreferencesLoader default executeAtomicItems: { StartupAction name: 'remove references to Pharo60 and Pharo60Inbox' code: [ |rx group| rx := '([0-9]{5})' asRegex. (rx matchesPrefix: Smalltalk image shortImageName) ifFalse:

Re: [Pharo-users] Teapot and POST:

2017-06-16 Thread horrido
Thank you very much! Now, I understand. However, it's not *that* obvious. Your excellent POST: example really should be in the documentation. Attila Magyar wrote > It's basically the same as GET and the others. The request object contains > the url encoded form data or whatever was posted. The re

[Pharo-users] Can not save the source file

2017-06-16 Thread Marc Hanisch via Pharo-users
--- Begin Message --- Hello, when I open up my Pharo6.0 image and left+click > save as... to save my image, Pharo tells me that it could no save the source file. Unfortunately the message disappears too fast, so I can not paste it here ;-) I've checked the Pharo version I've downloaded and the so

Re: [Pharo-users] Pharo Catalog tags

2017-06-16 Thread Norbert Hartl
It appears for pharo6 if the ConfigurationOf is put in the MetaRepoForPharo6. On the next day it should appear because the catalog process runs at midnight Norbert > Am 16.06.2017 um 09:42 schrieb Johan Brichau : > > Hi, > > Does anyone know why Grease does not show ‘Pharo6’ tag in the Pharo c

Re: [Pharo-users] Loading Dr. Geo in Pharo6

2017-06-16 Thread Esteban Lorenzano
Hi Hilaire, > On 16 Jun 2017, at 09:46, Hilaire wrote: > > Hi Esteban, > > Yes, good idea as this protocol is not present in Pharo6, it will ease > loading Dr. Geo code. > > However it looks like there are faulty code in Pharo6 as there are > exactly *four* senders to this message (see screen

Re: [Pharo-users] Teapot and POST:

2017-06-16 Thread Attila Magyar
It's basically the same as GET and the others. The request object contains the url encoded form data or whatever was posted. The request object is the same as ZnRequest with a few additional methods. There is a generic at: method that can be used to access both path and queryOrFormParams. --

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-16 Thread Holger Freyther
> On 12. Jun 2017, at 16:41, Juraj Kubelka wrote: > > Hi Holger, > > I have an impression that it can be solved by using > "--no-default-preferences” option: > ./pharo Pharo.image --no-default-preferences > > Is it a good solution for you? Or do you need to load some preferences? Righ

Re: [Pharo-users] Zink geo location data reading

2017-06-16 Thread bachitoph
Thanks Sven, for the json hint and in future I will use Zinc ;) . cjb -- View this message in context: http://forum.world.st/Zink-geo-location-data-reading-tp4951446p4951654.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Loading Dr. Geo in Pharo6

2017-06-16 Thread Hilaire
Hi Esteban, Yes, good idea as this protocol is not present in Pharo6, it will ease loading Dr. Geo code. However it looks like there are faulty code in Pharo6 as there are exactly *four* senders to this message (see screenshot), and exactly *zero* in DrGeo code, and *one* in the gettext package w

[Pharo-users] Pharo Catalog tags

2017-06-16 Thread Johan Brichau
Hi, Does anyone know why Grease does not show ‘Pharo6’ tag in the Pharo catalog browser? Seaside3 does… I don’t know what needs to be done for that.. cheers Johan

Re: [Pharo-users] Loading Dr. Geo in Pharo6

2017-06-16 Thread Esteban Lorenzano
> On 16 Jun 2017, at 09:24, Sven Van Caekenberghe wrote: > > Here is how you can maintain compatibility: > > self environment > at: #SessionManager > ifPresent: [ :manager | manager default registerNetworkClassNamed: self name > ] > ifAbsent: [ Smalltalk addToStartUpList: self; addToShutD

Re: [Pharo-users] Loading Dr. Geo in Pharo6

2017-06-16 Thread Sven Van Caekenberghe
Here is how you can maintain compatibility: self environment at: #SessionManager ifPresent: [ :manager | manager default registerNetworkClassNamed: self name ] ifAbsent: [ Smalltalk addToStartUpList: self; addToShutDownList: self ] I use it for Zinc. > On 16 Jun 2017, at 09:21, Esteban L

Re: [Pharo-users] Loading Dr. Geo in Pharo6

2017-06-16 Thread Esteban Lorenzano
you can add that protocol by yourself as an extension. you can create a package DrGeo-Pharo6 and add the method, something like: addToStartUpList: aClass after: ignoredClass SessionManager default registerSystemClassNamed: aClass name atPriority: 60 then

[Pharo-users] Loading Dr. Geo in Pharo6

2017-06-16 Thread Hilaire
Hi, When I install DrGeo from its configuration file in Pharo6, I got the following VM error. I guess the addStartUpList protocol is obsolete. One option is to modify Dr. Geo code in Pharo3 to remove startup activation, save in the repo, then load newer code in Pharo6, and get it fixed. Any sug