[Pharo-dev] StHub Support Ticket

2014-03-24 Thread Sven Van Caekenberghe
Can someone please help Philippe Marschall who is having trouble saving to StHub ? His account is http://www.smalltalkhub.com/#!/~marschall He seems to be able to log in to the website part, but can't save anything. Not in the Seaside repositories, nor in a new Test repository that he just

[Pharo-dev] FileSystemGit and Fuel final report

2014-03-24 Thread Max Leske
For those who’ve been interested in what went on during the last two weeks, where I visited Lille, I’ve compiled a short report. Regarding my work on Git I’ll continue to report on the status from time to time. I want to thank everyone at RMoD once again for the warm welcome and the support I

Re: [Pharo-dev] FileSystemGit and Fuel final report

2014-03-24 Thread Stephan Eggermont
Great! I have a different (and lower priority) use case for the libgit2 bindings: Michael Feathers has done some history analysis on github repositories which we’ve used at the SPA2011 egg race. Basically, commit info on method level for 4 ruby projects. I guess I’d have to use the low level

Re: [Pharo-dev] StHub Support Ticket

2014-03-24 Thread Nicolas Petton
Sven Van Caekenberghe writes: Can someone please help Philippe Marschall who is having trouble saving to StHub ? His account is http://www.smalltalkhub.com/#!/~marschall He seems to be able to log in to the website part, but can't save anything. Not in the Seaside repositories, nor in a

Re: [Pharo-dev] FileSystemGit and Fuel final report

2014-03-24 Thread Sven Van Caekenberghe
Sounds like a productive week ! Thanks for the report and the work. On 24 Mar 2014, at 10:06, Max Leske maxle...@gmail.com wrote: For those who’ve been interested in what went on during the last two weeks, where I visited Lille, I’ve compiled a short report. Regarding my work on Git I’ll

Re: [Pharo-dev] FileSystemGit and Fuel final report

2014-03-24 Thread Max Leske
On 24.03.2014, at 11:08, Stephan Eggermont step...@stack.nl wrote: Great! I have a different (and lower priority) use case for the libgit2 bindings: Michael Feathers has done some history analysis on github repositories which we’ve used at the SPA2011 egg race. Basically, commit info on

Re: [Pharo-dev] Debugger acting up

2014-03-24 Thread Gary Chambers
Hi, maybe related to something I found when using our locked-down images (no Tools in ToolRegistry). In SmalltalkImageopenLog FileStream fileNamed: Smalltalk tools debugger logFileName was causing a loop since the default error handling ends up sending #logDuring:, which sends #openLog,

[Pharo-dev] Created PetitParserExtension project

