Good morning
Good morning! π Hope everyone is having a great day!
Good interpreter -> JIT compiler morning! I'm optimizing SCI (on CLJS) to compile loops, function calls, interop, etc whenever possible.
$ node lib/nbb_main.js -e '(time (print (loop [i 0 j 10000000] (if (zero? j) i (recur (inc i) (dec j))))))'
10000000
"Elapsed time: 9.315083 msecs"
This is now as fast as it can get, close to nativeGood fresh repository morning! https://github.com/clojure/tools.deps.config.edit π > Configuration writing for tools.deps based libraries and tools
I just learned about NATS a few weeks ago and suddenly I see it everywhere
I am so protocolled out these days that I would rather reach for the 10+ years old ones that are still around today.
Reminds me of the quote by Andrew S. Tanenbaum: "The nice thing about standards is that you have so many to choose from."
@ben.sless why would you want to forget about NATS. Asking for a friend.
Mostly because I'm not enjoying it, and it seems like you will want something else - either a mq like Rabbit or Artemis, or a durable partitioned log like Kafka. What problem does nats solve that isn't covered by these two categories?
So Iβm not an infra person, just a dev, and for me, the most important things are that I can stick stuff in one end and get it back out in the other through a reasonable Clojure interface. As for our infra people, they threaten to quit whenever someone mentions Kafka, but were quite happy with nats.
Do you care about the order in which things come in and out? are there broadcast semantics? Do you need persistence? Is HTTP enough?
Or ZeroMQ
As long as the ordering is mostly right, itβs good enough. We do use persistence, but only for a limited period of time, and for our purpose, HTTP seems to be enough. For certain parts of our use cases weβre replacing Redis pub/sub, so a step up for us anyhoop. And, again, as an app dev and not an infra person, I care more about the interfaces than I care about the impl and running of the queue. Whether it runs on UDP, TCP, HTTP or whatever, is not really a concern of mine as long as the data arrives in a timely fashion.
Morning!
I often walk down rue Java Street. Kinda funny if you forget that the sign is bilingual
Are you based in Canada or something?
Yep! Iβm in Ottawa.
In Belgium you see it as well. Luxembourg in two different spellings.
Good morning!
Arrived at the station yesterday and found my bikes tire flat. Alright, can happen. Checked today: Turns out someone stole the valve. Why are people like this :(.
Only a very few people. But yeah, itβs frustrating
Yes very true, its only a few!
The good news: No fiddling with a broken tire and those patches and then inevitably having a flat tire again giving up and buying a new one. I was already prepared for much worse!