I might be missing something obvious here, but why is FFI forbidden in Etoys? Is it a matter of security?<div><br></div><div>Regarding the &quot;generic hardware-interface plugin&quot;, I think it would be great to have something like that but don&#39;t you think the underlying platforms are very much incompatible with each other?</div>

<div><br></div><div><br><br><div class="gmail_quote">On Tue, Mar 2, 2010 at 4:32 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">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;">

<div style="word-wrap:break-word"><div><div class="im"><div>On 02.03.2010, at 01:38, Ricardo Moran wrote:</div><blockquote type="cite"><div class="gmail_quote">On Mon, Mar 1, 2010 at 6:43 PM, 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">

<div style="word-wrap:break-word"><div><div></div><div><div><div>Awesome!</div></div></div></div><div><br></div></div></blockquote><div><br></div><div>Thanks!</div><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>I assume this uses a plugin to get the data - where&#39;s the code?</div></div></blockquote><div><br></div><div>No, actually. We tried to develop this stuff using mostly Smalltalk code. For Arduino and SqueakNxt we are only using the SerialPort class. The other projects use FFI to access the libraries that do the hard work. If you&#39;re interested I can give you the links to their websites.</div>

</div></blockquote><div><br></div></div><div>Hmm, that&#39;s unfortunate. I was hoping to get this included in Etoys properly, but FFI is a no-go there. My idea was having a generic hardware-interface plugin that could input/output any number of signals (from joysticks and accelerometers over the XO&#39;s sensor port to special hardware like Scratch&#39;s PicoBoard or Phidgets etc.).</div>

<div><br></div><div>Well maybe we can at least find a common interface in Smalltalk for all the great interface-to-real-world projects ...</div><div><br></div><font color="#888888"><span style="font-family:Helvetica;font-size:12px">- Bert -</span></font></div>

<div class="im"><div><span style="font-size:12px"></span><font face="Helvetica"><br></font><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

<div style="word-wrap:break-word"><div>A lot more sensors could be added to something like this. In particular ones that are built into laptops nowadays, like accelerometers. Would you take contributions?</div>

</div></blockquote><div><br></div><div>Yes, of course! We would be very glad to accept contributions. In fact, we want to increase the list of supported hardware with everything considered worthwhile, and the sensors built into laptops seem to be a great addition.</div>



<div><br></div><div>Cheers!</div><div>Richo</div></div></blockquote></div><div><span style="border-collapse:separate;border-spacing:0px 0px;color:rgb(0, 0, 0);font-family:Lucida Grande;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:medium"><br>

</span></span>
</div>
<br></div></div><br><br>
<br></blockquote></div><br></div>