[Pharo-dev] help about codeImporter

2013-12-06 Thread Stéphane Ducasse
Hi I have the impression that codeImporter does not use the same stream than MC because I cannot filein code with strange characters while I can save the same file with MC. Any idea? May be codeImporter should use MultyByteStream? Stef

Re: [Pharo-dev] help about codeImporter

2013-12-06 Thread Stéphane Ducasse
On Dec 6, 2013, at 9:08 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi I have the impression that codeImporter does not use the same stream than MC because I cannot filein code with strange characters while I can save the same file with MC. Any idea? May be codeImporter

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Max Leske
You could probably solve that with aspects. There was some talk about an aspect project a while ago but I forgot what it was called. On 06.12.2013, at 10:00, Roberto Minelli roberto.mine...@usi.ch wrote: Hi guys, I am using Spy for my project, and I need to do something which, on top of my

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Torsten Bergmann
Hi Roberto, usually what you need is support for so called ABIA (Around, Begin, Inner and After) execution. Brings Smallscript back to my brain which had nice support for this. In Squeak there was AspectS, I dont know if there is a port of AspectS for Pharo. Maybe the PHANtom project can be

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Benjamin
I also think you should have a look at Phantom :) Maybe Johan will give you more details :) Ben On 06 Dec 2013, at 10:14, Torsten Bergmann asta...@gmx.de wrote: Hi Roberto, usually what you need is support for so called ABIA (Around, Begin, Inner and After) execution. Brings Smallscript

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Torsten Bergmann
Hi Johan, maybe you can help Roberto here (see below). One question from my side: http://pleiad.cl/research/software/phantom#download contains no info about the Pharo version. The premade image is Pharo 1.3. Is Phantomknown to work on higher versions (Pharo 1.4, 2.0, 3.0). If so it

[Pharo-dev] Review someone

2013-12-06 Thread Benjamin
Hi guys, could someone have a look at this issue ? https://pharo.fogbugz.com/default.asp?12304 It’s pretty simple, but I am facing the MC filter slowness 200 times per day, so if someone review it, then we can put it into Pharo, and make the world a better place to live. So if you want in a

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Roberto Minelli
WOW.. Thank you guys for such answers!! It seems this is an hot topic. However, now I will try to hack something on top of Spy and look at Phantom in the weekend ;) Cheers, R On Dec 6, 2013, at 10:35 AM, Marcus Denker marcus.den...@inria.fr wrote: On 06 Dec 2013, at 10:01, Roberto Minelli

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Marcus Denker
On 06 Dec 2013, at 10:51, Roberto Minelli roberto.mine...@usi.ch wrote: WOW.. Thank you guys for such answers!! It seems this is an hot topic. However, now I will try to hack something on top of Spy and look at Phantom in the weekend ;) Phantom does *not* support sub-method elements.

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Marcus Denker
On 06 Dec 2013, at 10:01, Roberto Minelli roberto.mine...@usi.ch wrote: Hi guys, I am using Spy for my project, and I need to do something which, on top of my knowledge, is not supported. Here is the point: Spy allows to insert code before (#beforeRun:with:in:) and after

[Pharo-dev] A Push to clear the issue tracker...

2013-12-06 Thread Marcus Denker
Hi, With the end of the year close and a relase of Pharo3 planed for March… it is the right time to clean the issue tracker. - Have a look at all the issues assigned to you. All current? Some action that can be done? Will you really work on it? - Double check *all* issues that you submitted.

Re: [Pharo-dev] Review someone

2013-12-06 Thread Stéphane Ducasse
I will :) Stef On Dec 6, 2013, at 10:38 AM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Hi guys, could someone have a look at this issue ? https://pharo.fogbugz.com/default.asp?12304 It’s pretty simple, but I am facing the MC filter slowness 200 times per day, so if someone

Re: [Pharo-dev] help about codeImporter

2013-12-06 Thread Stéphane Ducasse
Some code from middle age. Still not having a coherent behavior is a problem to me. who put a ô in the code at the first place ? :P Ben

Re: [Pharo-dev] Review someone

2013-12-06 Thread Sven Van Caekenberghe
On 06 Dec 2013, at 10:38, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: Hi guys, could someone have a look at this issue ? https://pharo.fogbugz.com/default.asp?12304 I do not really understand why a contribution from you that passes validation needs another extra approval. I mean,

Re: [Pharo-dev] Review someone

2013-12-06 Thread Stephan Eggermont
Just tried in 30624. Looks good to me. Works a lot faster. Is not trivial to load by hand, it needs search strings entered (nil isn’t empty) The way the search is forked doesn’t interfere with the UI thread? Stephan

Re: [Pharo-dev] Review someone

2013-12-06 Thread Stephan Eggermont
Would it make sense to check the search string for complex strings (*\?) and switch to regex searching then? That should be a simple extension (later). Stephan

Re: [Pharo-dev] help about codeImporter

