[squeak-dev] Smalltalk images considered harmful

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

Re: [squeak-dev] Smalltalk images considered harmful

NorbertHartl
Could you please announce when there is a discussion started
on debian-devel?

thanks,

Norbert
On Wed, 2008-05-21 at 23:34 +0200, Bert Freudenberg wrote:

> Etoys was being considered to get into Debian. Now it may be rejected,  
> because an image file is not "transparent enough" (see below). It was  
> suggested to discuss this issue on the debian-devel list.
>
> Do any of you have ideas how to respond? Are there perhaps other  
> Debian packages that have a similar issue of accountability?
>
> And how hard would it actually be to bootstrap a fresh Squeak image  
> from sources nowadays?
>
> - Bert -
>
> Begin forwarded message:
>
> > From: Thomas Viehmann <[hidden email]>
> > Date: 21. Mai 2008 23:06:38 MESZ
> > To: "José L. Redrejo Rodríguez" <[hidden email]>
> > Cc: Bert Freudenberg <[hidden email]>, [hidden email],  [hidden email]
> > Subject: etoys_3.0.1916+svn132-1_amd64.changes (almost) REJECTED
> > Reply-To: [hidden email]
> >
> > (OK, for technical reasons, this is not the REJECT, but there is
> > little point in delaying this mail now that I have written it.)
> >
> > Hi José, Bert, Holger,
> >
> > this is, unfortunately, the REJECT of etoys.
> > First of all, thanks Bert, Holger, José for the discussion of some of
> > the concepts. However, I am afraid that there are some fundamental
> > concerns that have not been eliminated (yet). As such I would like to
> > invite you to start a discussion on the packaging of squeak session
> > images on [hidden email]. Feel free to forward this
> > mail if you consider it useful as a starting point.
> >
> > It seems to me that the method of distributing VM sessions in .image
> > files as the preferred form of modification does not match too well
> > with Debian practices of compiling packages from source and having
> > easy access to the differences between various versions of a package.
> >
> > So as far as I understand it it seems like a typical squeak image
> > cannot be bootstrapped[1] from (textual) source and that the typical
> > mode of operation is to modify some known image and distribute the
> > result. As such, the preferred form of modification is indeed the
> > image file.
> >
> > This, in my opinion, raises at least the following questions that seem
> > fundamental to me:
> >
> > - How easy should it be to figure out what is in an image?
> >  While the source code to any class seems to be available, the
> >  image is more than that. Does that matter? Should source of Debian
> >  packages be auditable and is etoys currently auditable easily
> >  enough?
> >
> > - Does Debian (including the various teams that might have to take
> >  a look at your packages) want to have easy access to the
> >  differences between upstream version, one Debian revision and
> >  another? Do squeak session images provide this in a way that
> >  is acceptable to Debian?
> >
> > From the squeak wiki pages and your explanations it seems that what I
> > would consider at least partial solutions exist, but it seems that
> > either I am still lacking understanding of important concepts or
> > that the etoys packaging (Debian and maybe also upstream) could
> > possibly be made a bit more transparent.
> > Of course, we might find out that my difficulties with the
> > perspective of squeak images in Debian originate in misconceptions of
> > Debian packaging and maintenance that I may have. Either way, I would
> > appreciate if we could discuss this with the Debian development public
> > at large and draw on their additional expertise.
> >
> > Kind regards
> >
> > Thomas
> >
> > 1. http://wiki.squeak.org/squeak/769
> > --
> > Thomas Viehmann, http://thomas.viehmann.net/
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

José Luis Redrejo
If nobody else does it before I (as the Debian developer who has prepared the etoys package and tried to include it in Debian) will do it. But, I prefer to wait some time in order to know more arguments from all of you. I guess this topic might become a flame in debian-devel and I'd like to have as many arguments as possible.

 Also, I'm a little burnout with this, after the license problems seem to be fixed , these new problems make me feel I'm wasting my time.

Regards.
José L.


2008/5/22 Norbert Hartl <[hidden email]>:
Could you please announce when there is a discussion started
on debian-devel?

thanks,

