[zeromq-dev] Proposed minor changes to spec:21

2015-09-04 Thread Osiris Pedroso
I happened across 0MQ and I am really excited to use it in a project at work. I am still reading The Guide and the web site in general. I came across some inconsistencies/typos in this (stable) RFC and would like to point them out. These are comments related to http://rfc.zeromq.org/spec:21

[zeromq-dev] Building stable zeromq-4.1.3 on Windows

2015-09-16 Thread Osiris Pedroso
I downloaded Windows sources for zeromq-4.1.3 and when using the DevStudio 2013 solution (...\builds\msvc\vs2013\libzmq.sln) I get multiple build errors such as these: 1> curve_server.cpp 1>x:\shared\zeromq\src\curve_client.hpp(41): fatal error C1083: Cannot open include file: 'sodium.h': No

[zeromq-dev] How to define a global queue

2015-12-23 Thread Osiris Pedroso
s that can be used on all these three messaging systems simply by changing one source line in the class factory. Thanks, Osiris Pedroso PS: Spoiler alert: ZeroMQ is the hands down performance winner! :-) PPS: If you do extend the samples provided (you need to sign up for premium services on P

Re: [zeromq-dev] ZeroMQ Reliable Multicast just halts and never continues

2016-06-15 Thread Osiris Pedroso
Have you used Wireshark to see if that traffic is actually making to the client box when your application stops receiving it? That would prove if problem resides in your application or the network itself. On Wed, Jun 15, 2016 at 9:23 AM Paul Krauss wrote: > Hi Folks

[zeromq-dev] Would like to be a Windows ZeroMQ mentor?

2016-01-18 Thread Osiris Pedroso
My name is Osiris Pedroso and I am new to ZeroMQ. I am a Windows software developer with 30+ years of experience, mostly in C/C++. I would like to learn how to build/develop ZMQ in Windows and how to interact with the ZMQ community. I followed the steps in this page (https://github.com/zeromq

Re: [zeromq-dev] Would like to be a Windows ZeroMQ mentor?

2016-01-18 Thread Osiris Pedroso
able to copy the vs2013 stuff to vs2015 and build it, > plus czmq (in another sibling, libzcmq/ I think) with VS Express. > > -brian carcich > > On Mon, Jan 18, 2016 at 3:31 PM, Osiris Pedroso <opedr...@gmail.com> > wrote: > >> Hi Peter, >> >> I used git

Re: [zeromq-dev] Would like to be a Windows ZeroMQ mentor?

2016-01-18 Thread Osiris Pedroso
Hi Peter, I used git to clone libzmq master like this: c:\> git clone https://github.com/zeromq/libzmq I found the solution file for my DevStudio version here: c:\libzmq\builds\msvc\vs2013\libzmq.sln I opened it and when I built it, I get same errors are when I did get on libzmq-4.1.4 clone:

Re: [zeromq-dev] Nanomsg postmortem

2016-02-08 Thread Osiris Pedroso
Very interesting read. It confirms Pieter's view that every pull request should be merged, no matter the direction it takes us. This adds/keep a contributor interest in the project, which ultimately keeps the project alive in the long run. But I still think the minimum bar should be that a PR

[zeromq-dev] LIBZMP tests failing

2016-02-09 Thread Osiris Pedroso
Testsuite summary for zeromq 4.2.0 # TOTAL: 80 # PASS: 77 # SKIP: 0 # XFAIL: 2 # FAIL: 1 # XPASS: 0 # ERROR: 0

Re: [zeromq-dev] Builds failing

2016-02-05 Thread Osiris Pedroso
I second this request. I would rather have a clean build that new functionality being added that may break the build it even further. Best regards, Osiris On Fri, Feb 5, 2016 at 10:33 AM Arnaud Loonstra wrote: > Hi all, > > I was trying to get the zyre CI builds to run

Re: [zeromq-dev] Should Add Windows Instructions to INSTALL or README?

2016-02-05 Thread Osiris Pedroso
Agreed. There are also problems if one wants to build Zyre and Malamute, since the SLN files expect some files to be in specific locations that have to be hand copied from the other projects to get it to build in Windows as well. I second the request. As Peter says, can you make the changes and

Re: [zeromq-dev] Building ZGuide

2016-02-23 Thread Osiris Pedroso
Thanks guys, That was very helpful. I was finally able to do it. Just sent a pull request, so next person will have an easier time. Thanks again, Osiris On Mon, Feb 22, 2016 at 5:26 PM Luca Boccassi <luca.bocca...@gmail.com> wrote: > On 22 February 2016 at 21:57, Osiris Pedro

[zeromq-dev] Building ZGuide

2016-02-22 Thread Osiris Pedroso
I am trying to build ZGuide. Selfish reason is that I am using same ascii diagrams to describe my architecture and would like to use the same toolset to generate the graphics/pdf, since I like ZGuide's graphics so much. I have an up to date Ubuntu 14.04 LTS VM that I am running. I got the ZGuide

Re: [zeromq-dev] odd error from pyzmq

2016-02-26 Thread Osiris Pedroso
Isn't the problem that both sides are binding? I believe one side should bind, the other should connect. On Fri, Feb 26, 2016 at 1:15 PM Jerry Scharf wrote: > Hi, > > That's not it. I added a gethostbyname to the code, that works but the > bind still fails. I did

Re: [zeromq-dev] odd error from pyzmq

2016-02-26 Thread Osiris Pedroso
Cut and paste always gets me too... :-) On Fri, Feb 26, 2016 at 1:59 PM Osiris Pedroso <opedr...@gmail.com> wrote: > Isn't the problem that both sides are binding? > I believe one side should bind, the other should connect. > > On Fri, Feb 26, 2016 at 1:15 PM Je

Re: [zeromq-dev] odd error from pyzmq

2016-02-28 Thread Osiris Pedroso
the quick help. > > > jerry > > > On 02/26/2016 11:59 AM, Osiris Pedroso wrote: > > Isn't the problem that both sides are binding? > I believe one side should bind, the other should connect. > > On Fri, Feb 26, 2016 at 1:15 PM Jerry Scharf < > sch...@lagunawayconsul

Re: [zeromq-dev] State of libzmq versioning

2016-02-29 Thread Osiris Pedroso
Hi Arnaud, The "Edit on GitHub" (top right link) which links to " https://github.com/zeromq/pyre/blob/doc/docs/index.rst; on page " https://pyre.readthedocs.org/en/latest/; is broken. Fixing it would be best way to get people contributing to the documentation effort. Thanks, Osiris On Mon, Feb

[zeromq-dev] Missing definiton in Malamute's BNF

2016-02-15 Thread Osiris Pedroso
I am looking at malamute/mlm_proto.bnf and noticed that the following message is not defined: stream-traffic = C:STREAM-WRITE ( S:OK / S:ERROR ) / C:STREAM-READ / C:*STREAM-PUBLISH* / S:STREAM-DELIVER STREAM-PUBLISH is not defined in

[zeromq-dev] Latest libzmq tests fail

2016-02-19 Thread Osiris Pedroso
I work in Windows mostly, so when I see something that happens in Windows, I don't assume same is happening in Linux. I making some changes to compilation of libzmq in Windows and I wanted to make sure my changes do not break the Linux builds. So I got an Ubuntu 14.04 LTS VM and after 20+ years

Re: [zeromq-dev] Latest libzmq tests fail

2016-02-19 Thread Osiris Pedroso
cca...@gmail.com> > wrote: > > On 19 February 2016 at 12:29, Osiris Pedroso <opedr...@gmail.com> wrote: > >> I work in Windows mostly, so when I see something that happens in > Windows, I > >> don't assume same is happening in Linux. > >> > >>

Re: [zeromq-dev] How to build CZMQ in Windows?

2016-03-10 Thread Osiris Pedroso
use an older release. > > On Thu, Mar 10, 2016 at 12:33 AM, Osiris Pedroso <opedr...@gmail.com> > wrote: > > From Johan email above: > > CZMQ: > > - download czmq 3.0.2 (latest stable release, which will be used in our > > project): https://github.com/zeromq/czm

[zeromq-dev] Adding a last-good tag to commits

2016-03-11 Thread Osiris Pedroso
I had the idea to somehow mark a commit as the last known good build for each targets which we have Travis-CI enabled. Basically the Travis-Ci script would mark the repository only if the build completed with no errors. Same idea could be used to mark the last commit for which all automated tests

[zeromq-dev] NetMQ and Jetbrains

2016-03-15 Thread Osiris Pedroso
If I decide to use NetMQ in my commercial project, am I required to get a JetBrains license? Why is JetBrains delivered as part of NetMQ? Thanks Osiris ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

[zeromq-dev] zgossip_test_method crash on exit in Windows

2016-03-15 Thread Osiris Pedroso
I am running the zgossip_test_method which can be found at the end of this page: http://api.zeromq.org/czmq3-0:zgossip The test runs without any problems then asserts on exit. The code where it fails in terminate(): // First attempt to terminate the context. if (!restarted) {

Re: [zeromq-dev] 4.1.x Windows Package

2016-03-15 Thread Osiris Pedroso
I have some 20+ years of Windows development under my belt... still a newbie to the zeromq project and to open source volunteering in general though, so take my comments with a grain of salt. I have been fighting the same battle the last month or so. In the process I have updated some of the

[zeromq-dev] How to build CZMQ in Windows?

2016-03-09 Thread Osiris Pedroso
I need instructions on how to build CZMQ in Windows. I have DevStudio 2013. I have successfully built libzmq on a parallel dir (g:\libzmq) using CMAKE steps: mkdir cmake-make cd cmake-make cmake .. This gives me the following library built: g:\> dir/s/b *.lib

Re: [zeromq-dev] Thread safe Pub/Sub and Multicast

2016-03-12 Thread Osiris Pedroso
You say this: - [Radio/Dish are] Thread safe, you can send and receive messages from multiple threads, so for publisher you now don't need internal device to publish from multiple threads and with subscriber you can use it as load balancer. So by extension, it means that a Radio/Dish

Re: [zeromq-dev] 4.1.x Windows Package

2016-03-15 Thread Osiris Pedroso
ing projects. Any problems that you can bring forward > are welcome, if you can deliver the solution as well even better :) > > Thanks! > > //Kevin > >> On Di, Mär 15, 2016 at 11:53 , Osiris Pedroso <opedr...@gmail.com> wrote: >> I have some 20+ years of Wi

