This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-07
Channels
- # announcements (27)
- # babashka (29)
- # beginners (280)
- # calva (34)
- # cider (4)
- # circleci (11)
- # cljfx (10)
- # cljsrn (1)
- # clojure (526)
- # clojure-dev (9)
- # clojure-europe (42)
- # clojure-finland (5)
- # clojure-losangeles (1)
- # clojure-nl (4)
- # clojure-taiwan (2)
- # clojure-uk (14)
- # clojurescript (40)
- # clr (43)
- # community-development (5)
- # css (4)
- # cursive (7)
- # duct (82)
- # events (1)
- # fulcro (72)
- # garden (44)
- # hoplon (3)
- # java (40)
- # jobs (4)
- # juxt (1)
- # luminus (53)
- # meander (13)
- # off-topic (26)
- # pathom (14)
- # pedestal (3)
- # portal (2)
- # rdf (3)
- # re-frame (54)
- # releases (10)
- # remote-jobs (3)
- # sci (74)
- # shadow-cljs (47)
- # startup-in-a-month (5)
- # testing (9)
- # tools-deps (73)
- # vim (12)
Which docker-hub should I go to for future babashka updates? I found theese: https://hub.docker.com/r/babashka/babashka/ https://hub.docker.com/r/borkdude/babashka/
@jarvinenemil In the future babashka/babashka, right now: borkdude/babashka.
We also released an alpine image in addition to the ubuntu one. This is mostly @rahul080327's work
Yeah I'd like to have the stable ones, I thought https://hub.docker.com/r/babashka/babashka/ was the one to use so I got that one whitelisted at my company
yeah, sorry for the confusion, we have just migrated this during the xmas break and from 0.2.7 on it will be all babashka/babashka
No worries, I'm using the /borkdude/ repo for now. Thanks for the clarification! 🙂
Also, how do I use babashka.fs
? I guess I need to get it on the classpath, but I’m not sure how to go about it.
@pez babashka.fs is currently a gitlib only, it's quite unfinished. you can require libs in bb using babashka.deps: https://book.babashka.org/#babashkadeps How do you know code is running in a REPL: how do you do this in normal Clojure?
I had of course checked the book. 😃 But too briefly. I was wishing for a pythonic way to do it, but didn’t think of searching for python or main. Haha.
I was curious about that too. I've taken to having this in my scripts around the "main logic":
(when-not (System/getenv "DEV")
(let [...]
(process ...)))
and then running bb like this:
DEV=1 bb --nrepl-server
that way, I can load my entire script in my editor and it won't trigger it actually running anythingthis isn't a problem in clojure, because java invokes a main function, so evaluating my main namespace in clojure doesn't actually run anything
@nate we have this solution for that problem: https://book.babashka.org/#main_file
@pez btw, clj-commons/fs also works with bb: https://github.com/babashka/babashka/blob/master/doc/projects.md#clj-commonsfs
Today we released pod-babashka-aws 0.0.2 (performance improvement for big file uploads) and 0.0.3 (credential options). https://github.com/babashka/pod-babashka-aws/blob/main/CHANGELOG.md
This is probably most of the remaining work for this pod, so I consider it "done" unless bug reports will come in.
And here is the news of december 2020: https://github.com/babashka/babashka/blob/master/doc/news.md#2020-12