Norbert
On Wed, 2008-05-21 at 23:34 +0200, Bert Freudenberg wrote:
> Etoys was being considered to get into Debian. Now it may be rejected,
> because an image file is not "transparent enough" (see below). It was
> suggested to discuss this issue on the debian-devel list.
>
> Do any of you have ideas how to respond? Are there perhaps other
> Debian packages that have a similar issue of accountability?
>
> And how hard would it actually be to bootstrap a fresh Squeak image
> from sources nowadays?
>
> - Bert -
>
> Begin forwarded message:
>
> > From: Thomas Viehmann <[hidden email]>
> > Date: 21. Mai 2008 23:06:38 MESZ
> > To: "José L. Redrejo Rodríguez" <[hidden email]>
> > Cc: Bert Freudenberg <[hidden email]>, [hidden email],  [hidden email]
> > Subject: etoys_3.0.1916+svn132-1_amd64.changes (almost) REJECTED
> > Reply-To: [hidden email]
> >
> > (OK, for technical reasons, this is not the REJECT, but there is
> > little point in delaying this mail now that I have written it.)
> >
> > Hi José, Bert, Holger,
> >
> > this is, unfortunately, the REJECT of etoys.
> > First of all, thanks Bert, Holger, José for the discussion of some of
> > the concepts. However, I am afraid that there are some fundamental
> > concerns that have not been eliminated (yet). As such I would like to
> > invite you to start a discussion on the packaging of squeak session
> > images on [hidden email]. Feel free to forward this
> > mail if you consider it useful as a starting point.
> >
> > It seems to me that the method of distributing VM sessions in .image
> > files as the preferred form of modification does not match too well
> > with Debian practices of compiling packages from source and having
> > easy access to the differences between various versions of a package.
> >
> > So as far as I understand it it seems like a typical squeak image
> > cannot be bootstrapped[1] from (textual) source and that the typical
> > mode of operation is to modify some known image and distribute the
> > result. As such, the preferred form of modification is indeed the
> > image file.
> >
> > This, in my opinion, raises at least the following questions that seem
> > fundamental to me:
> >
> > - How easy should it be to figure out what is in an image?
> >  While the source code to any class seems to be available, the
> >  image is more than that. Does that matter? Should source of Debian
> >  packages be auditable and is etoys currently auditable easily
> >  enough?
> >
> > - Does Debian (including the various teams that might have to take
> >  a look at your packages) want to have easy access to the
> >  differences between upstream version, one Debian revision and
> >  another? Do squeak session images provide this in a way that
> >  is acceptable to Debian?
> >
> > From the squeak wiki pages and your explanations it seems that what I
> > would consider at least partial solutions exist, but it seems that
> > either I am still lacking understanding of important concepts or
> > that the etoys packaging (Debian and maybe also upstream) could
> > possibly be made a bit more transparent.
> > Of course, we might find out that my difficulties with the
> > perspective of squeak images in Debian originate in misconceptions of
> > Debian packaging and maintenance that I may have. Either way, I would
> > appreciate if we could discuss this with the Debian development public
> > at large and draw on their additional expertise.
> >
> > Kind regards
> >
> > Thomas
> >
> > 1. http://wiki.squeak.org/squeak/769
> > --
> > Thomas Viehmann, http://thomas.viehmann.net/
>
>
>
>





Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

K. K. Subramaniam
In reply to this post by NorbertHartl
On Thursday 22 May 2008 4:13:40 pm Norbert Hartl wrote:

> I have stages
>
> - squeak (the downloaded unmodified source)
> - bootstrap (patches like Delay, Semaphores, etc)
> - base (core packages)
> - app (deployable unit)
>
> Every stage is invoked with a startup script that patches the image
> and saves it to the next stage. That is exactly what a debian
> maintainer will do. Collecting some patch scripts (Smalltalk can
> patch itself :) ) and combine them with original source to a debian
> package.
Tracking dependencies and conflicts across patches, packages and VM is one of
the strengths of Debian and a weakness in Squeak.

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Smalltalk images considered harmful

Victor Rodriguez-5
In reply to this post by K. K. Subramaniam
On Thu, May 22, 2008 at 5:34 AM, K. K. Subramaniam <[hidden email]> wrote:
....
> I see conformance Debian guidelines as a positive for the future of Squeak. We
> may finally leave behind the annoying MNUs during file-ins. Just imagine
> being able to replicate Alan Kay's famous demo image with a simple "apt-get
> install squeak-demo" :-).

Ah, now I'm intrigued, what is this famous demo image from Alan Kay?
Could you elaborate?

Best Regards,

Victor Rodriguez.

> Subbu
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

NorbertHartl
In reply to this post by José Luis Redrejo
On Thu, 2008-05-22 at 13:27 +0200, José Luis Redrejo wrote:
> If nobody else does it before I (as the Debian developer who has
> prepared the etoys package and tried to include it in Debian) will do
> it. But, I prefer to wait some time in order to know more arguments
> from all of you. I guess this topic might become a flame in
> debian-devel and I'd like to have as many arguments as possible.
>
That's the reason I would like to chime in :) After 15 years of linux
experience I'm quite used to this sort of discussions.

>  Also, I'm a little burnout with this, after the license problems seem
> to be fixed , these new problems make me feel I'm wasting my time.
>
Could be. What are exactly the reasons to bring etoys into debian? Do
need this to have etoys included somewhere else? Otherwise it would be
much less pain to have a separate debian mirror and to work towards the
requirements that are needed by debian to get it included at a later
time. Or just into ubuntu which should be slightly easier to accomplish.

Norbert

