small seaside image

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

small seaside image

Avi  Bryant
A while ago I mentioned on this list a stripped 3.7-based Seaside  
image that was around 7.5MB.  A couple of people have emailed me  
offlist asking for it, and I've finally gotten around to actually  
putting one up somewhere.  You can grab it from:

http://smallthought.com/avi/Seaside2.6.zip

This includes Scriptaculous and is up to, I think, around 7.8MB now.

Let me know if there are any problems getting or using it.

Avi
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: small seaside image

Ramon Leon
> A while ago I mentioned on this list a stripped 3.7-based
> Seaside image that was around 7.5MB.  A couple of people have
> emailed me offlist asking for it, and I've finally gotten
> around to actually putting one up somewhere.  You can grab it from:
>
> http://smallthought.com/avi/Seaside2.6.zip
>
> This includes Scriptaculous and is up to, I think, around 7.8MB now.
>
> Let me know if there are any problems getting or using it.
>
> Avi

I'd ask on that same thread, if you could do this with a 3.8 image, or
better yet, publish the process by which you stripped the image?
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image

garduino
In reply to this post by Avi Bryant
Thanks Avi.

2006/4/25, Avi Bryant <[hidden email]>:

> A while ago I mentioned on this list a stripped 3.7-based Seaside
> image that was around 7.5MB.  A couple of people have emailed me
> offlist asking for it, and I've finally gotten around to actually
> putting one up somewhere.  You can grab it from:
>
> http://smallthought.com/avi/Seaside2.6.zip
>
> This includes Scriptaculous and is up to, I think, around 7.8MB now.
>
> Let me know if there are any problems getting or using it.
>
> Avi
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image

garduino
In reply to this post by Ramon Leon
I don't get such small images as Avi, but I'm attaching the procedure
I use to shrink 3.8 image.

Take in account that is "quick and dirty" and I don't use lockdown.

HTH.
gsa.

2006/4/25, Ramon Leon <[hidden email]>:
> I'd ask on that same thread, if you could do this with a 3.8 image, or
> better yet, publish the process by which you stripped the image?

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

