OK, the mini-conference happened - thanks for trying to let off-siters like me participate. Here&#39;s the Gobby doc which resulted, below are my post-meeting comments:<br><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">Activity sharing:</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">* Should we show people what the size/download time for a package is before d/l?</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">* We might download something more readily if it&#39;s coming from a friend.</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; * Michael:&nbsp; Trusting a friend isn&#39;t the same as trusting code coming from</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp;&nbsp;&nbsp; that friend.</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">Ben:&nbsp; The only security question is whether it&#39;s safe to *replace* an activity</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; with a new one.&nbsp; Bitfrost guarantees that running untrusted code is safe.</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">Scott:&nbsp; You can always modify code, but you have to give it a new name.</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">Michael:&nbsp; Making something default is a separate UI action from downloading it.</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">Should distinguish between activities by their hashes; version numbers shouldn&#39;t</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">be used for equality.</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">homunq: unsigned versions should obviously not get the same preference directory.</span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">proposals for naming:</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; * centralized registry, e.g. <a href="http://microsoft.com">microsoft.com</a></span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; * mstone:&nbsp; first person to get there owns the space (and others get &quot;another version of %s&quot;)</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; * each activity has a random guid for &quot;same activity&quot; and ...</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; </span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; <a href="http://wiki.laptop.org/go/Talk:Activity_bundles#A_proposal_for_Activity_Signing">http://wiki.laptop.org/go/Talk:Activity_bundles#A_proposal_for_Activity_Signing</a></span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; </span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">How to put related activities together?</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; * group by tag</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; * add prefix in name, sort by name</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; * group by magic &quot;sortkey&quot; tag</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; decision: A and/or B as author decides.</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; </span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp; </span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">SJ:&nbsp; Attach names to the inherent identity of an activity</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">.. okay, SJ can type what he meant ;-)</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">I make a new activity, *E*.&nbsp; It gets a ¨unique¨ id, E.id and a ¨pretty unique¨ package name, ¨E¨.&nbsp; ¨E¨ is the friendly name you use locally to identify the activity.&nbsp; There is also a pretty name ued in interfaces, which is ¨E!¨ this can be translated, changed from version to versiion.</span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">when I join a larger group that has some other activity named E, I should change my public activity-name (andraelly should change the display name). Everyone can see that my ¨E¨ is differnet from the existing one, since they have different unique IDs, but to supprot simple intreface-driven updates and version selection, the friendly package name should change. </span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">aside: there is some confusion about the hisotrical and practical use of sortkeys.&nbsp; this is some piece of metadata that an author can acontribuet, which will help to sort a cluster of related activities with one another.</span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">similarly, which activities appear nextto which other ones in the circle view is improtnt.&nbsp;&nbsp; note - this is NOT aout ¨favorites¨.</span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">Grouping&nbsp;&nbsp; Version&nbsp;&nbsp; Identity</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; P&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10&nbsp;&nbsp;&nbsp;&nbsp; X</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp;&nbsp; \- P&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp;&nbsp;&nbsp; O&nbsp; &lt;-- change in ownership</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">&nbsp; N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp; X</span><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">&nbsp;&nbsp; \- N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp;&nbsp;&nbsp; X</span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">Eben:&nbsp; Use tags to support grouping, e.g. &quot;tamtam&quot; or &quot;mamamedia&quot; or &quot;draw&quot;</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">Scott: Localisation of tags is hard.</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">note : having ¨signed¨ versions of activities, and the ecure model, is not necesarily relevant to lots of activities and use caes.&nbsp; we should support identifying versions that claim to e of the same underlying activity, and claimed merges and forks, without worrying about keys and signing.</span><br style="background-color: rgb(102, 255, 255);">
<br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);"><span style="background-color: rgb(102, 255, 255);">THINGS ABOUT WHICH THERE IS NOT CONSENSUS.</span><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">how to bulk update a set of activities soeveryone in a room has the same version</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">update on share?&nbsp; is this a good idea?&nbsp; how would it work in ui?</span><br style="background-color: rgb(102, 255, 255);"><br style="background-color: rgb(102, 255, 255);">
<span style="background-color: rgb(102, 255, 255);">push updates - is this a good idea? how would it work?</span><br style="background-color: rgb(102, 255, 255);"><br>My post-meeting comments:<br><br>1. for &quot;version threading&quot;, what we need for an activity is not a claim like &quot;I am a version of activity ID XXXX&quot; but &quot;My prior version was XXX and the one before that was YYY&quot;. What is the granularity of XXX and YYY? I&#39;d say, a hash on the <a href="http://activity.info">activity.info</a> would be fine - that way, version changes are automatically picked up, but not every change in the source code. If, later, <a href="http://activity.info">activity.info</a> picks up some elements which are too volatile (thus leading to unnecessarily-long geneologies), we could filter those out before hashing. Note that this is totally orthogonal to whether an activity version is signed by the original devteam, and yet allows for forks to become independent without fighting over who is the &quot;real pippy org.laptop.XYZ1FFE3&quot;. I submit that merges are unnecessary.<br>
<br>2. If we get the version threads right, then the auto-update on sharing becomes safer. I still don&#39;t understand who has to sign to avoid a break in the ownership chain - I would presume a given set of maintainer/developers, and I would presume that there would be some way for the group to change over time - but those details can be worked out.<br>
<br>3. For &quot;push updates&quot; and &quot;school versions&quot;, I would presume you&#39;d in some manner beyond the scope of this discussion get an xo bundle (or a bundle of bundles), the only problem here is how to install it and mark it as the official school version. Stated like that, it seems to be obviously a problem of tagging. How do you securely tag documents you receive from external sources? I&#39;d say that only signed tags should be allowed to move from one XO to another, and that it should be possible to have a filter which automatically pushes activity versions with &quot;tag X signed by entity Y&quot; to the front of the line, or even into the activity donut. This filter would be user-modifiable, but the default filter could be to trust the signature of your school server; thus, the 99% of kids who didn&#39;t bother with that would automatically and painlessly use the official school version.<br>
<br>Jameson<br><br style="background-color: rgb(102, 255, 255);"><br>&nbsp;<br><div class="gmail_quote">On Tue, Mar 25, 2008 at 3:31 PM, Eben Eliason &lt;<a href="mailto:eben.eliason@gmail.com">eben.eliason@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">After just a couple well considered responses, it seems that this<br>
might be another topic worthy of some time under the spotlight at the<br>
mini-conference. &nbsp;I copied both of these great responses to my initial<br>
email below, just to make sure they remain for everyone to reference.<br>
I trust that you can faithfully reconstruct my initial proposal and<br>
questions from the responses.<br>
<br>
- Eben<br>
<br>
<br>
On Tue, Mar 25, 2008 at 4:02 PM, Benjamin M. Schwartz<br>
&lt;<a href="mailto:bmschwar@fas.harvard.edu">bmschwar@fas.harvard.edu</a>&gt; wrote:<br>
&gt; On Tue, 2008-03-25 at 13:46 -0400, Eben Eliason wrote:<br>
&gt; &nbsp;&gt; Naturally, there are some security concerns, but those could be easily<br>
&gt; &nbsp;&gt; addressed, I believe, with the usual signing mechanisms. &nbsp;Updates to<br>
&gt; &nbsp;&gt; activities would only be transparent if the update was signed, etc.<br>
&gt;<br>
&gt; &nbsp;I agree. &nbsp;For a first implementation, only basic signing is required.<br>
&gt; &nbsp;Eventually, we may have activities written by teams of children in which<br>
&gt; &nbsp;new members come and go, and the projects occasionally fork. &nbsp;This<br>
&gt; &nbsp;requires a more complex signing/upgrade system. &nbsp;I sketched one proposal<br>
&gt; &nbsp;at [1]; it is not perfect.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; The bigger question is really determining how to make the whole<br>
&gt; &nbsp;&gt; transfer process work smoothly in these cases. &nbsp;Can we use a torrent<br>
&gt; &nbsp;&gt; model to make it easy to get activities from the mesh, even as people<br>
&gt; &nbsp;&gt; come and go on an unreliable network?<br>
&gt;<br>
&gt; &nbsp;For a first implementation, this is not necessary. &nbsp;Most Activity<br>
&gt; &nbsp;Bundles (.xo&#39;s) are about 100 KB or less. &nbsp;Over a direct mesh link,<br>
&gt; &nbsp;transferring small bundles takes about a second. &nbsp;Only with very large<br>
&gt; &nbsp;activities, and very bad links, will simple transfers be insufficient.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; Can we transfer it directly<br>
&gt; &nbsp;&gt; from someone who is in the activity we join?<br>
&gt;<br>
&gt; &nbsp;This seems the simplest solution.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; If so, can we still ask<br>
&gt; &nbsp;&gt; the next activity participant for the remainder if the first one<br>
&gt; &nbsp;&gt; leaves?<br>
&gt;<br>
&gt; &nbsp;Yes. &nbsp;However, for a first implementation, the download should probably<br>
&gt; &nbsp;just restart. &nbsp;This optimization will only be important for activities<br>
&gt; &nbsp;with exceptionally high turnover.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; As there has been interest expressed in developing basic OS<br>
&gt; &nbsp;&gt; integrated object transfer as a GSoC project, I wonder if those<br>
&gt; &nbsp;&gt; efforts could also be applied to this problem, or if this should be<br>
&gt; &nbsp;&gt; offered as another distinct project alternative.<br>
&gt;<br>
&gt; &nbsp;Current implementations of file transfer (Read, and therefore<br>
&gt; &nbsp;Distribute) work by getting a Stream Tube from Telepathy, and then<br>
&gt; &nbsp;running a HTTP server on this tube. &nbsp;Any near-term implementation of<br>
&gt; &nbsp;transferring Journal Entry Bundles or Activity Bundles is likely to use<br>
&gt; &nbsp;the same mechanism.<br>
&gt;<br>
&gt; &nbsp;This works, and will work for the proposed case. &nbsp;For the future, I see<br>
&gt; &nbsp;file transfer as precisely the sort of thing that should be handled<br>
&gt; &nbsp;internally to Telepathy. &nbsp;Perhaps Telepathy should implement XEP-0234<br>
&gt; &nbsp;(file transfer)[2] or even XEP-0214 (file sharing)[3].<br>
&gt;<br>
&gt; &nbsp;&gt; What do people think?<br>
&gt;<br>
&gt; &nbsp;I think it would not be too hard, and should definitely be on the to-do<br>
&gt; &nbsp;list. &nbsp;It would be a major user-visible milestone in the journey toward<br>
&gt; &nbsp;Complete Sugar. &nbsp;There are several things that have to happen first:<br>
&gt;<br>
&gt; &nbsp;1. Basic activity signing.<br>
&gt; &nbsp;2. Pushing SVG files through Presence, so that I can see the icon in the<br>
&gt; &nbsp;mesh for an activity I don&#39;t have.<br>
&gt; &nbsp;3. Sane activity storage:<br>
&gt; &nbsp;What if the shared session is a newer version of an installed activity,<br>
&gt; &nbsp;but it&#39;s been modified by someone other than the original author? &nbsp;I<br>
&gt; &nbsp;should then be able to join, but it should be treated as a new activity,<br>
&gt; &nbsp;not an upgrade, even though it has the same name. &nbsp;This means we need an<br>
&gt; &nbsp;activity storage mechanism that can handle multiple activities with the<br>
&gt; &nbsp;same name.<br>
&gt;<br>
&gt; &nbsp;Also, all installed .xo bundles must be kept around, or Sugar must be<br>
&gt; &nbsp;able to reconstitute them on demand without invalidating the signatures.<br>
&gt;<br>
&gt; &nbsp;--Ben<br>
&gt;<br>
&gt; &nbsp;[1] <a href="http://lists.laptop.org/pipermail/security/2007-December/000341.html" target="_blank">http://lists.laptop.org/pipermail/security/2007-December/000341.html</a><br>
&gt; &nbsp;[2] <a href="http://www.xmpp.org/extensions/xep-0234.html" target="_blank">http://www.xmpp.org/extensions/xep-0234.html</a><br>
&gt; &nbsp;[3] <a href="http://www.xmpp.org/extensions/xep-0214.html" target="_blank">http://www.xmpp.org/extensions/xep-0214.html</a><br>
&gt;<br>
&gt;<br>
<br>
On Tue, Mar 25, 2008 at 3:40 PM, Michael Stone &lt;<a href="mailto:michael@laptop.org">michael@laptop.org</a>&gt; wrote:<br>
&gt; Eben,<br>
&gt;<br>
&gt; &nbsp;I&#39;ve got more questions than answers for you, but perhaps my smaller<br>
&gt; &nbsp;questions will make the overall problem easier to analyze.<br>
&gt;<br>
&gt; &nbsp;Michael<br>
&gt;<br>
&gt; &nbsp;Questions:<br>
&gt;<br>
&gt; &nbsp;First, how will we discover that a code exchange is needed?<br>
&gt;<br>
&gt; &nbsp; Three straw-man options include:<br>
&gt;<br>
&gt; &nbsp; a) include adequate information in a presence notification or in a<br>
&gt; &nbsp; &nbsp; &nbsp;resource discovery URL [1] to permit us to calculate decide<br>
&gt; &nbsp; &nbsp; &nbsp;protocol compatibility<br>
&gt;<br>
&gt; &nbsp; [1]: <a href="http://lists.laptop.org/pipermail/devel/2008-February/011108.html" target="_blank">http://lists.laptop.org/pipermail/devel/2008-February/011108.html</a><br>
&gt;<br>
&gt; &nbsp; b) add a new handshake to the &quot;join a shared instance&quot; protocol to<br>
&gt; &nbsp; &nbsp; &nbsp;establish this information.<br>
&gt;<br>
&gt; &nbsp; c) leave it up to the activity to figure out (perhaps with assistance<br>
&gt; &nbsp; &nbsp; &nbsp;from a system service or library)<br>
&gt;<br>
&gt; &nbsp;Next, let us assume that a code or data exchange is necessary in order<br>
&gt; &nbsp;to provide protocol compatibility. How do I figure out what bits are<br>
&gt; &nbsp;needed? How do I figure out where to go in order to get the requisite<br>
&gt; &nbsp;bits?<br>
&gt;<br>
&gt; &nbsp; I think it would be wise to add some indirection here so that people<br>
&gt; &nbsp; who are not in physical proximity can acquire the bits from low-cost<br>
&gt; &nbsp; sources when possible and to fall back on direct exchange of bits when<br>
&gt; &nbsp; necessary. Also so that we can extend the bit-acquiry software with<br>
&gt; &nbsp; new protocols as they become available.<br>
&gt;<br>
&gt; &nbsp; (For a first draft, we might as well copy Read&#39;s use of<br>
&gt; &nbsp; HTTP-over-Tubes, since it&#39;s already conveniently available to us.)<br>
&gt;<br>
&gt; &nbsp; NB: If we ever want to imagine running Sugar on platforms other than<br>
&gt; &nbsp; XOs, (or even between XOs running significantly different builds),<br>
&gt; &nbsp; then we&#39;d better consider system-dependency issues up front. (We can<br>
&gt; &nbsp; ignore this question temporarily while doing feasibility studies on<br>
&gt; &nbsp; our own platform, but if this idea is going to rock the world like I<br>
&gt; &nbsp; want it to, then we need to think early on about giving the humans<br>
&gt; &nbsp; operating our technology access to information adequate to debug and<br>
&gt; &nbsp; work around incompatibilities between their respective systems.)<br>
&gt;<br>
&gt; &nbsp;After acquiring the bits, there&#39;s a small question of what to do with<br>
&gt; &nbsp;them. Do they go into the Journal as a new entry? Are they immediately<br>
&gt; &nbsp;unpacked alongside the user&#39;s other activities? If so, do they<br>
&gt; &nbsp;obscure older versions of the same activity? Should the older version be<br>
&gt; &nbsp;removed?<br>
&gt;<br>
&gt; &nbsp; I&#39;m particularly concerned by Pippy-generated bundles here because<br>
&gt; &nbsp; they seem like they might be particularly subject to edit wars simply<br>
&gt; &nbsp; by being so easy to create and modify! (Should Pippy-generated bundles<br>
&gt; &nbsp; &quot;stake claims&quot; to their names in the fashion proposed in [2]?)<br>
&gt;<br>
&gt; &nbsp; [2]: <a href="http://dev.laptop.org/git?p=users/krstic/installer;a=tree" target="_blank">http://dev.laptop.org/git?p=users/krstic/installer;a=tree</a>;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; Naturally, there are some security concerns, but those could be easily<br>
&gt; &nbsp;&gt; addressed,<br>
&gt;<br>
&gt; &nbsp;They are far from &quot;easily&quot; addressed, but there&#39;s a good argument that<br>
&gt; &nbsp;they&#39;re _worth_ addressing because, in my opinion, easy and safe code<br>
&gt; &nbsp;sharing is one of the most attractive UI goals of our project!<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; I believe, with the usual signing mechanisms. &nbsp;Updates to<br>
&gt; &nbsp;&gt; activities would only be transparent if the update was signed, etc.<br>
&gt;<br>
&gt; &nbsp;Information assurance mechanisms primarily deal with spoofing attacks<br>
&gt; &nbsp;and network hanky-panky. Isolation mechanisms are what we&#39;re using to<br>
&gt; &nbsp;make it generally safer to run code, regardless of whether we know where<br>
&gt; &nbsp;it came from. Both are necessary to make this &quot;easy code sharing&quot; policy<br>
&gt; &nbsp;more safe to pursue.<br>
_______________________________________________<br>
Sugar mailing list<br>
<a href="mailto:Sugar@lists.laptop.org">Sugar@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/sugar" target="_blank">http://lists.laptop.org/listinfo/sugar</a><br>
</blockquote></div><br>