This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-20
Channels
- # announcements (1)
- # babashka (32)
- # beginners (100)
- # cider (43)
- # clj-kondo (4)
- # cljdoc (3)
- # cljs-dev (5)
- # cljsjs (2)
- # cljsrn (22)
- # clojure (170)
- # clojure-australia (27)
- # clojure-europe (25)
- # clojure-nl (3)
- # clojure-uk (76)
- # clojurescript (127)
- # conjure (14)
- # core-matrix (1)
- # cursive (9)
- # datomic (6)
- # defnpodcast (1)
- # emacs (32)
- # events (1)
- # expound (77)
- # fulcro (30)
- # graalvm (21)
- # graalvm-mobile (30)
- # helix (4)
- # honeysql (1)
- # hyperfiddle (1)
- # jackdaw (8)
- # jobs (6)
- # kaocha (1)
- # leiningen (4)
- # lsp (16)
- # malli (46)
- # meander (4)
- # off-topic (19)
- # pathom (10)
- # podcasts-discuss (1)
- # portal (2)
- # re-frame (7)
- # reagent (2)
- # releases (1)
- # remote-jobs (11)
- # rewrite-clj (8)
- # shadow-cljs (9)
- # tools-deps (259)
- # vim (1)
@borkdude is there a link for that already?
super eager to play around with those more, seems really handy
By my math it’s in about 2 hours?
I had to duck out near the end but it was good!
and yes the p
after coffeep
was indeed because i was comparing it to a non-parallel version
I learned some new things
Here are the slides: https://twitter.com/borkdude/status/1417562502985101321 Youtube video will probably be up tomorrow
@deleted-user (first (split-ext f))
?
if I wanted to remove the .md
extension, I'd probably write (str/replace s #"\.md$" "")
;)
it's probably better to open an issue or discussion first to see what are the use cases for such a function
I'm not against including new functions, but taking on new functions also means maintaining them forever, so I'd like to first see some thinking before coding
and having such an issue open also means other people over time can post feedback on it
btw, raynes/fs calls this function basename, which I found confusing since some other libs had this function and stripped the extension.
but I now see that raynes/fs has an option to strip the extension. which we could also do in file-name
I almost opened a PR for this (it was adding an option to strip a suffix) but realized that fs/file-name and fs/extension basically give you all the building blocks. After reviewing the code and how we use babashka.fs
in majority of the cases we wanted to full name (as in: with extension), so I dropped it.