<div dir="ltr">IMHO we should reconsider how project saving works. ImageSegments were a good technology back when machines and the interpreter VM was slow. Now we have faster machines and VMs so this very VM-dependent mechanism is no needed anymore.<div><br></div><div>Yoshiki&#39;s S-Expression format is one way to serialize, yes. We have used it for the QuickGuide projects in the Squeakland image. In the short term it&#39;s a good option. However, for more general project saving we may want to take a look at other serialization schemes.</div><div> </div><div>I think we should deprecate ImageSegment. Is there any active use of them? I seem to remember SqueakMap used them but I&#39;m not sure.</div><div><br></div><div>- Bert -</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 27, 2016 at 3:07 PM, Tim Felgentreff <span dir="ltr">&lt;<a href="mailto:timfelgentreff@gmail.com" target="_blank">timfelgentreff@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi, </p>
<p dir="ltr">in the process of updating Squeakland etoys to load in 5.1,we have also made the sexp format project saving and loading work again. This might be a VM independent way forward for storing projects. </p>
<p dir="ltr">Regarding loading old projects, Bert has an experimental OldSegmentLoader that can load pre-Spur segments into 5.1</p>
<p dir="ltr">best,<br>
Tim </p><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">Herbert König &lt;<a href="mailto:herbertkoenig@gmx.net" target="_blank">herbertkoenig@gmx.net</a>&gt; schrieb am Fr., 26. Aug. 2016, 15:40:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Hannes,<br>
<br>
I&#39;ll let you know.<br>
<br>
A typical image of mine contains lots of projects with documentation<br>
and ideas I need to be able to save.<br>
<br>
Cheers,<br>
<br>
Herbert<br>
<br>
Am Fri, 26 Aug 2016 13:43:06 +0100<br>
schrieb &quot;H. Hirzel&quot; &lt;<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>&gt;:<br>
<br>
&gt; Hallo Herbert<br>
&gt;<br>
&gt; I am currently using the 5.1 release for development.<br>
&gt;<br>
&gt; I think it was<br>
&gt;<br>
&gt; 4 fixes in the Inbox and I just filed them in an Squeak 4.6 image<br>
&gt; (updated from the Squeak 4.6 all-in-one-release) in December 2015<br>
&gt;<br>
&gt; <a href="http://forum.world.st/The-Trunk-System-cwp-781-mcz-td4864083.html" rel="noreferrer" target="_blank">http://forum.world.st/The-<wbr>Trunk-System-cwp-781-mcz-<wbr>td4864083.html</a><br>
&gt; <a href="http://forum.world.st/The-Trunk-System-cwp-782-mcz-td4864086.html" rel="noreferrer" target="_blank">http://forum.world.st/The-<wbr>Trunk-System-cwp-782-mcz-<wbr>td4864086.html</a><br>
&gt; <a href="http://forum.world.st/The-Inbox-Morphic-cwp-1055-mcz-td4864087.html" rel="noreferrer" target="_blank">http://forum.world.st/The-<wbr>Inbox-Morphic-cwp-1055-mcz-<wbr>td4864087.html</a><br>
&gt; <a href="http://forum.world.st/The-Inbox-Morphic-jmg-1055-mcz-td4864091.html" rel="noreferrer" target="_blank">http://forum.world.st/The-<wbr>Inbox-Morphic-jmg-1055-mcz-<wbr>td4864091.html</a><br>
&gt;<br>
&gt; It this is not sufficient give me some time to dig out that 4.6 image<br>
&gt; from the archive and try to recover what I did.<br>
&gt;<br>
&gt; --Hannes<br>
&gt;<br>
&gt;<br>
&gt; On 8/26/16, Herbert König &lt;<a href="mailto:herbertkoenig@gmx.net" target="_blank">herbertkoenig@gmx.net</a>&gt; wrote:<br>
&gt; &gt; Hi Hannes,<br>
&gt; &gt;<br>
&gt; &gt; any tips how to get at that image and what VM to use? I still use<br>
&gt; &gt; 4.4 for development and later versions just for deployment.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Herbert<br>
&gt; &gt;<br>
&gt; &gt; Am Fri, 26 Aug 2016 13:16:03 +0100<br>
&gt; &gt; schrieb &quot;H. Hirzel&quot; &lt;<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@gmail.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hello Vaidotas<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; It can confirm that Project saving worked again in Squeak 4.6 in<br>
&gt; &gt;&gt; December 2015 with the fixes applied done by Colin Putney[1]. I did<br>
&gt; &gt;&gt; some tests then.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The  64bit image is experimental.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I just tested Project saving in Squeak 5.1 (32bit image) in<br>
&gt; &gt;&gt; MSWindows and on Linux. It does not work either. So we need to<br>
&gt; &gt;&gt; wait for a VM update.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards<br>
&gt; &gt;&gt; Hannes<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; [1] <a href="http://wiki.squeak.org/squeak/6218" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/<wbr>6218</a><br>
&gt; &gt;&gt; &lt;citation&gt;<br>
&gt; &gt;&gt; With these four changes, it&#39;s possible to save and load projects<br>
&gt; &gt;&gt; in a Squeak 4.6 image. It doesn&#39;t work in a trunk image, however.<br>
&gt; &gt;&gt; The Spur VM crashes when saving a project. I&#39;ve reported that on<br>
&gt; &gt;&gt; the VM list. It also fails to load an image segment - looks like<br>
&gt; &gt;&gt; the primitive for that isn&#39;t quite finished in Spur.<br>
&gt; &gt;&gt; &lt;/citation&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On 8/26/16, Herbert König &lt;<a href="mailto:herbertkoenig@gmx.net" target="_blank">herbertkoenig@gmx.net</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt; Hi Vaidotas,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; according to the end of<br>
&gt; &gt;&gt; &gt; <a href="http://wiki.squeak.org/squeak/6218" rel="noreferrer" target="_blank">http://wiki.squeak.org/squeak/<wbr>6218</a><br>
&gt; &gt;&gt; &gt; this is now a VM problem. The image side shold have been solved.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; From older discussions I remember that environments are too<br>
&gt; &gt;&gt; &gt; deeply entangled with the guts of Squeak that it&#39;s not feasible<br>
&gt; &gt;&gt; &gt; to remove them again.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; And then some people may use them.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Cheers,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Herbert<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;  Am Fri, 26 Aug 2016 13:46:40 +0300<br>
&gt; &gt;&gt; &gt; schrieb Vaidotas Didžbalis &lt;<a href="mailto:vaidasd@gmail.com" target="_blank">vaidasd@gmail.com</a>&gt;:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; Hello,<br>
&gt; &gt;&gt; &gt;&gt; Project saving is broken. When trying to save Morphic project to<br>
&gt; &gt;&gt; &gt;&gt; disk on 64bit image on Windows user is locked in the loop of<br>
&gt; &gt;&gt; &gt;&gt; popping up emergency evaluator, you have to kill Squeak as a OS<br>
&gt; &gt;&gt; &gt;&gt; process. See the docking bar, the second menu item is the<br>
&gt; &gt;&gt; &gt;&gt; Project menu. We need to add this to the known Issues session<br>
&gt; &gt;&gt; &gt;&gt; of the 5.1 release notes at least. This bug was pushed with<br>
&gt; &gt;&gt; &gt;&gt; Environments package since 4.5. Is anyone uses Environments?<br>
&gt; &gt;&gt; &gt;&gt; Can they be removed? Why Environments is not loadable package?<br>
&gt; &gt;&gt; &gt;&gt; regards, Vaidotas<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
<br>
<br>
</blockquote></div>
</div></div><br><br>
<br></blockquote></div><br></div>