<div dir="ltr">Hi Laura, Hi Balloon Plugin Experts,<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 16, 2016 at 10:15 AM, Laura Perez Cerrato <span dir="ltr">&lt;<a href="mailto:lauraperezcerrato@gmail.com" target="_blank">lauraperezcerrato@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"><br>
I thought I&#39;d share how things are coming along since the other day,<br>
since you&#39;ve all been so welcoming :) First of all, thanks for that!<br>
As a newbie VM developer you&#39;ve been of so much help.<br>
<br>
After loading the fix Elliot uploaded earlier, everything seems to be<br>
working as expected. A debbuger pops up whenever a redraw is issued<br>
(from my understanding), displaying the message &quot;Error: inconsistent<br>
values: 2047 vs 0&quot;, which is triggered by calling BalloonArray&gt;&gt;at:.<br>
However, I&#39;ve noticed that there&#39;s a comment in that message stating<br>
&quot;Debug only...&quot; on top of the error block, so I guess everything&#39;s<br>
working fine. Proceeding performs the redraw accordingly. So, besides<br>
this minor annoyance, the simulator seems to be working ok.<br></blockquote><div><br></div><div>Yes, I don&#39;t understand the Balloon simulation code enough to be able to fix this.  It has been a persistent annoyance.  I encourage anyone who does understand the code to take a look.  As I understand it there is an Array of floats in the plugin whose values should mirror an array of floating-point values in the simulated heap, and that inconsistencies arise because of bugs in the simulation code.  But as I say I don&#39;t understand the code well enough to fix it.  If you do have expertise here we can try and help you reproduce an example by simulating a specific image.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;ve also tried generating the source for JPEGReadWriter2 only using<br>
the snippet provided in one of the workspaces and compiling the<br>
resulting sources; which also seems to be working accordingly.<br>
<br>
I&#39;ve noticed that building the Spur VMMaker image by means of the<br>
scripts provided now fails when trying to automatically load all the<br>
necessary packages to have a working VM simulation environment: when<br>
initializing the last version of OSProcess, a debugger pops up<br>
alerting that primitiveChangeClassTo: failed. Proceeding seems to<br>
continue the package loading without further issues. On first starting<br>
the image, the same debugger pops up. Proceeding then again seems to<br>
have no effect in the things I&#39;ve tried so far.<br></blockquote><div><br></div><div>Ah, this is a V3 issue.  I&#39;m sure that the same code won&#39;t fail under Spur, which has a more general change-class primitive.  Can you post the stack of the failure?  Perhaps there&#39;s a different way to implement it under V3.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;ll now work on trying to debug my modifications to the plugin from<br>
the VM simulator.<br>
<br>
I also thought I&#39;d share a bit more about the project I&#39;m working on.<br>
I&#39;m working with Juan at Satellogic on satellite imagery processing.<br>
As we mostly work with 8-bit deep images and currently the plugin only<br>
supports writing 32-bit deep images to disk, we found adding support<br>
for such a feature would come handy in time.<br></blockquote><div><br></div><div>Cool!</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My apologies if my messages seem odd; I&#39;m not used to participating in<br>
mailing lists. I hope I can contribute something more valuable in the<br>
future :)<br></blockquote><div><br></div><div>Don&#39;t downplay your contribution.  Simply being involved and using the simulator for development is a big step that few developers attempt.  You&#39;re very welcome and your contribution is much appreciated.  Thank you.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-Laura Perez Cerrato<br>
<br>
<br>
On 12 May 2016 at 12:23, Laura Perez Cerrato<br>
<div class="HOEnZb"><div class="h5">&lt;<a href="mailto:lauraperezcerrato@gmail.com">lauraperezcerrato@gmail.com</a>&gt; wrote:<br>
&gt; Craig,<br>
&gt; Thanks for the offering! If you could point me in the right direction<br>
&gt; in order to take this approach I&#39;d greatly appreciate it. Is there any<br>
&gt; documentation available on the subject?<br>
&gt;<br>
&gt; -Laura Perez Cerrato<br>
&gt;<br>
&gt;<br>
&gt; On 12 May 2016 at 10:23, Craig Latta &lt;<a href="mailto:craig@blackpagedigital.com">craig@blackpagedigital.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi--<br>
&gt;&gt;<br>
&gt;&gt;      Eliot writes:<br>
&gt;&gt;<br>
&gt;&gt;&gt; The system is designed for one to be able to Instantiate a plugin and<br>
&gt;&gt;&gt; use it in objects in the current image by using an InterpreterProxy<br>
&gt;&gt;&gt; instance to interface the plugin code with ordinary Smalltalk<br>
&gt;&gt;&gt; objects.  But I&#39;ve never done this so I can&#39;t help.  Perhaps<br>
&gt;&gt;&gt; someone with experience of dong this can provide help.<br>
&gt;&gt;<br>
&gt;&gt;      I&#39;ve done this, for network access used by remote messaging between<br>
&gt;&gt; two simulators on different machines (or a simulator and a normal<br>
&gt;&gt; system). I originally took the LargeIntegerPlugin simulator support as<br>
&gt;&gt; my example, but have worked with this technique extensively since then.<br>
&gt;&gt; Laura, I&#39;d be happy to help if you&#39;d like.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;      thanks,<br>
&gt;&gt;<br>
&gt;&gt; -C<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Craig Latta<br>
&gt;&gt; Black Page Digital<br>
&gt;&gt; Amsterdam<br>
&gt;&gt; <a href="mailto:craig@blackpagedigital.com">craig@blackpagedigital.com</a><br>
&gt;&gt; <a href="tel:%2B31%20%20%206%202757%207177" value="+31627577177">+31   6 2757 7177</a> (SMS ok)<br>
&gt;&gt; <a href="tel:%2B%201%20415%20%20287%203547" value="+14152873547">+ 1 415  287 3547</a> (no SMS)<br>
&gt;&gt;<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>