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 sender

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 specification

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 actually true. If a

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

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