Re: [zeromq-dev] Passing a python object (PyZMQ)

2015-06-08 Thread Min RK
On Jun 8, 2015, at 01:35, Arnaud Loonstra arn...@sphaero.org wrote: On 06/06/2015 01:52 AM, MinRK wrote: Without using ctypes, you could pass the objects through a namespace: |# shared namespace ns = {} # sender ns[id(obj)] = obj pipe_out.send(struct.pack(b'Q',1)) # receiver

Re: [zeromq-dev] PyZMQ with Libsodium on Windows?

2014-10-09 Thread Min RK
For pyzmq, it must work with VC9 (VS2008), for Python 2.7. -MinRK On Oct 9, 2014, at 18:08, Steven McCoy steven.mc...@miru.hk wrote: I think it is easier now as they have more support than just MSVC2013 (C99 compat) when crypto was added to ZeroMQ. On 9 October 2014 17:47, MinRK

Re: [zeromq-dev] PyZMQ recv() acts crazy on one machine

2013-12-29 Thread Min RK
what is zmq.zmq_version() on each? -MinRK On Dec 29, 2013, at 0:01, Thomas Johnson thomas.j.john...@gmail.com wrote: Consider the following simple program: #CUT HERE #!/usr/bin/python import zmq context_push = zmq.Context(1) socket_push = context_push.socket(zmq.PUSH)

Re: [zeromq-dev] A security authentication module for pyzmq

2013-12-08 Thread Min RK
By all means! A PR adding that as zmq.auth would be great. -MinRK On Dec 8, 2013, at 5:07, Chris Laws clawsi...@gmail.com wrote: I was wanting to use ZMQ's security features in my pyzmq applications. As far as I can tell the security API in pyzmq is pretty low level (sockopts and write

Re: [zeromq-dev] Is ZMQ_PLAIN authentication supposed to do anything?

2013-09-02 Thread Min RK
On Sep 2, 2013, at 9:25, Pieter Hintjens p...@imatix.com wrote: MinRK, I've just pushed a patch that fixes authentication for PLAIN and CURVE, and updated the test cases to match. It all works as expected... :-) One thing about CURVE authentication; client keys are passed to the ZAP

Re: [zeromq-dev] pyzmq poll pull request results

2013-06-25 Thread Min RK
I wouldn't actually recommend using the green poller, it seems to miss the point. I would use a plain greenlet for each socket if possible. -MinRK On Jun 25, 2013, at 11:04, Brian Knox brian.k...@neomailbox.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (sorry about the new

Re: [zeromq-dev] pyzmq poller performance

2013-06-24 Thread Min RK
Thanks for the report, I will look into whether I have introduced a performance degradation in the last few iterations. -MinRK On Jun 24, 2013, at 11:27, Brian Knox bri...@talksum.com wrote: It's been awhile since I've used pyzmq, and I'm running into a performance issue using

Re: [zeromq-dev] cython inline checkrc change in PyZMQ 13.0.0 changes handling of EINTR?

2013-03-11 Thread Min RK
On Mar 11, 2013, at 13:13, Jonathan Kamens jkam...@quantopian.com wrote: Greetings, With PyZMQ versions prior to 13.0.0, we were running into problems with certain PyZMQ calls getting interrupted by restartable signals (e.g., SIGALRM) used by our application. We fixed this problem like

Re: [zeromq-dev] error import after installing pyzmq latest version

2012-12-29 Thread Min RK
On Dec 29, 2012, at 1:27, Maxa Jean Aimee maxajeanai...@yahoo.fr wrote: Hi everyone, I have an error when i attempted to update my zeromq to the new version 3.2 This is the ouput that I have: Traceback (most recent call last): File stdin, line 1, in module File

Re: [zeromq-dev] (py)zmq, fork and cloexec

2012-06-19 Thread Min RK
On Jun 19, 2012, at 7:06 AM, Christian Heimes li...@cheimes.de wrote: Hello all, I've done some tests with pyzmq to check if ZQM sets the CLOEXEC flag on its file descriptors. During the tests I ran into several issues that might be bugs in ZMQ or pyzmq. My setup OS: Ubuntu 12.04

Re: [zeromq-dev] ZeroMQ 3.2.0 stable RC1 is now available

2012-06-05 Thread Min RK
On Jun 5, 2012, at 9:56 PM, Pieter Hintjens p...@imatix.com wrote: On Wed, Jun 6, 2012 at 12:01 AM, MinRK benjami...@gmail.com wrote: I know RC/beta terminology is just semantics, but are we really going straight to stable with no betas with a half-dozen relatively untested new features?

