Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Camille
> On 27 Feb 2015, at 03:43, Alexandre Bergel wrote: > > Hi! > > I have a near-to-be naive question. Maybe there is something obvious, but I > cannot see it. Consider the following implementation of a proxy: > > -=-=-=-=-=-=-=-=-=-=-=-= > Object subclass: #MyProxy > instanceVariableNames

[Pharo-dev] [pharo-project/pharo-core] 245f0e: 40517

2015-02-27 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 245f0ed610dcdff62306fd847a4fd6b398fc5c76 https://github.com/pharo-project/pharo-core/commit/245f0ed610dcdff62306fd847a4fd6b398fc5c76 Author: Jenkins Build Server Date: 2015-02-27 (Fri, 27 Feb 2015

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

2015-02-27 Thread GitHub
Branch: refs/tags/40517 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] [regression reporter]regression occurred

2015-02-27 Thread Andrei Chis
The issue is waiting integration: https://pharo.fogbugz.com/f/cases/14993/Integrate-GTools There are still some more bugs to fix but we should integrate nevertheless. Cheers, Andrei On Thu, Feb 26, 2015 at 3:46 PM, Sven Van Caekenberghe wrote: > > > On 26 Feb 2015, at 15:35, Ben Coman wrote: >

[Pharo-dev] [Pharo4] 40517: Change to AST

2015-02-27 Thread Marcus Denker
Hi, #517 contains the cleanup by Pablo Herrero related to the AST. It used to be that some AST nodes did hold on to Scanner tokens. This is nota good idea as the existence of a scanner is an implementation choice: modern parsers are scanners-less, for example. -> We need to carefully test -> th

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Alejandro Infante
Another way to go is just to do this: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ProtoObject subclass: #MyProxy instanceVariableNames: 'object' classVariableNames: '' category: ‘' MyProxy >> initialize object := self MyProxy >> doesNotUnderstand: aMessage

Re: [Pharo-dev] GTSpotter - searching anywhere within identifiers

2015-02-27 Thread Ben Coman
Thanks Andrei. Actually I should have known that from past usage. My thinking must have locked on the wrong paradigm. On Fri, Feb 27, 2015 at 1:18 AM, Andrei Chis wrote: > In the latest version from moose it also finds IndexedSlot if you type in > 'slot'. However it displays at the beginning i

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Marcus Denker
> For most cases Ghost is the way to go. > > We will add a proxy model (based on Ghost or just ghost as is) to Pharo by default in Pharo5. Then people can just use it. -- Marcus Denker -- den...@acm.org http://www.marcusdenker.de

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Alejandro Infante
First of all, the things that you are doing with slots are just amazing. I never thought that there were so many cool stuff that could be done with them. Now, two things to point out about the ProcessLocalSlot that probably not all know. 1) The value is stored weakly, an example of this would b

Re: [Pharo-dev] [Pharo4] 40517: Change to AST

2015-02-27 Thread Thierry Goubier
Le 27/02/2015 10:26, Marcus Denker a écrit : Hi, #517 contains the cleanup by Pablo Herrero related to the AST. It used to be that some AST nodes did hold on to Scanner tokens. This is nota good idea as the existence of a scanner is an implementation choice: modern parsers are scanners-less, fo

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Guillermo Polito
Haha, I didn't know that. I'll add that in the class comment. El Fri Feb 27 2015 at 11:23:59 AM, Alejandro Infante < alejandroinfant...@gmail.com> escribió: > First of all, the things that you are doing with slots are just amazing. I > never thought that there were so many cool stuff that could b

Re: [Pharo-dev] Example implementation of associations with Slots in Pharo 4.0

2015-02-27 Thread Jan van de Sandt
Hello, Thanks for your suggestions. I have improved the naming and definition to this: Object subclass: #SlotExampleMovie slots: { #name. #year. #director => ToOneRelationSlot inverse: #directedMovies inClass: #SlotExamplePerson. #actors => ToManyRelationSlot inverse: #actedInMovies inClass: #Slo

Re: [Pharo-dev] GSOC 2015 Call for Ideas

2015-02-27 Thread Serge Stinckwich
Dear all, last week, we submit the Pharo proposal for GSOC 2015 with Uko and we are waiting now for the answer from Google. Accepted organisations will be announce March 2, 2015. We have now more than 50 projects ideas but we are still looking for more ideas from the community ! Don't be shy, pr

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Guillermo Polito
Done https://pharo.fogbugz.com/f/cases/15007/Add-comment-on-ProcessLocalSlot-for-its-drawbacks El Fri Feb 27 2015 at 11:31:55 AM, Guillermo Polito < guillermopol...@gmail.com> escribió: > Haha, I didn't know that. I'll add that in the class comment. > > El Fri Feb 27 2015 at 11:23:59 AM, Alejand

[Pharo-dev] [pharo-project/pharo-core] 3c72b1: 40518

2015-02-27 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 3c72b19984db177e9cf05273093b82be85642630 https://github.com/pharo-project/pharo-core/commit/3c72b19984db177e9cf05273093b82be85642630 Author: Jenkins Build Server Date: 2015-02-27 (Fri, 27 Feb 2015

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

2015-02-27 Thread GitHub
Branch: refs/tags/40518 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Tudor Girba
Great catch. Thanks. Doru On Fri, Feb 27, 2015 at 11:23 AM, Alejandro Infante < alejandroinfant...@gmail.com> wrote: > First of all, the things that you are doing with slots are just amazing. I > never thought that there were so many cool stuff that could be done with > them. > > Now, two thing

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Tudor Girba
So many cool things! We cannot even imagine at this point what all these little conceptual things will bring in downstream projects. This is amazing. Thanks a lot, Doru On Fri, Feb 27, 2015 at 12:07 AM, Marcus Denker wrote: > Hi, > > In 40516 there is now a strange, but rather powerful mechan

Re: [Pharo-dev] Example implementation of associations with Slots in Pharo 4.0

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 11:46, Jan van de Sandt wrote: > > Hello, > > Thanks for your suggestions. I have improved the naming and definition to > this: > > Object subclass: #SlotExampleMovie > slots: { > #name. > #year. > #director => ToOneRelati

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Marcus Denker
On Fri, Feb 27, 2015 at 12:35 PM, Tudor Girba wrote: > So many cool things! > > We cannot even imagine at this point what all these little conceptual > things will bring in downstream projects. This is amazing. > Interestingly, the world view of most people is different... they never realise thi

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread kilon alios
I can explain why, its the language you use. For example this feature, I have no clue what you guys are talking about. For people to be impressed first they need to understand what they should be impressed with. On Fri, Feb 27, 2015 at 2:12 PM, Marcus Denker wrote: > > > On Fri, Feb 27, 2015 a

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 13:24, kilon alios wrote: > > I can explain why, its the language you use. > > For example this feature, I have no clue what you guys are talking about. > > For people to be impressed first they need to understand what they should be > impressed with. > I did not mean

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Clara Allende
Looks super cool :) Now that I finished my exams I can get back on this too... Thanks a lot Marcus :) 2015-02-27 9:34 GMT-03:00 Marcus Denker : > > On 27 Feb 2015, at 13:24, kilon alios wrote: > > I can explain why, its the language you use. > > For example this feature, I have no clue what you

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Mariano Martinez Peck
On Fri, Feb 27, 2015 at 7:10 AM, Marcus Denker wrote: > > For most cases Ghost is the way to go. >> >> > We will add a proxy model (based on Ghost or just ghost as is) to Pharo by > default in Pharo5. > Then people can just use it. > And with the lazy become of Spur / new Cog that would be a su

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread kilon alios
Sooner or later then you will have to name people, because talking generally wont change the situation. Who in this community believe that improving Pharo is pointless / does not have an effect ? I am getting totally opposite feeling with this community. One the reasons I enjoy Pharo. On Fri, Fe

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 13:59, Clara Allende wrote: > > Looks super cool :) Now that I finished my exams I can get back on this > too... Very good! The idea is to step-by-step take your prototype and move it over. Next I will do the link-setting infrastructure: - set a link on the AST

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Clara Allende
Great news! I'll get in touch with you and see how I can help :) 2015-02-27 10:16 GMT-03:00 Marcus Denker : > > > On 27 Feb 2015, at 13:59, Clara Allende wrote: > > > > Looks super cool :) Now that I finished my exams I can get back on this > too... > > Very good! > > The idea is to step-by-step

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

