<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"><<a href="mailto:lauraperezcerrato@gmail.com" target="_blank">lauraperezcerrato@gmail.com</a>></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'd share how things are coming along since the other day,<br>
since you've all been so welcoming :) First of all, thanks for that!<br>
As a newbie VM developer you'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 "Error: inconsistent<br>
values: 2047 vs 0", which is triggered by calling BalloonArray>>at:.<br>
However, I've noticed that there's a comment in that message stating<br>
"Debug only..." on top of the error block, so I guess everything'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'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'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'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'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've tried so far.<br></blockquote><div><br></div><div>Ah, this is a V3 issue. I'm sure that the same code won't fail under Spur, which has a more general change-class primitive. Can you post the stack of the failure? Perhaps there'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'll now work on trying to debug my modifications to the plugin from<br>
the VM simulator.<br>
<br>
I also thought I'd share a bit more about the project I'm working on.<br>
I'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'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't downplay your contribution. Simply being involved and using the simulator for development is a big step that few developers attempt. You'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"><<a href="mailto:lauraperezcerrato@gmail.com">lauraperezcerrato@gmail.com</a>> wrote:<br>
> Craig,<br>
> Thanks for the offering! If you could point me in the right direction<br>
> in order to take this approach I'd greatly appreciate it. Is there any<br>
> documentation available on the subject?<br>
><br>
> -Laura Perez Cerrato<br>
><br>
><br>
> On 12 May 2016 at 10:23, Craig Latta <<a href="mailto:craig@blackpagedigital.com">craig@blackpagedigital.com</a>> wrote:<br>
>><br>
>><br>
>> Hi--<br>
>><br>
>> Eliot writes:<br>
>><br>
>>> The system is designed for one to be able to Instantiate a plugin and<br>
>>> use it in objects in the current image by using an InterpreterProxy<br>
>>> instance to interface the plugin code with ordinary Smalltalk<br>
>>> objects. But I've never done this so I can't help. Perhaps<br>
>>> someone with experience of dong this can provide help.<br>
>><br>
>> I've done this, for network access used by remote messaging between<br>
>> two simulators on different machines (or a simulator and a normal<br>
>> system). I originally took the LargeIntegerPlugin simulator support as<br>
>> my example, but have worked with this technique extensively since then.<br>
>> Laura, I'd be happy to help if you'd like.<br>
>><br>
>><br>
>> thanks,<br>
>><br>
>> -C<br>
>><br>
>> --<br>
>> Craig Latta<br>
>> Black Page Digital<br>
>> Amsterdam<br>
>> <a href="mailto:craig@blackpagedigital.com">craig@blackpagedigital.com</a><br>
>> <a href="tel:%2B31%20%20%206%202757%207177" value="+31627577177">+31 6 2757 7177</a> (SMS ok)<br>
>> <a href="tel:%2B%201%20415%20%20287%203547" value="+14152873547">+ 1 415 287 3547</a> (no SMS)<br>
>><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>