> Regards.
> José L.
>
>
> 2008/5/22 Norbert Hartl <[hidden email]>:
>         Could you please announce when there is a discussion started
>         on debian-devel?
>        
>         thanks,
>        
>         Norbert
>         On Wed, 2008-05-21 at 23:34 +0200, Bert Freudenberg wrote:
>        
>        
>         > Etoys was being considered to get into Debian. Now it may be
>         rejected,
>         > because an image file is not "transparent enough" (see
>         below). It was
>         > suggested to discuss this issue on the debian-devel list.
>         >
>         > Do any of you have ideas how to respond? Are there perhaps
>         other
>         > Debian packages that have a similar issue of accountability?
>         >
>         > And how hard would it actually be to bootstrap a fresh
>         Squeak image
>         > from sources nowadays?
>         >
>         > - Bert -
>         >
>         > Begin forwarded message:
>         >
>         > > From: Thomas Viehmann <[hidden email]>
>         > > Date: 21. Mai 2008 23:06:38 MESZ
>         > > To: "José L. Redrejo Rodríguez"
>         <[hidden email]>
>         > > Cc: Bert Freudenberg <[hidden email]>,
>         [hidden email],  [hidden email]
>         > > Subject: etoys_3.0.1916+svn132-1_amd64.changes (almost)
>         REJECTED
>         > > Reply-To: [hidden email]
>         > >
>         > > (OK, for technical reasons, this is not the REJECT, but
>         there is
>         > > little point in delaying this mail now that I have written
>         it.)
>         > >
>         > > Hi José, Bert, Holger,
>         > >
>         > > this is, unfortunately, the REJECT of etoys.
>         > > First of all, thanks Bert, Holger, José for the discussion
>         of some of
>         > > the concepts. However, I am afraid that there are some
>         fundamental
>         > > concerns that have not been eliminated (yet). As such I
>         would like to
>         > > invite you to start a discussion on the packaging of
>         squeak session
>         > > images on [hidden email]. Feel free to
>         forward this
>         > > mail if you consider it useful as a starting point.
>         > >
>         > > It seems to me that the method of distributing VM sessions
>         in .image
>         > > files as the preferred form of modification does not match
>         too well
>         > > with Debian practices of compiling packages from source
>         and having
>         > > easy access to the differences between various versions of
>         a package.
>         > >
>         > > So as far as I understand it it seems like a typical
>         squeak image
>         > > cannot be bootstrapped[1] from (textual) source and that
>         the typical
>         > > mode of operation is to modify some known image and
>         distribute the
>         > > result. As such, the preferred form of modification is
>         indeed the
>         > > image file.
>         > >
>         > > This, in my opinion, raises at least the following
>         questions that seem
>         > > fundamental to me:
>         > >
>         > > - How easy should it be to figure out what is in an image?
>         > >  While the source code to any class seems to be available,
>         the
>         > >  image is more than that. Does that matter? Should source
>         of Debian
>         > >  packages be auditable and is etoys currently auditable
>         easily
>         > >  enough?
>         > >
>         > > - Does Debian (including the various teams that might have
>         to take
>         > >  a look at your packages) want to have easy access to the
>         > >  differences between upstream version, one Debian revision
>         and
>         > >  another? Do squeak session images provide this in a way
>         that
>         > >  is acceptable to Debian?
>         > >
>         > > From the squeak wiki pages and your explanations it seems
>         that what I
>         > > would consider at least partial solutions exist, but it
>         seems that
>         > > either I am still lacking understanding of important
>         concepts or
>         > > that the etoys packaging (Debian and maybe also upstream)
>         could
>         > > possibly be made a bit more transparent.
>         > > Of course, we might find out that my difficulties with the
>         > > perspective of squeak images in Debian originate in
>         misconceptions of
>         > > Debian packaging and maintenance that I may have. Either
>         way, I would
>         > > appreciate if we could discuss this with the Debian
>         development public
>         > > at large and draw on their additional expertise.
>         > >
>         > > Kind regards
>         > >
>         > > Thomas
>         > >
>         > > 1. http://wiki.squeak.org/squeak/769
>         > > --
>         > > Thomas Viehmann, http://thomas.viehmann.net/
>         >
>         >
>         >
>         >
>        
>        
>        
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

NorbertHartl
In reply to this post by K. K. Subramaniam
On Thu, 2008-05-22 at 17:35 +0530, K. K. Subramaniam wrote:

> On Thursday 22 May 2008 4:13:40 pm Norbert Hartl wrote:
> > I have stages
> >
> > - squeak (the downloaded unmodified source)
> > - bootstrap (patches like Delay, Semaphores, etc)
> > - base (core packages)
> > - app (deployable unit)
> >
> > Every stage is invoked with a startup script that patches the image
> > and saves it to the next stage. That is exactly what a debian
> > maintainer will do. Collecting some patch scripts (Smalltalk can
> > patch itself :) ) and combine them with original source to a debian
> > package.
> Tracking dependencies and conflicts across patches, packages and VM is one of
> the strengths of Debian and a weakness in Squeak.

Can you elaborate on the "..across patches, ..." part? I do not know
what you mean by that. Talking about dependencies it'd be better to
compare debian archive format with Universe. Extending Universe with
two or three features would make it as valuable as dpkg for debian
users.

Even if squeak could cope well with all sorts of dependency and
conflicts management it wouldn't change much. Debian is an operating
system and they are looking for an operating-system-way to do all
these things.

Norbert



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

Bert Freudenberg
In reply to this post by José Luis Redrejo
Yeah, what a bummer. Thank you so much, José, for starting it anyway.

I think the problem with Thomas of the Debian team is not that he does  
not understand what an image is (José and I explained in e-mail, and I  
also had a chat with him). But the huge monolithic image does not fit  
well with the regular package maintenance procedure. Given a new  
image, how can one be sure what's in it, and what changed? It's all  
based on trust, with little verification.

