Enhancing squeak base classes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Enhancing squeak base classes

Damien Cassou-3
Hi,

I'm currently working on documenting, testing and bug fixing squeak
base classes.

http://www.squeaksource.com/SqueakBaseClasses.html

I already wrote a lot of tests for the compiler, the integer class,
the collections...

If you want to help, the repository can be accessed by everyone. We
may use this repository as a place to store fixes and their tests. If
you know of a bug with its tests and its fix, please commit or tell
me.


I don't know if this work will be included in 3.10 but I hope so.

Please join

--
Damien Cassou

Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Karl-19
Damien Cassou skrev:

> Hi,
>
> I'm currently working on documenting, testing and bug fixing squeak
> base classes.
>
> http://www.squeaksource.com/SqueakBaseClasses.html
>
> I already wrote a lot of tests for the compiler, the integer class,
> the collections...
>
> If you want to help, the repository can be accessed by everyone. We
> may use this repository as a place to store fixes and their tests. If
> you know of a bug with its tests and its fix, please commit or tell
> me.
>
>
> I don't know if this work will be included in 3.10 but I hope so.
>
> Please join
>
Wow, you have covered a lot already !
I'll see if I can make any contribution.
Karl

Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Damien Cassou-3
2007/2/27, karl <[hidden email]>:
> Damien Cassou skrev:
> Wow, you have covered a lot already !
> I'll see if I can make any contribution.

If you look at the wiki on the squeaksource page, you will see there
are a lot of classes to document and test. You have work if you want.

--
Damien Cassou

Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Edgar J. De Cleene
In reply to this post by Damien Cassou-3



El 2/27/07 12:42 PM, "Damien Cassou" <[hidden email]> escribió:

> I don't know if this work will be included in 3.10 but I hope so.
>
> Please join
>
> --
> Damien Cassou

I very happy if we could.

I having no red lights in building 3.10, waiting Ralph last word for release
alpha go to masses.

Edgar



       

       
               
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas


Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Damien Cassou-3
2007/2/27, Edgar J. De Cleene <[hidden email]>:
> El 2/27/07 12:42 PM, "Damien Cassou" <[hidden email]> escribió:
> > I don't know if this work will be included in 3.10 but I hope so.
> I very happy if we could.
>
> I having no red lights in building 3.10, waiting Ralph last word for release
> alpha go to masses.

You should merge with this repository if you want your lights to have
a real meaning :-) It's easier to have green lights when most of the
image is not tested ;-)

--
Damien Cassou


Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Edgar J. De Cleene



El 2/27/07 4:31 PM, "Damien Cassou" <[hidden email]> escribió:

> You should merge with this repository if you want your lights to have
a real
> meaning :-) It's easier to have green lights when most of the
image is not
> tested ;-)

--
Damien Cassou

This repository is ?

My position is what is better you have an image 95% correct what no image at
all.

Edgar



       

       
               
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas


Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Damien Cassou-3
2007/2/28, Edgar J. De Cleene <[hidden email]>:
> El 2/27/07 4:31 PM, "Damien Cassou" <[hidden email]> escribió:
>
> > You should merge with this repository if you want your lights to have
> a real
> > meaning :-) It's easier to have green lights when most of the
> image is not
> > tested ;-)
> This repository is ?


http://www.squeaksource.com/SqueakBaseClasses.html


> My position is what is better you have an image 95% correct what no image at
> all.

I know, I was just jocking. Sorry, I didn't want to hurt you.

--
Damien Cassou


Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Edgar J. De Cleene



El 2/28/07 8:14 AM, "Damien Cassou" <[hidden email]> escribió:

> I know, I was just jocking. Sorry, I didn't want to hurt you.

--
Damien
> Cassou

You and any what wish 3.10 go out could build the 3.10 image , don't need of
download a complete image.
Go to http://source.squeakfoundation.org/, via web only
look in 3.10 for
ReleaseBuilder-edc.7.mcz
Load into fresh 3.9a 7067.
In workspace do
ReleaseBuilderFor3dot10 new makeSqueakThreeTenRelease

Works for me on fresh 3.9 final 7067.
In five minutes you have 7068 .I know is not perfect .
More code of Ralph an me exist for having 7071, but this step is crucial.
The "user " image is this more the needed for Universes.
Is not still alpha. I using this from two months and could load almost all
from 3.9.