2014-03-24 Thread Guillaume Larcheveque
Hi everybody, I am using PetitParser a lot and had implemented some little tools that help me for writing or generating grammars. I put two of the most useful in the project PetitParserExtension ( http://smalltalkhub.com/#!/~Moose/PetitParserExtensions). the first one is useful when you generate

Re: [Pharo-dev] new website about Artefact

2014-03-24 Thread Sergi Reyner
2014-03-24 14:40 GMT+00:00 olivier olivier.auver...@gmail.com: Hi, A website is now available about Artefact. Documentation and useful informations are grouped to help you to produce many and beautiful PDF documents with Pharo. https://sites.google.com/site/artefactpdf/ I am of the

Re: [Pharo-dev] new website about Artefact

2014-03-24 Thread camille teruel
Congrats it's very funny :D 2014-03-24 15:40 GMT+01:00 olivier olivier.auver...@gmail.com: Hi, A website is now available about Artefact. Documentation and useful informations are grouped to help you to produce many and beautiful PDF documents with Pharo.

Re: [Pharo-dev] new website about Artefact

2014-03-24 Thread p...@highoctane.be
+3 On Mon, Mar 24, 2014 at 3:53 PM, Sergi Reyner sergi.rey...@gmail.comwrote: 2014-03-24 14:40 GMT+00:00 olivier olivier.auver...@gmail.com: Hi, A website is now available about Artefact. Documentation and useful informations are grouped to help you to produce many and beautiful PDF

[Pharo-dev] threading in Pharo

2014-03-24 Thread Alexandre Bergel
Hi! Threads in Pharo have always been mysterious for me. If I doit the following: [ true ] whileTrue Can other thread interrupt this? Say in other words, can the following piece of code may suffer from a concurrent problem in Pharo anOrderedCollection add: 42 My current understanding

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Jan Vrany
Hi, On 24/03/14 17:56, Alexandre Bergel wrote: Hi! Threads in Pharo have always been mysterious for me. If I doit the following: [ true ] whileTrue Can other thread interrupt this? Say in other words, can the following piece of code may suffer from a concurrent problem in Pharo

Re: [Pharo-dev] Just found, i can compile this:

2014-03-24 Thread Eliot Miranda
On Mon, Mar 24, 2014 at 10:00 AM, Christophe Demarey christophe.dema...@inria.fr wrote: Hi Eliot, Le 20 mars 2014 à 17:04, Eliot Miranda a écrit : On Thu, Mar 20, 2014 at 2:03 AM, Christophe Demarey christophe.dema...@inria.fr wrote: Hi Eliot, Le 19 mars 2014 à 16:25, Eliot Miranda a

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Alexandre Bergel
My current understanding about thread is that there is a scheduling that may occurs each time we enter the VM (e.g., primitive call, instantiating an object, throwing an exception). So, the code anOrderedCollection add: 42” will _never_ suffer from concurrent call because adding 42 to a

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Stefan Marr
Hi Alexandre: On 24 Mar 2014, at 19:20, Alexandre Bergel alexandre.ber...@me.com wrote: Any idea what is the cost of using a semaphore? Inserting the expression anOrderedCollection add: 42” in a semaphore surely make the expression slower. Any idea how much slower? Can you elaborate a

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Alexandre Bergel
Any idea what is the cost of using a semaphore? Inserting the expression anOrderedCollection add: 42” in a semaphore surely make the expression slower. Any idea how much slower? Can you elaborate a little on the problem. I am working on a memory model for expandable collection in Pharo.

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Jan Vrany
On 24/03/14 18:20, Alexandre Bergel wrote: My current understanding about thread is that there is a scheduling that may occurs each time we enter the VM (e.g., primitive call, instantiating an object, throwing an exception). So, the code anOrderedCollection add: 42” will _never_ suffer from

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Jan Vrany
On 24/03/14 18:57, Alexandre Bergel wrote: Any idea what is the cost of using a semaphore? Inserting the expression anOrderedCollection add: 42” in a semaphore surely make the expression slower. Any idea how much slower? Can you elaborate a little on the problem. I am working on a memory

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Alexandre Bergel
Just out of curiosity, why do you do that? I would say is better throw them away (in most cases) Just for the sake of publishing original ideas :-) Joking :-) The VM is considering expandable collections as simple objects, and this has a cost in terms of memory and CPU consumption. I will be

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Stefan Marr
Hi Alexandre: On 24 Mar 2014, at 19:57, Alexandre Bergel alexandre.ber...@me.com wrote: I am working on a memory model for expandable collection in Pharo. Currently, OrderedCollection, Dictionary and other expandable collections use a internal array to store their data. My new collection

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Alexandre Bergel
I am working on a memory model for expandable collection in Pharo. Currently, OrderedCollection, Dictionary and other expandable collections use a internal array to store their data. My new collection library recycle these array instead of letting the garbage collector dispose them. I

[Pharo-dev] Migration from Pharo 1.1 to 2.0

2014-03-24 Thread Laurent Laffont
Hi, is there a way to export / fileOut objects from Pharo 1.1 and reload them into Pharo 2.0 or 3.0 ? Cheers, Laurent

Re: [Pharo-dev] Migration from Pharo 1.1 to 2.0

2014-03-24 Thread Mariano Martinez Peck
Fuel works from 1.1.1 to 3.0: http://rmod.lille.inria.fr/web/pier/software/Fuel/Version1.9/Documentation/Installation If I remember correctly 1.1.1 was just same image but with support for cog right? in such a case, it is likely it should work for 1.1 as well. You can give it a try. Cheers,

Re: [Pharo-dev] Migration from Pharo 1.1 to 2.0

2014-03-24 Thread Max Leske
Fuel 1.9.3 still works with 1.1.1 On 24.03.2014, at 21:57, Mariano Martinez Peck marianop...@gmail.com wrote: Fuel works from 1.1.1 to 3.0: http://rmod.lille.inria.fr/web/pier/software/Fuel/Version1.9/Documentation/Installation If I remember correctly 1.1.1 was just same image but