Re: [zeromq-dev] NodeJS binding for CZMQ

2016-04-05 Thread Osiris Pedroso
Hi Pieter, Sorry for the late feedback, but one thing I noticed is that the files you are generating through zproject for the NodeJS binding are missing the generated by zproject headers to them. On Mon, Apr 4, 2016 at 5:36 AM Pieter Hintjens wrote: > Hi all, > > I've been

Re: [zeromq-dev] Test failing on OS X 10.9.4

2016-04-06 Thread Osiris Pedroso
Lucky you, Ubuntu 14.04 results: Testsuite summary for zeromq 4.2.0 # TOTAL: 78 # PASS: 74 # SKIP: 0 # XFAIL: 0 # FAIL: 4 # XPASS: 0 #

Re: [zeromq-dev] Test failing on OS X 10.9.4

2016-04-06 Thread Osiris Pedroso
g them. > > Best regards > > > Matjaž > > > On 6.4.2016 19:45, Osiris Pedroso wrote: > > Lucky you, > > Ubuntu 14.04 results: > > >

Re: [zeromq-dev] Idiot guide to update mlm server project

2016-04-09 Thread Osiris Pedroso
Matjaz, checkout the zproject/tstgenbld.sh script. It does the generation, build and make test for a list of projects (czmq, malamute, zyre). I think it would be simple to add some cmake targets to regen the sources if zproject and gsl projects are on disk. As long as we don't wire to do it