- Bert -

On 22.05.2008, at 13:27, José Luis Redrejo wrote:

> If nobody else does it before I (as the Debian developer who has  
> prepared the etoys package and tried to include it in Debian) will  
> do it. But, I prefer to wait some time in order to know more  
> arguments from all of you. I guess this topic might become a flame  
> in debian-devel and I'd like to have as many arguments as possible.
>
>  Also, I'm a little burnout with this, after the license problems  
> seem to be fixed , these new problems make me feel I'm wasting my  
> time.
>
> Regards.
> José L.
>
>
> 2008/5/22 Norbert Hartl <[hidden email]>:
> Could you please announce when there is a discussion started
> on debian-devel?
>
> thanks,
>
> Norbert
> On Wed, 2008-05-21 at 23:34 +0200, Bert Freudenberg wrote:
> > Etoys was being considered to get into Debian. Now it may be  
> rejected,
> > because an image file is not "transparent enough" (see below). It  
> was
> > suggested to discuss this issue on the debian-devel list.
> >
> > Do any of you have ideas how to respond? Are there perhaps other
> > Debian packages that have a similar issue of accountability?
> >
> > And how hard would it actually be to bootstrap a fresh Squeak image
> > from sources nowadays?
> >
> > - Bert -
> >
> > Begin forwarded message:
> >
> > > From: Thomas Viehmann <[hidden email]>
> > > Date: 21. Mai 2008 23:06:38 MESZ
> > > To: "José L. Redrejo Rodríguez"  
> <[hidden email]>
> > > Cc: Bert Freudenberg <[hidden email]>,  
> [hidden email],  [hidden email]
> > > Subject: etoys_3.0.1916+svn132-1_amd64.changes (almost) REJECTED
> > > Reply-To: [hidden email]
> > >
> > > (OK, for technical reasons, this is not the REJECT, but there is
> > > little point in delaying this mail now that I have written it.)
> > >
> > > Hi José, Bert, Holger,
> > >
> > > this is, unfortunately, the REJECT of etoys.
> > > First of all, thanks Bert, Holger, José for the discussion of  
> some of
> > > the concepts. However, I am afraid that there are some fundamental
> > > concerns that have not been eliminated (yet). As such I would  
> like to
> > > invite you to start a discussion on the packaging of squeak  
> session
> > > images on [hidden email]. Feel free to forward this
> > > mail if you consider it useful as a starting point.
> > >
> > > It seems to me that the method of distributing VM sessions  
> in .image
> > > files as the preferred form of modification does not match too  
> well
> > > with Debian practices of compiling packages from source and having
> > > easy access to the differences between various versions of a  
> package.
> > >
> > > So as far as I understand it it seems like a typical squeak image
> > > cannot be bootstrapped[1] from (textual) source and that the  
> typical
> > > mode of operation is to modify some known image and distribute the
> > > result. As such, the preferred form of modification is indeed the
> > > image file.
> > >
> > > This, in my opinion, raises at least the following questions  
> that seem
> > > fundamental to me:
> > >
> > > - How easy should it be to figure out what is in an image?
> > >  While the source code to any class seems to be available, the
> > >  image is more than that. Does that matter? Should source of  
> Debian
> > >  packages be auditable and is etoys currently auditable easily
> > >  enough?
> > >
> > > - Does Debian (including the various teams that might have to take
> > >  a look at your packages) want to have easy access to the
> > >  differences between upstream version, one Debian revision and
> > >  another? Do squeak session images provide this in a way that
> > >  is acceptable to Debian?
> > >
> > > From the squeak wiki pages and your explanations it seems that  
> what I
> > > would consider at least partial solutions exist, but it seems that
> > > either I am still lacking understanding of important concepts or
> > > that the etoys packaging (Debian and maybe also upstream) could
> > > possibly be made a bit more transparent.
> > > Of course, we might find out that my difficulties with the
> > > perspective of squeak images in Debian originate in  
> misconceptions of
> > > Debian packaging and maintenance that I may have. Either way, I  
> would
> > > appreciate if we could discuss this with the Debian development  
> public
> > > at large and draw on their additional expertise.
> > >
> > > Kind regards
> > >
> > > Thomas
> > >
> > > 1. http://wiki.squeak.org/squeak/769
> > > --
> > > Thomas Viehmann, http://thomas.viehmann.net/
> >
> >
> >
> >
>
>
>
>




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

Daniel Vainsencher-3
In reply to this post by José Luis Redrejo
First of all, thanks for doing this work. I encourage you to save your
strength and not give up - it seems that now Squeak's problems are with
technical culture and assumptions of common Debian developers, not with
principles or licenses. These problems will probably disappear  once
they get to know us sufficiently.


I would simply say that Debian developers relevant to serious packaging
work on Squeak would be Smalltalkers, and all Smalltalkers can manage an
image. Most Smalltalkers also consider an image a reasonable basis for
maintaining code and patching it, even if said code is sometimes
transferred as mcz or st files.


Basic packaging tasks (testing on another platform, setting paths and so
forth) probably already doable by non-Smalltalkers, despite using images
(building VM from C, parameters to VM).