2013-12-06 Thread Stephan Eggermont
Ben wrote: who put a ô in the code at the first place ? :P Doesn’t happen often, I’m happy to observe. Strings in code with interesting characters are a much more common problem, though. Made it impossible to import MCs into Gemstone. Stephan

Re: [Pharo-dev] Review someone

2013-12-06 Thread Benjamin
It used to be regex, but regex are slow (and far slower than just string comparison) Ben On 06 Dec 2013, at 12:20, Stephan Eggermont step...@stack.nl wrote: Would it make sense to check the search string for complex strings (*\?) and switch to regex searching then? That should be a simple

Re: [Pharo-dev] Review someone

2013-12-06 Thread Benjamin
On 06 Dec 2013, at 12:06, Stephan Eggermont step...@stack.nl wrote: Just tried in 30624. Looks good to me. Works a lot faster. Is not trivial to load by hand, it needs search strings entered (nil isn’t empty) The way the search is forked doesn’t interfere with the UI thread? Not really,

Re: [Pharo-dev] Review someone

2013-12-06 Thread Stephan Eggermont
I managed to break it. Open monticello, open the 30inbox type sl return backspace backspace return Still needs a nil check it seems Stephan

Re: [Pharo-dev] Review someone

2013-12-06 Thread Stephan Eggermont
Ben wrote: It used to be regex, but regex are slow (and far slower than just string comparison) Yes, I saw that. They are also useful. Checking if the search string contains regex characters is not slow. Only doing regex checking when they are there solves the main slowness, without losing

[Pharo-dev] [pharo-project/pharo-core] 667849: 30625

2013-12-06 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 66784912fd744d2fd25e36621ffbeab5635320ea https://github.com/pharo-project/pharo-core/commit/66784912fd744d2fd25e36621ffbeab5635320ea Author: Jenkins Build Server bo...@pharo-project.org Date:

[Pharo-dev] [pharo-project/pharo-core]

2013-12-06 Thread GitHub
Branch: refs/tags/30625 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Review someone

2013-12-06 Thread Benjamin
Indeed :) But I did not want to spend too much time there :P Ben On 06 Dec 2013, at 12:38, Stephan Eggermont step...@stack.nl wrote: Ben wrote: It used to be regex, but regex are slow (and far slower than just string comparison) Yes, I saw that. They are also useful. Checking if the

Re: [Pharo-dev] Review someone

2013-12-06 Thread Benjamin
New slice proposed :P Ben On 06 Dec 2013, at 12:38, Stephan Eggermont step...@stack.nl wrote: Ben wrote: It used to be regex, but regex are slow (and far slower than just string comparison) Yes, I saw that. They are also useful. Checking if the search string contains regex characters

[Pharo-dev] WhatsUp from: 2013-12-02 until: 2013-12-15

2013-12-06 Thread Stephan Eggermont
### Here's what I've been up to since the last WhatsUp: - put PetitDelphi in the moose ci - complained about losing code (issue 12324) - added the twitter bootstrap magritte demo to the new bootstrap code - try to understand the problems with packages - committed a fix and test for packages that

[Pharo-dev] [pharo-project/pharo-core]

2013-12-06 Thread GitHub
Branch: refs/tags/30626 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] a80434: 30627

2013-12-06 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: a80434ad592718e43c922975eb3c2b1712241b36 https://github.com/pharo-project/pharo-core/commit/a80434ad592718e43c922975eb3c2b1712241b36 Author: Jenkins Build Server bo...@pharo-project.org Date:

[Pharo-dev] Pharo magic