2015-02-27 Thread GitHub
Branch: refs/tags/40519 Home: https://github.com/pharo-project/pharo-core

[Pharo-dev] [pharo-project/pharo-core] 0b5476: 40519

2015-02-27 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 0b5476bf31a7a05c92771452ea7a94cfe18db9db https://github.com/pharo-project/pharo-core/commit/0b5476bf31a7a05c92771452ea7a94cfe18db9db Author: Jenkins Build Server Date: 2015-02-27 (Fri, 27 Feb 2015

[Pharo-dev] [Metacello] Getting all working copies from a configuration

2015-02-27 Thread Guillermo Polito
Hi all, (and particularly Dale :) I want to get the code (classes, methods...) that will be loaded by a metacello configuration *without* installing it inside the image. (ConfigurationOfXXX project version: #'1.0') fetchCode "or something like that" I saw that there is a #fetch method in the Met

Re: [Pharo-dev] Recording user actions in GTools

2015-02-27 Thread Andrei Chis
On Thu, Feb 26, 2015 at 8:39 PM, Stephan Eggermont wrote: > On 26/02/15 16:10, Andrei Chis wrote: > >> The recording of data will be opt-out: *you have to explicitly agree >> with sending usage data*. >> > > Uhhm. That's called opt-in. > > Yes, I confused them. > A practical issue: I have proj

[Pharo-dev] Issue Grabber

2015-02-27 Thread Sven Van Caekenberghe
It seems the following now fails, both in older and newer images: ZnClient new url: 'http://bugs.pharo.org/issues/name/15008'; get. Which means 'Grab' of an issue number in MCSliceMaker no longer works. What changed ?

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 15:53, Sven Van Caekenberghe wrote: > > It seems the following now fails, both in older and newer images: > > ZnClient new url: 'http://bugs.pharo.org/issues/name/15008'; get. > > Which means 'Grab' of an issue number in MCSliceMaker no longer works. > > What changed ? >

Re: [Pharo-dev] Recording user actions in GTools

2015-02-27 Thread stepharo
+ 1 If you need the proof that people do not remember the bindings why not logging. But to me this is obvious. THere is not way of discovering them expect by try and error. I always have the feeling that I use it the wrong way because I do not know the magic shortcuts. Frustrated. Le 26/2/15

Re: [Pharo-dev] Recording user actions in GTools

2015-02-27 Thread stepharo
What I often really want to do is to scope my search. find who is sending changed: in that class X. and I know that we can do it but no idea how. Stef Le 27/2/15 15:44, Andrei Chis a écrit : On Thu, Feb 26, 2015 at 8:39 PM, Stephan Eggermont > wrote: On 26/02/15

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread Sven Van Caekenberghe
> On 27 Feb 2015, at 15:55, Marcus Denker wrote: > > >> On 27 Feb 2015, at 15:53, Sven Van Caekenberghe wrote: >> >> It seems the following now fails, both in older and newer images: >> >> ZnClient new url: 'http://bugs.pharo.org/issues/name/15008'; get. >> >> Which means 'Grab' of an issu

Re: [Pharo-dev] [Pharo4] Slots: ExampleSlotWithDefaultValue

2015-02-27 Thread stepharo
:) look more and more like CLOS :) now a question: what do you accept as value: (literals or expressions). I have the impression that literals are better because no runtime needed. Stef Hi, Todays small improvement: ExampleSlotWithDefaultValue now allows to set the default in the definiti

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread stepharo
Alex why ghost is not ok? Because you want to have a portable proxy? Stef Le 27/2/15 03:43, Alexandre Bergel a écrit : Hi! I have a near-to-be naive question. Maybe there is something obvious, but I cannot see it. Consider the following implementation of a proxy: -=-=-=-=-=-=-=-=-=-=-=-= Obj

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread stepharo
For most cases Ghost is the way to go. We will add a proxy model (based on Ghost or just ghost as is) to Pharo by default in Pharo5. Then people can just use it. And with the lazy become of Spur / new Cog that would be a super great combination. Oh yes! We thought ab

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 16:00, Sven Van Caekenberghe wrote: > > >> On 27 Feb 2015, at 15:55, Marcus Denker wrote: >> >> >>> On 27 Feb 2015, at 15:53, Sven Van Caekenberghe wrote: >>> >>> It seems the following now fails, both in older and newer images: >>> >>> ZnClient new url: 'http://bugs.