Daniel


José Luis Redrejo wrote:

> If nobody else does it before I (as the Debian developer who has
> prepared the etoys package and tried to include it in Debian) will do
> it. But, I prefer to wait some time in order to know more arguments
> from all of you. I guess this topic might become a flame in
> debian-devel and I'd like to have as many arguments as possible.
>
>  Also, I'm a little burnout with this, after the license problems seem
> to be fixed , these new problems make me feel I'm wasting my time.
>
> Regards.
> José L.
>
>
> 2008/5/22 Norbert Hartl <[hidden email] <mailto:[hidden email]>>:
>
>     Could you please announce when there is a discussion started
>     on debian-devel?
>
>     thanks,
>
>     Norbert
>     On Wed, 2008-05-21 at 23:34 +0200, Bert Freudenberg wrote:
>     > Etoys was being considered to get into Debian. Now it may be
>     rejected,
>     > because an image file is not "transparent enough" (see below).
>     It was
>     > suggested to discuss this issue on the debian-devel list.
>     >
>     > Do any of you have ideas how to respond? Are there perhaps other
>     > Debian packages that have a similar issue of accountability?
>     >
>     > And how hard would it actually be to bootstrap a fresh Squeak image
>     > from sources nowadays?
>     >
>     > - Bert -
>     >
>     > Begin forwarded message:
>     >
>     > > From: Thomas Viehmann <[hidden email] <mailto:[hidden email]>>
>     > > Date: 21. Mai 2008 23:06:38 MESZ
>     > > To: "José L. Redrejo Rodríguez"
>     <[hidden email]
>     <mailto:[hidden email]>>
>     > > Cc: Bert Freudenberg <[hidden email]
>     <mailto:[hidden email]>>, [hidden email]
>     <mailto:[hidden email]>,  [hidden email]
>     <mailto:[hidden email]>
>     > > Subject: etoys_3.0.1916+svn132-1_amd64.changes (almost) REJECTED
>     > > Reply-To: [hidden email] <mailto:[hidden email]>
>     > >
>     > > (OK, for technical reasons, this is not the REJECT, but there is
>     > > little point in delaying this mail now that I have written it.)
>     > >
>     > > Hi José, Bert, Holger,
>     > >
>     > > this is, unfortunately, the REJECT of etoys.
>     > > First of all, thanks Bert, Holger, José for the discussion of
>     some of
>     > > the concepts. However, I am afraid that there are some fundamental
>     > > concerns that have not been eliminated (yet). As such I would
>     like to
>     > > invite you to start a discussion on the packaging of squeak
>     session
>     > > images on [hidden email]
>     <mailto:[hidden email]>. Feel free to forward this
>     > > mail if you consider it useful as a starting point.
>     > >
>     > > It seems to me that the method of distributing VM sessions in
>     .image
>     > > files as the preferred form of modification does not match too
>     well
>     > > with Debian practices of compiling packages from source and having
>     > > easy access to the differences between various versions of a
>     package.
>     > >
>     > > So as far as I understand it it seems like a typical squeak image
>     > > cannot be bootstrapped[1] from (textual) source and that the
>     typical
>     > > mode of operation is to modify some known image and distribute the
>     > > result. As such, the preferred form of modification is indeed the
>     > > image file.
>     > >
>     > > This, in my opinion, raises at least the following questions
>     that seem
>     > > fundamental to me:
>     > >
>     > > - How easy should it be to figure out what is in an image?
>     > >  While the source code to any class seems to be available, the
>     > >  image is more than that. Does that matter? Should source of
>     Debian
>     > >  packages be auditable and is etoys currently auditable easily
>     > >  enough?
>     > >
>     > > - Does Debian (including the various teams that might have to take
>     > >  a look at your packages) want to have easy access to the
>     > >  differences between upstream version, one Debian revision and
>     > >  another? Do squeak session images provide this in a way that
>     > >  is acceptable to Debian?
>     > >
>     > > From the squeak wiki pages and your explanations it seems that
>     what I
>     > > would consider at least partial solutions exist, but it seems that
>     > > either I am still lacking understanding of important concepts or
>     > > that the etoys packaging (Debian and maybe also upstream) could
>     > > possibly be made a bit more transparent.
>     > > Of course, we might find out that my difficulties with the
>     > > perspective of squeak images in Debian originate in
>     misconceptions of
>     > > Debian packaging and maintenance that I may have. Either way,
>     I would
>     > > appreciate if we could discuss this with the Debian
>     development public
>     > > at large and draw on their additional expertise.
>     > >
>     > > Kind regards
>     > >
>     > > Thomas
>     > >
>     > > 1. http://wiki.squeak.org/squeak/769
>     > > --
>     > > Thomas Viehmann, http://thomas.viehmann.net/
>     >
>     >
>     >
>     >
>
>
>
> ------------------------------------------------------------------------
>
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

NorbertHartl
In reply to this post by Bert Freudenberg
On Thu, 2008-05-22 at 15:17 +0200, Bert Freudenberg wrote:
> Yeah, what a bummer. Thank you so much, José, for starting it anyway.
>
> I think the problem with Thomas of the Debian team is not that he does  
> not understand what an image is (José and I explained in e-mail, and I  
> also had a chat with him). But the huge monolithic image does not fit  
> well with the regular package maintenance procedure. Given a new  
> image, how can one be sure what's in it, and what changed? It's all  
> based on trust, with little verification.
>
Verification can be done by keeping one image and distribute MD5 sums
for image and source.

