Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-24 Thread Stéphane Ducasse

On Aug 24, 2013, at 8:54 PM, Camillo Bruni  wrote:

> On 2013-08-24, at 20:52, Stéphane Ducasse  wrote:
>> On Aug 24, 2013, at 7:20 PM, Camillo Bruni  wrote:
>>> We have now:
>>> 
>>> String >> #asClass
>>> String >> #asClassIfAbsent:
>>> String >> #asClassIfPresent:
>> 
>> Ok I found them. I was working in an older image
>> What was strange is that he method finder did not find it when I did #Point 
>> . Point
> 
> the method finder is not good for much since someone has to manually specify 
> which methods to take into account and add them to a list of selectors.

Yes I was thinking on how to improve that. It passes by method metadata. I was 
writing a topics in my 50 topics for Pharo database I should issue soon.
The handling of metadata is not simple. 





Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-24 Thread Camillo Bruni
On 2013-08-24, at 20:52, Stéphane Ducasse  wrote:
> On Aug 24, 2013, at 7:20 PM, Camillo Bruni  wrote:
>> We have now:
>> 
>> String >> #asClass
>> String >> #asClassIfAbsent:
>> String >> #asClassIfPresent:
> 
> Ok I found them. I was working in an older image
> What was strange is that he method finder did not find it when I did #Point . 
> Point

the method finder is not good for much since someone has to manually specify 
which methods to take into account and add them to a list of selectors.




Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-24 Thread Stéphane Ducasse

On Aug 24, 2013, at 7:20 PM, Camillo Bruni  wrote:

> We have now:
> 
> String >> #asClass
> String >> #asClassIfAbsent:
> String >> #asClassIfPresent:

Ok I found them. I was working in an older image
What was strange is that he method finder did not find it when I did #Point . 
Point

> 
> On 2013-08-24, at 17:55, Fernando Olivero  wrote:
>> I prefer to evaluate
>> 
>> Smalltalk globals classNamed: #MyClass
>> 
>> Fernando
>> 
>> On Sat, Aug 24, 2013 at 11:57 AM, Stéphane Ducasse
>>  wrote:
>>> 
>>> Is it
>>> 
>>> asClass?
>>> 
>>> Stef
>>> 
>> 
> 
> 




Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-24 Thread Camillo Bruni
We have now:

String >> #asClass
String >> #asClassIfAbsent:
String >> #asClassIfPresent:

On 2013-08-24, at 17:55, Fernando Olivero  wrote:
> I prefer to evaluate
> 
> Smalltalk globals classNamed: #MyClass
> 
> Fernando
> 
> On Sat, Aug 24, 2013 at 11:57 AM, Stéphane Ducasse
>  wrote:
>> 
>> Is it
>> 
>> asClass?
>> 
>> Stef
>> 
> 




Re: [Pharo-dev] [update 2.0] #20619

2013-08-24 Thread Mariano Martinez Peck
Yes, super cool!


On Sat, Aug 24, 2013 at 6:10 AM, MartinW  wrote:

> Goubier Thierry wrote
> > Thanks Esteban :)
> >
> > The speedup on loading MC packages is 3x or more, so I though it is a
> > crime not to make it available immediately,  since there is no bug
> reports
> > in all our tests and usages.
> > Thanks Thierry for the backport!
>
> Yes, thank you both! While i haven't measured anything it feels MUCH faster
> when i load extensive configurations.
>
>
>
> --
> View this message in context:
> http://forum.world.st/update-2-0-20619-tp4703465p4704839.html
> Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
>
>


-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-24 Thread Fernando Olivero
I prefer to evaluate

Smalltalk globals classNamed: #MyClass

Fernando

On Sat, Aug 24, 2013 at 11:57 AM, Stéphane Ducasse
 wrote:
>
> Is it
>
> asClass?
>
> Stef
>



Re: [Pharo-dev] -= First Visualization Contest with Roassal =-

2013-08-24 Thread Tudor Girba
Let's try to keep the noise going about this:
http://www.moosetechnology.org/news/roassal-visualization-competition

I think it would be cool to see the submissions as they get submitted.

Doru


On Fri, Aug 23, 2013 at 10:49 AM, Tudor Girba  wrote:

