Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
October 2010
- 130 participants
- 1604 messages
Re: [Pharo-project] Smells looking at collections
by Eliot Miranda
Hi Levente,
in my experience playing with the Dan and Alan Borning's multiple
inheritance implementation getting things to work was one thing, reasonably
straighforward, but getting tool support right (file-out format so that
things filed back in correctly, etc) was another, an dth ebulk of the work.
Looking at your proposal below I see no problem getting it to work but see
lots of problems integrating it, e.g. with Monticello, etc. Traits is
already integrated with Monticello, supported with tests, etc. As such it
is a much less risky or effortful proposition than a new scheme. So with
that in mind are there important functional benefits of your scheme's direct
state access as compared with traits that use accessors to access state that
each user of a trait must implement? i.e. what are the key benefits you see
in direct inst var access?
best
Eliot
2010/10/24 Levente Uzonyi <leves(a)elte.hu>
> On Sun, 24 Oct 2010, Stéphane Ducasse wrote:
>
>
>>>>
>>>>> 2) well, this is difficult to get the money for the butter and the
>>>>>> butter - we are trying.
>>>>>>
>>>>>
>>>>> If you can compose classes the way you can add a trait to a class now
>>>>> with class and optional method level instance+class variable mapping, then
>>>>> you're done. It would be a lot simpler to use it _and_ it would also be a
>>>>> lot easier to implement it. Especially the tools part.
>>>>>
>>>>
>>>> I'm interested to hear more about that.
>>>>
>>>
>> so can you explain what you meant because I did not understand it.
>>
>
> Okay, here is an example of my class composition idea. It works like
> Traits, but it supports state and there's no distinction between a trait and
> a class. Let's say I have a class named BidirectionalLink which can be used
> as a link in a linked list (with a head element). This will be used as a
> stateful trait. It's definition is like this:
>
> Object subclass: #BidirectionalLink
> instanceVariableNames: 'next previous'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'ClassCompositionExample'
>
> It has a few methods:
>
> BidirectionalLink >> next
> ^next
>
> BidirectionalLink >> next: aBidirectionalLink
> next := aBidirectionalLink
>
> BidirectionalLink >> previous
> ^previous
>
> BidirectionalLink >> previous: aBidirectionalLink
> previous := aBidirectionalLink
>
> BidirectionalLink >> unlink
> previous next: next.
> next previous: previous
>
> BidirectionalLink >> linkAfter: aBidirectionalLink
> previous := aBidirectionalLink.
> next := aBidirectionalLink next.
> aBidirectionalLink next: self.
> next previous: self
>
> I have an existing class, let's call it ODatedEntry :). It has the
> following definition:
>
> ECSelectorEntry subclass: #ODatedEntry
> instanceVariableNames: 'date'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'Ocompletion'
>
> As you can see, it inherits some state and behavior from ECSelectorEntry.
> My goal is to use the instances of this class in a linked list. So these
> objects should implement the same protocol with the same behavior as
> BidirectionalLink. I can't make it a subclass of BidirectionalLink, because
> I also need the behavior and state from ECSelectorEntry and we don't have
> multiple inheritance. So I'll compose the two classes. First I add the
> necessary instance variables to the class. Let's call them nextEntry and
> previousEntry:
>
> ECSelectorEntry subclass: #ODatedEntry
> instanceVariableNames: 'date nextEntry previousEntry'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'Ocompletion'
>
> Then do the composition:
>
> ECSelectorEntry subclass: #ODatedEntry
> uses: BidirectionalLink
> instanceVariableNames: 'date nextEntry previousEntry'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'Ocompletion'
>
> Now this doesn't work, because ODatedEntry doesn't have instance variables
> named next and previous, but the methods of BidirectionalLink would like to
> use them. Of course I could have used those names in the previous step and
> (with a working implementation) this would just work out of the box. But the
> example is about the instance variable mapping. Let's say ~ is the
> composition operator which defines variable mapping for a class or a method.
> Then I can write the following:
>
> ECSelectorEntry subclass: #ODatedEntry
> uses: BidirectionalLink ~ { #nextEntry -> #next. #previousEntry ->
> #previous }
> instanceVariableNames: 'date nextEntry previousEntry'
> classVariableNames: ''
> poolDictionaries: ''
> category: 'Ocompletion'
>
> This means: take all methods from BidirectionalLink, but replace the
> variable named next with nextEntry and previous with previousEntry.
> So now ODatedEntry understands #next, #next:, #previous, #unlink, etc.
>
> This is the basic concept. There are some open questions, like:
> - what happens when a composed method (or a method sent by a composed
> method, etc) has a super send?
> - will the class also get the methods of the superclasses of the "trait"?
> - how does it work on the class side?
> - what about class variables?
> - what if I don't want to use all methods, just a few?
>
>
>>
>> Tell us more. The problem we faced was
>>>> - offset access = you cannot reuse bytecode of a trait because
>>>> the order of the offset can be different in each trait users
>>>>
>>>
>>> If you mean that a CompiledMethod of a trait cannot be added to the
>>> class' method dictionary, than that's not an issue. The current Trait
>>> implementation was changed, because shared CompiledMethods caused other
>>> problems.
>>>
>>
>> no this is not what I meant
>>
>> If you mean that the same bytecodes can't be used, than that's neither a
>>> problem, because you can and should be compile the method again. Sharing
>>> trailer bytes may cause problems.
>>> So adding a method from a trait to a class is simply recompiling it in
>>> the class' context.
>>>
>>
>> this is what we wanted to avoid.
>> Also because you may have to recompile all the other methods of the class
>> hierarchy because if a trait add an instance
>> variable then you should recompile the subclasses when a trait get added
>> with a state in the superclass.
>>
>
> My idea is that traits don't add instance variables. The user of the trait
> maps the trait's variables to their own by name. So if a trait gets
> a new variable, then only the trait and subclasses have to be recompiled.
> The recompilation is postponed until a method of the trait which uses the
> new instance variable is added to a class.
>
>
>> Instance variables should be used by name during compilation. If there's
>>> a name collision then use the instance variable map I mentioned above.
>>>
>>
>> what is that the instance variable map?
>> take the time to write an example
>>
>
> See above.
>
>
> Levente
>
>
>> - initialization of instances variables at the trait level and the
>>>> composition at the class levele
>>>>
>>>
>>> You can always rename a trait's method in your class. So if the trait has
>>> an #initialize method, then simply rename it to #initializeFooBar and send
>>> it from the class' #initialize method.
>>>
>>
>> Yes this is what the javascript implementation does but this is not that
>> nice but may be there is no better solution.
>>
>> So indeed we could think about adding state.
>>
>>
>>
>>
>>>
>>> Levente
>>>
>>>
>>>>
>>>>> 3) again if nobody does anything and we just all cry on ourselves then
>>>>>> nothing will happen.
>>>>>>
>>>>>
>>>>> Tools are a must. No tools - no users.
>>>>>
>>>>
>>>> Exact.
>>>>
>>>> So for now identifying traits and learning is the way. Then we can
>>>>>> refactor, redesign
>>>>>>
>>>>>
>>>>> Well, Traits are in Squeak since 2006, IIRC they were available a few
>>>>> years earlier. So in the last X (at least 4) years the only good candidate
>>>>> to become a Trait was Magnitude.
>>>>>
>>>>
>>>> Come on.
>>>> I will not answer to such statement because I'm positive thinking.
>>>>
>>>> Stef
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Oct. 25, 2010
Re: [Pharo-project] call for scripting idea
by Tudor Girba
More precisely, the example that I had in mind would be:
http://github.com/renggli/builder/blob/master/build.sh
Doru
On 19 Oct 2010, at 09:45, Lukas Renggli wrote:
> On 19 October 2010 09:10, Stéphane Ducasse <stephane.ducasse(a)inria.fr> wrote:
>> why not :)
>> could you send them to the list so that we can see them?
>
> http://github.com/renggli/builder
>
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
www.tudorgirba.com
"Being happy is a matter of choice."
Oct. 25, 2010
Re: [Pharo-project] Smells looking at collections
by Levente Uzonyi
On Sun, 24 Oct 2010, Stéphane Ducasse wrote:
>>>
>>>>
>>>>> 2) well, this is difficult to get the money for the butter and the butter - we are trying.
>>>>
>>>> If you can compose classes the way you can add a trait to a class now with class and optional method level instance+class variable mapping, then you're done. It would be a lot simpler to use it _and_ it would also be a lot easier to implement it. Especially the tools part.
>>>
>>> I'm interested to hear more about that.
>
> so can you explain what you meant because I did not understand it.
Okay, here is an example of my class composition idea. It works like
Traits, but it supports state and there's no distinction between a trait
and a class. Let's say I have a class named BidirectionalLink which can be
used as a link in a linked list (with a head element). This will be used
as a stateful trait. It's definition is like this:
Object subclass: #BidirectionalLink
instanceVariableNames: 'next previous'
classVariableNames: ''
poolDictionaries: ''
category: 'ClassCompositionExample'
It has a few methods:
BidirectionalLink >> next
^next
BidirectionalLink >> next: aBidirectionalLink
next := aBidirectionalLink
BidirectionalLink >> previous
^previous
BidirectionalLink >> previous: aBidirectionalLink
previous := aBidirectionalLink
BidirectionalLink >> unlink
previous next: next.
next previous: previous
BidirectionalLink >> linkAfter: aBidirectionalLink
previous := aBidirectionalLink.
next := aBidirectionalLink next.
aBidirectionalLink next: self.
next previous: self
I have an existing class, let's call it ODatedEntry :). It has the
following definition:
ECSelectorEntry subclass: #ODatedEntry
instanceVariableNames: 'date'
classVariableNames: ''
poolDictionaries: ''
category: 'Ocompletion'
As you can see, it inherits some state and behavior from ECSelectorEntry.
My goal is to use the instances of this class in a linked list. So these
objects should implement the same protocol with the same behavior as
BidirectionalLink. I can't make it a subclass of BidirectionalLink,
because I also need the behavior and state from ECSelectorEntry and we
don't have multiple inheritance. So I'll compose the two classes. First I
add the necessary instance variables to the class. Let's call them
nextEntry and previousEntry:
ECSelectorEntry subclass: #ODatedEntry
instanceVariableNames: 'date nextEntry previousEntry'
classVariableNames: ''
poolDictionaries: ''
category: 'Ocompletion'
Then do the composition:
ECSelectorEntry subclass: #ODatedEntry
uses: BidirectionalLink
instanceVariableNames: 'date nextEntry previousEntry'
classVariableNames: ''
poolDictionaries: ''
category: 'Ocompletion'
Now this doesn't work, because ODatedEntry doesn't have instance variables
named next and previous, but the methods of BidirectionalLink would like
to use them. Of course I could have used those names in the previous step
and (with a working implementation) this would just work out of the box. But
the example is about the instance variable mapping. Let's say ~ is the
composition operator which defines variable mapping for a class or a
method. Then I can write the following:
ECSelectorEntry subclass: #ODatedEntry
uses: BidirectionalLink ~ { #nextEntry -> #next. #previousEntry -> #previous }
instanceVariableNames: 'date nextEntry previousEntry'
classVariableNames: ''
poolDictionaries: ''
category: 'Ocompletion'
This means: take all methods from BidirectionalLink, but replace the
variable named next with nextEntry and previous with previousEntry.
So now ODatedEntry understands #next, #next:, #previous, #unlink, etc.
This is the basic concept. There are some open questions, like:
- what happens when a composed method (or a method sent by a composed
method, etc) has a super send?
- will the class also get the methods of the superclasses of the "trait"?
- how does it work on the class side?
- what about class variables?
- what if I don't want to use all methods, just a few?
>
>
>>> Tell us more. The problem we faced was
>>> - offset access = you cannot reuse bytecode of a trait because the order of the offset can be different in each trait users
>>
>> If you mean that a CompiledMethod of a trait cannot be added to the class' method dictionary, than that's not an issue. The current Trait implementation was changed, because shared CompiledMethods caused other problems.
>
> no this is not what I meant
>
>> If you mean that the same bytecodes can't be used, than that's neither a problem, because you can and should be compile the method again. Sharing trailer bytes may cause problems.
>> So adding a method from a trait to a class is simply recompiling it in the class' context.
>
> this is what we wanted to avoid.
> Also because you may have to recompile all the other methods of the class hierarchy because if a trait add an instance
> variable then you should recompile the subclasses when a trait get added with a state in the superclass.
My idea is that traits don't add instance variables. The user of the
trait maps the trait's variables to their own by name. So if a trait gets
a new variable, then only the trait and subclasses have to be recompiled.
The recompilation is postponed until a method of the trait which uses the
new instance variable is added to a class.
>
>> Instance variables should be used by name during compilation. If there's a name collision then use the instance variable map I mentioned above.
>
> what is that the instance variable map?
> take the time to write an example
See above.
Levente
>
>>> - initialization of instances variables at the trait level and the composition at the class levele
>>
>> You can always rename a trait's method in your class. So if the trait has an #initialize method, then simply rename it to #initializeFooBar and send it from the class' #initialize method.
>
> Yes this is what the javascript implementation does but this is not that nice but may be there is no better solution.
>
> So indeed we could think about adding state.
>
>
>
>>
>>
>> Levente
>>
>>>
>>>>
>>>>> 3) again if nobody does anything and we just all cry on ourselves then nothing will happen.
>>>>
>>>> Tools are a must. No tools - no users.
>>>
>>> Exact.
>>>
>>>>> So for now identifying traits and learning is the way. Then we can refactor, redesign
>>>>
>>>> Well, Traits are in Squeak since 2006, IIRC they were available a few years earlier. So in the last X (at least 4) years the only good candidate to become a Trait was Magnitude.
>>>
>>> Come on.
>>> I will not answer to such statement because I'm positive thinking.
>>>
>>> Stef
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Oct. 25, 2010
Re: [Pharo-project] export information to PDF
by Esteban Lorenzano
Some time ago, there was a functionality to export a morph as a .ps
file, I don't remember in which pharo version that function was
lost...maybe it is in a package, and can be loaded, I really don't
know, but it should be nice :)
Cheers,
Esteban
On 2010-10-24 09:58:09 -0300, name name
<onor16(a)gmail.com> said:
>
>
> Hello,
>
> Could you tell me how can I export (or where I can found ) information that
> I can get with a getter into a .pdf file?
>
> Thanks
>
>
> <span class=3D"ul-threaded" style=3D"margin: 0.5em 0pt 0pt -20px;"><span cl=
> ass=3D"text-cell">=A0=A0=A0=A0 Hello,<br><br>Could you tell me how can I ex=
> port (or where I can found )=20
> =A0information that I can get with a getter into a .pdf file?
> <br><br>Thanks
> =09
> =09
> =09
> </span></span>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Oct. 24, 2010
Re: [Pharo-project] Proposal: adding 261 named colors
by Schwab,Wilhelm K
There should be nothing to see - the code should raise and exception if the color is not recognized, and yes, I would probably halt not the system but the view trying to open. If you really want to default it, then there should be a colorNamed:ifNone: variant to allow the error condition to be trapped.
________________________________________
From: pharo-project-bounces(a)lists.gforge.inria.fr [pharo-project-bounces(a)lists.gforge.inria.fr] On Behalf Of Johan Fabry [jfabry(a)dcc.uchile.cl]
Sent: Sunday, October 24, 2010 1:09 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] Proposal: adding 261 named colors
If you instantiate a color but dont see it, does it matter that the color is not what you wanted? It's like considering the classical 'tree falls in the forest' question.
Or if you prefer a more implementation-based view: if a morph cannot be drawn, do you halt the system? Right now it is not the case, a rectangle with a cross is drawn.
In any case, I am open to suggestions for improvement!
On 23 Oct 2010, at 18:46, Schwab,Wilhelm K wrote:
> I don't like the idea of instantiating red if the name is not recognized. Since you don't have selectors (900+ might be a bit much), the compiler/Shout won't catch mistakes, and it will be an ongoing source of silent failures.
>
>
>
>
> ________________________________________
> From: pharo-project-bounces(a)lists.gforge.inria.fr [pharo-project-bounces(a)lists.gforge.inria.fr] On Behalf Of Johan Fabry [jfabry(a)dcc.uchile.cl]
> Sent: Saturday, October 23, 2010 5:29 PM
> To: Pharo Development
> Subject: [Pharo-project] Proposal: adding 261 named colors
>
> Hi all,
>
> in the work of AspectMaps I was a bit let down by the named colors Pharo provides (Color red et cetera). Now I am happy to say that thanks to the XKCD color survey I was able to improve on this. I can now use 261 named colors thanks to a XKCDColor class, and I'd like to share the code, ideally to be included into Pharo. The code is available in bugreport http://code.google.com/p/pharo/issues/detail?id=3148
>
> Here is the class comment fo XKCDColor:
>
> ---snip---
> A color named according to the XKCD color survey, as published in http://blog.xkcd.com/2010/05/03/color-survey-results/ ("Over five million colors were named across 222,500 user sessions.")
>
> Of the full table of 954 colors that is published only those were selected that did not have a space in their name, ignoring e.g. electric lime, nasty green, macaroni and cheese, pinkish tan, but also light light blue, strong blue. This results in a table of 261 named colors, but with duplicates such as ochre and ocre. These were left in since as they are common misspellings it is more convenient for the user.
>
> To instantiate: XCDColor named: aString where aString is one of the 261 named colors. If the name is not known, the color red is instantiated. Instances of XKCDColor know their XKCD color name, returned by the name accessor.
>
> Thanks to Randall Monroe of http://xkcd.com for providing the data.
> ---snip---
>
> And here is a picture of all the colors (Generated with Mondrian :-) )
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
Johan Fabry
jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Oct. 24, 2010
Re: [Pharo-project] After loading a package...all changes with "revision changed"
by Mariano Martinez Peck
OK....found the problem. I think these are method recategorization. They say
"revision changed" but since you don't see the category in the MC
merge/changes browser, then you don't undrerstand why.
In my case, the category changes were due to overrides. There is a package
GlorpPostLoad which seems to have several overrides in Glorp package....
cheers
mariano
On Mon, Oct 4, 2010 at 12:57 PM, Gary Chambers <Gary.Chambers(a)pinesoft.co.uk
> wrote:
> Should be possible⦠Iâll try to get some time to have a goâ¦
>
>
>
> *From:* Mariano Martinez Peck [mailto:marianopeck@gmail.com]
> *Sent:* 27 September 2010 9:51 PM
> *To:* Pharo-project(a)lists.gforge.inria.fr
> *Subject:* Re: [Pharo-project] After loading a package...all changes with
> "revision changed"
>
>
>
> Gary, BWT, it would be nice to have a way to filter (hde) all those methods
> as "revision changed" when seeing the changes.
> After that, I am able to see only the really changed methods :)
>
> On Mon, Sep 27, 2010 at 10:42 PM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
>
>
>
> 2010/9/26 Javier Pimás <elpochodelagente(a)gmail.com>
>
>
>
> We had a similar problem in squeaknos package, but just for some kind of
> classes. It was caused by having an initialize class method in classes
> derived from ExternalStructure, maybe it's because of the same reason? look
> there, you may get some answers.
>
>
> Thanks. It is good to know I am not the only one. This bug is REAAAAALY
> annoying since you cannot see your changes.
>
> I've checked and I have no #initialize at class level :(
>
> The only thing I found is class side #new implementd something like:
>
> new
>
> ^super new initialize.
>
> can this be the problem?
>
> where could I put a halt to see the problem ?
>
> thanks in advance
>
> mariano
>
>
>
> regards,
> javier.
>
> 2010/9/26 Norbert Hartl <norbert(a)hartl.name>
>
>
>
> FYI I encountered the same problem in gemstone. The only thing I know is
> that all loaded packages were created in pharo that showed this behaviour.
> It didn't show up in a reproducable manner and some packages were clean
> again after a few package updates. And for some month now I didn't see it.
>
>
>
> Norbert
>
>
> Am 25.09.2010 um 21:12 schrieb Mariano Martinez Peck <
> marianopeck(a)gmail.com>:
>
>
>
> On Sat, Sep 25, 2010 at 9:02 PM, Stéphane Ducasse <
> stephane.ducasse(a)inria.fr> wrote:
>
>
> On Sep 25, 2010, at 8:25 PM, Mariano Martinez Peck wrote:
>
> > Hi. I am having a probem with Glorp and I really have no idea what can
> be. The problem is that I load the package Glorp and just after loading, I
> do a "changes" in the MC Browser and I see a lot of classes with a lot of
> changes and all of them like "revison changed". This is annoying since it
> doesn't let me easily see what I have really changed.
> >
> > To reproduce:
> >
> > - Load the package "Glorp" from http://www.squeaksource.com/SqueakDBX
> > - Open a MC Browser, select Glorp package and press the "Changes" button
> agains the ss repo. And you will see :)
>
> May be the image used to save the package got a problem and changed the
> timestamp of the methods.
> So when you merge you get changed methods.
>
>
> I've just tried commiting and load them in a clean image...same problem.
>
> And if it were what you say...is there a solution?
>
> thanks
>
> mariano
>
>
>
> >
> > Any help is really appreaciated.
> >
> > Thanks
> >
> > Mariano
>
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
>
> --
> Javier Pimás
> Ciudad de Buenos Aires
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
>
>
> Click here <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to
> report this email as spam.
>
>
> <http://www.pinesoft.co.uk/>
>
>
>
> ü *Consider your responsibility to the environment - think before you
> print!*
>
>
> *******************************************************************************************************************************************
>
> This email is from Pinesoft Limited. Its contents are confidential to the
> intended recipient(s) at the email address(es) to which it has been
> addressed. It may not be disclosed to or used by anyone other than the
> addressee(s), nor may it be copied in anyway. If received in error, please
> contact the sender, then delete it from your system. Although this email and
> attachments are believed to be free of virus, or any other defect which
> might affect any computer or IT system into which they are received and
> opened, it is the responsibility of the recipient to ensure that they are
> virus free and no responsibility is accepted by Pinesoft for any loss or
> damage arising in any way from receipt or use thereof.
>
>
> *******************************************************************************************************************************************
>
>
> Pinesoft Limited are registered in England, Registered number: 2914825.
> Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
>
>
>
Oct. 24, 2010
Re: [Pharo-project] How to change keyboard bindings
by Mariano Martinez Peck
Maybe this helps
http://forum.world.st/Keyboard-Shortcuts-Keymapping-now-loads-in-Pharo-core…
On Mon, Oct 18, 2010 at 9:02 PM, Stéphane Ducasse <stephane.ducasse(a)inria.fr
> wrote:
> this is an area where we should improve. Now you can hack the table in
> paragraphEditor and get an impact on all the texteditor.
>
> Stef
>
> On Oct 18, 2010, at 8:40 PM, Bart Veenstra wrote:
>
> > HI list,
> >
> > Using VW and VAST a lot, I got used to the key bindings.
> > For instance, I would like to use control-q for bringing up the
> > inspector instead of alt-i. Could someone point me in the right
> > direction where I can change the bindings? Also, It is often unclear
> > when I should use Control or Alt. For instance:
> >
> > In the System Browser, I can use Alt-X to remove a method, and
> > Control-B to browse the class, but both are shown between the
> > parenthesis.
> >
> > Regards,
> >
> > Bart
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Oct. 24, 2010
Re: [Pharo-project] What happened to demo mode?
by Mariano Martinez Peck
On Sun, Oct 24, 2010 at 6:54 PM, Alain Plantec <alain.plantec(a)free.fr>wrote:
> Le 24/10/2010 18:30, Serge Stinckwich a écrit :
>
>>
>>
>> Le 24 oct. 2010 Ã 16:23, laurent laffont <laurent.laffont(a)gmail.com<mailto:
>> laurent.laffont(a)gmail.com>> a écrit :
>>
>>
>> Added: http://book.pharo-project.org/book/CustomizingPharo/
>>>
>>
>> Thank you Laurent, but i guess there is still a problem with demo mode
>> under Mac os x (the font used in browser code pane is not correct).
>>
> yes ! unfortunately
> see Issue 2986. <http://code.google.com/p/pharo/issues/detail?id=2986>
>
Yes, we should take a decision about this.
Maybe Alain is right, remove accuny from core, and add also demo fonts for
core?
Or only the normal ones for core and then add in dev the rest?
As said, I am ok to be in Core if they are removed in #cleanUpForProduction.
> Alain
>
>
>> -- Serge Stinckwich
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Oct. 24, 2010
Re: [Pharo-project] Proposal: adding 261 named colors
by Stéphane Ducasse
I think that this is good to clean it a bit anyway.
Did you have a look at the other package too?
On Oct 24, 2010, at 7:34 PM, Johan Fabry wrote:
>
> Yes there are some fun names in there: ice, yelowish, midnight, barney. Also some very 'human-excreta-related' ones: puke, vomit, poo, booger, ... But I chose not to pass a watch-out-for-the-children filter. (What would I do with Barney for example ? :-P )
>
> On 24 Oct 2010, at 03:46, Stéphane Ducasse wrote:
>
>> ok I read the code :)
>>
>> I like 'swamp'
>>
>> Stef
>>
>> On Oct 23, 2010, at 11:30 PM, Johan Fabry wrote:
>>
>>> Hi all,
>>>
>>> in the work of AspectMaps I was a bit let down by the named colors Pharo provides (Color red et cetera). Now I am happy to say that thanks to the XKCD color survey I was able to improve on this. I can now use 261 named colors thanks to a XKCDColor class, and I'd like to share the code, ideally to be included into Pharo. The code is available in bugreport http://code.google.com/p/pharo/issues/detail?id=3148
>>>
>>> Here is the class comment fo XKCDColor:
>>>
>>> ---snip---
>>> A color named according to the XKCD color survey, as published in http://blog.xkcd.com/2010/05/03/color-survey-results/ ("Over five million colors were named across 222,500 user sessions.")
>>>
>>> Of the full table of 954 colors that is published only those were selected that did not have a space in their name, ignoring e.g. electric lime, nasty green, macaroni and cheese, pinkish tan, but also light light blue, strong blue. This results in a table of 261 named colors, but with duplicates such as ochre and ocre. These were left in since as they are common misspellings it is more convenient for the user.
>>>
>>> To instantiate: XCDColor named: aString where aString is one of the 261 named colors. If the name is not known, the color red is instantiated. Instances of XKCDColor know their XKCD color name, returned by the name accessor.
>>>
>>> Thanks to Randall Monroe of http://xkcd.com for providing the data.
>>> ---snip---
>>>
>>> And here is a picture of all the colors (Generated with Mondrian :-) )
>>>
>>> <Colors.png>
>>>
>>> --
>>> Johan Fabry
>>> jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
>>> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> --
> Johan Fabry
> jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Oct. 24, 2010
Re: [Pharo-project] Proposal: adding 261 named colors
by Stéphane Ducasse
On Oct 24, 2010, at 7:25 PM, Johan Fabry wrote:
>
> Yes if it doesn't make it in Pharo, it would be great that it gets in Moose.
>
> Stef, you closed the bug, does this mean it will be integrated ?
I did not closed it I marked it as fixed = readyForIntegration
Now this is not clear that we should add it or just keep it as a pharo package.
stef
>
> On 24 Oct 2010, at 04:12, Tudor Girba wrote:
>
>> Hi Johan,
>>
>> I would definitely be interested in getting this as an external library around Mondrian and Moose.
>>
>> Cheers,
>> Doru
>>
>>
>> On 24 Oct 2010, at 07:09, Johan Fabry wrote:
>>
>>> If you instantiate a color but dont see it, does it matter that the color is not what you wanted? It's like considering the classical 'tree falls in the forest' question.
>>>
>>> Or if you prefer a more implementation-based view: if a morph cannot be drawn, do you halt the system? Right now it is not the case, a rectangle with a cross is drawn.
>>>
>>> In any case, I am open to suggestions for improvement!
>>
>
> --
> Johan Fabry
> jfabry(a)dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Oct. 24, 2010