Re: [zeromq-dev] Idiot guide to update mlm server project

2016-04-10 Thread Osiris Pedroso
? > I'd like to go full circle, before I apply the curve patch. > > Thanks in advance > > Matjaž > > On 10.4.2016 3:03, Osiris Pedroso wrote: > > Matjaz, checkout the zproject/tstgenbld.sh script. > > > > It does the generation, build and make test for a list of pr

Re: [zeromq-dev] malamute CMake & eclipse

2016-04-06 Thread Osiris Pedroso
Here is the process to find out which file creates any generated file: 1. get the name of file you are interested 2. clone zeromq/zproject 3. search for the filename you are interested in *.gsl: O:\git\zproject>findstr /c:CMakeLists.txt *.gslzproject_cmake.gsl:.output

Re: [zeromq-dev] malamute CMake & eclipse

2016-04-06 Thread Osiris Pedroso
malamute > development team needs? If it is only for me, I can stick with the existing > solution. ;-) > > How is zproject related to malamut project? > > Best regards > > > Matjaž > > > On 6.4.2016 14:55, Osiris Pedroso wrote: > > Here is the pro

Re: [zeromq-dev] Idiot guide to update mlm server project

2016-04-08 Thread Osiris Pedroso
I would second this request, since it would increase my understanding of the process of the generating code using ZPROJECT and GSL. On Fri, Apr 8, 2016 at 2:43 PM Matjaž Ostroveršnik < matjaz.ostrovers...@gmail.com> wrote: > Dear all, > > I managed to locally extend the mlm server with: > -

Re: [zeromq-dev] Where is source file for libczmq.vcxproj?

2016-03-22 Thread Osiris Pedroso
Ok, I modified the gsl file and then I did this: ~/git/zproject$ gsl zproject_vs20xx_props.gsl When I execute git status now though, it does not show any of the “.props” file as modified/created. opedroso@OPLIN:~/git/zproject$ git status On branch master Your branch is up-to-date with

