<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2014 01:42, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><div style="word-wrap:break-word">Hey Igor, why so grumpy? Had a bad day? ;^)<div><br></div></div></blockquote><div>Nope, just a reality check. <br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div><div>Comments inline.<br><div><br><div><div><div>On 17.11.2014, at 01:03, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 16 November 2014 20:56, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br>Oh, btw, I think SqueakJS is getting near where I would call it &quot;reasonably complete&quot;.<br>
<br>
It is now much simpler to experiment with your own images: Give it a try at<br>
<br>
        <a href="http://bertfreudenberg.github.io/SqueakJS/run/" target="_blank">http://bertfreudenberg.github.io/SqueakJS/run/</a><br>
<br>
I have not made it load Spur images, nor 64 bit ones, but everything else should pretty much work. As long as it doesn&#39;t need more than these plugins:<br>
<br>
* ADPCMCodecPlugin<br>
* B2DPlugin<br>
* BitBltPlugin<br>
* FFTPlugin<br>
* FilePlugin<br>
* FloatArrayPlugin<br>
* GeniePlugin<br>
* JPEGReadWriter2Plugin<br>
* JPEGReaderPlugin<br>
* KedamaPlugin<br>
* KedamaPlugin2<br>
* Klatt<br>
* LargeIntegers<br>
* Matrix2x3Plugin<br>
* MiscPrimitivePlugin<br>
* ScratchPlugin<br>
* SecurityPlugin<br>
* SoundGenerationPlugin<br>
* SoundPlugin<br>
* StarSqueakPlugin<br>
* ZipPlugin<br>
<br></blockquote><div>someone someday should really revise this list.<br></div></div></div></div></blockquote><div><br></div><div>If there is a good reason, sure.</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>- zip plugin, using years old version of zlib , that statically linked with VM,<br>instead of linking with one, provided by a system (a recommended way, btw)<br></div></div></div></div></blockquote><div><br></div><div>You&#39;re quite mistaken. All of these are *JavaScript* plugins. I couldn&#39;t even link it to zlib if I wanted.</div><div><br></div><div>And even in the C VM this plugin doesn&#39;t link to anything. It&#39;s implemented in pure Slang.</div></div></div></div></div></div></blockquote><div><br></div><div>then why we have a dusty copy of zlib source code in VM sources?<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>- same goes to JPEG plugins, again statically linking with years old version of jpeg library</div></div></div></div></blockquote><div><br></div><div>Nope. JPEGReaderPlugin does not link to anything, it&#39;s pure Smalltalk.</div><div><br></div><div>And my JPEGReadWriter2Plugin does not link to an &quot;old version of jpeg&quot;. It uses the HTML5 Blob+Image+Canvas API to decode the JPEG data:</div><div><br></div><div><span style="white-space:pre-wrap">        </span><a href="https://github.com/bertfreudenberg/SqueakJS/blob/619c8f963/vm.js#L5636" target="_blank">https://github.com/bertfreudenberg/SqueakJS/blob/619c8f963/vm.js#L5636</a></div><div><br></div><div>That said I totally agree that the C VM should use the system&#39;s JPEG decoder. Luckily nothing on the image-side cares about how the decoding works. Heck, I made it work *in JavaScript* without touching a single line of code in the image. The plugin interface can be implement any way you like, and it can link dynamically to anything you like. Just do it.</div><div><br></div></div></div></div></div></div></blockquote><div><br></div><div>. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><div><div></div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>- some plugins are not used at all, for instance i never heard any discussions (being in mailing lists since 2006 )<br>related to use of things like Klatt,</div></div></div></div></blockquote><div><br></div><div>There is nothing to discuss. It&#39;s implemented in pure Slang. I tested it, it works. Speech Synthesis is cool.</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> or Genie</div></div></div></div></blockquote><div><br></div><div>Just because *you* don&#39;t have a need for a gesture recognizer doesn&#39;t mean it&#39;s useless.</div><br></div></div></div></div></div></blockquote><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> or StarSqueak or Kedama, except ones, discussing compilation of these plugins.</div></div></div></div></blockquote><div><br></div><div>Kedama2 is used in Etoys. Simulating emerging behavior from tens of thousands of particles is a very valuable experience. StarSqueak and Kedam provide similar functionality for older images.</div><div><br></div><div>No doubt there are some plugins that need serious cleaning up, or a replacement (MpegPlugin anyone?), but the list I posted was specific to SqueakJS and doesn&#39;t really deserve this kind of bashing.</div><div><br></div><div>If you want to discuss how to clean up plugins for the C VM, please open a new thread.</div></div></div></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><div><div><br></div><div>Cheers!</div><div><br></div><div><div style="font-size:12px">- Bert -</div></div><div><br></div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
If something doesn&#39;t work, please report it at<br>
<br>
        <a href="https://github.com/bertfreudenberg/SqueakJS/issues" target="_blank">https://github.com/bertfreudenberg/SqueakJS/issues</a><br>
<br>
- Bert -<br></blockquote></div></div></div></blockquote></div><br><div>
<span style="border-collapse:separate;border-spacing:0px;font-family:&#39;Lucida Grande&#39;;font-size:12px"><div style="word-wrap:break-word"><div style="font-family:Helvetica"><br></div></div></span>

</div>
<br></div></div></div></div><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Best regards,<br>Igor Stasenko.</div>
</div></div>