Re: [zeromq-dev] Error While Building pyzmq

2012-04-24 Thread Min RK
Wow, debug Python 3 on 64b Windows is *far* outside my home court. I guess my first question would have to be: can you build other extensions properly? -MinRK On Apr 23, 2012, at 23:04, Gargi Das gargi@hotmail.com wrote: Hello All, I am facing a problem when i am trying to build pyzmq

Re: [zeromq-dev] protocol design question

2011-11-15 Thread Min RK
On Nov 15, 2011, at 12:45, Chuck Remes cremes.devl...@mac.com wrote: On Nov 15, 2011, at 2:36 PM, MinRK wrote: e.g. struct sequence_id { uint64 number; uchar uuid[16]; }; Is this all right? Or is there a better way to accomplish this framing? cr I have a general question

Re: [zeromq-dev] Problem Compiling Pyzmq

2011-07-25 Thread Min RK
To build python extensions, you need the Python headers with 'apt-get install python-dev'. -MinRK On Jul 25, 2011, at 13:36, Antonio Teixeira eagle.anto...@gmail.com wrote: Hello Guys/Gals. I have tried to install pyzmq in ubuntu 11.04 Linux ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue

Re: [zeromq-dev] pyzmq Windows binaries

2011-04-13 Thread Min RK
It was entirely an accident, due to my lack of experience on Windows. I will push replacements, later today. Thanks! -MinRK On Apr 13, 2011, at 7:06, Ben James bmja...@gmail.com wrote: Hi, I recently found that there are Windows installers for pyzmq at

Re: [zeromq-dev] Important: backward incompatible changes for 0MQ/3.0!

2011-03-22 Thread Min RK
On Mar 22, 2011, at 16:31, Pieter Hintjens p...@imatix.com wrote: On Wed, Mar 23, 2011 at 12:08 AM, MinRK benjami...@gmail.com wrote: I use PAIR quite a bit, because many of my small cases really are symmetric a=b connections (not REQ/REP pattern). Frankly, I can easily use XREQ for both

Re: [zeromq-dev] More security thoughts

2010-11-17 Thread Min RK
On Nov 17, 2010, at 0:15, Martin Sustrik sust...@250bpm.com wrote: Hi Brian, Summary: even if we can figure out how to make message level security bulletproof, there are some serious performance issues. Great analysis! At the moment I see 2 solutions to the performance problem: 1.

Re: [zeromq-dev] problem building pyzmq

2010-11-13 Thread Min RK
-development stable release. --eric On 11/12/2010 09:46 PM, Min RK wrote: You are using the current development branch, the website points to our github development branch, and we haven't cut a release since 2.0.8, due to refactoring and time. We have one feature pending review, then we

Re: [zeromq-dev] problem building pyzmq

2010-11-13 Thread Min RK
You did not download a stable release, you downloaded our current development branch. If you get the code via git, it is not a release. It is an imprecise message: you need cython to develop the code *or* to build from our development repository. You checked out our development branch, which

Re: [zeromq-dev] problem building pyzmq

2010-11-12 Thread Min RK
Your cython is broken if you are seeing that error. How did you install cython? -MinRK On Nov 12, 2010, at 20:17, eric e...@ericjbell.com wrote: I have a related problem ... I am unable to build pyzmq following the instructions for non-development release. Specifically: I am trying to

Re: [zeromq-dev] problem building pyzmq

2010-11-12 Thread Min RK
On 11/12/2010 08:20 PM, Min RK wrote: Your cython is broken if you are seeing that error. How did you install cython? -MinRK On Nov 12, 2010, at 20:17, erice...@ericjbell.com wrote: I have a related problem ... I am unable to build pyzmq following the instructions for non-development

Re: [zeromq-dev] EncryptedSocket added to pyzmq in branch

2010-11-02 Thread Min RK
There's no encrypted bit or anything. This isn't 'Encrypted ZMQ', it's just an object that encrypts messages prior to sending them. Think of it more as a wrapper than anything. The messaging library has no sense of whether a message is encrypted or not, you have to specify that in user code:

Re: [zeromq-dev] EncryptedSocket added to pyzmq in branch

2010-11-02 Thread Min RK
On Nov 2, 2010, at 8:51, Burak Arslan burak.ars...@arskom.com.tr wrote: On 11/02/10 15:34, Brian Granger wrote: On Tue, Nov 2, 2010 at 3:53 AM, Burak Arslan burak.ars...@arskom.com.tr wrote: On 11/02/10 10:31, Min RK wrote: There's no encrypted bit or anything. This isn't 'Encrypted ZMQ