This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-09
Channels
- # announcements (19)
- # babashka (26)
- # beginners (157)
- # calva (54)
- # cider (12)
- # clj-kondo (18)
- # cljdoc (3)
- # clojure (65)
- # clojure-australia (3)
- # clojure-europe (28)
- # clojure-germany (14)
- # clojure-greece (1)
- # clojure-italy (8)
- # clojure-nl (10)
- # clojure-uk (81)
- # clojuredesign-podcast (2)
- # clojurescript (20)
- # clr (1)
- # conjure (1)
- # cursive (1)
- # data-science (29)
- # datascript (2)
- # datomic (19)
- # depstar (4)
- # fulcro (24)
- # graalvm (6)
- # helix (26)
- # jobs (2)
- # jobs-discuss (2)
- # kaocha (12)
- # leiningen (1)
- # malli (17)
- # off-topic (18)
- # pathom (34)
- # polylith (23)
- # re-frame (10)
- # reagent (8)
- # releases (1)
- # remote-jobs (1)
- # reveal (5)
- # shadow-cljs (49)
- # spacemacs (1)
- # startup-in-a-month (6)
- # vim (4)
https://github.com/clj-commons/friend is released as clj-commons/friend version 0.3.193 This is a fork of Chas Emericks friend library. This is basically 0.2.3 but with a version bump of jbcypt to avoid a CVE. Please consider using https://github.com/funcool/buddy instead of friend, or as @borkdude put it: “friends don’t let friends use friend”
This announcement is rather peculiar: “Hey, here is a cool library, but don’t use it” 😉 It still makes sense.
New release of Deep Diamond: 0.18.0-alpha High performance tensors and deep learning, in Clojure! https://github.com/uncomplicate/deep-diamond
overload-fn is a tiny Clojure library that makes possible function overloading on types. https://github.com/ertugrulcetin/overload-fn
If the dispatch is limited to object, longs and doubles, I think one can reify
a subset of these interfaces https://github.com/clojure/clojure/blob/140ed11e905de46331de705e955c50c0ef79095b/src/jvm/clojure/lang/IFn.java#L97-L454
(as few interfaces as needed, e.g. just two for two signatures)
reify
supports dispatch-by-type, while implementing said interfaces would give you a callable thing
the result can plausibly perform a little better than a defprotocol/multimethod -based abstraction
I'll check this, thanks!
:) it could be a cool optimization. e.g. use these when possible but generally fall back to protocols/multimethods when not ...of course, very few apps will plausibly need such a thing
Wikipedia collaborators wanted! I am working on writing a Wikipedia article about Data-Oriented programming. If you are interested to collaborate, join #data-oriented-programming or send me a private message.
Hiccup-cli just arrived on MELPA! Convert HTML to Hiccup inside of Emacs with pretty printing (clipboard, kill-ring, directly in buffer). It does require you to build the GraalVM binary locally. I'll look into setting up CI/CD to build this automatically. https://github.com/kwrooijen/hiccup-cli
@UKFSJSM38 Is this something that could be integrated in clojure-lsp? Convert selection to hiccup <-> html? ;P
Yeah, it could be implemented if hiccup-cli has an API to clojure-lsp, also some kind of function to detect if the cursor is inside a valid hiccup or html code
@UG9U7TPDZ about the CI, check the clojure-lsp CI which compile with graalvm 😄 https://github.com/clojure-lsp/clojure-lsp/blob/master/.github/workflows/release.yml#L47-L260
Just got it set up, thanks @UKFSJSM38! Your repo was very helpful