Re: [zeromq-dev] ZMQ::FFI - Perl bindings using libffi and FFI::Raw

2013-10-06 Thread Daisuke Maki
Nice! While I'm at it, I think I'm going to retire developing ZMQ::LibZMQ* and stuff now that you have an FFI version and have an good alternative. To perl guys on this list: holler if you want to take over my ZMQ modules. --d 2013/10/7 Dylan Cali calid1...@gmail.com Hello, I recently

Re: [zeromq-dev] ZMQ::LibZMQ3 Installation in windows

2013-02-08 Thread Daisuke Maki
So, was there an error while installing? --d 2013/2/8 sudheer kumar sudheerkuma...@ymail.com I followed http://www.zeromq.org/build:mingw for building ZMQ with MinGW : and I get the error: test_connect_delay.cpp:28:21 fatalerror:pthread.h: No such file or directory With Visual

Re: [zeromq-dev] ZMQ::LibZMQ3

2013-01-18 Thread Daisuke Maki
Pedro, beat you to it. https://metacpan.org/release/DMAKI/ZMQ-LibZMQ3-1.08/ --d 2013/1/19 Pedro Melo m...@simplicidade.org Hi, On Fri, Jan 18, 2013 at 11:28 PM, Nishant Mittal nmit...@rblt.com wrote: I installed zeromq and the perl module on my home machine but when i try to run the

[zeromq-dev] PR: fix configure help message for --with-libczmq

2013-01-09 Thread Daisuke Maki
https://github.com/zeromq/filemq/pull/17 Ditto, as the subject states. --d ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] ZMQ performance

2013-01-08 Thread Daisuke Maki
nitpick, but isn't zmq_init() the one that's deprecated, and zmq_ctx_new() its replacement? 2013/1/9 A. Mark gougol...@gmail.com Good guess, but I'm using this one: ctx = zmq_init( threads); from http://api.zeromq.org/3-2:zmq-init with the number of threads parameter passed as a

Re: [zeromq-dev] Perl bindings ZeroMQ block publishing messages to Mojolicous over WebSocket

2013-01-05 Thread Daisuke Maki
Please let me know if I am missing something or is there a different way to achieve this. This is wrong: zmq_setsockopt($socket,ZMQ_SUBSCRIBE,ZMQ_NOBLOCK); ** This needs to be two calls: zmq_setsocktop($socket, ZMQ_SUBSRCRIBE, $SUBSCRIBE_STRING);

Re: [zeromq-dev] zmq_socket and threads

2013-01-02 Thread Daisuke Maki
I hope you are not trying to do this in perl. The perl binding does not allow sharing sockets in between threads, period. --d ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Multipart msgs and Perl

2012-12-27 Thread Daisuke Maki
Ah, I see you looked at the SYNOPSIS only, and didn't read the rest of the docs. The SYNOPSIS was a copy from LibZMQ2, so it was wrong: zmq_send($socket, $msg, $flags); Should read zmq_send($socket, $buffer, $size, $flags); So your client.pl is actually doing zmq_send($socket, your

Re: [zeromq-dev] Multipart msgs and Perl

2012-12-27 Thread Daisuke Maki
I'd rather have my docs relatively sparse and let the official zeromq guide/docs show The Correct Way, than write a lot of docs and have contradicting explanations ;) That said, I think I didn't include a link to the official docs, which I should have done. My bad there. 2012/12/28 Pieter

Re: [zeromq-dev] CTRL+C

2012-10-29 Thread Daisuke Maki
I thought windows doesn't handle SIGINT the way us in unix land expect? http://msdn.microsoft.com/en-us/library/xdkz3x12(v=vs.110).aspx --d 2012/10/30 Pieter Hintjens p...@imatix.com: On Tue, Oct 30, 2012 at 6:31 AM, Balázs Varga bb.va...@gmail.com wrote: I know this link,installing a

Re: [zeromq-dev] Guide, fragments translations

