Re: [zeromq-dev] zmq_term

2011-10-30 Thread Martin Sustrik
On 10/31/2011 06:18 AM, Pieter Hintjens wrote: >> Meanwhile, I saw the czmq recommendation. I'm presuming it's a façade which >> adds said bookkeeping layer. This adds complexity in multiple ways, and >> misses the mark IMHO. I'd be happy to discuss. > > Do discuss. Please, do. Martin ___

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread asif saeed
Hi, On Sat, Oct 29, 2011 at 3:25 PM, Martin Sustrik wrote: > Hi all, > > I've been thining a lot about 3.0/4.0 and 0MQ process lately. The > problem is that the existing process mixes the experimental work with > bug fixes and new features ready to be released in a single repo (libzmq) > ...

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Martin Sustrik
On 10/31/2011 01:46 AM, MinRK wrote: > I believe GitHub can make the 'pull request is an email' happen > automatically with hooks. Of course, that could fork discussion between > those doing review on GitHub and those doing it on the mailing list, > which might be more annoying than it's worth. >

Re: [zeromq-dev] zmq_term

2011-10-30 Thread Pieter Hintjens
On Sun, Oct 30, 2011 at 9:34 PM, Matt Weinstein wrote: > Meanwhile, I saw the czmq recommendation.  I'm presuming it's a façade which > adds said bookkeeping layer.  This adds complexity in multiple ways, and > misses the mark IMHO.  I'd be happy to discuss. Do discuss. > To fix the zmq_term pr

[zeromq-dev] Problem with loading php_zmq_ts.dll extension

2011-10-30 Thread lanre lawal
I downloaded the php_zmq_ts.dll extension from http://valokuva.org/builds/ and when i tried to load the extension i get the following error in php_error_log "Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_zmq_ts.dll' - The specified procedure could not be found.". Please what

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Pieter Hintjens
On Sun, Oct 30, 2011 at 7:26 PM, Martin Sustrik wrote: > The problem with early design is that you get it wrong for the first time > anyway. Indeed. Look, I've spent decades making elegant, perfect software that was close to irrelevant. Here's what I do these days (and it works better): * make

[zeromq-dev] a 0MQ control port

2011-10-30 Thread Troy D. Hanson
I've built a small library for adding an interactive control port to 0MQ-based C programs. The idea is to add monitor or control commands to your program for administrative use. Internally its a simple req-rep socket that dispatches to a command callback. I've found it useful both interactively

Re: [zeromq-dev] zmq_term

2011-10-30 Thread Matt Weinstein
Folks, I've finally been tasked with moving to ØMQ 2.1.X from 2.0.X. My biggest problem is the new context semantics. I have always used zmq_term to terminate a context. If I had wanted to wait, I would have built a list of sockets. lingering on a close is fine, I can control whether that

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread MinRK
On Sun, Oct 30, 2011 at 16:06, Martin Lucina wrote: > Mikko, > > mikko.koppa...@gmail.com said: > > I'm not an expert in the field but I would like to chip in on this. > > The github interface is a just a convenience on top pull requests and > > provides things like syntax highlighted diffs, show

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Martin Sustrik
On 10/30/2011 10:34 PM, Pieter Hintjens wrote: > Also, not documented and discussed up-front. Martin, I hope you're > learning something here about the value of discovering the accuracy of > a design early, rather than late. The problem with early design is that you get it wrong for the first ti

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Pieter Hintjens
On Mon, Oct 31, 2011 at 7:48 AM, Martin Lucina wrote: > Martin would like to get the zeromq/libzmq repository (since this is > considered canonical by most people) into a clean state where: > > 1) zeromq/libzmq/master is the currently released version (3.x) This would be good, yes. > 2) experim

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Amr Ali
I'm with Pieter on this one. Martin, I understand where you are coming from, because I think we both have similar backgrounds, although, it took one persistent friend of mine to show me the other side of the coin. GitHub is a huge community, in fact, it got so big that Linus Torvalds now has an ac

Re: [zeromq-dev] Exploring 0mq 3.0 - lack of monitoring

2011-10-30 Thread Pieter Hintjens
On Sat, Oct 29, 2011 at 6:45 PM, Ilja Golshtein wrote: > Not sure I understand how it is possible to suggest HWM value regardless of > application specific. In the simplest case HWM works exactly as TCP buffers. Backpressure. That's a good default situation that handles 80% of cases. > Could y

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Pieter Hintjens
On Mon, Oct 31, 2011 at 8:06 AM, Martin Lucina wrote: > Sure, but then you still must have a github account to comment or > apply/reject the pull request. So people not on Github cannot contribute, > unlike the "pull request is an email" model. I think one has to be quite clear about the goals a

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Martin Lucina
Mikko, mikko.koppa...@gmail.com said: > I'm not an expert in the field but I would like to chip in on this. > The github interface is a just a convenience on top pull requests and > provides things like syntax highlighted diffs, shows whether the > commit merges cleanly, allows commenting etc. >

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Mikko Koppanen
On Sun, Oct 30, 2011 at 10:48 PM, Martin Lucina wrote: > A couple more points: > > Regarding pull requests vs. patches. Martin's main problem with the Github > interface to pull requests is that it is not transparent to the entire > community. One way to make that work is to go back to Linus Torva