Re: [Pharo-dev] Migration from Pharo 1.1 to 2.0

2014-03-24 Thread Laurent Laffont
It works ! Thank you ! Laurent Le lundi 24 mars 2014, 22:10:14 Max Leske a écrit : Fuel 1.9.3 still works with 1.1.1 On 24.03.2014, at 21:57, Mariano Martinez Peck marianop...@gmail.com wrote: Fuel works from 1.1.1 to 3.0:

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread p...@highoctane.be
On Mon, Mar 24, 2014 at 8:23 PM, Alexandre Bergel alexandre.ber...@me.comwrote: I am working on a memory model for expandable collection in Pharo. Currently, OrderedCollection, Dictionary and other expandable collections use a internal array to store their data. My new collection library

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Guillermo Polito
Here is the better documentation I found online about it when I learnt it: http://wiki.squeak.org/squeak/382 Afterwards... reading the vm and playing was the hard way to learn it... Then it seems there is an ongoing chapter in the topic

[Pharo-dev] Trait1 Trait2 Trait3 in Smalltalk globals allClassesAndTraits

2014-03-24 Thread p...@highoctane.be
On a fresh 3.0, there are Trait1, Trait2 and Trait3 in Smalltalk globals allClassesAndTraits These 3 look like they are equivalents to Trait. What are these for? Phil

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Eliot Miranda
Also Smalltalk-80: the Language and its Implementation (the Blue Bookhttp://stephane.ducasse.free.fr/FreeBooks/BlueBook/Bluebook.pdf) has a good chapter, Chapter 15: 15 Multiple Independent Processes On Mon, Mar 24, 2014 at 3:29 PM, Guillermo Polito guillermopol...@gmail.com wrote: Here is

[Pharo-dev] Crazy Smalltalk code snippets

2014-03-24 Thread Pavel Krivanek
Who can find the most useful usage of this? thisContext instVarNamed: #receiver put: 42. self factorial GOTO statement in Pharo: FileStream stdout nextPutAll: 'Hello world'; lf. thisContext jump: -12. Let's collect the next ones :-) Cheers, -- Pavel

Re: [Pharo-dev] Crazy Smalltalk code snippets

2014-03-24 Thread p...@highoctane.be
I am curious. Maybe on the first one, substitute something when a DNU is encountered. Like logging undefined receivers. I wonder how the next one behaves on JITted methods. I fear that offset errors may lead to weird errors. On Mon, Mar 24, 2014 at 11:51 PM, Pavel Krivanek

Re: [Pharo-dev] Crazy Smalltalk code snippets

2014-03-24 Thread Eliot Miranda
On Mon, Mar 24, 2014 at 4:02 PM, p...@highoctane.be p...@highoctane.bewrote: I am curious. Maybe on the first one, substitute something when a DNU is encountered. Like logging undefined receivers. I wonder how the next one behaves on JITted methods. I fear that offset errors may lead to

Re: [Pharo-dev] Crazy Smalltalk code snippets

2014-03-24 Thread p...@highoctane.be
On Tue, Mar 25, 2014 at 12:11 AM, Eliot Miranda eliot.mira...@gmail.comwrote: On Mon, Mar 24, 2014 at 4:02 PM, p...@highoctane.be p...@highoctane.bewrote: I am curious. Maybe on the first one, substitute something when a DNU is encountered. Like logging undefined receivers. I wonder

Re: [Pharo-dev] Crazy Smalltalk code snippets

2014-03-24 Thread Eliot Miranda
On Mon, Mar 24, 2014 at 4:33 PM, p...@highoctane.be p...@highoctane.bewrote: On Tue, Mar 25, 2014 at 12:11 AM, Eliot Miranda eliot.mira...@gmail.comwrote: On Mon, Mar 24, 2014 at 4:02 PM, p...@highoctane.be p...@highoctane.bewrote: I am curious. Maybe on the first one, substitute

Re: [Pharo-dev] threading in Pharo

2014-03-24 Thread Stephan Eggermont
Alexandre wrote: I am working on a memory model for expandable collection in Pharo. Currently, OrderedCollection, Dictionary and other expandable collections use a internal array to store their data. My new collection library recycle these array instead of letting the garbage collector dispose