Re: [Pharo-dev] [Pharo4] Slots: ExampleSlotWithDefaultValue

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 16:01, stepharo wrote: > > :) > look more and more like CLOS :) > > now a question: what do you accept as value: >(literals or expressions). > I have the impression that literals are better because no runtime needed. > right now it is very simplistic: when you accept,

[Pharo-dev] About slots and syntax

2015-02-27 Thread stepharo
Hi guys I was reading the definitions we sent around and I have some questions about => Object subclass: #TestLocal slots: { #local => ProcessLocalSlot } classVariables: { } category: 'SlotTestGuille'. Object subclass: #TestLocal2 slots: { #local => ProcessLocalSlot default: 5} classVaria

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
:) pay attention I have a lot of ideas for you to implement :) Stef Le 27/2/15 00:07, Marcus Denker a écrit : Hi, In 40516 there is now a strange, but rather powerful mechanism for CompiledMethod: the Twin. What does that do? you can call on a method #createTwin (ReflectivityExamp

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
I hope that we will get better profilers alex :) Le 27/2/15 00:15, Alexandre Bergel a écrit : Wow!!! This means that one can call #createTwin, modify the AST, and simply call it! Impressive!!! Is it per default in Pharo 40516? Alexandre On Feb 26, 2015, at 8:07 PM, Marcus Denker wrote: Hi

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 16:05, Marcus Denker wrote: > > >> On 27 Feb 2015, at 16:00, Sven Van Caekenberghe > > wrote: >> >> >>> On 27 Feb 2015, at 15:55, Marcus Denker >> > wrote: >>> >>> On 27 Feb 2015, at 15:53, Sven Van Caekenberghe >

Re: [Pharo-dev] [Pharo4] Slots: ExampleSlotWithDefaultValue

2015-02-27 Thread Sean P. DeNigris
stepharo wrote > I have the impression that literals are better because no runtime needed. Except it eliminates a common-sounding case like: Object subclass: #GG slots: { #creationTimestamp => ExampleSlotWithDefaultValue default: DateAndTime now } classVariables: { } category: ‘PlayGround'

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
So many cool things! We cannot even imagine at this point what all these little conceptual things will bring in downstream projects. This is amazing. well there are large conceptual things made looking like little conceptual things :) This is the trick but yes we know were we go and I love

Re: [Pharo-dev] [Metacello] Getting all working copies from a configuration

2015-02-27 Thread Sean P. DeNigris
Guillermo Polito wrote > I know that I can do a #record to get the list of specs of a particular > version. I'm not sure I understand... How does your use case differ from what #record provides? What has always worked for me is "(ConfigurationOfXXX project version: #'1.0') record loadDirective"

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
in essence we can annotate an AST and the annotations can become live at runtime and can also represents the computation itself. So you can have objects that represent properties of the execution itself and change the execution or something like that :). So with that we can for example build be

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
Thanks clara. Le 27/2/15 14:24, Clara Allende a écrit : Great news! I'll get in touch with you and see how I can help :) 2015-02-27 10:16 GMT-03:00 Marcus Denker >: > On 27 Feb 2015, at 13:59, Clara Allende mailto:clari.alle...@gmail.com>> wrote: >

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
Sooner or later then you will have to name people, because talking generally wont change the situation. Who in this community believe that improving Pharo is pointless / does not have an effect ? marcus is not mentioning people in this community but outside. I am getting totally opposite

Re: [Pharo-dev] [Pharo4] Slots: ExampleSlotWithDefaultValue

