This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-09
Channels
- # announcements (3)
- # asami (1)
- # babashka (19)
- # beginners (84)
- # calva (3)
- # cider (5)
- # clj-commons (22)
- # clj-kondo (31)
- # cljdoc (4)
- # cljs-dev (5)
- # clojure (65)
- # clojure-australia (1)
- # clojure-europe (44)
- # clojure-nl (2)
- # clojure-uk (2)
- # clojurescript (18)
- # code-reviews (12)
- # conjure (2)
- # core-async (12)
- # data-science (1)
- # datomic (47)
- # deps-new (1)
- # emacs (2)
- # events (4)
- # fulcro (35)
- # integrant (1)
- # jobs (5)
- # jobs-discuss (10)
- # london-clojurians (1)
- # lsp (13)
- # music (1)
- # nextjournal (1)
- # off-topic (11)
- # parinfer (3)
- # pathom (6)
- # polylith (11)
- # portal (41)
- # re-frame (4)
- # reagent (13)
- # reitit (8)
- # remote-jobs (3)
- # sci (18)
- # shadow-cljs (34)
- # spacemacs (3)
- # tools-build (12)
- # tools-deps (6)
- # vim (2)
- # xtdb (7)
Is it possible to use uberscript with pods? The pods are loaded dynamically so I don't think so, but I might be overlooking something!
Hey! Currently the uberscript stumbles over those pod namespaces since they don't exist on disk. I have a branch of bb where this should be fixed, but it isn't released yet...
I'd be happy to test! I'm trying to use the postgresql pod for some script that is deployed inside Docker, I would like that Docker image to not contain the jre to save disk space, but I guess building an uberjar also works, so I can use the distroless base image
yeah uberjar would also work for that case. however, I would like to have this uberscript thing fixed as well. for which OS would you like to have the fixed bb?
(although probably not the distroless base image, since it would still depend on some other dependencies, still could save some other disk space)
✅ check!
(I'm testing on MacOS Intel right now btw)
but I'll try in Docker / debian should also be fine
mac: https://23547-201467090-gh.circle-artifacts.com/0/release/babashka-0.6.5-SNAPSHOT-macos-amd64.tar.gz linux: https://23548-201467090-gh.circle-artifacts.com/0/release/babashka-0.6.5-SNAPSHOT-linux-amd64-static.tar.gz
thanks, I'll check it out!
@hugod not yet, it's best to just put the load-pod in a file and use load-file
or require
in bb.edn
8 years ago my interest in Clojure was triggered by the "Structure and Interpretation of Computer Programs" (SICP) course. https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-computer-programs-spring-2005/video-lectures/ For me, the hurdles were quite big to really focus on the main ideas in this course. The IDE's didn't have great Clojure support (yet), I didn't work with emacs (yet), the error messages 'left room for improvement', and I was pretty much hypnotised by the OO mindset. Nowadays with babashka it's soooo easy to try these ideas immediately, without any other fluff in a REPL. No setup, no conventions or configuration, no namespaces, nothing. Create a file, start a REPL and start coding along. 🤓 For me, translating the Scheme code to Clojure also helps in getting a deeper understanding of both SICP and Clojure. Big thanks to @borkdude for making the Clojure and REPL experience almost frictionless. :thumbsup::skin-tone-3:
I agree. I've been encouraging my nephew (2nd grade) to check his math homework using bb
. I think it might be a good way to learn things even for ClojureBridge. I've volunteered at a couple of them and spending Friday night installing software is not the most fun. Clojure CLI tools have made this easier but you still have to make sure the JVM is available. bb
is frictionless.
In the same manner, maybe nbb and scittle are worth checking: making nice website and document is a wonderful creative feeling :)