[Sugar-devel] Thoughts on Collab

2016-07-23 Thread sam
Hi All, In the irc meeting 2 nights ago, we discussed adding collaberation to the journal project feature. Abhijit has spent around 3 weeks working on it. But we can't even get a text channel between the participants. Telepathy is painful, buggy (we have a segfault in salut) and hard to de

Re: [Sugar-devel] Thoughts on Collab

2016-07-23 Thread Sebastian Silva
El 23/07/16 a las 19:36, sam@sam.today escribió: > Avahi is very fun to work with: > > avahi-publish-service "Sam P" "_org_sugarlabs_collab_user._tcp" > 8080 "name=Sam P" "color=#fff,#000" "other_metadata=other_value" > avahi-discover > > All of the backends could give us an ip and a port

Re: [Sugar-devel] Thoughts on Collab

2016-07-23 Thread sam
On Sun, Jul 24, 2016 at 2:03 PM, Sebastian Silva wrote: El 23/07/16 a las 19:36, sam@sam.today escribió: Avahi is very fun to work with: avahi-publish-service "Sam P" "_org_sugarlabs_collab_user._tcp" 8080 "name=Sam P" "color=#fff,#000" "other_metadata=other_value" avahi-discover

Re: [Sugar-devel] Thoughts on Collab

2016-07-23 Thread Sebastian Silva
Currently I can use gajim to chat to Sugar users (it will trigger a Chat activity invitation). This is the level I meant when I said "backward compatible". I don't know if python-nbxmpp or python-farstream support some sort of tube, but for sure the api won't be the same as telepathy. Those are g

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Tony Anderson
XMPP is a standard protocol (originally called jabber). Currently, collaboration is supported on the schoolserver by ejabberd. This implementation has not been changed for years AFIK. In any case, implementation of collaboration probably should be XMPP compliant to maintain maximum compatibili

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Jerry Vonau
> On July 23, 2016 at 5:36 PM sam@sam.today wrote: > > > Hi All, > > In the irc meeting 2 nights ago, we discussed adding collaberation to > the journal project feature. Abhijit has spent around 3 weeks working > on it. But we can't even get a text channel between the participants. > Tel

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Lionel Laské
/llaske/sugarizer/blob/master/server/presence.js [4] https://github.com/llaske/sugarizer/blob/master/lib/sugar-web/presence.js 2016-07-24 2:36 GMT+02:00 : > Date: Sun, 24 Jul 2016 10:36:00 +1000 > From: sam@sam.today > To: Sugar-dev Devel , Abhijit Patel > > Subject: [Sugar-dev

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Tony Anderson
The 'patch' was essentially to place every ejabberd client in the same group. AFIK, there is no strong reason not to upgrade ejabberd on the server side to a current release. I don't have the information at hand but we were working with a group with focus on collaboration who implemented the pa

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Sam Parkinson
I actually don't want to use XMPP for the new collab system. I don't care how nice the library is. Telepathy isn't the best, maybe pyxmpp2 or nbxmpp are better. But xmpp is not the right protocol for sugar. Say you want to solve problem 2 and have a shared group channel. You could use xmpp

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Sam Parkinson
24 2:36 GMT+02:00 : Date: Sun, 24 Jul 2016 10:36:00 +1000 From: sam@sam.today To: Sugar-dev Devel , Abhijit Patel Subject: [Sugar-devel] Thoughts on Collab Message-ID: <1469320560.190...@smtp.gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed"

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Tony Anderson
I'm sorry. I don't understand you. Currently collaboration in locations with a school server is done by ejabberd. This resulted from the fact that the original mesh and later ad hoc networks did not support the requirements of actual deployments. This means the software supports XMMP to connect

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Lionel Laské
[3] https://github.com/llaske/sugarizer/blob/master/server/presence.js > [4] > https://github.com/llaske/sugarizer/blob/master/lib/sugar-web/presence.js > > 2016-07-24 2:36 GMT+02:00 : > >> Date: Sun, 24 Jul 2016 10:36:00 +1000 >> From: sam@sam.today >> To: Sugar

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Sam Parkinson
On Sun, Jul 24, 2016 at 9:35 PM, Tony Anderson wrote: I'm sorry. I don't understand you. Currently collaboration in locations with a school server is done by ejabberd. This resulted from the fact that the original mesh and later ad hoc networks did not support the requirements of actual deploy

Re: [Sugar-devel] Thoughts on Collab

2016-07-24 Thread Tony Anderson
Hi, Sam I am still having a problem. You were referring to XMPP not avahi. Tony On 07/25/2016 01:03 AM, Sam Parkinson wrote: On Sun, Jul 24, 2016 at 9:35 PM, Tony Anderson wrote: I'm sorry. I don't understand you. Currently collaboration in locations with a school server is done by ejabberd.

Re: [Sugar-devel] Thoughts on Collab

2016-07-25 Thread Sam Parkinson
The current system is confusing. It limits your discovery of peers - the neighbourhood view ether shows buddies from the school server OR buddies from avahi (local network) In the new system, we will avoid this limitation. You will be able to see buddies on the schoolserver and avhai at the

Re: [Sugar-devel] Thoughts on Collab

2016-07-25 Thread Abhijit Patel
Date: Mon, 25 Jul 2016 08:38:21 +0200 > From: Tony Anderson > To: Sam Parkinson > Cc: sugar-devel@lists.sugarlabs.org > Subject: Re: [Sugar-devel] Thoughts on Collab > Message-ID: <5795b3dd.4080...@usa.net> > Content-Type: text/plain; charset=utf-8; format=flowed > > Hi, S

Re: [Sugar-devel] Thoughts on Collab