Re: [zeromq-dev] How to specify stable when using GSL

2016-03-25 Thread Osiris Pedroso
to be pushed to stable state. Use --enable-drafts to enable. +// This API is a draft, and may change without notice. #ifdef MLM_BUILD_DRAFT_API #define MLM_PROTO_SUCCESS 200 // #define MLM_PROTO_FAILED 300// On Fri, Mar 25, 2016 at 10:36 AM Osiris Pedroso <ope

[zeromq-dev] How to specify stable when using GSL

2016-03-25 Thread Osiris Pedroso
I have made some changes to zproject (Windows building scripts) and regenerated zeromq/malamute project with those changes using these steps: #!/usr/bin/env bash set -x ( cd ~/git/zproject && ./autogen.sh && ./configure && make && sudo make install ) || exit 1 #git clone --depth 1

Re: [zeromq-dev] Where is source file for libczmq.vcxproj?

2016-03-20 Thread Osiris Pedroso
svc\vs2013\libzmq.import.props file? On Sun, Mar 20, 2016 at 8:19 AM Osiris Pedroso <opedr...@gmail.com> wrote: > The file *builds/msvc/vs2013/libczmq/libczmq.vcxproj* says it is > generated by ZPROJECT. > > The RELEASE targets for 32 and 64 bit dlls do not currently generate PDBs, > which pr

Re: [zeromq-dev] How to specify stable when using GSL

2016-03-27 Thread Osiris Pedroso
then the unstable ones according to what happens > at configure time. > > -Pieter > >> On Fri, Mar 25, 2016 at 4:46 PM, Osiris Pedroso <opedr...@gmail.com> wrote: >> In case you prefer this format: >> >> G:\malamute>git diff include\mlm_proto.h >> diff

Re: [zeromq-dev] Empty message does not close ZMQ_STREAM socket?

2016-03-22 Thread Osiris Pedroso
If I am completely off here, please let me know (still learning ZMQ): server.send(id, ZMQ_SNDMORE); server.send(empty, ZMQ_SNDMORE ); But I don't think you should have the ZMQ_SENDMORE flag on the second send() call. Otherwise the message will not be sent, instead waiting for another

Re: [zeromq-dev] 4.1.x Windows Package

2016-03-19 Thread Osiris Pedroso
t by fixing czmq's import.props and appveyor.yml > and open PRs even though it's generated. I will then make sure the changes > get applied to zproject. In terms of breaking stuff don't be afraid git and > github make it very easy to revert commits if necessary. > > //Kevin > >

[zeromq-dev] Talking about Zyre

2016-03-04 Thread Osiris Pedroso
I know Zyre does work on a processes running on a local machine. Does it also work on network segments? If so, can it be tailored to only search so many segments away using TTL in TCP/IP packets? Thanks, Osiris ___ zeromq-dev mailing list

[zeromq-dev] LIBZMQ license

2016-03-04 Thread Osiris Pedroso
The file COPYING in libzmq indicates that liqzmq is licensed under GPLv3. There is no mention to a statically linked exception. The ZeroMQ site licensing page indicates that it is "GPLv3 plus a statically linking exception". But this is not stated anywhere in

Re: [zeromq-dev] LIBZMQ license

2016-03-04 Thread Osiris Pedroso
Hi Luca, That makes sense. Thanks, Osiris Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Mar 4, 2016, at 16:27, Luca Boccassi <luca.bocca...@gmail.com> wrote: > >> On Fri, 2016-03-04 at 12:37 +0000, Osiris Pedroso wrote: >> The file COP

Re: [zeromq-dev] How to specify stable when using GSL

2016-03-30 Thread Osiris Pedroso
> decided at configure and/or build time. I guess we could add an option > to force this, at generation time. > > In zproject if you haven't marked any part of the API as stable, then > it's all built. Does this not cover what you need? > > > On Sun, Mar 27, 2016 at 1:28 PM, O

[zeromq-dev] ZPROJECT help is on the way

2016-04-01 Thread Osiris Pedroso
Hello fellow ZMQers, If you have been hit a few times like me with making a change to a file generated by zproject before you knew that files were generated by zproject, I have just checked in a new tool for you. https://github.com/zeromq/zproject/pull/584 This checkin has added

Re: [zeromq-dev] CZMQ code generation

2016-04-25 Thread Osiris Pedroso
to > refresh zproto models. > > Q3: > No, changes are applied gradually downstream there is no pressure to do it > right away. If there was a critical bug a mail to the mailing might be > appropriate though. > > > 2016-04-25 14:47 GMT+02:00 Osiris Pedroso <opedr.

Re: [zeromq-dev] CZMQ code generation