> Great idea!
>
> Doru
>
>
> On Fri, Aug 23, 2013 at 8:31 AM, Alexandre Bergel  > wrote:
>
>> Dear colleagues and friends,
>>
>> We are happy to announce the First Visualization Contest with Roassal.
>>
>> What can I win?
>> - 150 euros, sponsored by ObjectProfile
>> - a über-cool ObjectProfile T-shirt and some wonderful stickers
>> - maximum publicity of your work
>> - a nice award certificate, delivered during ESUG
>>
>> How can I win?
>> - you have to produce a visualization with Roassal. You can use the
>> Pharo, VisualWorks or VAST version of Roassal. Here is an example of what
>> we expect http://bit.ly/sunburstDemo
>> - making a video is mandatory. The video will weight the most in our
>> decision. The video could be of any length and has to include your name and
>> say that is was made (partly or completely) with Roassal. No need to talk,
>> just show off!
>> - making your code available and easy to install will help you get more
>> points
>>
>> How can I submit?
>> - send the links of your video and other material (if needed) to
>> i...@objectprofile.com Every email you will send to this email will be
>> acknowledged. If you do not receive a 'Ok' from us, it means we haven't
>> read it, in that case send your email again after a few days.
>> - the deadline for submitting is September 4, 2013
>>
>> Mini FAQ?
>> - Is the object-profile team allowed to participate? No
>> - Should my visualization or code be open source? No need for this,
>> whatever license is fine. However your video should be made public.
>> - How can I get more information? Just comment on the facebook
>> https://www.facebook.com/ObjectProfile or using Twitter @ObjectProfile
>> or send email to i...@objectprofile.com
>> - What I submit twice? Yes, no problem with that
>> - How will judge the videos? both the esug community and the object
>> profile team. The Esug community will have 30% of the final grade, object
>> profile the remaining 70%
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel
>>
>> http://ObjectProfile.com
>> http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>



-- 
www.tudorgirba.com

"Every thing has its own flow"


Re: [Pharo-dev] Debugger recursion

2013-08-24 Thread jan.struz
Stéphane Ducasse wrote
> On Aug 23, 2013, at 7:13 PM, jan.struz <

> public+pharo@

> > wrote:
> 
>> Proxy implementation
> 
> did you have a look at Ghost because mariano spent nearly a year on it.
> 
> I do not really know what are the messages supposed to be supported by
> ProtoObject to be debugged
> May be it is not in the contract of ProtoObject and as such it produces
> normally an infinite loop.
> 
> Stef

ok, so the rule is: never subclass ProtoObject to make Debugger crazy..
I will definitely look at Ghost, it has already been on my todo list..

thanks





-
Save The World!
--
View this message in context: 
http://forum.world.st/Debugger-recursion-tp4704703p4704864.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] was shortPrintOn: on RBValueLiteralNode removed?

2013-08-24 Thread Marcus Denker

On Aug 24, 2013, at 11:54 AM, Stéphane Ducasse  
wrote:

> Because the finder does not work anymore 
> 
>   https://pharo.fogbugz.com/default.asp?11456
> 
My guess is that it used the old AST and now gets the RB AST. 
shortPrintOn:  is implemented in ParseNode, but not in RBProgramNode.

Either it needs to be added or (better), the caller needs to be fixed.

I will do that later…

Marcus



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [Pharo-dev] [Esug-list] Camp Smalltalk Roadtrip!

2013-08-24 Thread Damien Pollet
On Aug 24, 2013, at 11:47, Sean DeNigris  wrote:

> Hmm, that schedule does seem to indicate a few buses in Sunday, but when I 
> use their schedule form, no results show up for that day. Would a 
> French-speaker please take a look and straighten this out? (and maybe it 
> would be good to add our conclusions to the website)

I found 3 buses at 8:15, 10:15, and 12:30, and 3 more in the afternoon.

They leave from Genève gare routière, to Annecy gare routière. That seems to 
match this table http://www.frossard.eu/pdf/annecy-cruseilles-geneve.pdf, 
though the times are slightly different.

On the form, I guess you have to pick the correct departure and arrival points. 
It's also quite easy to swap day and month between the US and french notation 
for dates. Other than that it seems coherent with the PDF time table.


--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet






[Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

2013-08-24 Thread Stéphane Ducasse

Is it

asClass?

Stef



[Pharo-dev] was shortPrintOn: on RBValueLiteralNode removed?

2013-08-24 Thread Stéphane Ducasse
Because the finder does not work anymore 

https://pharo.fogbugz.com/default.asp?11456

Stef



Re: [Pharo-dev] [Esug-list] Camp Smalltalk Roadtrip!

2013-08-24 Thread Sean DeNigris
Hmm, that schedule does seem to indicate a few buses in Sunday, but when I use 
their schedule form, no results show up for that day. Would a French-speaker 
please take a look and straighten this out? (and maybe it would be good to add 
our conclusions to the website)

 Original message 
From: Tom Robinson  
Date: 08/20/2013  11:32 PM  (GMT+01:00) 
To: DeNigris Sean  
Cc: Alejandro Infante 
,esug-l...@lists.esug.org,pharo-dev@lists.pharo.org
 
Subject: Re: [Esug-list] Camp Smalltalk Roadtrip! 
 
Sean,

Look at  http://www.frossard.eu/plans_lignes_fr.phtml. Click on the second 
route on the right - Annecy - Cruseilles-Geneve to download the schedule. 
The second page is the Geneva to Annecy schedule.  It looks like the blue 
columns are Monday - Sunday... Hope this helps.

And if someone local from the Annecy area knows why I'm wrong, please speak 
up

On 8/20/13 3:05 PM, DeNigris Sean wrote:
Cool... Worst-case scenario, it seems that a taxi would be 100 euros or less, 
so if we can get three or four people, it would actually be pretty cheap!

On Aug 20, 2013, at 4:54 PM, Alejandro Infante  
wrote:

I was planning to travel to Annecy that Sunday morning from Geneva, but i 
didn't know that there were no available bus. 
Would be great to team up with someone.

Cheers,
Alejandro


2013/8/20 DeNigris Sean 
(cross-posted to pharo dev and esug lists)

Countdown to ESUG!!!

My plane lands in Geneva at 1020 on 8 September. I was planning on taking the 
bus to Annecy, but apparently there is only one bus that Sunday, which arrives 
at 2200. Is anyone traveling that morning from the direction of Geneva who 
would like to team up e.g.   share a taxi, meet somewhere along 
the way, etc?

Thanks!
Sean


___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org




___
Esug-list mailing list
esug-l...@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org



Re: [Pharo-dev] loosing versions of method after deleting and creating new

2013-08-24 Thread GOUBIER Thierry
Hi Sabine,

There is a method version inspector which uses gitfiletree [1] doesn't loose 
the old versions of the methods, and it will show versions older than the image 
(i.e. all versions stored in the git repository holding the package). It's 
packaged with the AltBrowser [2].

Thierry

[1] https://github.com/dalehenrich/filetree
[2] https://github.com/ThierryGoubier/AltBrowser


De : Pharo-dev [pharo-dev-boun...@lists.pharo.org] de la part de Sabine Knöfel 
[sabine.knoe...@gmail.com]
Date d'envoi : mardi 13 août 2013 16:34
À : pharo-dev@lists.pharo.org
Objet : [Pharo-dev] loosing versions of method after deleting and creating  
new

Hi,

sometimes I have got the following situation:

1) I delete a method
2) I recognize u, I need it! it was wrong to delete it!
3) I re-write it (or get it from changes file or old image)
4) now, the versions of the method are lost

I would have the following wishes for this situation:
a) it should be easier for me to get back the deleted method (easier as
searching the changes file or load old version of image)
b) after re-writing the method, I want the versions of this method back.

Perhaps there is another way to handle this and I did not know it.
For a while I was renaming methods (e.g. from "methodname" to
"methodnameOLD") instead of deleting it but this is not the way it should be
imho.

I was used to have this functionality in envy.

What do you think about this?

Regards
Sabine







--
View this message in context: 
http://forum.world.st/loosing-versions-of-method-after-deleting-and-creating-new-tp4703492.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.




Re: [Pharo-dev] [update 2.0] #20619

2013-08-24 Thread MartinW
Goubier Thierry wrote
> Thanks Esteban :)
> 
> The speedup on loading MC packages is 3x or more, so I though it is a
> crime not to make it available immediately,  since there is no bug reports
> in all our tests and usages.
> Thanks Thierry for the backport!

Yes, thank you both! While i haven't measured anything it feels MUCH faster
when i load extensive configurations.



--
View this message in context: 
http://forum.world.st/update-2-0-20619-tp4703465p4704839.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



Re: [Pharo-dev] [update 2.0] #20619

2013-08-24 Thread GOUBIER Thierry
Thanks Esteban :)

Thierry

De : Pharo-dev [pharo-dev-boun...@lists.pharo.org] de la part de Esteban 
Lorenzano [esteba...@gmail.com]
Date d'envoi : mardi 13 août 2013 14:59
À : Pharo Development List
Objet : [Pharo-dev] [update 2.0] #20619

20619
-

11209 backport 2.0: Add RPackageSet cache
https://pharo.fogbugz.com/f/cases/11209


The speedup on loading MC packages is 3x or more, so I though it is a crime not 
to make it available immediately,  since there is no bug reports in all our 
tests and usages.
Thanks Thierry for the backport!


Diff information:
http://ss3.gemstone.com/ss/Pharo20/RPackage-Core-EstebanLorenzano.218.diff
http://ss3.gemstone.com/ss/Pharo20/Monticello-EstebanLorenzano.784.diff
http://ss3.gemstone.com/ss/Pharo20/Metacello-Platform.pharo20-EstebanLorenzano.31.diff