#block #CommonLisp #CrystalLang #ZeroMQ #ListenBrainz
PROXY high-level class is nicer to use and more Lisp-y. It runs on its own thread so that you can use it in a REPL, and is easier to control.Ma conférence "Server Sent Events et ZeroMQ"
Mardi dernier (16 septembre), j’ai présenté une conférence au meetup organisé par l’AFUP Paris, sur les Server Sent Events (SSE) et la bibliothèque ZeroMQ.
Retrouvez les slides de la conférence dans l'article en lien.
https://www.geek-directeur-technique.com/2025/09/20/ma-conference-server-sent-events-et-zeromq
#php #sse #zeromq #afup
Mardi dernier (16 septembre), j'ai présenté une conférence au meetup organisé par l'AFUP Paris, sur les Server Sent Events (SSE) et la bibliothèque ZeroMQ. Les SSE reposent sur un protocole basé sur le HTTP, et dont l'implémentation est intégrée aux navigateurs via une API Javascript. Ce protocol
Here is my example of testing PyZMQ client and server code with pytest and pytest-mock. I haven't found much information on this topic. Anyone else have examples of testing PyZMQ code? https://gavinw.me/pythonic/pyzmq/test-client-server.html
@b0rk In the interest of sharing failed hypotheses: I’m not finding evidence people use #zeromq for fire-and-forget, blind fanout queues or other spray-n-pray style uses.
For some reason I thought this was an explicit feature given the protocol design, but I’m not seeing it. It explicitly lacks reliable delivery, so an expert may know better.
*A tour of CPPZMQ, the C++ bindings to libzmq*
https://github.com/brettviren/cppzmq-tour/blob/master/index.org
So if I understand it right, there's no way to use #ZeroMQ with an existing event loop - I can't get the filehandles out of it to poll them myself.
There's also no way to bind multiple socket types (e.g. both a RES and a PUSH) to the same physical endpoint? So I'd need two different ones?
It seems like this library is far less useful than it first appears :(
My friends, I’ve spent an unreasonable amount of time debugging a #ZeroMQ issue whereby a router socket swallows a message: ‘zmq_msg_send’ succeeds but there’s no corresponding ‘sendto’ call in the strace log.
How would you go about debugging this?
(Other questions I ask myself: How did I end up here? Why am I even doing this⁈)