What channel of debian we are heading? main? Maybe that is a goal that
is not achievable at the moment. What about contrib? Or even non-free?

I have a package installed that is called flashplugin-nonfree. When you
install it it downloads an archive from adobe and installs a binary to
your system. You can hardly have less trust.

Anywhere in between squeak has its place.

Norbert

> - Bert -
>
> On 22.05.2008, at 13:27, José Luis Redrejo wrote:
>
> > If nobody else does it before I (as the Debian developer who has  
> > prepared the etoys package and tried to include it in Debian) will  
> > do it. But, I prefer to wait some time in order to know more  
> > arguments from all of you. I guess this topic might become a flame  
> > in debian-devel and I'd like to have as many arguments as possible.
> >
> >  Also, I'm a little burnout with this, after the license problems  
> > seem to be fixed , these new problems make me feel I'm wasting my  
> > time.
> >
> > Regards.
> > José L.
> >
> >
> > 2008/5/22 Norbert Hartl <[hidden email]>:
> > Could you please announce when there is a discussion started
> > on debian-devel?
> >
> > thanks,
> >
> > Norbert
> > On Wed, 2008-05-21 at 23:34 +0200, Bert Freudenberg wrote:
> > > Etoys was being considered to get into Debian. Now it may be  
> > rejected,
> > > because an image file is not "transparent enough" (see below). It  
> > was
> > > suggested to discuss this issue on the debian-devel list.
> > >
> > > Do any of you have ideas how to respond? Are there perhaps other
> > > Debian packages that have a similar issue of accountability?
> > >
> > > And how hard would it actually be to bootstrap a fresh Squeak image
> > > from sources nowadays?
> > >
> > > - Bert -
> > >
> > > Begin forwarded message:
> > >
> > > > From: Thomas Viehmann <[hidden email]>
> > > > Date: 21. Mai 2008 23:06:38 MESZ
> > > > To: "José L. Redrejo Rodríguez"  
> > <[hidden email]>
> > > > Cc: Bert Freudenberg <[hidden email]>,  
> > [hidden email],  [hidden email]
> > > > Subject: etoys_3.0.1916+svn132-1_amd64.changes (almost) REJECTED
> > > > Reply-To: [hidden email]
> > > >
> > > > (OK, for technical reasons, this is not the REJECT, but there is
> > > > little point in delaying this mail now that I have written it.)
> > > >
> > > > Hi José, Bert, Holger,
> > > >
> > > > this is, unfortunately, the REJECT of etoys.
> > > > First of all, thanks Bert, Holger, José for the discussion of  
> > some of
> > > > the concepts. However, I am afraid that there are some fundamental
> > > > concerns that have not been eliminated (yet). As such I would  
> > like to
> > > > invite you to start a discussion on the packaging of squeak  
> > session
> > > > images on [hidden email]. Feel free to forward this
> > > > mail if you consider it useful as a starting point.
> > > >
> > > > It seems to me that the method of distributing VM sessions  
> > in .image
> > > > files as the preferred form of modification does not match too  
> > well
> > > > with Debian practices of compiling packages from source and having
> > > > easy access to the differences between various versions of a  
> > package.
> > > >
> > > > So as far as I understand it it seems like a typical squeak image
> > > > cannot be bootstrapped[1] from (textual) source and that the  
> > typical
> > > > mode of operation is to modify some known image and distribute the
> > > > result. As such, the preferred form of modification is indeed the
> > > > image file.
> > > >
> > > > This, in my opinion, raises at least the following questions  
> > that seem
> > > > fundamental to me:
> > > >
> > > > - How easy should it be to figure out what is in an image?
> > > >  While the source code to any class seems to be available, the
> > > >  image is more than that. Does that matter? Should source of  
> > Debian
> > > >  packages be auditable and is etoys currently auditable easily
> > > >  enough?
> > > >
> > > > - Does Debian (including the various teams that might have to take
> > > >  a look at your packages) want to have easy access to the
> > > >  differences between upstream version, one Debian revision and
> > > >  another? Do squeak session images provide this in a way that
> > > >  is acceptable to Debian?
> > > >
> > > > From the squeak wiki pages and your explanations it seems that  
> > what I
> > > > would consider at least partial solutions exist, but it seems that
> > > > either I am still lacking understanding of important concepts or
> > > > that the etoys packaging (Debian and maybe also upstream) could
> > > > possibly be made a bit more transparent.
> > > > Of course, we might find out that my difficulties with the
> > > > perspective of squeak images in Debian originate in  
> > misconceptions of
> > > > Debian packaging and maintenance that I may have. Either way, I  
> > would
> > > > appreciate if we could discuss this with the Debian development  
> > public
> > > > at large and draw on their additional expertise.
> > > >
> > > > Kind regards
> > > >
> > > > Thomas
> > > >
> > > > 1. http://wiki.squeak.org/squeak/769
> > > > --
> > > > Thomas Viehmann, http://thomas.viehmann.net/
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

