<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Luxi Sans'; font-size:11pt; font-weight:400; font-style:normal;">On April 10, 2009, Bert Freudenberg wrote:<br>
> On 10.04.2009, at 04:53, Milan Zimmermann wrote:<br>
> > On April 9, 2009, Bert Freudenberg wrote:<br>
> > > On 09.04.2009, at 07:15, Milan Zimmermann wrote:<br>
> > > > On March 18, 2009, Bert Freudenberg wrote:<br>
> > > > <...><br>
> > > ><br>
> > > > > Etoys is the only pre-installed activity that can open zip<br>
> ><br>
> > files.<br>
> ><br>
> > > > When<br>
> > > ><br>
> > > > > you click on a zip file in the Journal, it opens in Etoys, and<br>
> ><br>
> > Etoys<br>
> ><br>
> > > > > shows a little menu (probably in the upper-left corner):<br>
> > > ><br>
> > > > I just read about content files - Maybe we can make a (temporary)<br>
> > > > olpc-extract.xo Content (xo) file that would open the zip in<br>
> ><br>
> > Etoys.<br>
> ><br>
> > > Well it does open in Etoys already. There just is no simple way to<br>
> > > extract to the Journal, yet.<br>
> ><br>
> > ah I see. I thought there was a way because if I "highlight text and<br>
> > copy" from Etoys and the text appears in Journal, with a few<br>
> > associations. But yes I guess I did not see an example where a file<br>
> > (or files) would be put on clipboard...<br>
><br>
> Right. It could be added of course, dragging a file out of the ZIP<br>
> viewer into the clipboard would be possible ... though we do have<br>
> bigger fish to fry.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>yes...<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>><br>
> > > > Probably an overkill in terms of size?<br>
> > ><br>
> > > What size do you mean?<br>
> ><br>
> > i ment squeak size (could be smaller if tool only did zip/unzip). I<br>
> > think that would only be a potential issue if many were kept open.<br>
><br>
> You mean RAM? Well it would be nice to compare a Python+GTK activity's<br>
> memory footprint against Squeak.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>well I ment RAM for Squeak + etoys image size. You are addressing image size below - I think you are saying currently whole image is in memory (which I assumed) but also there may be a way to load to memory only those pieces of the image that are referenced, is that correct? That would be very interesting. Out of my skill area, but interesting :) Worth adding to the squeakland bug list as enhancement , I should add it.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>MIlan<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>><br>
> Also, it might be time to start optimizing Squeak / Etoys which we<br>
> have totally neglected in the last years.<br>
><br>
> One relatively simple thing to increase start-up speed would be to<br>
> mmap the image and avoid scanning the whole object memory on startup.<br>
> That way only the pages needed would be actually loaded into RAM<br>
> initially, not the whole image. I dabbled with this with Luke while in<br>
> Nepal, and recently John did the same optimization for the iPhone VM.<br>
> It's rather probable there is more such low-hanging fruit, if someone<br>
> bothered to look.<br>
><br>
> - Bert -<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>