This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-03
Channels
- # announcements (1)
- # asami (13)
- # babashka (14)
- # beginners (58)
- # calva (49)
- # cljs-dev (6)
- # clojure (99)
- # clojure-europe (28)
- # clojure-gamedev (4)
- # clojure-nl (19)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojured (5)
- # clojurescript (39)
- # code-reviews (3)
- # conjure (4)
- # cryogen (12)
- # cursive (21)
- # data-science (4)
- # datalog (1)
- # datomic (16)
- # duct (4)
- # events (1)
- # fulcro (6)
- # graalvm (1)
- # graphql (1)
- # jobs (13)
- # jobs-discuss (23)
- # kaocha (2)
- # lsp (15)
- # malli (24)
- # missionary (6)
- # off-topic (21)
- # polylith (75)
- # releases (2)
- # remote-jobs (4)
- # shadow-cljs (47)
- # sql (35)
- # vim (10)
- # xtdb (4)
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
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 ..
@ory.band About UDP, perhaps this helps: https://github.com/babashka/babashka/blob/3dfc15f5a40efaec07cba991892c1207a352fab4/test-resources/babashka/statsd.clj
you could shell out indeed, or you could use an http service of this mongodb if it has one
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
Building Video Edit Tools with #clojure, #babashka, and FFmpeg https://youtu.be/0Ch-zNZ67go by Adam James
What's your favorite way of using BB on CircleCI? (install + cache)
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
I don't cache, since this install usually takes no longer than a second or so, but you can do so if you wish.
Great, I wasn't sure how to cache it effectively
Hey y'all! Here's an example of simple babashka task and bb.edn. I run bb backup
for quickly creating a SQL backup of a local Postgres database inside a git repo. https://git.io/JGKEY The advantage over bash/zsh scripting is that I can easily ensure the ./backups
directory exists and print helpful messages like the backup's filename.
Thank you @borkdude! 👋 Looking forward to your ClojureD talk, either live or when it gets posted depending on if they accept my (late) application for a ticket. I'm excited to hear more about GraalVM because I packaged zprint for NixOS, but I think the Graal flags need improvement. Just want to understand the whole compilation system better in general.