soid ([personal profile] soid) wrote2024-07-19 07:34 pm
Entry tags:

Thursday, July 18 Spring Framework with ZeroMQ

 In the morning I was installing Python on a Windows machine that had lots of admin restrictions. Weird, but the plan, I hope, is not too weird – I just want to leave this dumb PC to record ZeroMQ events 24/7 instead of doing it from my laptop with interruptions. So many things may go wrong.

Lunch with Angela. She stays so positive; I feel like me and Kenny are damaged whiners compared to her. I thought the shorts incident was funny, but distressing too. Angela changed to wear pants too – I don't know if cause of solidarity with us. 

Then the plan was to make a broker from ZeroMQ to ActiveMQ in Kotlin with Spring Framework – easy? I took the spring connected, and that was a rabbit hole: turned out I had to use producers instead of consumers for reading ZMQ, cause I guess it produces messages in this thing called Reactive Project, and then I went on trying to make my Reactive code and stumbled on it, and went on reading what that was – quite exciting SPI introduced in Java in 2019 making robust asynchronous streams, and I called the day puzzled whether I should just write my own dummy broker in two threads threads, or learn these reactive streams API.

What makes Spring terrible? I think stupid things like these: it will complain about unrelated shit that is hard to understand why without reading a stackoverflow thread (example); I will follow the doc precisely just to find out that they renamed a stupid thing and forgot to change the doc; the doc will provide you all conceptual understanding in 20 pages with little examples and no working example to point to; the docs will throw a whole big concept at you and will make you fill bad as if you're supposed to know it already – here, ZeroMQ Support, as they just tangentially mention it involves the reactor framework.

About 11pm Sunny messaged on Slack saying the support called his phone about some users not able to make purchases. He told them it's not too many users and can wait till the morning.

juan_gandhi: (Default)

[personal profile] juan_gandhi 2024-07-19 11:57 pm (UTC)(link)

My condolences. Regarding Reactive, Spring, and Kotlin. But it's your choice, to stay and have fun, was not it?