This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-08
Channels
- # asami (7)
- # aws (2)
- # babashka (21)
- # beginners (602)
- # calva (8)
- # cider (11)
- # clj-kondo (10)
- # cljfx (1)
- # clojure (177)
- # clojure-europe (43)
- # clojure-nl (3)
- # clojure-taiwan (2)
- # clojure-uk (45)
- # clojurescript (31)
- # depstar (8)
- # figwheel-main (2)
- # fulcro (12)
- # hugsql (2)
- # java (1)
- # jobs (2)
- # meander (1)
- # missionary (1)
- # off-topic (67)
- # other-languages (1)
- # pathom (212)
- # polylith (4)
- # rdf (1)
- # re-frame (10)
- # reagent (12)
- # reitit (28)
- # reveal (3)
- # shadow-cljs (21)
- # spacemacs (7)
- # sql (5)
- # tools-deps (12)
- # vim (1)
Print API breakage warnings using a 75-line bb script: https://gist.github.com/borkdude/ba372c8cee311e31020b04063d88e1be
Would be interesting to have a registry for these "one time" scripts. Clojure toolbox needs a modern successor maybe
@jeroenvandijk I'm posting them here as well: https://github.com/borkdude/babashka/blob/master/doc/news.md
and also some things here: https://github.com/borkdude/babashka/blob/master/doc/projects.md
Cool, that’s useful!
@borkdude awesome thing on the API breakage! man, I just wanna say I'm very thankful for all the work you have been doing with kondo, babashka, sci, etc... fews like a new Clojure era, getting improved in exponential rates, and I can't live without all of them anymore! so thank you very much 🙏
Welcome @d.wetzel86!
Hello! 👋
@borkdude Hi! Babashka and clj-kondo are really useful tools and I appreciate the work you've put into them!
I've been poking around a bit and haven't been able to figure this out: I'm making a bb script that wraps psql; I'd like the script to start an interactive psql session. Using clojure.java.shell, the script runs psql but then exits immediately. Is there documentation for how to do this type of thing?
@tomc yes, you can start an interactive process using babashka.process
. clojure.java.shell isn't really suited for this.
https://github.com/babashka/process
And then you might want to deref
the result of that, else the script will exit immediately, since process
isn't blocking
Note that there is also a postgresql pod for babashka: https://github.com/babashka/babashka-sql-pods/ available in the pod registry for easy download: https://github.com/babashka/pod-registry