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.
raspasov 2021-03-12T02:24:43.354600Z

@chris441 Very cool, yes. I used libpython-clj a few months back. Was mostly a very good experience! Will report when I get a chance to try this new version. Is there a full/real JVM running within Python in this case?

2021-03-12T03:15:08.355500Z

Fantastic work

phronmophobic 2021-03-12T17:27:58.363200Z

clj-cef 0.9.4 is now available. This release adds support for linux. clj-cef provides clojure bindings to the Chromium Embedded Framework. Embed, host, automate, instrument, or inspect a fully HTML5-compliant web browser. https://github.com/phronmophobic/clj-cef example: https://github.com/phronmophobic/htmltoimage

12
vlaaad 2021-03-13T09:04:08.375200Z

IIRC jxBrowser has javafx nodes

vlaaad 2021-03-13T09:04:47.375500Z

https://bitbucket.org/chromiumembedded/java-cef/issues/163/provide-javafx-node-for-jcef found this jcef issue from 6 years ago, still unresolved 😕

phronmophobic 2021-03-13T09:22:56.375800Z

the jcef project does a bunch of stuff that I think complicates things. clj-cef uses the cef c api directly. I already having a working example that draws to a BufferedImage, https://github.com/phronmophobic/clj-cef/blob/main/examples/htmltoimage/src/clj_cef/htmltoimage.clj#L36. I also have an example that works on top of skija, https://github.com/phronmophobic/clj-cef/tree/main/examples/browser. I'm pretty sure it would be possible to get something that's JavaFX compatible.

wilkerlucio 2021-03-13T13:15:05.378500Z

@smith.adriane sadly I can't find the code I used for the JxBrowser

phronmophobic 2021-03-13T20:24:36.379500Z

there are a couple options for integration. how did you use the browser in your workflow and what were the cases that didn't work for the built in JavaFX webview?

wilkerlucio 2021-03-12T17:34:35.363800Z

do you think that's easy to inject for example in Reveal?

wilkerlucio 2021-03-12T17:35:18.364Z

@vlaaad

phronmophobic 2021-03-12T17:43:01.364400Z

it depends on what you mean by easy and inject 😛

phronmophobic 2021-03-12T17:43:27.364600Z

I thought Reveal already had a web view?

vlaaad 2021-03-12T17:46:21.364800Z

JavaFX's web view kinda sucks

☝️ 1
vlaaad 2021-03-12T17:47:08.365Z

If would be great to have something like chrome as JavaFX web view

💯 1
wilkerlucio 2021-03-12T17:51:15.365200Z

yes, I already have some cases that don't work in the JavaFX web view, that could be game changer for using Web based things to visualisations inside Reveal

phronmophobic 2021-03-12T17:51:59.365400Z

Interesting. It's definitely not as easy as using the built in JavaFX component, but if there's interest, I would be happy to work with someone to make that work.

phronmophobic 2021-03-12T17:53:30.365600Z

there are at least two major caveats: • clj-cef doesn't have a windows build • the cef framework is rather huge (300MB on OSX and 1GB linux)

wilkerlucio 2021-03-12T18:05:52.366100Z

I would love to have that, I used JxBrowser with success in reveal, it works great, but the huge caveat is that is paid (and quite expensive), so I only used during the 30 day trial

2021-03-12T20:33:28.367300Z

Deep Diamond 0.20.0 released with DNNL upgrade to 2.1.1. https://github.com/uncomplicate/deep-diamond

🚀 7
lilactown 2021-03-12T21:44:16.371900Z

Formally announcing my library https://github.com/lilactown/autonormal, which provides two cool capabilities: • Quickly normalize nested maps into a flat, tabular structure • Quickly pull data out of nested maps and/or normalized maps using EQL [lilactown/autonormal "1.1.0"] is available on clojars. Praise and feedback is welcome via DM on slack or issues on github 😄

👍 21
4
1
👏 5
1
1
phronmophobic 2021-03-12T22:48:21.372800Z

@wilkerlucio, how did you integrate JxBrowser? Did you write a reveal plugin? Is that available somewhere?