This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-20
Channels
- # announcements (3)
- # babashka (7)
- # beginners (36)
- # calva (71)
- # cider (25)
- # clj-commons (5)
- # cljdoc (19)
- # cljs-dev (5)
- # clojure (223)
- # clojure-austin (2)
- # clojure-bay-area (1)
- # clojure-europe (31)
- # clojure-france (6)
- # clojure-nl (2)
- # clojure-norway (19)
- # clojure-spec (13)
- # clojure-uk (7)
- # clojurescript (115)
- # core-logic (2)
- # cursive (21)
- # datalevin (53)
- # datomic (9)
- # emacs (37)
- # events (1)
- # graphql (8)
- # jobs (12)
- # lsp (8)
- # off-topic (92)
- # pathom (49)
- # pedestal (1)
- # polylith (3)
- # re-frame (25)
- # releases (2)
- # sci (11)
- # shadow-cljs (13)
- # vim (10)
Does BB have the same requirements for naming files as Clojure/Java? I.e., my script seems to work just fine (for now) with dashes instead of underscores in the name (like do-stuff.clj
), but that causes kondo warnings.
Am I heading towards trouble, or is BB fine with dashes in files?
@kingmob Bb and Clojure both don't care about hyphens when you execute them as a file, but when you load files on the classpath, then always use underscores in the filenames. Clj-kondo doesn't really know if your file is on the classpath or not, so it always warns about that. To prevent headaches later on, I think it might be a sane default to always go with the underscore in filenames.
Alternatively you can turn the linter off by placing a #_:clj-kondo/ignore
before the name
Thanks to @rahul080327 we now have aarch64 versions of the SQL pods (postgres, mysql, mssql, and hsqldb). So they can now be used in your favorite 64bit raspberry PIs or AWS lambdas ;)
Just wanted to remind y'all that #datalevin, an awesome durable datalog db, has been available as a babashka pod for a while. 0.6.7 was just released. Here's an example: https://github.com/babashka/pod-registry/blob/master/examples/datalevin.clj And here's a more sophisticated example (which was reported as an error but now works with 0.6.7): https://gist.githubusercontent.com/kbosompem/b8e6a40aed607204b187e641df73fab2/raw/6907566369f1fed3df2a8b091d2c924bc3d13ae2/ldt.clj. Thanks @huahaiy for the amazing project and work.