GSAShrink.st (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: small seaside image

Ramon Leon
In reply to this post by Avi Bryant

> I don't get such small images as Avi, but I'm attaching the
> procedure I use to shrink 3.8 image.
>
> Take in account that is "quick and dirty" and I don't use lockdown.
>
> HTH.
> gsa.
>
> 2006/4/25, Ramon Leon <[hidden email]>:
> > I'd ask on that same thread, if you could do this with a
> 3.8 image, or
> > better yet, publish the process by which you stripped the image?

I appreciate it, it's a start at least.  

Let me ask this (Anyone), assuming I want to shrink my image, because I
only care about doing seaside development, i.e. not just shrinking for
deployment, but just removing stuff that I don't ever need, what would
you change with this script.  Example, I don't think I want to
removeSources, ever.  What about all those Balloon categories, or
Nebraska, is that stuff necessary?  I don't want to cripple my
environment in any way, I just don't need anything but development, and
seaside stuff, no sound, no mp3 players, etc.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image

garduino
Well, it's an sort of "artwork" to revise all things and trying the
removal and its consequences (the "try" method).

By example, the removal of Ballon with some code as this:

SystemOrganization categories do: [:cat | (cat beginsWith: 'Balloon')
ifTrue: [SystemOrganization
removeSystemCategory: cat]].

let my 3.8 images looped (I've not investigated so much why).

Also, from SM is possible to use several "removal" packages.

I think that the level of shrink depend of the needs in each case.
MIne is were around 15-16 MB with all dev tools working and not
spending so much time trying to shrink a few bytes more.

But the image of Avi is better, only 8MB, don't know if this size is
possible to achieve with 3.8.

Cheers.
gsa.



2006/4/25, Ramon Leon <[hidden email]>:

>
> > I don't get such small images as Avi, but I'm attaching the
> > procedure I use to shrink 3.8 image.
> >
> > Take in account that is "quick and dirty" and I don't use lockdown.
> >
> > HTH.
> > gsa.
> >
> > 2006/4/25, Ramon Leon <[hidden email]>:
> > > I'd ask on that same thread, if you could do this with a
> > 3.8 image, or
> > > better yet, publish the process by which you stripped the image?
>
> I appreciate it, it's a start at least.
>
> Let me ask this (Anyone), assuming I want to shrink my image, because I
> only care about doing seaside development, i.e. not just shrinking for
> deployment, but just removing stuff that I don't ever need, what would
> you change with this script.  Example, I don't think I want to
> removeSources, ever.  What about all those Balloon categories, or
> Nebraska, is that stuff necessary?  I don't want to cripple my
> environment in any way, I just don't need anything but development, and
> seaside stuff, no sound, no mp3 players, etc.
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: small seaside image

Ramon Leon
In reply to this post by Avi Bryant
> Well, it's an sort of "artwork" to revise all things and
> trying the removal and its consequences (the "try" method).
>
> By example, the removal of Ballon with some code as this:
>
> SystemOrganization categories do: [:cat | (cat beginsWith: 'Balloon')
> ifTrue: [SystemOrganization
> removeSystemCategory: cat]].
>
> let my 3.8 images looped (I've not investigated so much why).
>
> Also, from SM is possible to use several "removal" packages.
>
> I think that the level of shrink depend of the needs in each case.
> MIne is were around 15-16 MB with all dev tools working and
> not spending so much time trying to shrink a few bytes more.
>
> But the image of Avi is better, only 8MB, don't know if this
> size is possible to achieve with 3.8.
>
> Cheers.
> gsa.

Yea, I'm guessing that's just because it's 3.7, your script only removed
3 megs from my 3.8 image, kicking me down to about 25mb from 28mb.
However, it broke Monticello somehow, so I guess I'll have to do some
experimenting to get it going.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image

garduino
But my script is that I use to shrink 3.8 images (I use it to generate
my Promoter image from a 3.8 #6665 Basic).

Using it, as is, I get around 16MB without changes.

Cheers.

2006/4/25, Ramon Leon <[hidden email]>:

> > Well, it's an sort of "artwork" to revise all things and
> > trying the removal and its consequences (the "try" method).
> >
> > By example, the removal of Ballon with some code as this:
> >
> > SystemOrganization categories do: [:cat | (cat beginsWith: 'Balloon')
> > ifTrue: [SystemOrganization
> > removeSystemCategory: cat]].
> >
> > let my 3.8 images looped (I've not investigated so much why).
> >
> > Also, from SM is possible to use several "removal" packages.
> >
> > I think that the level of shrink depend of the needs in each case.
> > MIne is were around 15-16 MB with all dev tools working and
> > not spending so much time trying to shrink a few bytes more.
> >
> > But the image of Avi is better, only 8MB, don't know if this
> > size is possible to achieve with 3.8.
> >
> > Cheers.
> > gsa.
>
> Yea, I'm guessing that's just because it's 3.7, your script only removed
> 3 megs from my 3.8 image, kicking me down to about 25mb from 28mb.
> However, it broke Monticello somehow, so I guess I'll have to do some
> experimenting to get it going.
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

mstram-2
In reply to this post by Avi Bryant
Hi Avi,

I downloaded that image today and uploaded it to my account on
  http://mstram.seasidehosting.st.

I don't get any error messages in the log files, but I get the "generic"  'bad Gateway' message from seasidehosting.

I haven't altered the file, I was just trying to run the example apps, none of these work :

http://mstram.seasidehosting.st/seaside/config
http://mstram.seasidehosting.st/seaside/alltests
http://mstram.seasidehosting.st/seaside/counter
http://mstram.seasidehosting.st/seaside/examplebrowser
http://mstram.seasidehosting.st/seaside/scriptaculous
http://mstram.seasidehosting.st/seaside/store

Mike


Avi Bryant wrote
A while ago I mentioned on this list a stripped 3.7-based Seaside  
image that was around 7.5MB.  A couple of people have emailed me  
offlist asking for it, and I've finally gotten around to actually  
putting one up somewhere.  You can grab it from:

http://smallthought.com/avi/Seaside2.6.zip

This includes Scriptaculous and is up to, I think, around 7.8MB now.

Let me know if there are any problems getting or using it.

Avi
_______________________________________________
Seaside mailing list
Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

mstram-2
In reply to this post by Avi Bryant
Hi Avi,

I downloaded that image today and uploaded it to my account on
  http://mstram.seasidehosting.st.

I don't get any error messages in the log files, but I get the "generic"  'bad Gateway' message from seasidehosting.

I haven't altered the file, I was just trying to run the example apps, none of these work :

http://mstram.seasidehosting.st/seaside/config
http://mstram.seasidehosting.st/seaside/alltests
http://mstram.seasidehosting.st/seaside/counter
http://mstram.seasidehosting.st/seaside/examplebrowser
http://mstram.seasidehosting.st/seaside/scriptaculous
http://mstram.seasidehosting.st/seaside/store

Mike


Avi Bryant wrote
A while ago I mentioned on this list a stripped 3.7-based Seaside  
image that was around 7.5MB.  A couple of people have emailed me  
offlist asking for it, and I've finally gotten around to actually  
putting one up somewhere.  You can grab it from:

http://smallthought.com/avi/Seaside2.6.zip

This includes Scriptaculous and is up to, I think, around 7.8MB now.

Let me know if there are any problems getting or using it.

Avi
_______________________________________________
Seaside mailing list
Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

Damien Cassou-3
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

mstram-2
Ok, the problem seems to be that the 2.6 image is looking for a file called <startupDirectory>\SqueakV3.sources.

(What object \ class ... "thing" in the image is looking for that file ?)

On my XP box, I got rid of the error message by creating a dummy 1byte file with that name, of course if it's looking for anything valid in that file it's not going to find it, but initially it seems to run fine.

On the seasidehosting site, however that same trick doesn't work.  In fact when I start the image something on the system is creating a SqueakV3.sources.  *directory* ... that appears to be just a symboilic link back to my main directory.

In the meantime I have uploaded another "bloat" image that *is* working  (squeak-web-118.image  (27meg !)

When I run anything in that file however,  like Pier, then stop and restart the image, nothing gets saved.  I tried copying the running image to another image, then runnig the copy but that didn't work.

Is there an internal "save image" Class / method / function that I can use?

Mike



Damien Cassou-3 wrote
Try this:

http://mstram.seasidehosting.st/seaside/examples/counter
...


--
Damien Cassou
_______________________________________________
Seaside mailing list
Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

Lukas Renggli
> On the seasidehosting site, however that same trick doesn't work.  In fact
> when I start the image something on the system is creating a
> SqueakV3.sources.  *directory* ... that appears to be just a symboilic link
> back to my main directory.

Why do you think it points to your main-directory? When I do an "ls
-l" in your directory I get:

    46 2007-05-18 14:46 SqueakV39.sources ->
/usr/local/lib/squeak/3.7-7s/SqueakV39.sources
    45 2007-05-18 14:46 SqueakV3.sources ->
/usr/local/lib/squeak/3.7-7s/SqueakV3.sources
    4430306 2007-05-18 14:46 squeak-web-118.changes
    26888812 2007-05-18 14:00 squeak-web-118.image
    ...

A "cat SqueakV3.changes" shows the sources. We create those links
link, so that you don't have to upload them yourself and to avoid
having 250 of identical source files wasting harddisk space. Btw, in
the preferences you can also tell you Squeak image not to complain
about missing changes and sources files.

> In the meantime I have uploaded another "bloat" image that *is* working
> (squeak-web-118.image  (27meg !)

We currently have a quota of 256 MB of RAM and 128 MB harddisc space per user.

> When I run anything in that file however,  like Pier, then stop and restart
> the image, nothing gets saved.  I tried copying the running image to another
> image, then runnig the copy but that didn't work.

That's how Squeak works. Evaluate something like "SmalltalkImage
current saveSnapshot" to save it. If I remember correctly
WAVersionUploader has a button that does exactly this. The Pier Unix
Security plugin also provides a user interface to save the image.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

mstram-2
Hi Lukas,

>Why do you think it points to your main-directory? When I do an "ls
>-l" in your directory I get:

Sorry, my mistake, I was looking at my site in FileZilla, and the links are represented as "folders",  using a command like FTP tool (like "real" programmer should ... showed the links as "normal" *nix style :)

Well if that's the case, then there must be some other error, other than "looking for sources"
I saved the log file as "SqueakDebug_2.6.log", if you could take a look that would be great.

There is also no u.i. for setting parameters in that image, I tried searching for "setParameter:", but it's not found, is there another way to set parameters in that file?

> Evaluate something like "SmalltalkImage
>current saveSnapshot" to save it.

Thanks, I'll give that a try.

Is there anything in SqueakMap that is along the lines of a "remote Workspace" addiin ? ... so that I can well .. remotely, send commands to the running image?  Even if I manage to get the ~5meg image running, updating it is a pain when using dialup ;)

Mike



Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

Lukas Renggli
> >Why do you think it points to your main-directory? When I do an "ls
> >-l" in your directory I get:
>
> Sorry, my mistake, I was looking at my site in FileZilla, and the links are
> represented as "folders",  using a command like FTP tool (like "real"
> programmer should ... showed the links as "normal" *nix style :)
>
> Well if that's the case, then there must be some other error, other than
> "looking for sources"
> I saved the log file as "SqueakDebug_2.6.log", if you could take a look that
> would be great.

Is there anything in the image that tries to listen on a specific
port? Unfortunately the stack trace is hard useful, as it is far too
short.

> There is also no u.i. for setting parameters in that image, I tried
> searching for "setParameter:", but it's not found, is there another way to
> set parameters in that file?

I don't understand what you are talking about.

> > Evaluate something like "SmalltalkImage
> >current saveSnapshot" to save it.
>
> Thanks, I'll give that a try.
>
> Is there anything in SqueakMap that is along the lines of a "remote
> Workspace" addiin ? ... so that I can well .. remotely, send commands to the
> running image?  Even if I manage to get the ~5meg image running, updating it
> is a pain when using dialup ;)

There is WABrowser, WAInspector and WAVersionUploader that comes with
Seaside. Is this what you are looking for?

Cheers,
Lukas




>
> Mike
>
>
>
>
> --
> View this message in context: http://www.nabble.com/small-seaside-image-tf1507142.html#a10696643
> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: small seaside image - not working on seasidehosting

mstram-2
>>There is WABrowser, ***WAInspector***  ...

Ahh, I never noticed the Inspector icon ... that works great, thanks.

Mike