Tapple Gao
In reply to this post by Bert Freudenberg
On Wed, May 21, 2008 at 11:34:04PM +0200, Bert Freudenberg wrote:
> Etoys was being considered to get into Debian. Now it may be rejected,
> because an image file is not "transparent enough" (see below). It was
> suggested to discuss this issue on the debian-devel list.
>
> Do any of you have ideas how to respond? Are there perhaps other Debian
> packages that have a similar issue of accountability?

I'm not sure about this, but many languages require a big binary
translator in order to build the language:

GCC requires a binary download of GCC to build GCC
Haskell does too

I'm not sure how Squeak is different.

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

Ross Boylan-2
In reply to this post by NorbertHartl
On Thu, 2008-05-22 at 14:42 +0200, Norbert Hartl wrote:
> Even if squeak could cope well with all sorts of dependency and
> conflicts management it wouldn't change much. Debian is an operating
> system and they are looking for an operating-system-way to do all
> these things.
Debian is a distribution that includes operating systems (primarily
Linux, but at various times BSD and Hurd) and a lot of other software.

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

Ross Boylan-2
In reply to this post by K. K. Subramaniam
On Thu, 2008-05-22 at 13:01 +0530, K. K. Subramaniam wrote:

> On Thursday 22 May 2008 4:28:29 am Jecel Assumpcao Jr wrote:
> > Our sources are the .image files. It isn't what people are used to, but
> > that doesn't make it less true.
> From the tone of the email, it looks as if Debian maintainer is just trying to
> understand images and figure out how to handle images in their current
> version control process.  Text-based tools like texteditor, cmp, diff, patch
> etc.used in version control will not work with images. A Squeak image is not
> a 'source' but records the entire state of a virtual machine. In a way, it is
> like firmware to configure wireless devices or codecs required to interpret
> certain audio/video files. VM mimics a virtual device and image is
> its 'firmware'.
I suggest avoiding the firmware analogy.  Firmware has been a big
problem on Debian and they are working on (have?) purging it from the
main distribution.  The problem with firmware is that it does not meet
the "you can understand it and change it if you want" criteria--that is,
it is very difficult to do so with firmware, and the natural form of
firmware for human manipulation, which is source code, is generally not
available (if it is, I don't think the firmware is problematic).

>
> The issues are:
>
> 1. How does one compare two images A and B are equal?
> 2. If A and B are not equal, how to extract the patch which produced B from A?
> 3. How does one compare two patch set to see if they are equal?
> 4. Given an image A and a series of patches P1..PN, can different people apply
> them in a sequence to produce the 'same' image, B.
> 5. Is an image file specific to an architecture or not (answer: not)
>
Granted that these might be important for some purposes--and were raised
in the original email from Debian, I'm not sure they are central to
meeting the Debian Free software guidelines.

Debian has a concept of architecture-independent files; that would apply
to images (but not the VM).

Since the problem seems to be with Etoys, and more generally images (but
what about the "base" image?) an analogy is to an application.  Often an
application is a binary.  If you want to manipulate or change it, you
need the source code.  However, with an image, once you have it you
usually already have alll you need to understand and manipulate it,
unless the image was created by importing stuff that started out in some
other form (e.g., vector graphics or a model for an avatar).  In cases
like this, for example an application in a high-level language, I think
the source and the binary packages on Debian are quite similar.  The
source package has the high-level code and some package management and
installation logic.  The generated binary package simply installs this
in the right places when an installation is requested.

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] re: Smalltalk images considered harmful

ccrraaiigg
In reply to this post by Bert Freudenberg

      Ha! This ought to be fun. :)

      I'm at work now but I definitely have opinions about this, more later.


-C



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

K. K. Subramaniam
In reply to this post by NorbertHartl
On Thursday 22 May 2008 6:12:16 pm Norbert Hartl wrote:
> On Thu, 2008-05-22 at 17:35 +0530, K. K. Subramaniam wrote:
> > Tracking dependencies and conflicts across patches, packages and VM is
> > one of the strengths of Debian and a weakness in Squeak.
>
> Can you elaborate on the "..across patches, ..." part? I do not know
> what you mean by that.
Across code updates. If a package requires a particular update level, Squeak
does not pull in those dependencies automatically before installing it. Also,
Squeak does not come with an tool to diff an image with another image (say a
new upstream image).

Of course, it is all a small matter of programming ;-).

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

K. K. Subramaniam
In reply to this post by Bert Freudenberg
On Thursday 22 May 2008 6:47:28 pm Bert Freudenberg wrote:
> I think the problem with Thomas of the Debian team is not that he does  
> not understand what an image is (José and I explained in e-mail, and I  
> also had a chat with him). But the huge monolithic image does not fit  
> well with the regular package maintenance procedure. Given a new  
> image, how can one be sure what's in it, and what changed? It's all  
> based on trust, with little verification
Huge images are a problem for Squeak developers too in terms of increased I/O
and network transfer times. Slim images benefits everyone. Strictly speaking,
a developer's image is much larger than the *.image file since the image
contains pointers into two other blobs - *.changes and *.sources. The last
blob is about 17MB and doesn't change between different images, so it is huge
win to factor it out. If we apply the same factoring approach to large
collections (sound library? pool dictionaries?) then maintenance could become
easier. Bulky stable image segments could be hived off into project files and
then merged into a single image at "build" time or even at run time.