2016-04-25 Thread Osiris Pedroso
zproto's > scripts. > > 2016-04-25 16:53 GMT+02:00 Osiris Pedroso <opedr...@gmail.com>: > >> Thanks Kevin, very informative. >> >> On Q1, I believe you answered was "-target:-" means. >> >> What does the cmd line option &

[zeromq-dev] Building CZMQ with disable-drafts

2016-04-22 Thread Osiris Pedroso
How can I build CZMQ with disable-drafts in Ubuntu? In Windows, I run czmq/builds/msvc/configure.bat --disable-drafts to accomplish that. Thanks ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Building CZMQ with disable-drafts

2016-04-22 Thread Osiris Pedroso
. Compilation works fine in Linux for both draft APIs or not. On Fri, Apr 22, 2016 at 3:44 PM Osiris Pedroso <opedr...@gmail.com> wrote: > How can I build CZMQ with disable-drafts in Ubuntu? > > In Windows, I run czmq/builds/msvc/configure.bat --disable-drafts to > accomplis

[zeromq-dev] Behavior question for Malamute self_test

2016-04-29 Thread Osiris Pedroso
I noticed that if I set a breakpoint in the line below marked "BP>", and do single step execution of the asserts and zstr_free statements, the next receive will fail and the test does not proceed beyond that point. In malamute\src\mlm_client.c, mlm_client_test() has these code lines: ```

Re: [zeromq-dev] Malamute selftest crashes on exit in Windows

2016-04-27 Thread Osiris Pedroso
e() being used somewhere instead of a zstr_free(). > > On Tue, Apr 26, 2016 at 10:17 PM, Osiris Pedroso <opedr...@gmail.com> > wrote: > > Got latest zeromq (as of yesterday), built all in Windows using Dev2013. > > > > https://github.com/zeromq/malamute/issues/169 >

Re: [zeromq-dev] CZMQ "stable" release versioning

2016-04-25 Thread Osiris Pedroso
Pieter, What is the process of marking an individual method as draft? What should one do to have that effect? Thanks, Osiris Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Apr 25, 2016, at 04:51, Pieter Hintjens wrote: > > Yes, retiring the

[zeromq-dev] Malamute selftest crashes on exit in Windows

2016-04-26 Thread Osiris Pedroso
Got latest zeromq (as of yesterday), built all in Windows using Dev2013. https://github.com/zeromq/malamute/issues/169 Seems to only happen in those versions that use the LIBZMQ dll, not if linked statically. ___ zeromq-dev mailing list

[zeromq-dev] CZMQ code generation

2016-04-25 Thread Osiris Pedroso
Up till now, I thought that the following command was what regenerated the code for CZMQ project (or any other project using GSL code generation for that matter): ``` root@OPLIN:~/git/czmq# gsl project.xml ``` But I came across the contents of CZMQ's Makemodule.am, which has this rule in it

Re: [zeromq-dev] CZMQ "stable" release versioning

2016-04-25 Thread Osiris Pedroso
s://github.com/zeromq/czmq/blob/7e4e9202bb1f32c58aef23b7626c280f7e743a95/api/zframe.api#L107 > > 2016-04-25 11:57 GMT+02:00 Osiris Pedroso <opedr...@gmail.com>: > >> Pieter, >> >> What is the process of marking an individual method as draft? >> What should one do to have that eff

Re: [zeromq-dev] iMatix copyrights in ZeroMQ code base

2016-04-22 Thread Osiris Pedroso
LOL! Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Apr 22, 2016, at 11:51, Pieter Hintjens wrote: > > Yes, it comes from a well known account and a judge in court looking > at this would accept it as plausible enough to sustain. In case of > doubt, I

Re: [zeromq-dev] Malamute Users - Service Requests API

2016-05-03 Thread Osiris Pedroso
.vysko...@gmail.com> wrote: > > Hi, > > By timeout you mean that client expects an answer for service request in $foo > seconds? > > Dne 2. 5. 2016 1:15 PM napsal uživatel "Osiris Pedroso" <opedr...@gmail.com>: >> Hi, >> >> I am new to Malamute and

[zeromq-dev] Malamute Stream API users

