This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-11
Channels
- # announcements (4)
- # aws (6)
- # babashka (40)
- # beginners (318)
- # biff (4)
- # bootstrapped-cljs (9)
- # calva (19)
- # chlorine-clover (1)
- # cider (3)
- # clj-on-windows (25)
- # cljdoc (8)
- # cljfx (1)
- # cljs-dev (30)
- # cljss (2)
- # clojure (62)
- # clojure-chile (9)
- # clojure-europe (11)
- # clojure-finland (17)
- # clojure-italy (1)
- # clojure-kc (1)
- # clojure-nl (3)
- # clojure-spec (27)
- # clojure-uk (40)
- # clojuremn (1)
- # clojurescript (51)
- # conjure (6)
- # cursive (8)
- # data-science (9)
- # datahike (4)
- # datascript (1)
- # datomic (31)
- # emacs (10)
- # emotion-cljs (1)
- # events (1)
- # figwheel-main (16)
- # find-my-lib (1)
- # fulcro (30)
- # graalvm (3)
- # graphql (12)
- # helix (16)
- # honeysql (5)
- # jobs (1)
- # jobs-discuss (10)
- # juxt (3)
- # kaocha (26)
- # lambdaisland (3)
- # leiningen (15)
- # malli (7)
- # off-topic (100)
- # pathom (8)
- # pedestal (15)
- # protojure (24)
- # re-frame (2)
- # reagent (7)
- # reitit (22)
- # remote-jobs (1)
- # shadow-cljs (140)
- # spacemacs (17)
- # spire (2)
- # tools-deps (23)
- # uix (11)
- # vim (5)
- # xtdb (3)
- # yada (3)
Fun little babashka script preamble that automatically downloads and installs babashka if it isn’t already present
Hey, cool. There's also one here by lambdaisland: https://github.com/lambdaisland/open-source/blob/master/bin/bb
If you have published your final preamble somewhere, we can link it in https://github.com/borkdude/babashka/blob/master/doc/libraries.md
i guess this sentence in the README might be changing before long? > No defprotocol, defrecord and unboxed math.
I was wondering if there could be a way of removing "
from the prn
output of bb. I'm writing a long ops script 😄
Just released pod-babashka-postgresql and pod-babashka-hsqldb v0.0.1: https://github.com/babashka/babashka-sql-pods
@borkdude To test the performance of the PR I’ve installed multitime via https://github.com/ltratt/multitime
~/bin/multitime -n10 -s0 tmp/sci-without-checks "(loop [val 0 cnt 1000000] (if (pos? cnt) (recur (inc val) (dec cnt)) val))"
multitime: Error when attempting to run tmp/sci-without-checks
Do you know what I’m missing?I couldn’t find a mention of that script sci-without-checks
@U0FT7SRLP you should run script/compile
. this will produce a sci
binary which you can then run with multitime
ah yeah makes sense
Ok still need to update java 11 and I still need to fix my Graal setup since I moved to mac Catalina 🙈 So I need some more time
you don't need to install java11, just download a graalvm, unzip it to your downloads dir and then
export GRAALVM_HOME=/Users/borkdude/Downloads/graalvm-ce-java11-20.1.0/Contents/Home
In case you ever upgrade to Catalina, note that you have to run sudo xattr -r -d com.apple.quarantine $HOME/bin/graalvm-ce-java11-20.1.0
(on the root not on the nested Contents/home
). From this comment https://github.com/oracle/graal/issues/1724#issuecomment-540160024
I guess it’s good eventually, but it’s painful if you are upgrading unexpectedly. I didn’t find this link at first and destroyed my old Graalvm setup (it asks to move binaries and I clicked “yes” a couple of times)
ok executed the tests for the different commits. I don’t really see a pattern https://github.com/borkdude/sci/pull/349#issuecomment-642624211
ok thanks, trying 3 x 100 now. Will report back in 15 minutes 🙂
I might misinterpret the results, but i don’t feel there is a real difference between the different commits
Hey y’all. Wrote up a https://github.com/cldwalker/bb-clis/blob/master/bin/bb-try to make it easy to try a library with bb - https://github.com/cldwalker/bb-clis#bb-try. For example bb-try aero
puts you in a bb repl with aero /cc @neo2551
Very cool to see an example of running carve on an uberscript. I was wondering how to do that. Thanks!
Glad the carve example is helpful and thanks again to borkdude for the awesome tooling 🙂
is carve able to run in babashka as a lib? if not, then definitely a carve pod would be cool
it's not. however, carve is built using two parts: clj-kondo for analysis and rewrite-clj for removing things from code. Nowadays we have the ingredients needed as pods: - clj-kondo can run as a pod. - https://github.com/babashka/pod-babashka-parcera can be used to remove things from code