Also I put for some time a "remote feel" of what the image could or not
could do and have registered 102 iP from USA,UK,Germany (the most) ,Italy,
France, Argentina, and one each of Japan,Hungary, Latvia.

I very appreciate this was tested for someone.
DO NOT try newer ReleaseBuilder what number 7 at this time.

And no hurt. Once I was Advocatus Diaboli :=)

I wish know any problems.

Edgar



       

       
               
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas


Reply | Threaded
Open this post in threaded view
|

RE: Enhancing squeak base classes

J J-6
In reply to this post by Damien Cassou-3
Nice project.  Very cool.  Are you using the ANSI package on SqueakMap or is
it out dated?

>From: "Damien Cassou" <[hidden email]>
>Reply-To: The general-purpose Squeak developers
>list<[hidden email]>
>To: "The general-purpose Squeak developers
>list"<[hidden email]>
>Subject: Enhancing squeak base classes
>Date: Tue, 27 Feb 2007 16:42:51 +0100
>
>Hi,
>
>I'm currently working on documenting, testing and bug fixing squeak
>base classes.
>
>http://www.squeaksource.com/SqueakBaseClasses.html
>
>I already wrote a lot of tests for the compiler, the integer class,
>the collections...
>
>If you want to help, the repository can be accessed by everyone. We
>may use this repository as a place to store fixes and their tests. If
>you know of a bug with its tests and its fix, please commit or tell
>me.
>
>
>I don't know if this work will be included in 3.10 but I hope so.
>
>Please join
>
>--
>Damien Cassou
>

_________________________________________________________________
Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft®
Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/


Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Damien Cassou-3
I'm not using it currently for multiple reasons:

- I don't want to follow ANSI. I want to know where Squeak
implementation and ANSI diverge. If I detect a difference, then I ask
the community
- I don't want to have a look at an implementation with the aim of
following the standard because I have the standard
- I'm reimplementing Streams from scratch using traits


2007/3/6, J J <[hidden email]>:

> Nice project.  Very cool.  Are you using the ANSI package on SqueakMap or is
> it out dated?
>
> >From: "Damien Cassou" <[hidden email]>
> >Reply-To: The general-purpose Squeak developers
> >list<[hidden email]>
> >To: "The general-purpose Squeak developers
> >list"<[hidden email]>
> >Subject: Enhancing squeak base classes
> >Date: Tue, 27 Feb 2007 16:42:51 +0100
> >
> >Hi,
> >
> >I'm currently working on documenting, testing and bug fixing squeak
> >base classes.
> >
> >http://www.squeaksource.com/SqueakBaseClasses.html
> >
> >I already wrote a lot of tests for the compiler, the integer class,
> >the collections...
> >
> >If you want to help, the repository can be accessed by everyone. We
> >may use this repository as a place to store fixes and their tests. If
> >you know of a bug with its tests and its fix, please commit or tell
> >me.
> >
> >
> >I don't know if this work will be included in 3.10 but I hope so.
> >
> >Please join
> >
> >--
> >Damien Cassou
> >
>
> _________________________________________________________________
> Don't miss your chance to WIN 10 hours of private jet travel from Microsoft(r)
> Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/
>
>
>


--
Damien Cassou

Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

J J-6
Ah very cool.  What tool are you using to build the traits?  Are you
treating the traits kind of how Haskell treats type classes (basically just
a way to specify that an object implements a protocol) or as another way of
inheritance?