2016-05-04 Thread Osiris Pedroso
Just to clarify, in the Malamute selftest, there is this code: ``` mlm_client_set_producer (writer1, "weather"); mlm_client_set_producer (writer2, "traffic"); mlm_client_set_consumer (reader1, "weather", "newyork"); mlm_client_set_consumer (reader1, "traffic", "newyork");

Re: [zeromq-dev] Can ZeroMQ be considered 'light-weight'?

2016-05-04 Thread Osiris Pedroso
I use ZeroMQ in Windows environment. This past week I ran Memory Validator on zeromq and I was surprised with a hot spot of memory allocation. MV show that there is a 1Mb allocation happening over and over for every message read. This was done to fix https://github.com/zeromq/libzmq/issues/1608.

Re: [zeromq-dev] Adding new tests to Malamute

2016-05-06 Thread Osiris Pedroso
er. >> >> Please do read & follow coding style on all patches, space before '(' >> and noNamesLikeThis. >> >> Cheers :) >> Pieter >> >> On Thu, May 5, 2016 at 5:25 PM, Osiris Pedroso <opedr...@gmail.com> >> wrote: >> > I am in the

Re: [zeromq-dev] New version of C4 (C4.2?)

2016-05-05 Thread Osiris Pedroso
If you are reviewing RFC 42 and it is policy to not accept contributions in certain file format, I believe it is time to put those in the RFC, so it is clear to contributors what is not allowed. Pieter, you yourself was quoted in an article as having impressed a person when he suggested you

[zeromq-dev] Adding new tests to Malamute

2016-05-05 Thread Osiris Pedroso
I am in the process of adding a few new tests to malamute self tests, learning its API in the process. They will target specific portions of the APIs: 1. mlm_stream_api_test (single broadcaster, single listener) 2. mlm_service_api_test (single requester, single service provider)

[zeromq-dev] Malamute Users - Service Requests API

2016-05-02 Thread Osiris Pedroso
Hi, I am new to Malamute and wanted to exchange words with some other user of the Service Requests API in Malamute. Malamute being a message broker, I expected to find some sort of timeout and/or retry logic for in-flight service requests, but from the API I don't think those exist. I wonder how

Re: [zeromq-dev] Role of iMatix in ZeroMQ community

2016-04-18 Thread Osiris Pedroso
I like the idea of a 0MQ foundation. Maybe turn ownership to all the contributors to zeromq and have an executive committee that deals with day to day affairs. On Mon, Apr 18, 2016 at 2:56 PM Michel Pelletier wrote: > This is terrible news Pieter, there's no easy way

Re: [zeromq-dev] build problem after mlm_client.xml change

2016-04-14 Thread Osiris Pedroso
Hi Matjaz, Can you provide a repository with the modified file checked in? I would like to try it as well. Thanks, Osiris On Thu, Apr 14, 2016 at 9:12 AM Matjaž Ostroveršnik < matjaz.ostrovers...@gmail.com> wrote: > Hi, > > I tried to add a new method to the mlm_client.xml and then regenerate

[zeromq-dev] How to build a stable (non DRAFT_API) version of malamute?

2016-04-19 Thread Osiris Pedroso
My environment is Windows. I need to know how to build the MALAMUTE library/dll without DRAFT_API being defined. Same question applies to CZMQ, since MALAMUTE includes CZMQ as well. Is it just a matter of hand editing platform.h and commenting #define MLM_BUILD_DRAFT_API? Thanks, Osiris

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
TP 3.0. This mechanism utilizes the Generic Security Service Application Interface, which provides security services to callers in a generic fashion. On Thu, Feb 23, 2017 at 9:09 AM Osiris Pedroso <opedr...@gmail.com> wrote: > Under the subtitle "The Socket-Type Property"

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
Doron, What is needed next on it? I see that there is a Dealer type socket only implemented. Implement other socket types? What would actually be the ultimate goal/API surface for a ZMTP compatible library for UWP in C#? Is it implementing the ZMTP protocol

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread Osiris Pedroso
iled over uwp) > > Bruno > > > On Thu, Feb 23, 2017 at 3:49 PM, Osiris Pedroso <opedr...@gmail.com> > wrote: > > Doron, > > What is needed next on it? > I see that there is a Dealer type socket only implemented. Implement other > socket types? > >

Re: [zeromq-dev] How to get transactions from bitcoind?

2017-01-16 Thread Osiris Pedroso
Hi Andy, 1) Wild guess here for the first one. Instead of std::vector msg_parts; try std::vector msg_parts; This will work if the encoding of the message being received is UNICODE as opposed to ASCII encoding. 2) The zmq_getsockopt API indicates

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-27 Thread Osiris Pedroso
Osiris Pedroso <opedr...@gmail.com> wrote: > Hi Doron, > > Update: > >1. I read the ZTMP specs and understood what I have to do on a message >by message. > >2. I rebuilt my machine by installing Windows 10 Anniversary edition >and enabling the L

Re: [zeromq-dev] BDFL literally

2016-10-05 Thread Osiris Pedroso
Could you please list them? I would like to sponsor a few, but would like to check them out first. Sent from my iPad. Regularly foiled by autocorrect. But duck it.. > On Oct 5, 2016, at 17:49, Ewen McNeill wrote: > >> On 20/04/16 6:16, Pieter Hintjens wrote: >> So

Re: [zeromq-dev] Question about context and/or socket creation

2016-10-04 Thread Osiris Pedroso
I tried to compile, but I don't have the zmq.hpp file it includes. What github project to I need to get it? On Tue, Oct 4, 2016 at 11:36 AM James Chapman wrote: > I suspect there is a bug within ZMQ, that or I'm doing something stupid. > Actually, the latter is probably

Re: [zeromq-dev] Bye bye Pieter

2016-10-04 Thread Osiris Pedroso
RIP Pieter. On Tue, Oct 4, 2016 at 10:13 AM YANG Fan wrote: > RIP Pieter > > On Tue, Oct 4, 2016 at 10:35 PM Godefroid Chapelle > wrote: > > On 04/10/16 16:29, Benjamin Henrion wrote: > > Dear Pieter, > > > > I wanted to say a last goodbye at noon at the

Re: [zeromq-dev] Bye bye Pieter

2016-10-04 Thread Osiris Pedroso
Does anybody know Pieter's birth date? I would like to set myself a reminder to commemorate his life accomplishments on that date every year going forward... Thanks On Tue, Oct 4, 2016 at 11:11 AM Jacques Richer wrote: > I found him a kind and very special man. He will be

Re: [zeromq-dev] ZeroMQ Architectural Patterns & Quality Attributes for Research

2016-10-18 Thread Osiris Pedroso
Hi Michael, You should read the following document (it is a book really) that will have answers to most of your questions above. http://zguide.zeromq.org/page:all After you invest that time, then it would make sense to ask pointed/specific questions for items that were not clear from the link

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-11-23 Thread Osiris Pedroso
I know how to generate minidumps in Windows and create a small (~20Kb) file that would have a snapshot of the stack and lots of other goodies. To access it, one opens the generated .DMP file with "WinDBG.exe -k minidump.dmp", enter the command ".ecxr" then "kvn" to see stack at the failure point

Re: [zeromq-dev] malloc() memory corruption at zsock_new_req

2016-11-17 Thread Osiris Pedroso
You are most likely corrupting the heap a couple of lines back in this code: char *endpoint = (char*) malloc(sizeof(30)); sprintf(endpoint, "tcp://%s:%d", c_address, port); The sprintf() function returns how many characters it wrote tot the buffer. Make sure it is returning less than 29

Re: [zeromq-dev] ZMQ 4.2.0 stack overflow on Windows

2016-11-30 Thread Osiris Pedroso
You can enable Stop on All Exceptions on Dev2012 and run your process. As soon as an exception happens, it will stop on that instructions and you will be able to see the stack and environment variables for all frames, which may help you find out what is wrong. If you install the WinDBG debugger

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-12-03 Thread Osiris Pedroso
i.com/pflichtangaben<http://de.cgi.com/pflichtangaben>. > > > > CONFIDENTIALITY NOTICE: Proprietary/Confidential information belonging > to CGI Group Inc. and its affiliates may be contained in this message. If > you are not a recipient indicated or intended in this message (

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-12-03 Thread Osiris Pedroso
I meant quick stab at zdump.h... On Sat, Dec 3, 2016 at 7:18 PM Osiris Pedroso <opedr...@gmail.com> wrote: > Quick stack at zdump.h included > > > On Sat, Dec 3, 2016 at 7:04 PM Osiris Pedroso <opedr...@gmail.com> wrote: > > I thought some more about this and I t

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-12-03 Thread Osiris Pedroso
Quick stack at zdump.h included On Sat, Dec 3, 2016 at 7:04 PM Osiris Pedroso <opedr...@gmail.com> wrote: > I thought some more about this and I think I would like to implement this > functionality as an actor named zdump. > > Implementing it as an actor would allow any prog

[zeromq-dev] Happy Pieter Hintjens Day

2016-12-03 Thread Osiris Pedroso
Today is the birthday of Pieter Hintjens (3 December 1962 – 4 October 2016). After Pieter's death earlier this year I decided I will commemorate his birthday every year going forward, keeping his memory alive. I just started reading today his

[zeromq-dev] NetMQ behavior question

2017-10-04 Thread Osiris Pedroso
I got one of this example from http://netmq.readthedocs.io/en/latest/transports/#tcp ''' using (var end1 = new PairSocket()) using (var end2 = new PairSocket()) { end1.Bind("inproc://inproc-demo"); end2.Connect("inproc://inproc-demo"); var end1Task = Task.Run(() => {

[zeromq-dev] NetMQ unexpected early exit

2017-10-07 Thread Osiris Pedroso
Can anybody comment on this issue: https://github.com/opedroso/NetMQSamples/issues/1 Thanks, Osiris ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] R.I.P. Pieter Hintjens

2017-12-03 Thread Osiris Pedroso
Today is Pieter's birthday. Thank you Pieter for all your guidance and knowledge over the years. I knew you for just a little bit, but you still are a great influence in my professional life. Thanks for your contributions to ZeroMQ and to Open Source communities at large.

Re: [zeromq-dev] RFC: Better control of growing malamute mailbox queues

2017-12-15 Thread Osiris Pedroso
> > client is not connected. >> > // Return 0 if successful, -1 otherwise (interrupted, not supported) >> > int mlm_client_set_temporary_mailbox (mlm_client_t *); >> > >> > //... >> > >> > mlm_client_t *client = mlm_client_new (); >> >

Re: [zeromq-dev] If we compile ZeroMQ sources without modifying them, and link the resulting DLL to an executable that is part of our commercial product , does this make our whole product become a sof

2017-11-13 Thread Osiris Pedroso
An even better solution is to submit a PR for your later version of compiler which then everybody can use (including you) without "compiling it". On Mon, Nov 13, 2017 at 4:41 AM Am Shalem, Shlomo [BWIIL] < sams...@its.jnj.com> wrote: > Thanks! > > -Original Message- > From: zeromq-dev

[zeromq-dev] Is the Zyre protocol avaiable in .NET?

2017-11-09 Thread Osiris Pedroso
I wonder if there is an implementation of the Zyre protocol that can be used in .NET. Are any of you aware of such an implementation? Thanks, Osiris ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] RFC: Better control of growing malamute mailbox queues

2017-12-11 Thread Osiris Pedroso
Sounds like a good improvement on Malamute's current implementation. Go ahead a submit your PR wit these changes. If someone deems them improvable, they will do so by doing a new PR. PS: About the limits, I suggest a much smaller limit for the warning: size-limit-warn = 65536 On Fri, Dec 8,

Re: [zeromq-dev] Syncronising / isolating zsys layer between dlls

2018-01-18 Thread Osiris Pedroso
The count you keep, where does it live? Seems like it should live in the main executable or another DLL that outlives both origin.dll and client.dll. That way the count would be shared and only after both DLLs stop using zsys, zsys_shutdown would be called. Also make sure count is updated with

Re: [zeromq-dev] Client API with zactor

2018-01-19 Thread Osiris Pedroso
Peter used to say that the way to handle threaded code was to send a message that only the intended thread processed, therefore all the interactions would be executed in that thread's context. On this page (http://zeromq.org/intro:read-the-manual) there is a link to this paper (close to the

Re: [zeromq-dev] FOSDEM 2018 - ZeroMQ gathering/hackaton?

2018-01-26 Thread Osiris Pedroso
I will have to miss it. My flight arrives on Thursday at 7:15am... Do we plan anything for Saturday? On Fri, Jan 26, 2018 at 8:05 AM Luca Boccassi wrote: > Hi, > > I'll try to be there early on Thursday as well. > > I'll arrive Wednesday evening as well - anybody else?

Re: [zeromq-dev] FOSDEM 2018 - ZeroMQ gathering/hackaton?

2018-01-17 Thread Osiris Pedroso
Do I need more than add my name to list of participants on http://zeromq.org/event:zeromq-pre-fosdem-hackaton-thu-1-fri-2-feb-2018 to register? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Windows dll build errors.

2018-01-22 Thread Osiris Pedroso
>From your other email, seems like you passed this build problem. What was the solution/root problem? Thanks, Osiris On Sat, Jan 13, 2018 at 8:05 AM Stephen Gray wrote: > I’m trying to compile a .dll on Windows 10. It #includes . I’m > getting a mass of errors:

Re: [zeromq-dev] Unsubscribe

2018-09-27 Thread Osiris Pedroso
Boccassi wrote: > On Thu, 2018-09-27 at 06:18 +0200, Osiris Pedroso wrote: > > Yes, I am sad to say so. > > The problem is that I never really contributed. > > Computer says yes :-) > > bluca@precision:~/git/libzmq (master)$ git log --author=Osiris --oneline > | wc -l

Re: [zeromq-dev] follow up on crash in issue #3263

2018-11-02 Thread Osiris Pedroso
Hi Peter, I will take a look at it this weekend. Osiris On Fri, Nov 2, 2018 at 2:19 AM Peter Djalaliev via zeromq-dev < zeromq-dev@lists.zeromq.org> wrote: > Hello, > > > > I would like to follow up with a crash in ZeroMQ reported in GitHub issue > #3263:

  1   2   >