<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 5:48 PM, H. Hirzel <span dir="ltr">&lt;<a href="mailto:hannes.hirzel@gmail.com" target="_blank">hannes.hirzel@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">I have started using Fuel and Ma Serializer to store PasteUpMorphs<br>
stored in a project. Actually it is a collection of PastUpMorphs used<br>
as a slide show. I used as well SIXX for some tests.<br>
<br>
It is possible to keep all the serialization packages in the same image.<br>
<br>
Fuel and Ma Serializer work fine so far to save and restore<br>
PasteUpMorphs (with content).<br>
To use SIXX I had to go for a description and then restore from the<br>
description. Interestingly SIXX was about as space efficient as the<br>
other ones if I used compression on the the resulting file. As SISS is<br>
modeled after SIXX the result is probably the same (I did not verify<br>
this).<br>
<br>
For the tests I did so far Ma Serializer was more space efficient. And<br>
the claim is that it spans versions wherase Fuel description<br>
explicitly states that it does not.<br>
<br>
There is a need to agree on some test cases and criteria.<br>
<br>
It is as well worth considering supporting different formats.<br>
<br>
The API to do so is very thin.<br>
<br>
E.g. for the Fuel test to restore the slide collection I just had to do.<br>
<br>
slides := FLMaterializer materializeFromFileNamed:<br>
&#39;/home/user/sq5.1test-Fuel/<wbr>documentation/Kopie_Lit_01.FL&#39;<wbr>.<br>
<br>
slides reverseDo: [:s | s openInWorld]<br>
<br></blockquote><div><br></div><div>You can even add the #openInWorld as a post materialization action which is serialized in a header. That way, the #materialize will automatically evaluate your post actions.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--Hannes<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 9/1/16, H. Hirzel &lt;<a href="mailto:hannes.hirzel@gmail.com">hannes.hirzel@gmail.com</a>&gt; wrote:<br>
&gt; To widen the discussion.<br>
&gt;<br>
&gt; I think there was no discussion yet if the serialisation format should<br>
&gt;<br>
&gt; a) be a binary format<br>
&gt; b) a text format<br>
&gt; c) or that we need both.<br>
&gt;<br>
&gt; The prominent use case is saving and loading of projects, see thread<br>
&gt;<br>
&gt; &#39;Vaidotas, Squeak 5.1 saving of Morphic projects is broken&#39;<br>
&gt;<br>
&gt; and the SISS thread.<br>
&gt;<br>
&gt; Speed of course is an issue.<br>
&gt; But then as well portability between different versions of images.<br>
&gt;<br>
&gt; If the question is put as<br>
&gt;<br>
&gt; Which serialisation format should succeed image segments then then the<br>
&gt; choice is probably limited to<br>
&gt;<br>
&gt; - Fuel<br>
&gt; - Ma Serializer<br>
&gt;<br>
&gt;<br>
&gt; On 8/31/16, Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:<br>
&gt;&gt; I would, of course, love for Ma Serializer to be considered.  Its<br>
&gt;&gt; mature and proven, and has a lot of hooks and I just know the scrutiny<br>
&gt;&gt; and brilliance of this community would benefit it tremendously, and<br>
&gt;&gt; since Magma uses it, would make Magma fundamentally better, too.<br>
&gt;&gt;<br>
&gt;&gt; The Fuel hysteria appears to have already garnered everyone&#39;s vote<br>
&gt;&gt; before I saw this thread to get myself on the ballot..    I once took<br>
&gt;&gt; at look at trying to use Fuel for Magma, but its much too limited (and<br>
&gt;&gt; not nearly as much faster than Ma Serializer as reported in the Fuel<br>
&gt;&gt; paper).  Its is good for UC1) Save an object and UC2) Load an object,<br>
&gt;&gt; but not much else.  :(<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Aug 31, 2016 at 6:40 AM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Aug 31, 2016, at 11:14 AM, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wednesday, 31 August 2016, H. Hirzel &lt;<a href="mailto:hannes.hirzel@gmail.com">hannes.hirzel@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; We might consider JSON or Fuel might as well options for a format to<br>
&gt;&gt;&gt;&gt; save projects (with ImageMorphs, Browsers, Workspaces, BookMorphs for<br>
&gt;&gt;&gt;&gt; example).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If someone wants to take a serious look I&#39;d suggest Fuel. Being a<br>
&gt;&gt;&gt; replacement for ImageSegments was one of its design goals, if I remember<br>
&gt;&gt;&gt; correctly.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; +1.  It also has a very performant architecture.  It is very similar to<br>
&gt;&gt;&gt; VW&#39;s<br>
&gt;&gt;&gt; parcel format which priced to be significantly faster than other formats<br>
&gt;&gt;&gt; at<br>
&gt;&gt;&gt; PPD.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - Bert -<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>