This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-26
Channels
- # babashka (16)
- # beginners (38)
- # calva (11)
- # cider (35)
- # clj-kondo (3)
- # clj-otel (3)
- # clojure (28)
- # clojure-europe (11)
- # clojure-gamedev (14)
- # clojure-norway (42)
- # clojure-spec (4)
- # datalevin (10)
- # datomic (2)
- # emacs (8)
- # events (2)
- # fulcro (3)
- # gratitude (5)
- # hyperfiddle (3)
- # kaocha (1)
- # nbb (14)
- # nrepl (12)
- # portal (1)
- # re-frame (5)
- # releases (1)
- # shadow-cljs (36)
- # squint (167)
- name: package
pull: if-not-exists
image: public.ecr.aws/amazoncorretto/amazoncorretto:17
commands:
- yum -q -y install tar gzip which
- curl -sLO
- chmod +x linux-install-1.11.1.1347.sh
- ./linux-install-1.11.1.1347.sh
- curl -sLO
- tar xzf babashka-1.3.182-linux-amd64.tar.gz -C /usr/local/bin
- bb build
17: Pulling from amazoncorretto/amazoncorretto
Digest: sha256:36d049495d25ac3596edc4bc4b2fe560c29c17ec0ac7cfedf781e9bf24000175
Status: Downloaded newer image for public.ecr.aws/amazoncorretto/amazoncorretto:17
+ yum -q -y install tar gzip which
+ curl -sLO
+ chmod +x linux-install-1.11.1.1347.sh
+ ./linux-install-1.11.1.1347.sh
Downloading and expanding tar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 17.1M 100 17.1M 0 0 222M 0 --:--:-- --:--:-- --:--:-- 225M
Installing libs into /usr/local/lib/clojure
Installing clojure and clj into /usr/local/bin
Installing man pages into /usr/local/share/man/man1
Removing download
Use clj -h for help.
+ curl -sLO
+ tar xzf babashka-1.3.182-linux-amd64.tar.gz -C /usr/local/bin
+ bb build
Downloading pod org.babashka/fswatcher (0.0.3)
Successfully installed pod org.babashka/fswatcher (0.0.3)
Clojure tools not yet in expected location: /root/.deps.clj/1.11.1.1347/ClojureTools/clojure-tools-1.11.1.1347.jar
Downloading to /root/.deps.clj/1.11.1.1347/ClojureTools/tools.zip
Unzipping /root/.deps.clj/1.11.1.1347/ClojureTools/tools.zip ...
Successfully installed clojure tools!
Cloning:
Error building classpath. Cannot run program "git": error=2, No such file or directory
java.io.IOException: Cannot run program "git": error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
I can always add git
but why does it need git
? Is there something I can do up front to avoid all of this? I thought having Clojure installed would be enough tbh.
forget it ... I've found some better docker images for clojure and so it's academic only now 🙂
Needed a quick little tool to access nREPL on ECS containers and chose bb
over awkward jq
parsing
https://github.com/elken/awssh
the power of getting the same general language for all ranges of tasks ❤️
a coworker once was proud of a jq script that took him 1 hour that I wrote in 3 minutes with bb, not kidding. tree-seq
can be a delightful hammer + I don't need a new jq lang when I have the generic clojure lib
Would you rather have a complex bunch of jq
or https://github.com/elken/eww/blob/master/scripts/window-name#L40 👀
nice, uses gum. til bblgum, I need to integrate that into some of my bb stuff
Is there a BB compatible library for reading, filling and writing PDFs?
Most libs I've found only care about generating PDFs.
I'm fed up with some weird work documents I regularly have to fill. (You won't believe it, but they are PDFs containing JavaScript and they call that a "Digital Workflow" here in germany...)
Not sure. You might have more luck on the Node.js ecosystem with #C029PTWD3HR perhaps
I think the "official" name is XFA and pdf.js might have some support for it (at least rendering it ) https://github.com/mozilla/pdf.js/issues/2373