Re: [sugar] Data Transport between nodes

2007-12-15 Thread Dafydd Harries
Ar 14/12/2007 am 20:21, ysgrifennodd Ivan Krstić: > On Dec 14, 2007, at 8:16 PM, Dafydd Harries wrote: > > If you need to transport large files, I suggest using a stream tube > > instead. > > Do we have stream tube documentation? Like all Telepathy interfaces, it's documented in the specificati

Re: [sugar] Data Transport between nodes

2007-12-15 Thread Bert Freudenberg
On Dec 15, 2007, at 12:53 , Ivan Krstić wrote: > On Dec 15, 2007, at 2:02 AM, Bert Freudenberg wrote: >> Well, beginnings of "understandable" documentation are here: >> http://wiki.laptop.org/go/Low-level_Activity_API#Tubes > > Hmm. Does that mean sending a file over a stream tube requires the >

Re: [sugar] Data Transport between nodes

2007-12-14 Thread Ivan Krstić
On Dec 15, 2007, at 2:02 AM, Bert Freudenberg wrote: > Well, beginnings of "understandable" documentation are here: > http://wiki.laptop.org/go/Low-level_Activity_API#Tubes Hmm. Does that mean sending a file over a stream tube requires the sender to bind a socket which, when connected to, starts

Re: [sugar] Data Transport between nodes

2007-12-14 Thread Bert Freudenberg
On Dec 15, 2007, at 7:06 , Ivan Krstić wrote: > On Dec 14, 2007, at 8:16 PM, Dafydd Harries wrote: >> If you need to transport large files, I suggest using a stream tube >> instead. > > Do we have stream tube documentation? Well, beginnings of "understandable" documentation are here: http://wik

Re: [sugar] Data Transport between nodes

2007-12-14 Thread Ivan Krstić
On Dec 14, 2007, at 8:16 PM, Dafydd Harries wrote: > If you need to transport large files, I suggest using a stream tube > instead. Do we have stream tube documentation? > At any rate, I've already discussed this with Erik, and I'm sure > knows what > he's doing. Is this conversation or its

Re: [sugar] Data Transport between nodes

2007-12-14 Thread Dafydd Harries
Ar 14/12/2007 am 19:58, ysgrifennodd Ivan Krstić: > On Dec 14, 2007, at 7:03 AM, Dafydd Harries wrote: > > contents = file(path).read() > > dbus.ByteArray(contents) > > > How is that possibly supposed to scale? My intention was to illustrate how to use byte arrays. I did not mean to imply any gu

Re: [sugar] Data Transport between nodes

2007-12-14 Thread Ivan Krstić
On Dec 14, 2007, at 7:03 AM, Dafydd Harries wrote: > contents = file(path).read() > dbus.ByteArray(contents) How is that possibly supposed to scale? -- Ivan Krstić <[EMAIL PROTECTED]> | http://radian.org ___ Sugar mailing list Sugar@lists.laptop.org h

Re: [sugar] Data Transport between nodes

2007-12-14 Thread Dafydd Harries
Ar 03/10/2007 am 09:15, ysgrifennodd Erik Blankinship: > On 10/3/07, Simon McVittie <[EMAIL PROTECTED]> wrote: > > > > On Tue, 02 Oct 2007 at 17:43:41 -0400, Benjamin M. Schwartz wrote: > > > I used these to send arbitrary bytes over the Tube, which only supports > > utf8. > > > > This isn't actua

Re: [sugar] Data Transport between nodes

2007-10-03 Thread Erik Blankinship
On 10/3/07, Simon McVittie <[EMAIL PROTECTED]> wrote: > > On Tue, 02 Oct 2007 at 17:43:41 -0400, Benjamin M. Schwartz wrote: > > I used these to send arbitrary bytes over the Tube, which only supports > utf8. > > This isn't actually true. If a D-Bus method is declared with signature 's' > (string)

Re: [sugar] Data Transport between nodes

2007-10-03 Thread Simon McVittie
On Tue, 02 Oct 2007 at 17:43:41 -0400, Benjamin M. Schwartz wrote: > I used these to send arbitrary bytes over the Tube, which only supports utf8. This isn't actually true. If a D-Bus method is declared with signature 's' (string) it only supports unicode or UTF-8 str objects. If no signature is

Re: [sugar] Data Transport between nodes

2007-10-02 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Blankinship wrote: > How would you change the HelloMesh example to send binary data or an > object? Could you post a diff? That would be useful for a reference. > Thanks! This is a dangerous suggestion, but you may want to look at the source c

Re: [sugar] Data Transport between nodes

2007-10-02 Thread Erik Blankinship
> The code for the hello mesh is in > > http://dev.laptop.org/git?p=projects/hellomesh;a=summary How would you change the HelloMesh example to send binary data or an object? Could you post a diff? That would be useful for a reference. Thanks! ___ Sug

Re: [sugar] Data Transport between nodes

2007-06-11 Thread Rafael Enrique Ortiz Guerrero
Hi: The code for the hello mesh is in http://dev.laptop.org/git?p=projects/hellomesh;a=summary On 6/11/07, Simon McVittie <[EMAIL PROTECTED]> wrote: On Mon, 11 Jun 2007 at 16:49:31 -0400, Nolambar von Lómeanor wrote: > I need to send some simple data, specifically a name from an election, the

Re: [sugar] Data Transport between nodes

2007-06-11 Thread Simon McVittie
On Mon, 11 Jun 2007 at 16:49:31 -0400, Nolambar von Lómeanor wrote: > I need to send some simple data, specifically a name from an election, the > list of choices and some others between nodes. This need to be secure and > reliable (we plan to add GPG support or some kind of digital signatures) and

[sugar] Data Transport between nodes

2007-06-11 Thread Nolambar von Lómeanor
Hi I'm facing the following situation in the development of Stirme [ http://wiki.laptop.org/go/Stirme], a GSoC project: I need to send some simple data, specifically a name from an election, the list of choices and some others between nodes. This need to be secure and reliable (we plan to add GP