hi,<div><br></div><div>I&#39;ve done a very simple test, and it works fine!</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://vimeo.com/37914564">https://vimeo.com/37914564</a><br>
<br><div class="gmail_quote">On 4 March 2012 15:45, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com">reduzent@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">
<div class="im">On Sat, 2012-03-03 at 22:27 -0800, Hans-Christoph Steiner wrote:<br>
<br>
&gt; I would prefer that you use a different name unless you are interested<br>
&gt; in providing strict compatibility with the current Pduino.<br>
<br>
</div>Yes, actually I&#39;m interested.<br>
<div class="im"><br>
&gt;   Things like using namespace prefixes are one example of<br>
&gt; compatibility that it sounds like you are not interested in, for<br>
&gt; example.<br>
<br>
</div>There is a conflict: Either it works only in Pd-extended setups, or you<br>
loose the advantage of using namespace prefixes. I solved that conflict<br>
by not using [makesymbol] at all.<br>
<br>
Some words about that particular case:<br>
Actually [zexy/makesymbol] wasn&#39;t ever used in [arduino], only in<br>
arduino-help.pd . There it&#39;s used to display the Firmware version in a<br>
GOP cnv object -&gt; [zexy/makesymbol firmata_%s.%s]. This can be safely<br>
replaced nowadays by [symbol firmata_$1.$2(. However, I didn&#39;t even use<br>
that, because I thought it would be useful to display the whole Firmata<br>
specification there, not only the protocol version. It now displays<br>
something like:<br>
<br>
StandardFirmata 2 3<br>
<br>
and it does so with only using vanilla classes. Let me point that<br>
[arduino] itself is not all affected by this.<br>
<div class="im"><br>
&gt; Pduino deliberately uses namespace prefixes because that&#39;s currently<br>
&gt; the only way to guarantee the correct object is being loaded.<br>
<br>
</div>Agreed.<br>
<div class="im"><br>
&gt;  Using [declare -lib zexy]  [makesymbol] does not currently guarantee<br>
&gt; that (tho it should).<br>
<br>
</div>Yeah, I also agree that it should.<br>
<br>
Please, tell me about your further constraints, if there are any, and<br>
I&#39;ll see how I can comply with them.<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
&gt; On Mar 3, 2012, at 6:47 AM, Roman Haefeli wrote:<br>
&gt;<br>
&gt; &gt; Hi Hans<br>
&gt; &gt;<br>
&gt; &gt; On Fri, 2012-03-02 at 08:55 -0800, Hans-Christoph Steiner wrote:<br>
&gt; &gt;&gt; I&#39;m happy to see you working on this.  Since you are making a new<br>
&gt; &gt;&gt; version, perhaps it makes sense to change the names.  Like maybe it<br>
&gt; &gt;&gt; makes sense to change the object from [arduino] to [firmata]?  That&#39;s<br>
&gt; &gt;&gt; something I thought about doing in the past.  This would also make it<br>
&gt; &gt;&gt; easier for testers going forward because they could keep the old<br>
&gt; &gt;&gt; Pduino installed and also use your new library.  I suppose then the<br>
&gt; &gt;&gt; library would be called something besides Pduino too.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; But if you want to keep those names, that&#39;s fine by me.<br>
&gt; &gt;<br>
&gt; &gt; Actually, I prefer not to host a separate version/fork. I think the<br>
&gt; &gt; design of the protocol and its implementation in [arduino] is solid and<br>
&gt; &gt; I haven&#39;t messed at all with it. Our efforts for [arduino] were mainly<br>
&gt; &gt; focused on smallish issues with usability and portability. Our plans are<br>
&gt; &gt; to eventually push it into Debian as pd-arduino. For that goal, some<br>
&gt; &gt; changes like getting rid of name-spaced objects (for instance:<br>
&gt; &gt; [zexy/makesymbol], doesn&#39;t work in Debian with pd-zexy) and some other<br>
&gt; &gt; stuff were necessary. Plus, it got a bug fixed Ingo discovered a while<br>
&gt; &gt; ago. Still, the overall changes to [arduino] itself are rather smallish<br>
&gt; &gt; and I wouldn&#39;t expect any severe bugs. Also, I think we tested it quite<br>
&gt; &gt; well.<br>
&gt; &gt;<br>
&gt; &gt; The main effort, however, went into documentation and [arduino-gui] and<br>
&gt; &gt; to figure out the tiny details and differences between the several<br>
&gt; &gt; Firmata versions around in order to make the help-patch consistent as<br>
&gt; &gt; documentation and [arduino-gui] consistent in its behaviour.  I consider<br>
&gt; &gt; the updated help-patch a significant improvement (in that it covers all<br>
&gt; &gt; features of the firmware, is clear in which pin supports which mode,<br>
&gt; &gt; explains the differences in different firmware versions) and I wouldn&#39;t<br>
&gt; &gt; see a reason to keep to old one living.<br>
&gt; &gt;<br>
&gt; &gt; Personally, I&#39;d much prefer not to host a separate fork and I am all for<br>
&gt; &gt; joining forces, not separating them. With your consent, I&#39;d like to push<br>
&gt; &gt; the new version to the svn repository. We could wait to do so, until we<br>
&gt; &gt; got some positive reports from a few people, of course. There is really<br>
&gt; &gt; no hurry.  Also, I&#39;d take responsibility for any issues and bugs related<br>
&gt; &gt; to Pduino (if that is what you want; I don&#39;t plan any &#39;hostile<br>
&gt; &gt; take-over&#39;).<br>
&gt; &gt;<br>
&gt; &gt; Finally, if we eventually agree on merging our git Pduino with the<br>
&gt; &gt; official pd-svn/externals/hardware/arduino, I&#39;d like to bump the Pduino<br>
&gt; &gt; version to the Firmata version. As I understand, [arduino] is a plain<br>
&gt; &gt; implementation of the Firmata protocol, not less, not more. I think it<br>
&gt; &gt; would make sense to reflect the version of the protocol it implements in<br>
&gt; &gt; its own version. We could still add a bug-fix number, so changes to<br>
&gt; &gt; [arduino] without switching the prococol version could be reflected.<br>
&gt; &gt; Something like<br>
&gt; &gt;<br>
&gt; &gt; 2.3.1<br>
&gt; &gt; | | |<br>
&gt; &gt; | | Pduino bugfix version<br>
&gt; &gt; | protocol minor version<br>
&gt; &gt; protocol major version<br>
&gt; &gt;<br>
&gt; &gt; What do you think?<br>
&gt; &gt;<br>
&gt; &gt; Roman<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------------<br>
&gt;<br>
&gt; &quot;[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.&quot;        -John Gilmore<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jordi Sala<br><a href="http://musa.poperbu.net">http://musa.poperbu.net</a><br>
</div>