2016-07-25 Thread Sam Parkinson
On Tue, Jul 26, 2016 at 9:56 AM, Abhijit Patel wrote: I have just found python modules like socket[1] for low level networking interface and SocketServer[2] which simplifies the task of writing network servers. Could using these modules be a better option? [1] https://docs.python.org/2/libr

Re: [Sugar-devel] Thoughts on Collab

2016-07-25 Thread Dave Crossland
On Jul 25, 2016 10:13 PM, "Sam Parkinson" wrote: > > On Tue, Jul 26, 2016 at 9:56 AM, Abhijit Patel wrote: >> >> I have just found python modules like socket[1] for low level networking interface and SocketServer[2] which simplifies the task of writing network servers. >> >> Could using these mo

Re: [Sugar-devel] Thoughts on Collab

2016-07-25 Thread Sam Parkinson
On Tue, Jul 26, 2016 at 12:23 PM, Dave Crossland wrote: Please checkout zeromq :) Oh, that looks awesome! I think that is much better than using tcp directly. Does ZeroMQ guarantee message ordering? Eg. if I post A then B, is it guaranteed that everybody receives it in the order A then B?

Re: [Sugar-devel] Thoughts on Collab

2016-07-25 Thread Dave Crossland
On Jul 25, 2016 11:07 PM, "Sam Parkinson" wrote: > > On Tue, Jul 26, 2016 at 12:23 PM, Dave Crossland wrote: >> >> Please checkout zeromq :) > > Oh, that looks awesome! I think that is much better than using tcp directly. > > Does ZeroMQ guarantee message ordering? Eg. if I post A then B, is it

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Tony Anderson
As always - the devil is in the details. Does this support jabber.sugarlabs.org? Does it support ejabberd. Does it support communication between XOs with different builds (e.g. 0.110 with 0.94)? Does it support ad hoc (the current mesh technique). Tony On 07/26/2016 05:22 AM, Dave Crossland w

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Sam Parkinson
On Tue, Jul 26, 2016 at 8:24 PM, Tony Anderson wrote: As always - the devil is in the details. Does this support jabber.sugarlabs.org? Does it support ejabberd. No. We will probably host a new server if needed. That will be discussed as the implementation is done. Does it support communic

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Sebastian Silva
El 24/07/16 a las 05:03, Sam Parkinson escribió: > I actually don't want to use XMPP for the new collab system. I don't > care how nice the library is. Telepathy isn't the best, maybe pyxmpp2 > or nbxmpp are better. But xmpp is not the right protocol for sugar. > > Say you want to solve problem

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Dave Crossland
Despite my suggestion to look at zeromq, I think we should be using the collaboration protocols that Lionel is using in Sugarizer, so that someone running Sugar desktop and someone using Sugarizer on a Chromebook (for example, 2 kids in a family at home who attend 2 different schools that have diff

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Sebastian Silva
El 26/07/16 a las 13:08, Dave Crossland escribió: > Despite my suggestion to look at zeromq, I think we should be using > the collaboration protocols that Lionel is using in Sugarizer, so that > someone running Sugar desktop and someone using Sugarizer on a > Chromebook (for example, 2 kids in a fa

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Dave Crossland
On Jul 26, 2016 2:36 PM, "Sebastian Silva" wrote: > > El 26/07/16 a las 13:08, Dave Crossland escribió: >> >> Despite my suggestion to look at zeromq, I think we should be using the collaboration protocols that Lionel is using in Sugarizer, so that someone running Sugar desktop and someone using S

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Sebastian Silva
El 26/07/16 a las 14:05, Dave Crossland escribió: > > On Jul 26, 2016 2:36 PM, "Sebastian Silva" > wrote: > > > > El 26/07/16 a las 13:08, Dave Crossland escribió: > >> > >> Despite my suggestion to look at zeromq, I think we should be using > the collaboration p

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Dave Crossland
On Jul 26, 2016 4:12 PM, "Sebastian Silva" wrote: > > El 26/07/16 a las 14:05, Dave Crossland escribió: >> >> >> On Jul 26, 2016 2:36 PM, "Sebastian Silva" wrote: >> > >> > El 26/07/16 a las 13:08, Dave Crossland escribió: >> >> >> >> Despite my suggestion to look at zeromq, I think we should be

Re: [Sugar-devel] Thoughts on Collab

2016-07-26 Thread Sebastian Silva
El 26/07/16 a las 18:16, Dave Crossland escribió: > > User facing features are at the application level. How they are > implemented is only a detail. I'd rather have a paint app that > collaborates, no matter how it is built. Currently we have none. > > The technology that Sugar platform offers to

Re: [Sugar-devel] Thoughts on Collab

2016-07-28 Thread Abhijit Patel
; Today's Topics: > >1. Re: Thoughts on Collab (Dave Crossland) >2. Re: Thoughts on Collab (Sebastian Silva) > > > -- > > Message: 1 > Date: Tue, 26 Jul 2016 19:16:30 -0400 > From: Dave Crosslan

Re: [Sugar-devel] Thoughts on Collab

2016-07-28 Thread Sam P.
;2. Re: Thoughts on Collab (Sebastian Silva) >> >> >> ------ >> >> Message: 1 >> Date: Tue, 26 Jul 2016 19:16:30 -0400 >> From: Dave Crossland >> To: Sebastian Silva >> Cc: suga

Re: [Sugar-devel] Thoughts on Collab

2016-08-20 Thread Tony Anderson
Hi, Sam The neighborhood view shows laptops that are connected by the network. I have no idea how you expect to have a concurrent connection with the school server and an ad hoc network (let alone those who are connected to different ad hoc networks). If you were successful, then all laptops