>From: "Damien Cassou" <[hidden email]>
>Reply-To: The general-purpose Squeak developers
>list<[hidden email]>
>To: "The general-purpose Squeak developers
>list"<[hidden email]>
>Subject: Re: Enhancing squeak base classes
>Date: Tue, 6 Mar 2007 10:13:23 +0100
>
>I'm not using it currently for multiple reasons:
>
>- I don't want to follow ANSI. I want to know where Squeak
>implementation and ANSI diverge. If I detect a difference, then I ask
>the community
>- I don't want to have a look at an implementation with the aim of
>following the standard because I have the standard
>- I'm reimplementing Streams from scratch using traits
>
>
>2007/3/6, J J <[hidden email]>:
>>Nice project.  Very cool.  Are you using the ANSI package on SqueakMap or
>>is
>>it out dated?
>>
>> >From: "Damien Cassou" <[hidden email]>
>> >Reply-To: The general-purpose Squeak developers
>> >list<[hidden email]>
>> >To: "The general-purpose Squeak developers
>> >list"<[hidden email]>
>> >Subject: Enhancing squeak base classes
>> >Date: Tue, 27 Feb 2007 16:42:51 +0100
>> >
>> >Hi,
>> >
>> >I'm currently working on documenting, testing and bug fixing squeak
>> >base classes.
>> >
>> >http://www.squeaksource.com/SqueakBaseClasses.html
>> >
>> >I already wrote a lot of tests for the compiler, the integer class,
>> >the collections...
>> >
>> >If you want to help, the repository can be accessed by everyone. We
>> >may use this repository as a place to store fixes and their tests. If
>> >you know of a bug with its tests and its fix, please commit or tell
>> >me.
>> >
>> >
>> >I don't know if this work will be included in 3.10 but I hope so.
>> >
>> >Please join
>> >
>> >--
>> >Damien Cassou
>> >
>>
>>_________________________________________________________________
>>Don't miss your chance to WIN 10 hours of private jet travel from
>>Microsoft(r)
>>Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/
>>
>>
>>
>
>
>--
>Damien Cassou
>

_________________________________________________________________
Win a Zune™—make MSN® your homepage for your chance to win!
http://homepage.msn.com/zune?icid=hmetagline


Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

Damien Cassou-3
2007/3/6, J J <[hidden email]>:
> Ah very cool.  What tool are you using to build the traits?


I do not use any tool but the standard OmniBrowser. I will try TraitOB
soon but don't like the fact that it overrides lots of things and
implements a new browser instead of enhancing the current one.


2007/3/6, J J <[hidden email]>:
> Are you
> treating the traits kind of how Haskell treats type classes (basically just
> a way to specify that an object implements a protocol) or as another way of
> inheritance?


I think it's more like the second solution but you will tell me. What
I do is separating the different protocols that can be found in
streams: one trait for reading behavior (#next, #peek, #skip:...), one
trait  for accessing postion (#position, #position:, #setToEnd,
#reset...), one trait for writing... Then, I implement the classes
that can be found in the base image. For example, ReadStream is a
combinaison of reading behavior and accessing position (I renamed it
ReadableCollectionStream).


--
Damien Cassou

Reply | Threaded
Open this post in threaded view
|

Re: Enhancing squeak base classes

J J-6
>From: "Damien Cassou" <[hidden email]>
>Reply-To: The general-purpose Squeak developers
>list<[hidden email]>
>To: "The general-purpose Squeak developers
>list"<[hidden email]>
>Subject: Re: Enhancing squeak base classes
>Date: Wed, 7 Mar 2007 10:42:14 +0100
>
>I do not use any tool but the standard OmniBrowser. I will try TraitOB
>soon but don't like the fact that it overrides lots of things and
>implements a new browser instead of enhancing the current one.

Ah, that has traits tools in it?

>2007/3/6, J J <[hidden email]>:
>
>I think it's more like the second solution but you will tell me. What
>I do is separating the different protocols that can be found in
>streams: one trait for reading behavior (#next, #peek, #skip:...), one
>trait  for accessing postion (#position, #position:, #setToEnd,
>#reset...), one trait for writing... Then, I implement the classes
>that can be found in the base image. For example, ReadStream is a
>combinaison of reading behavior and accessing position (I renamed it
>ReadableCollectionStream).

Well it is hard to say, and perhaps Andreas' concerns that this is a feature
that simply is too hard to get right are correct.  What I would say is; if
it makes sense as inheritance then it shouldn't be a trait.  I.e. "Eq" (has
a concept of equality) doesn't make sense as a class because of the kind of
hierarchy results from making it so.  Streams on the other hand, don't
strike me as a hierarchy that would go too deep, and therefor might make
more sense with simple inheritance.  But I guess we will know soon enough.
:)

_________________________________________________________________
Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE. 
  http://zone.msn.com/en/flexicon/default.htm?icid=flexicon_hmtagline