2012-10-22 Thread Daisuke Maki
Which repo is this (can't seem to find it)? I'd love to add Perl stuff there. --d 2012/10/22 Pieter Hintjens p...@imatix.com: Hi Folks, Specifically, those who have helped make the language-specific versions in PHP, Python, Lua, and Haxe: I've added a mechanism to translate code fragments

Re: [zeromq-dev] Perl question: ZMQ + AnyEvent

2012-09-21 Thread Daisuke Maki
Hi, I'm the maintainer of perl ZMQ modules. I'm away fron my computer atm, so can only guess, but does it work if you put a AnyEvent::Util::fh_nonblocking($fd) before creating the IO watcher? and yes, for new code you should be using ZMQ::LibMQ2. 2012年9月22日土曜日 Robert Olson ol...@mcs.anl.gov:

Re: [zeromq-dev] Pull request to retire devices and replace with proxies

2012-09-09 Thread Daisuke Maki
Please be considerate of downstream users and keep the zmq_device() stuff for the duration of the current major release? I mean you can add a zmq_proxy() by all means, but please keep zmq_device() as an alias, along with any constants (if any) that has to do with the device stuff so our existing

Re: [zeromq-dev] Pull request to retire devices and replace with proxies

2012-09-09 Thread Daisuke Maki
I'm just trying to avoid seeing 2.x - 3.0 - 3.x nightmare by being vocal. The 'current' major release is actually 2.x, which is unaffected. There has still yet to be a single stable 3.x release. But 3.x has been released. People download it, and I have a few users for the binding. Yeah, so

Re: [zeromq-dev] ZeroMQ Hello World Perl Example Start Up

2012-07-17 Thread Daisuke Maki
Hi, FYI I have gone on to restructure the Perl bindings like so: https://github.com/lestrrat/p5-ZMQ/ # they are also available on CPAN basically, I moved out the version specific stuff out to ZMQ::LibZMQ2 and ZMQ::LibZMQ3 so that I don't have to put #ifdef s all over the place. porting

Re: [zeromq-dev] ZeroMQ Hello World Perl Example Start Up

2012-07-17 Thread Daisuke Maki
Here's a working example using ZMQ::LibZMQ2 https://gist.github.com/3129346 Maybe I wasn't explicit enough, but ZeroMQ.pm is done for. I'm no longer going to maintain it. please use ZMQ::LibZMQ2 or ZMQ::LibZMQ3 --d 2012/7/17 Marko Trajkov markostraj...@gmail.com: Hi, thanks for replays, I

[zeromq-dev] zmq_init(-1) on libzmq master

2012-03-28 Thread Daisuke Maki
Hi, I asked this earlier in IRC: 11:38 lestrrat: shouldn't zmq_init( -1 ) be an error (i.e. return NULL) ?seems like a check used to exist until 6e71a54b, but after that it's gone Is this intentional? It used to return NULL until the above commit. --d

Re: [zeromq-dev] Getting 0MQ/3.1 to stable status

2012-02-16 Thread Daisuke Maki
nice. I'll rename the perl binding to ZMQ for 3.1 support as well --d 2012/02/17 8:14 Pieter Hintjens p...@imatix.com: Hi all, It's probably a good time to start moving 0MQ/3.1 towards stable status. Several things you can do to help: * If you have outstanding issues in 3.1 that you need

Re: [zeromq-dev] Question: release policies and v3.x

2011-07-18 Thread Daisuke Maki
From my perspective, the bottom line is: Just decide what you guys want to do and stick to it Because that will be easier to explain in my docs for my users. So in that sense, while I don't care which way or the other engineering-wise, if you've already released 3.x with IDENTITY (whoops), I'd

Re: [zeromq-dev] Trademark policy for 0MQ

2011-05-12 Thread Daisuke Maki
1. Initial Reaction = I understand that you need to set the rules, so I'm not against the trademark stuff in principle, but I'm a bit upset at how this came about to be - Especially the fact that I was pretty much just told to change the name of the Perl binding without any

Re: [zeromq-dev] 0MQ stable release 2.1 (v2.1.2, rc2) released

2011-03-06 Thread Daisuke Maki
woot! zeromq team++ --d 2011/3/6 Pieter Hintjens p...@imatix.com: Hi all, We're pleased to announce that 0MQ stable release 2.1 (v2.1.2, rc2) has been released and is available for download at: * http://download.zeromq.org/zeromq-2.1.2.tar.gz (UNIX line endings) *

Re: [zeromq-dev] perl binding build errors

2011-01-11 Thread Daisuke Maki
Hey, I just noticed this now, but please check and report issues under http://github.com/lestrrat/ZeroMQ-Perl. that is where currently development is taking place, and if you file issues elsewhere, I don't get notified. Thanks, --d 2011/1/11 Vick Khera vi...@khera.org: On Mon, Jan 10, 2011 at

Re: [zeromq-dev] 0MQ version 2.1.0 (Beta) released

2010-12-01 Thread Daisuke Maki
woot! --d 2010/12/2 Martin Lucina m...@kotelna.sk: Hi all, we're pleased to announce that 0MQ version 2.1.0 (Beta) has been released and is available for download at: * http://download.zeromq.org/zeromq-2.1.0.tar.gz (UNIX line endings) * http://download.zeromq.org/zeromq-2.1.0.zip

Re: [zeromq-dev] Making language bindings work with both maint andmaster

2010-10-04 Thread Daisuke Maki
I'm not sure why master and maint are featured here -- are we talking about the scenario where version X was released, but before version X + 1 is released and master still has the version number X ? If the above is correct, why don't zmq simply up the internal version number to X + 1 upon the

Re: [zeromq-dev] Making language bindings work with both maint andmaster

2010-10-04 Thread Daisuke Maki
Yeah, I know, I let that slip by on purpose. I guess I didn't fool anyone ;) --d 2010/10/4 Mikko Koppanen mikko.koppa...@gmail.com: On Mon, Oct 4, 2010 at 7:29 AM, Daisuke Maki lestr...@gmail.com wrote: Oh wait, or are you saying that currently there's no way to figure out the version of zmq

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] 0MQ process, stability guarantees, releases etc.

2010-09-05 Thread Daisuke Maki
Hi, So, from now on, all the contributors to zeromq2 repo, to both master and maint branches -- even those that had direct commit access in the past -- are going to send patches to the mailing list. I will then apply them (or reject them) in such a way to ensure that versioning contract is

Re: [zeromq-dev] Topic branch for EINTR work

2010-09-04 Thread Daisuke Maki
Hi, Works for me! Verified using my test script for Plack-Handler-Mongrel2 --d 2010/9/4 Martin Sustrik sust...@250bpm.com: Hi Brian, Chuck, Lestrrat, There's eintr branch in zeromq/zeromq2 repo at github. The blocking calls (zmq_send, zmq_recv and zmq_poll) should return EINTR in case of