2013-12-06 Thread Torsten Bergmann
Maybe others noticed the same: - the numbers of closed issues is amazing(see the news on the homepage) - Pharo3.0 is already really usable and a pleasure to work with - more and more nice projects appear on STHub and elsewhere - more and more Pharo projects use continuous integration - most

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Sven Van Caekenberghe
Yes, +10 ! On 06 Dec 2013, at 19:05, Torsten Bergmann asta...@gmx.de wrote: Maybe others noticed the same: - the numbers of closed issues is amazing(see the news on the homepage) - Pharo3.0 is already really usable and a pleasure to work with - more and more nice projects appear on STHub

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Esteban A. Maringolo
It is outstanding. Thanks to everybody who contributed. Esteban A. Maringolo 2013/12/6 Torsten Bergmann asta...@gmx.de: Maybe others noticed the same: - the numbers of closed issues is amazing(see the news on the homepage) - Pharo3.0 is already really usable and a pleasure to work with

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Stéphane Ducasse
“get a copy of the IR tree irMethod := (TestMy#test) ir copy. “get all instance variable access IR instructions” allIvarAccesses := irMethod allInstructionsMatching: [ :ir |ir isInstVarAccess]. “insert code for “1 halt” before all of them allIvarAccesses do: [ :each | each

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Stéphane Ducasse
Thanks for your warm words (because sometimes I would like so much to improve pharo even more that I'm down). We have a great team (I do not want to list names because I do not want to forget someone). Stef Maybe others noticed the same: - the numbers of closed issues is amazing(see the

Re: [Pharo-dev] help about codeImporter

2013-12-06 Thread Nicolas Cellier
Oh but last time I checked, fileIn were not even using latin1, they were using macRoman! 2013/12/6 Stéphane Ducasse stephane.duca...@inria.fr On Dec 6, 2013, at 3:15 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: But MC should work better now that sources are UTF8 encoded

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread kilon alios
Well I tried pharo just for fun , I knew it would not last. Pharo is unpopular, not enough libraries, small community , not nearly enough documentation. Pharo was nothing more than a little break from python. After all we all know smalltalk is dead , right ? The plan was simple, have fun with

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Luc Fabresse
Hi, thanks kilon for sharing your Python experience ;-) I really enjoy listening to people that discover Pharo recently. Thank you all! #Luc 2013/12/6 kilon alios kilon.al...@gmail.com Well I tried pharo just for fun , I knew it would not last. Pharo is unpopular, not enough libraries,

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Tudor Girba
Thanks indeed. Kilon, your experience is valuable for those of us that basically live in Pharo. So, your input matters more than you think because you can help us make Pharo more appealing for newcomers. So, if you could change one thing that would have made the transition to Pharo even smoother,

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Tudor Girba
Me, too! :) Doru On Fri, Dec 6, 2013 at 9:38 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: “get a copy of the IR tree irMethod := (TestMy#test) ir copy. “get all instance variable access IR instructions” allIvarAccesses := irMethod allInstructionsMatching: [ :ir |ir

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread kilon alios
Well I think the secret of success of Pharo with newcomers like me is 3 things a) Documentation b) Documentation c) yes you guessed it Documentation Coming from python I can tell you that the success of python and its a very successful language popularity wise , is the fact that it has simply

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Sebastian Sastre
Thanks for sharing that Kilon On Dec 6, 2013, at 6:49 PM, kilon alios kilon.al...@gmail.com wrote: Well I tried pharo just for fun , I knew it would not last. Pharo is unpopular, not enough libraries, small community , not nearly enough documentation. Pharo was nothing more than a little

Re: [Pharo-dev] Pharo magic

2013-12-06 Thread Nicolai Hess
This seems to be a good place to introduce myself. My Name is Nicolai Hess, I follow the squeak (and pharo) community for some years (~10). (Not as an *active* member in that time, but a little bit more the last days:-) I am a software developer, most time working with c++ and java. Every time I

Re: [Pharo-dev] 12259: FileSystem memory reads writesusing a binary stream by default

2013-12-06 Thread Nicolas Cellier
Hem, switching #ascii - #binary does only make sense in... ASCII With every other encoding, it's not something that makes sense at all, or maybe #latin1 - #binary, #utf8 - #binary, #utf16 - #binary 2013/12/5 Max Leske maxle...@gmail.com There are several different approaches in different

[Pharo-dev] Smalltalk in a C World

2013-12-06 Thread askoh
http://www.cl.cam.ac.uk/~dc552/papers/SmalltalkInACWorld.pdf The paper talks about Smalltalk and Objective C coexisting equally in a software development environment. And by virtual of ObjC compatibility with C/C++, the whole C world is open to Smalltalk. Isn't this very exciting? Anyone else

Re: [Pharo-dev] Using TreeModelselectAll

2013-12-06 Thread Martin Dias
ouch! thanks Ben. Another related question: is there any way of selecting an arbitrary item? I tried (among others) with: TreeModel new roots: #(1 2 3); multiSelection: true; openWithSpec; selection: 3 without success. Cheers, Martín On Thu, Dec 5, 2013 at 4:17 PM, Benjamin

Re: [Pharo-dev] 12259: FileSystem memory reads writesusing a binary stream by default

2013-12-06 Thread Max Leske
I agree but that is a problem inherent to the current implementation and it’s not really my goal now to fix all the shortcomings :) I simply want a consistent way to get through this (since I’ve heard that the streams might be replaced with Xtreams…). On 07.12.2013, at 00:44, Nicolas Cellier

Re: [Pharo-dev] Responsible development

2013-12-06 Thread Tudor Girba
Hi Yuriy, Loading a Moose model actually happens in a separate thread and you should be able to do other things in the meantime. However, it is true that the image becomes less responsive when doing that. Did you experience anything different? Doru -- www.tudorgirba.com Every thing has its

[Pharo-dev] [pharo-project/pharo-core]

2013-12-06 Thread GitHub
Branch: refs/tags/30628 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 683a1d: 30628

2013-12-06 Thread GitHub
Branch: refs/heads/3.0 Home: https://github.com/pharo-project/pharo-core Commit: 683a1deb6de486ec252053e0be2ba5d11dba5b33 https://github.com/pharo-project/pharo-core/commit/683a1deb6de486ec252053e0be2ba5d11dba5b33 Author: Jenkins Build Server bo...@pharo-project.org Date: