announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
2021-02-09T06:31:31.269700Z

Added benchmarks to https://github.com/eccentric-j/clj-cgi-example#benchmarks

2πŸ‘
slipset 2021-02-09T10:40:14.273Z

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”

1πŸ‘11πŸ˜€
2021-02-11T07:33:51.289700Z

This announcement is rather peculiar: β€œHey, here is a cool library, but don’t use it” πŸ˜‰ It still makes sense.

2021-02-09T13:23:52.274900Z

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

10πŸŽ‰
ertugrulcetin 2021-02-09T14:31:13.276400Z

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

6πŸ‘
vemv 2021-02-09T15:04:53.277Z

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

Yehonathan Sharvit 2021-02-09T15:18:46.279300Z

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.

ertugrulcetin 2021-02-09T15:58:33.279700Z

I'll check this, thanks!

kwrooijen 2021-02-09T16:08:07.282100Z

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

21πŸŽ‰
kwrooijen 2021-02-11T21:42:07.297Z

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

ericdallo 2021-02-11T21:43:10.297200Z

Nice πŸ˜„

vemv 2021-02-09T16:10:07.282300Z

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

borkdude 2021-02-09T16:11:43.282600Z

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

3πŸ’‘
ericdallo 2021-02-09T16:25:08.283300Z

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

ericdallo 2021-02-09T16:25:49.283500Z

@kevin.van.rooijen 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

kwrooijen 2021-02-09T16:31:45.283900Z

Will look into that, thanks πŸ‘

kwrooijen 2021-02-09T16:36:12.284100Z

Are you using Github's CI/CD?

ericdallo 2021-02-09T16:36:31.284300Z

Yes

1πŸ‘