Fork me on GitHub
#announcements
<
2021-02-09
>
slipset10:02:14

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”

😀 35
👍 3
jumar04:02:34

Is the main reason to prefer buddy that the library is no longer actively developed?

Vincent Cantin07:02:51

This announcement is rather peculiar: “Hey, here is a cool library, but don’t use it” 😉 It still makes sense.

blueberry13:02:52

New release of Deep Diamond: 0.18.0-alpha High performance tensors and deep learning, in Clojure! https://github.com/uncomplicate/deep-diamond

🎉 31
ertugrulcetin14:02:13

overload-fn is a tiny Clojure library that makes possible function overloading on types. https://github.com/ertugrulcetin/overload-fn

👍 18
vemv15:02:53

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

ertugrulcetin15:02:33

I'll check this, thanks!

vemv16:02:07

:) 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

Yehonathan Sharvit15:02:46

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.

kwrooijen16:02:07

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

🎉 68
borkdude16:02:43

@UKFSJSM38 Is this something that could be integrated in clojure-lsp? Convert selection to hiccup <-> html? ;P

💡 10
ericdallo16:02:08

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

kwrooijen16:02:45

Will look into that, thanks 👍

kwrooijen16:02:12

Are you using Github's CI/CD?

kwrooijen21:02:07

Just got it set up, thanks @UKFSJSM38! Your repo was very helpful