Fork me on GitHub
#babashka
<
2021-06-03
>
Ory Band15:06:32

Hi. I'm looking for an example on sending UDP messages using babashka, but can't find anything that works. Specifically this example fails because java.Net.InetSocketAddress isn't available! Any suggestions? https://github.com/clojure-cookbook/clojure-cookbook/blob/master/05_network-io/5-11_udp.asciidoc More specifically, I need to send DataDog API metrics. So if you could suggest an alternative solution to that problem, I'll be happy as well. https://docs.datadoghq.com/developers/dogstatsd/datagram_shell/?tab=metrics#send-metrics-and-events-using-dogstatsd-and-the-shell

Ory Band15:06:07

Followup question: I also need to send a MongoDB query to a db cluster in my local LAN. Any suggestion on how to do that? Best solution I've found is to install mongo shell and call it via (sh ..

borkdude15:06:19

you could shell out indeed, or you could use an http service of this mongodb if it has one

borkdude15:06:19

Perhaps we could write a babashka pod for mongodb similar to https://github.com/babashka/babashka-sql-pods, but so far nobody has requested it

borkdude18:06:25

Building Video Edit Tools with #clojure, #babashka, and FFmpeg https://youtu.be/0Ch-zNZ67go by Adam James

Helins19:06:28

What's your favorite way of using BB on CircleCI? (install + cache)

borkdude19:06:26

If you're asking me, I would just just curl a github release, or use the install script: https://github.com/babashka/babashka/blob/master/install

borkdude19:06:55

I don't cache, since this install usually takes no longer than a second or so, but you can do so if you wish.

Helins19:06:38

Great, I wasn't sure how to cache it effectively