Has anyone analyzed space consumption and distribution patterns of object from
a image file? What explains the near doubling of image size between 3.2 and
3.8?

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

Stephen Pair
30+ posts on this topic with some suggestions of significant work to satisfy the Debian gate keepers.  Is Debian inclusion really this important?  Don't get me wrong, I think inclusion would be great, but this thread does make me wonder what benefits would really come of it.

- Stephen


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Smalltalk images considered harmful

K. K. Subramaniam
In reply to this post by Victor Rodriguez-5
On Thursday 22 May 2008 5:46:58 pm Victor Rodriguez wrote:

> On Thu, May 22, 2008 at 5:34 AM, K. K. Subramaniam <[hidden email]>
> wrote: ....
>
> > I see conformance Debian guidelines as a positive for the future of
> > Squeak. We may finally leave behind the annoying MNUs during file-ins.
> > Just imagine being able to replicate Alan Kay's famous demo image with a
> > simple "apt-get install squeak-demo" :-).
>
> Ah, now I'm intrigued, what is this famous demo image from Alan Kay?
> Could you elaborate?
See
   http://video.google.com/videoplay?docid=2409496407757723940

at around 1h14m when Dan shows "PERFESSOR BILL EDWARDS" ensemble demo that
Alan put together in Squeak.

Also see
 http://www.vpri.org/pdf/NSF_prop_RN-2006-002.pdf
and
 http://www.squeakland.org/pdf/etoys_n_learning.pdf

Subbu

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

José Luis Redrejo
In reply to this post by Stephen Pair


2008/5/22 Stephen Pair <[hidden email]>:
30+ posts on this topic with some suggestions of significant work to satisfy the Debian gate keepers.  Is Debian inclusion really this important?  Don't get me wrong, I think inclusion would be great, but this thread does make me wonder what benefits would really come of it.



As a beginning it would be inmediatly included in Debian Edu, so next upgrade of this flavour of Debian would add etoys to several thousand of student desktops. Also, it would be included with the olpc packages in Debian. So, in the short time you would see Squeak in many more places than today. In the medium term, new Squeak images could be added to the Debian repositories, including some interactive books made in Spain to study maths. In the long term I don't know...

About the many things that have been read in this thread, I'd classify them in two types:
a) Those that criticize or comment the way Squeak is done and point to use a different way of building the images
b) Those that criticize or comment the Debian arguments.

I'm only interested in b) as, speaking of today, I'd like to include the etoys image in Debian, not any other image. There are two reasons for it: the main reason is that VPRI warranties the license of the etoys image, and that does not happen with other images (as far as I know). The other reason is that I'm more focused in the educative side of Squeak.

Don't misunderstand me: answers of type a) are really interesting, but do not help for today's purpose.
Regards.
José L.


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Fun Squeak

Bert Freudenberg
In reply to this post by K. K. Subramaniam

On 23.05.2008, at 00:00, K. K. Subramaniam wrote:

> On Thursday 22 May 2008 5:46:58 pm Victor Rodriguez wrote:
>> On Thu, May 22, 2008 at 5:34 AM, K. K. Subramaniam  
>> <[hidden email]>
>> wrote: ....
>>
>>> I see conformance Debian guidelines as a positive for the future of
>>> Squeak. We may finally leave behind the annoying MNUs during file-
>>> ins.
>>> Just imagine being able to replicate Alan Kay's famous demo image  
>>> with a
>>> simple "apt-get install squeak-demo" :-).
>>
>> Ah, now I'm intrigued, what is this famous demo image from Alan Kay?
>> Could you elaborate?
> See
>   http://video.google.com/videoplay?docid=2409496407757723940
>
> at around 1h14m when Dan shows "PERFESSOR BILL EDWARDS" ensemble  
> demo that
> Alan put together in Squeak.


Indeed - this is what Squeak actually was about. Having fun with  
interactive media - music, animation, etc. The "free Smalltalk" is  
just a byproduct of that (an admittedly useful one of course).

So here's to fun! Cheers! :)

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Smalltalk images considered harmful

NorbertHartl
In reply to this post by Ross Boylan-2
On Thu, 2008-05-22 at 11:03 -0700, Ross Boylan wrote:
> On Thu, 2008-05-22 at 14:42 +0200, Norbert Hartl wrote:
> > Even if squeak could cope well with all sorts of dependency and
> > conflicts management it wouldn't change much. Debian is an operating
> > system and they are looking for an operating-system-way to do all
> > these things.
> Debian is a distribution that includes operating systems (primarily
> Linux, but at various times BSD and Hurd) and a lot of other software.
>
Of course, debian is a distribution system for software. But for me it
is an operating system, too. The name is DebianLinux but you can savely
omit the Linux and everybody knows what you mean :)

To be correct (I think you wanted to be) none of your examples is an
operating system. Linux and Hurd are kernels and BSD is an operating
system family.

Norbert


123