2015-02-27 Thread stepharo
Le 27/2/15 16:07, Marcus Denker a écrit : On 27 Feb 2015, at 16:01, stepharo wrote: :) look more and more like CLOS :) now a question: what do you accept as value: (literals or expressions). I have the impression that literals are better because no runtime needed. right now it is very

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread stepharo
marcus is it not the effect of removing the redirect (of the ugly monkey). Le 27/2/15 15:55, Marcus Denker a écrit : On 27 Feb 2015, at 15:53, Sven Van Caekenberghe > wrote: It seems the following now fails, both in older and newer images: ZnClient new url: 'http://bugs

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread Sven Van Caekenberghe
It works again: ZnClient new url: 'http://bugs.pharo.org/issues/name/15008'; get. => 'Regression: ZnClient HTTPS request through HTTP proxy failing' Thank you, Marcus. > On 27 Feb 2015, at 16:18, Marcus Denker wrote: > >> >> On 27 Feb 2015, at 16:05, Marcus Denker wrote: >> >> >>> On 2

Re: [Pharo-dev] Issue Grabber

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 16:31, stepharo wrote: > > marcus is it not the effect of removing the redirect (of the ugly monkey). > Yes, I think so. > Le 27/2/15 15:55, Marcus Denker a écrit : >> >>> On 27 Feb 2015, at 15:53, Sven Van Caekenberghe >> > wrote: >>> >>> It seems

Re: [Pharo-dev] OSProcess bug ?

2015-02-27 Thread jannik laval
Hi Ben, 2015-02-26 15:08 GMT+01:00 Ben Coman : > > > On Thu, Feb 26, 2015 at 1:10 AM, jannik laval > wrote: > >> Hi Dave, >> >> >> >> 2015-02-25 17:05 GMT+01:00 David T. Lewis : >> >>> Hi Jannik, >>> >>> One other thing I just thought of: Check and see if your rostopic program >>> is actually wr

Re: [Pharo-dev] OSProcess bug ?

2015-02-27 Thread jannik laval
Hi, Yes, nothing appears. When I interupt the process (ctrl-c), an error appears: --- close failed in file object destructor: sys.excepthook is missing lost sys.stderr --- Jannik 2015-02-26 15:56 GMT+01:00 Ben Coman : > > > On Thu, Feb 26, 2015 at 12:05 AM, David T. Lewis > wrote: > >> Hi Jann

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread kilon alios
so essentially live coding the live coding, wow that sounds impressive indeed. Thanks for taking the time explaining it. I guess this feature will be also very useful for people building DSLs with Pharo. On Fri, Feb 27, 2015 at 5:24 PM, stepharo wrote: > in essence we can annotate an AST and

Re: [Pharo-dev] [regression reporter]regression occurred

2015-02-27 Thread Marcus Denker
On Fri, Feb 27, 2015 at 10:22 AM, Andrei Chis wrote: > The issue is waiting integration: > https://pharo.fogbugz.com/f/cases/14993/Integrate-GTools > There are still some more bugs to fix but we should integrate nevertheless. > In 40 update #520 Marcus

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread kilon alios
I see , I did not realise there is so much negative about Pharo since most people dont seem to be aware of it and the moment they understand what it is they are impressed. At least people I introduced to Pharo. "Me too. And the infrastructure is getting really really great. To be point that I can

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

2015-02-27 Thread GitHub
Branch: refs/tags/40520 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Henrik Johansen
> On 26 Feb 2015, at 6:55 , Guillermo Polito wrote: > > So I added an example of ProcessLocalSlot (like a thread local from other > languages) using the existing ProcessLocalVariable. A variable has different > values depending on the process the code is executing. > > Example of usage: > >

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Guillermo Polito
Not yet, but that is a next step we were discussing the other day. El Fri Feb 27 2015 at 5:41:50 PM, Henrik Johansen < henrik.s.johan...@veloxit.no> escribió: > > On 26 Feb 2015, at 6:55 , Guillermo Polito > wrote: > > So I added an example of ProcessLocalSlot (like a thread local from other > l

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Alexandre Bergel
> Object >> wrap > | proxyThenTarget | > proxyThenTarget := MyProxy new. > self become: proxyThenTarget. > “Now self is the proxy" > self object: proxyThenTarget. > ^ self Tshuu…. I did not think about this. Well spotted!!! Alexandre -- _,.;:~^~:;._,.;:~^~:;

Re: [Pharo-dev] Recording user actions in GTools

2015-02-27 Thread kilon alios
no objection from me, whatever help you guys improve the tools, helps me ;) On Thu, Feb 26, 2015 at 5:10 PM, Andrei Chis wrote: > Hi, > > In order to better understand how people use the GT tools we would like to > integrate, before the Pharo code freeze, a small extension to GT tools (300 > lin

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Alexandre Bergel
> So the idea is that the reference to self in MyProxy becomes the wrapped > object using the become. Yes, for some reason, I did not see this. Well spotted! I am getting old apparently :-) > The main problem of this kind of implementation is that self is bounded to > the proxy, so all the inte

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Alexandre Bergel
> Alex why ghost is not ok? At that stage, it was more of a mental exercise. > Because you want to have a portable proxy? If our implementation goes above a simple prototype, yes, it will have to work on VisualWorks. Alexandre > > Le 27/2/15 03:43, Alexandre Bergel a écrit : >> Hi! >> >>

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Henrik Johansen
> On 27 Feb 2015, at 5:43 , Guillermo Polito wrote: > > Not yet, but that is a next step we were discussing the other day. > > El Fri Feb 27 2015 at 5:41:50 PM, Henrik Johansen > mailto:henrik.s.johan...@veloxit.no>> escribió: > >> On 26 Feb 2015, at 6:55 , Guillermo Polito >

