Re: [zeromq-dev] Great Work :-)

2010-09-14 Thread Pieter Hintjens
Wolfgang, Thanks for letting us know we're heading in the right direction. It's been the work of many people. -Pieter On 15 Sep 2010 01:31, "Wolfgang Richter" wrote: > I was just looking at the new 0MQ sites, I must say things are looking > really nice. > > The Guide is especially looking nice.

[zeromq-dev] Great Work :-)

2010-09-14 Thread Wolfgang Richter
I was just looking at the new 0MQ sites, I must say things are looking really nice. The Guide is especially looking nice. Great work and thanks to all involved! -- Wolf ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org

[zeromq-dev] zeromq.spec does not build with recent versions of zeromq

2010-09-14 Thread Sölvi Páll Ásgeirsson
Hi, As it stands zeromq.spec does not build: $ rpmbuild -ba SPECS/zeromq.spec <.. snip ..> error: Installed (but unpackaged) file(s) found: /usr/include/zmq_utils.h /usr/share/man/man3/zmq_errno.3.gz /usr/share/man/man3/zmq_getsockopt.3.gz RPM build errors: Installed (but unpackage

Re: [zeromq-dev] Socket Pattern Question

2010-09-14 Thread Stefan Majer
Hi Chuck, It works as you described. This is how i wanted it to work. Greetings Stefan On Mon, Sep 13, 2010 at 9:21 PM, Chuck Remes wrote: > > On Sep 13, 2010, at 1:00 PM, Stefan Majer wrote: > >> Hi, >> >> I´m implementing a application which is basically a kind of log >> collection framework

Re: [zeromq-dev] [PATCH] zguide: mtrelay.java 0001-Multithreaded-relay-not-tested.patch, hwserver.java 0002-Alignment-sorted.patch, mtserver 0003-Multithreaded-server-untested.patch

2010-09-14 Thread Pieter Hintjens
Naveen, Thanks for the patches, they're applied and pushed. -Pieter On Tue, Sep 14, 2010 at 5:41 PM, Naveen Chawla wrote: > MIT/X11 licensed > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zer

Re: [zeromq-dev] OpenPGM and Windows

2010-09-14 Thread Steven McCoy
On 14 September 2010 12:46, Martin Sustrik wrote: > On 09/14/2010 06:40 PM, Steven McCoy wrote: > > The timeout is more likely in the range milliseconds to microseconds for >> rate limiting. 0.1s can be valid for recovery. >> > > Ok, so we have 2 windows. One for "already sent stuff" (recovery

Re: [zeromq-dev] Possible Windows bug with XREQ/XREP

2010-09-14 Thread Brian Granger
Martin, One other ? on this one: is there any reason the loss would be worse on Windows that Mac or Linux? Thanks, Brian On Mon, Sep 13, 2010 at 11:28 PM, Martin Sustrik wrote: > Brian, > >> The expected behavior is: >> >> * While the server is down, the XREQ socket will queue messages. >> *

Re: [zeromq-dev] Possible Windows bug with XREQ/XREP

2010-09-14 Thread Brian Granger
On Mon, Sep 13, 2010 at 11:28 PM, Martin Sustrik wrote: > Brian, > >> The expected behavior is: >> >> * While the server is down, the XREQ socket will queue messages. >> * Once the server comes back up, the queued messages will be sent. >> * No messages will be lost. >> >> The observed behavior is

Re: [zeromq-dev] Website changes

2010-09-14 Thread Pieter Hintjens
On Tue, Sep 14, 2010 at 3:38 PM, Martin Sustrik wrote: > Wait a sec. That makes the problem even worse. > > The goal is: 1. google for zeromq 2. hit I'm lucky button 3. land on the > simple newbies page (currently www.zeromq.com) Making microsites for projects doesn't affect this. Zeromq.org is

Re: [zeromq-dev] OpenPGM and Windows

2010-09-14 Thread Martin Sustrik
On 09/14/2010 06:40 PM, Steven McCoy wrote: > The timeout is more likely in the range milliseconds to microseconds for > rate limiting. 0.1s can be valid for recovery. Ok, so we have 2 windows. One for "already sent stuff" (recovery buffer) another for "stuff to be sent" (rate limiting buffer).

Re: [zeromq-dev] Windows CE/Mobile support

2010-09-14 Thread Steven McCoy
On 14 September 2010 12:36, Jonathan wrote: > Hello, > > I was wondering if there are any plans or even desire for ØMQ to > support the Windows CE/Mobile platform. Seems a tad limited as Windows Phone 7 changes everything and importantly drops access to the network stack. -- Steve-o _

Re: [zeromq-dev] OpenPGM and Windows

2010-09-14 Thread Steven McCoy
On 14 September 2010 12:36, Martin Sustrik wrote: > > Major hurdle is implementing a cross platform timeout mechanism > > otherwise spin loops drive out maximum CPU time for each transport. The > > caveats of user space network protocols. > > Have you considered using already built-in 0MQ timer?

Re: [zeromq-dev] Windows CE/Mobile support

2010-09-14 Thread Martin Sustrik
Jonathan, > I was wondering if there are any plans or even desire for ØMQ to > support the Windows CE/Mobile platform. Nobody really tried so far AFAIK. Doesn't it work out of the box? Martin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http

Re: [zeromq-dev] OpenPGM and Windows

2010-09-14 Thread Martin Sustrik
Hi Steven, > Major hurdle is implementing a cross platform timeout mechanism > otherwise spin loops drive out maximum CPU time for each transport. The > caveats of user space network protocols. Have you considered using already built-in 0MQ timer? It's pretty lame as the only interval it can wa

[zeromq-dev] Windows CE/Mobile support

2010-09-14 Thread Jonathan
Hello, I was wondering if there are any plans or even desire for ØMQ to support the Windows CE/Mobile platform. Thanks very much, Jonathan ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] 0MQ at InfoQ

2010-09-14 Thread Pieter Hintjens
ZeroMQ is hitting the mainstream... hope we're ready for the wave of newcomers. On 14 Sep 2010 16:09, "Martin Sustrik" wrote: > http://www.infoq.com/news/2010/09/introduction-zero-mq > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http:/

Re: [zeromq-dev] build for 64 bit library?

2010-09-14 Thread Steven McCoy
On 13 September 2010 04:14, Martin Lucina wrote: > If configure fails it means you don't have the appropriate 32-bit libraries > installed. > Yup, I wouldn't try cross architecture with PGM support with the 2.0.x build. This however will be resolved in a future release built against OpenPGM 5.

Re: [zeromq-dev] OpenPGM and Windows

2010-09-14 Thread Steven McCoy
On 10 September 2010 08:56, Christian Gudrian wrote: > Am 10.09.2010 10:38, schrieb Christian Gudrian: > > > I'll try to dig a little bit deeper to shed some more light on this > issue. > > Well, obviously it's a problem with libpgm-2.1.27 on Windows. I wrote a > little test application right on

[zeromq-dev] [PATCH] zguide: mtrelay.java 0001-Multithreaded-relay-not-tested.patch, hwserver.java 0002-Alignment-sorted.patch, mtserver 0003-Multithreaded-server-untested.patch

2010-09-14 Thread Naveen Chawla
MIT/X11 licensed 0001-Multithreaded-relay-not-tested.patch Description: Binary data 0002-Alignment-sorted.patch Description: Binary data 0003-Multithreaded-server-untested.patch Description: Binary data ___ zeromq-dev mailing list zeromq-dev@lists.z

[zeromq-dev] 0MQ at InfoQ

2010-09-14 Thread Martin Sustrik
http://www.infoq.com/news/2010/09/introduction-zero-mq ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Azamat Shakhimardanov
Hi Martin, >> * I learnt somewhere that zeromq 0.3 had a "locator" daemon providing >> similar functionality, though it seems not to be part of the core >> library anymore. What happenned to it? >The problem with a location service is that for large deployments you >need a real production-qualit

Re: [zeromq-dev] Website changes

2010-09-14 Thread Martin Sustrik
On 09/14/2010 02:10 PM, Pieter Hintjens wrote: > The Guide is now a separate microsite at http://zguide.zeromq.org. > I'll be starting other microsites for the ZFL and zdevices projects > along the same style. Wait a sec. That makes the problem even worse. The goal is: 1. google for zeromq 2. hi

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Pieter Hintjens
On Tue, Sep 14, 2010 at 8:18 AM, Martin Sustrik wrote: > This would be nice to link from somewhere, but it looks like there's no > page on zeromq.org to link projects from. There used to be one, but I am > not able to find it anymore. It's the Labs page... http://www.zeromq.org/docs:labs Ps. I

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Gaspard Bucher
Zeroconf solves two issues at the same time through mdns: IP without DHCP and names without DNS. The part related to service registration/discovery (names) is not trivial but not that hard to mimic, especially if we follow the detailed 60 pages on the subject in "Zero Configuration Networking" (O'

Re: [zeromq-dev] [PATCH] zguide:

2010-09-14 Thread Olivier
Le mardi 14 septembre 2010 à 15:01 +0200, Pieter Hintjens a écrit : > Olivier, > > Thanks a lot for the C++ examples. I'm redoing chapter 3 because some > of it is not accurate, especially the parts that deal with identities. > In fact generating random identities just creates junk, and the > d

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Pieter Hintjens
On Tue, Sep 14, 2010 at 8:18 AM, Martin Sustrik wrote: > This would be nice to link from somewhere, but it looks like there's no > page on zeromq.org to link projects from. There used to be one, but I am > not able to find it anymore. It's the Labs page... http://www.zeromq.org/docs:labs - Piet

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Christian Gudrian
Am 14.09.2010 14:42, schrieb Kelly Brock: > Zeroconf is actually a relatively tricky protocol I'm not trying to implement _the_ Zeroconf protocol (as did avahi and Bonjour). I was thinking of a much simpler approach that does not require a locator service. Let's say a client needs a certain s

Re: [zeromq-dev] [PATCH] zguide:

2010-09-14 Thread Pieter Hintjens
Olivier, Thanks a lot for the C++ examples. I'm redoing chapter 3 because some of it is not accurate, especially the parts that deal with identities. In fact generating random identities just creates junk, and the durable subscriber doesn't quite work properly. Best would be if you clone the gi

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Martin Sustrik
Hi Azamat, > * I learnt somewhere that zeromq 0.3 had a "locator" daemon providing > similar functionality, though it seems not to be part of the core > library anymore. What happenned to it? The problem with a location service is that for large deployments you need a real production-quality dis

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Kelly Brock
Hi, > > The real trick is platform dependency > > It should be possible to write a real platform independent zeroconf > solution based solely upon ZMQ and OpenPGM. > > Christian It is always possible but I'm not sure it is wise. Zeroconf is actually a relatively tricky protocol and you

[zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Azamat Shakhimardanov
Hello everybody, I am Azamat. I am new here. My research group started using ZeroMQ for a robotics software project and our experience so far "IT IS COOL"! Sorry that I bring up this topic of zeroconf again, but in our project it is also one of the requirements. It seems to be discussed a lot in

Re: [zeromq-dev] [PATCH] zguide:

2010-09-14 Thread Olivier
Hi, Modification of the C++ zguide's examples (part 1 & 2), using "zhelpers.hpp" and addition of Part 3 examples. Licensed under MIT/X11. Btw some (2 cts) comments : * i think you forgot adding the "All language" link under "zhelpers.h" in part 1 of the guide. * What about adding some "prev

[zeromq-dev] Website changes

2010-09-14 Thread Pieter Hintjens
Hi all, I've made some changes to the ZeroMQ websites. The www.zeromq.org site has a thumbnail that points to www.zeromq.com, which is the "Start Here" project for new users. We're still finding that a lot of new visitors miss this site and (we think) get lost in the community site. The Guide i

Re: [zeromq-dev] ipc??

2010-09-14 Thread Mikael Helbo Kjær
Hi According to the docs IPC is not implemented on Windows. Regards, Mikael > > It's not working on Windows. > > I just do "ipc://whateverIlike"... in "bind" and "connect", right? > Or do I need to do something else first? ___ zeromq-dev mailing list

[zeromq-dev] ipc??

2010-09-14 Thread Naveen Chawla
It's not working on Windows. I just do "ipc://whateverIlike"... in "bind" and "connect", right? Or do I need to do something else first? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] [PATCH] zguide: hwserver.java 0004-Sorry-now-it-looks-like-the-C-example.patch

2010-09-14 Thread Pieter Hintjens
Naveen, The patch doesn't apply. Send me (offlist) a full new source for this, thanks. -Pieter On Tue, Sep 14, 2010 at 11:54 AM, Naveen Chawla wrote: > Shouldn't have used tabs in the first place. > Needs the 0003 patch first. > (MIT/X11 licensed) > > __

[zeromq-dev] [PATCH] zguide: hwserver.java 0004-Sorry-now-it-looks-like-the-C-example.patch

2010-09-14 Thread Naveen Chawla
Shouldn't have used tabs in the first place. Needs the 0003 patch first. (MIT/X11 licensed) 0004-Sorry-now-it-looks-like-the-C-example.patch Description: Binary data ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman

Re: [zeromq-dev] Using multiple contexts

2010-09-14 Thread Martin Sustrik
On 09/14/2010 10:40 AM, Pieter Hintjens wrote: > Hi Daisuke, > > You can create and destroy contexts in a test case like that, as long > as you're aware that these are separate 0MQ instances that can't > communicate over inproc:. Correct. > Forking is something we didn't cover yet in the Guide.

Re: [zeromq-dev] Using multiple contexts

2010-09-14 Thread Pieter Hintjens
Hi Daisuke, You can create and destroy contexts in a test case like that, as long as you're aware that these are separate 0MQ instances that can't communicate over inproc:. Forking is something we didn't cover yet in the Guide. You cannot create a context and pass it to a child process. The pro

Re: [zeromq-dev] Using multiple contexts

2010-09-14 Thread Daisuke Maki
My tests do this in the same file: { # test case 1 my $ctxt = ZeroMQ::Context->new(); # internally calls zmq_init(); ... test code here } # contxt freed { # test case 2 my $ctxt = ZeroMQ::Context->new(); # internally calls zmq_init(); ... test code here .

Re: [zeromq-dev] ZeroConf on top of ZeroMQ

2010-09-14 Thread Gaspard Bucher
Such a library could start by skipping the auto IP attribution (consider network devices have an IP address). Then we would only need a broadcast address where a newcomer can arrive and say: - where is "funky synth" (the newcomer's own name) .. no reply - I am "funky synth" and I talk "foo" protoc