Publish/Subscribe with PB instead of rpc and XML

2009-01-27 Thread fcases
Hi y'all: I've been working on a compiler to create a publish/subscribe dll for .proto files. It is written on C# based on protobuf-csharp (http:// code.google.com/p/protobuf-csharp-port/). It is not tested at all (I should not name it 1.0 but I did). It is similar to emcaster but with

Data Tunnel from C++ to Python

2009-01-27 Thread Topher Brown
I'm trying to move protobuf data from C++ to python. The current, inconvenient implementation saves the data to a file and then loads the file into python. I am currently experimenting with using sockets as data tunnels, but that is leading to its own problems. Does anyone have any suggestions

Re: Data Tunnel from C++ to Python

2009-01-27 Thread Alek Storm
I'd love to help, but I need more detail about exactly what each program does. Is the C++ the backend, while Python is the frontend? What are any inputs/outputs? Because right now I don't see any need to do inter-process communication, or have separate processes at all - it seems like one just

Re: Data Tunnel from C++ to Python

2009-01-27 Thread Alek Storm
On Jan 27, 1:17 pm, Topher Brown topher...@gmail.com wrote: I'm not writing a finished program- I'm trying to write a tool for our use while we are developing. We are working with large arrays (stored in protobuf) in C++ and want to plot them, using various python tools, while we are

Address Book example - deleting a user.

2009-01-27 Thread Sunit Katkar
The Address Book example http://code.google.com/apis/protocolbuffers/docs/javatutorial.html shows how to create a addressbook and serialize it to disk. It also shows how the same data file can be used to add more persons to it. In short it shows the Create, Read, Update functions. Now I was

problem with python and unicode string

2009-01-27 Thread bart van deenen
Hi all I'm using the python generated code to create a generic gpb object editor, and I've run into unicode issues. Here's a small example for the protofile example.proto # example.proto message test { required string s=1; } #!/usr/bin/python # -*- coding: utf-8 -*- from PyQt4.QtGui import *