Re: [zeromq-dev] Cross-compiling zmq for PowerPC-405

2011-10-30 Thread Martin Lucina
gary.a.c...@nasa.gov said: > Tergeist, > What SDK and Board are you using? > > I'm using ELDK 4.2. This was released in 2008. ELDK 4.2 is using gcc 4.2.2 > (built using crosstool-devel 0.43-3) > > You might want to consider giving ELDK a try, it should work with most (all?) > powerpc's. > ht

Re: [zeromq-dev] GoogleTest and GoogleMock for ØMQ

2011-10-30 Thread Martin Lucina
Steven, steven.mc...@miru.hk said: > Another large integration project.  Before I continue running through new > tests > it is probably a good idea for the code layout and infrastructure to be > updated > to all work cleanly. Random question/suggestion: This seems like a whole lot of integratio

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Martin Lucina
All, sust...@250bpm.com said: > The question is whether to start with zeromq3-0 repo or libzmq repo. Are > there any technical considerations? The log seems go back to initial > version of 2.0 (summer 2009) in both repos. > > From social perspective libzmq has more watchers than 3-0, which may

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Pieter Hintjens
On Sun, Oct 30, 2011 at 6:00 PM, Martin Sustrik wrote: > However, at the moment we are solving the migration problem caused by > half-assed implementation of labels in current 3-0. My advice is to document and discuss proposals on the wiki much more, before writing code. You might avoid such pai

Re: [zeromq-dev] Problem with loading php_zmq_ts.dll extension

2011-10-30 Thread Mikko Koppanen
On Sun, Oct 30, 2011 at 7:31 PM, wrote: > So are you saying that I should just upgrade my PHP version to 5.3 and copy > the libzmq.dll file that's in the snapshot to my extension directory in php? > Please let me know if this is the correct thing to do. Thank you. Hello, no, this is not what

Re: [zeromq-dev] Problem with loading php_zmq_ts.dll extension

2011-10-30 Thread lawillas4ever
So are you saying that I should just upgrade my PHP version to 5.3 and copy the libzmq.dll file that's in the snapshot to my extension directory in php? Please let me know if this is the correct thing to do. Thank you. Sent from my BlackBerry® wireless handheld from Glo Mobile. -Original Mes

Re: [zeromq-dev] Problem with loading php_zmq_ts.dll extension

2011-10-30 Thread Mikko Koppanen
On Sun, Oct 30, 2011 at 3:33 PM, lanre lawal wrote: > I downloaded the php_zmq_ts.dll extension > from http://valokuva.org/builds/ and when i tried to load the extension i > get the following error in php_error_log "Unable to load dynamic library > 'c:/wamp/bin/php/php5.2.9-2/ext/php_zmq_ts.dll' -

[zeromq-dev] Problem with loading php_zmq_ts.dll extension

2011-10-30 Thread lanre lawal
I downloaded the php_zmq_ts.dll extension from http://valokuva.org/builds/ and when i tried to load the extension i get the following error in php_error_log "Unable to load dynamic library 'c:/wamp/bin/php/php5.2.9-2/ext/php_zmq_ts.dll' - The specified procedure could not be found.". Please what

Re: [zeromq-dev] Quick JZMQ howto on Windows

2011-10-30 Thread Martin Sustrik
On 10/30/2011 10:54 AM, Ian Barber wrote: > I put the instructions for this and the Fedora JZMQ build onto the > JZMQ binding page on the wiki - hope that's all right with everyone > (if not, just remove of course!). One thing: I didn't have permissoon > to attach the CmakeList - Martin/Pieter, wo

Re: [zeromq-dev] Quick JZMQ howto on Windows

2011-10-30 Thread Ian Barber
On Thu, Oct 27, 2011 at 11:52 AM, Martin Sustrik wrote: > Hi Steven, > > Shouldn't we place this somewhere on the website? It seems to be rather > helpful. > > Martin I put the instructions for this and the Fedora JZMQ build onto the JZMQ binding page on the wiki - hope that's all right with ever

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Martin Sustrik
Hi Chuck, > Main development should be on libzmq. The question is whether to start with zeromq3-0 repo or libzmq repo. Are there any technical considerations? The log seems go back to initial version of 2.0 (summer 2009) in both repos. From social perspective libzmq has more watchers than 3-

Re: [zeromq-dev] 0MQ/3.0, 0MQ/4.0 and 0MQ process

2011-10-30 Thread Martin Sustrik
Elliot, > I think if you are contemplating large changes regarding the LABEL > and IDENTITY portions of ZMQ, this topic should be something worth > discussing. > > The ROUTER socket currently in 4.0 gets CMD messages on > connect/disconnect of peers, so it always knows the identities o