Re: [Pharo-dev] [regression reporter]regression occurred

2015-02-27 Thread Andrei Chis
Thanks :) We would still want to do one more update, maybe today or tomorrow, to add the extension for recording user data. Afterwards it's bug fixing mode. On Fri, Feb 27, 2015 at 5:37 PM, Marcus Denker wrote: > > > On Fri, Feb 27, 2015 at 10:22 AM, Andrei Chis > wrote: > >> The issue is waiti

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Alexandre Bergel
Excellent! Alexandre > On Feb 27, 2015, at 7:10 AM, Marcus Denker wrote: > > > For most cases Ghost is the way to go. > > > We will add a proxy model (based on Ghost or just ghost as is) to Pharo by > default in Pharo5. > Then people can just use it. > > -- > Marcus Denker -- den...@ac

Re: [Pharo-dev] [Metacello] Getting all working copies from a configuration

2015-02-27 Thread Dale Henrichs
Guillermo, I think that Sean is right, the MetacelloPackageLoadDirective will have a GoferResolvedReference in the externalReference slot for the packages to be loaded and you can send version to that ... I suggest you use the scriptting api and use `fetch` to get what I think you want:

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 17:53, Henrik Johansen > wrote: > > > > Would something like > slots: {#x . #y . #area -> (Cache: #calculateArea)) } > > Meaning :area is a Slot that holds a cached value, calculated when accessed > (by calling calculateArea), and nilled whenever slots accessed b

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Thierry Goubier
Hi Markus, if I understand correctly some of the possibilities: - I can use RBParseTreeSearcher / RBParseTreeRewriter on the twin AST. (any example how to install / invalidate the twin AST after an effective RBParseTreeRewriter operation?) - Any change to the Twin AST is reflected in the met

Re: [Pharo-dev] Slots: and ProcessLocalSlot

2015-02-27 Thread Marcus Denker
>> > > Pardon my ignorance, but can Slot definitions be composed like traits? I was wondering the same already :-) e.g. I want to be able to make any slot a hidden slot without having to subclass it. > Because I can imagine wanting, say ProcessLocal + mmm... Static, without > having to combi

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread stepharo
Le 27/2/15 17:47, Alexandre Bergel a écrit : So the idea is that the reference to self in MyProxy becomes the wrapped object using the become. Yes, for some reason, I did not see this. Well spotted! I am getting old apparently :-) The main problem of this kind of implementation is that self

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread stepharo
Hi thierry f this implementation follows persephone the bytecode is the result of the first execution of the AST. So a kind of JIT inside the system. The AST is annotated with properties (link to meta objects that can define the semantics of the annotation). Stef Le 27/2/15 19:48, Thierry Go

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 19:48, Thierry Goubier wrote: > > Hi Markus, > > if I understand correctly some of the possibilities: > > - I can use RBParseTreeSearcher / RBParseTreeRewriter on the twin AST. > > (any example how to install / invalidate the twin AST after an effective > RBParseTreeRewr

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Marcus Denker
> On 27 Feb 2015, at 20:26, Marcus Denker wrote: > > >> On 27 Feb 2015, at 19:48, Thierry Goubier wrote: >> >> Hi Markus, >> >> if I understand correctly some of the possibilities: >> >> - I can use RBParseTreeSearcher / RBParseTreeRewriter on the twin AST. >> >> (any example how to instal

Re: [Pharo-dev] About slots and syntax

2015-02-27 Thread Damien Pollet
On 27 February 2015 at 16:13, stepharo wrote: > Are we sure that we want to use that => > I thought about = but this is not an assignement this is a declaration and > normally we use | for declaration. > So what would be other alternatives before the world use => > But | for local variables is s

Re: [Pharo-dev] Easy way to write a proxy?

2015-02-27 Thread Clément Bera
2015-02-27 14:06 GMT+01:00 Mariano Martinez Peck : > > > On Fri, Feb 27, 2015 at 7:10 AM, Marcus Denker > wrote: > >> >> For most cases Ghost is the way to go. >>> >>> >> We will add a proxy model (based on Ghost or just ghost as is) to Pharo >> by default in Pharo5. >> Then people can just use i

[Pharo-dev] Postdoc position at INRIA Chile

2015-02-27 Thread Alexandre Bergel
Dear All, I have just received a announcement for a position at INRIA Chile. Here is an extract from the call. It is written in Spanish, however it is also open to non-spanish speaker. "Inria Chile fue creado en Chile en 2012 por Inria (www.inria.fr) y en colaboración con 9 universidades chile

Re: [Pharo-dev] The evil twin in 40516

2015-02-27 Thread Thierry Goubier
Le 27/02/2015 20:26, Marcus Denker a écrit : On 27 Feb 2015, at 19:48, Thierry Goubier wrote: Hi Markus, if I understand correctly some of the possibilities: - I can use RBParseTreeSearcher / RBParseTreeRewriter on the twin AST. (any example how to install / invalidate the twin AST after a

Re: [Pharo-dev] Recording user actions in GTools

2015-02-27 Thread Tudor Girba
Hi Stef, In the latest version that is ready for integration, diving into a category is a visible button. Also, each button has a tooltip that shows the keybinding as well to enable learnability. Cheers, Doru On Fri, Feb 27, 2015 at 3:59 PM, stepharo wrote: > What I often really want to do

Re: [Pharo-dev] [regression reporter]regression occurred

2015-02-27 Thread Tudor Girba
Thank you! Doru On Fri, Feb 27, 2015 at 5:37 PM, Marcus Denker wrote: > > > On Fri, Feb 27, 2015 at 10:22 AM, Andrei Chis > wrote: > >> The issue is waiting integration: >> https://pharo.fogbugz.com/f/cases/14993/Integrate-GTools >> There are still some more bugs to fix but we should integrate

Re: [Pharo-dev] zipped and unzipped methods for ByteArray

2015-02-27 Thread Tudor Girba
Indeed, this is the primary argument for extending string. I understand it is not as nice, but I am somehow not unhappy about it. As I mentioned before, I see it as a pattern that eases embedded DSLs. But, I do agree that there is a danger of abusing this mechanism. Doru On Fri, Feb 27, 2015 at

[Pharo-dev] [pharo-project/pharo-core] 4834e8: 40521

2015-02-27 Thread GitHub
Branch: refs/heads/4.0 Home: https://github.com/pharo-project/pharo-core Commit: 4834e88ae552b702f80b32799c142bb9101e56a3 https://github.com/pharo-project/pharo-core/commit/4834e88ae552b702f80b32799c142bb9101e56a3 Author: Jenkins Build Server Date: 2015-02-28 (Sat, 28 Feb 2015

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

2015-02-27 Thread GitHub
Branch: refs/tags/40521 Home: https://github.com/pharo-project/pharo-core

Re: [Pharo-dev] Postdoc position at INRIA Chile

2015-02-27 Thread Alexandre Bergel
Here is the English translation: " Inria Chile was created in Chile in 2012 by Inria (www.inria.fr), in collaboration with nine Chilean universities. The Centre is supported by CORFO, Chilean Development Agency that was in charge of selecting Inria Chile’s project in the framework of the progra