@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?
Fantastic work
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
IIRC jxBrowser has javafx nodes
https://bitbucket.org/chromiumembedded/java-cef/issues/163/provide-javafx-node-for-jcef found this jcef issue from 6 years ago, still unresolved 😕
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.
@smith.adriane sadly I can't find the code I used for the JxBrowser
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?
do you think that's easy to inject for example in Reveal?
it depends on what you mean by easy and inject 😛
I thought Reveal already had a web view?
JavaFX's web view kinda sucks
If would be great to have something like chrome as JavaFX web view
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
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.
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)
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
Deep Diamond 0.20.0 released with DNNL upgrade to 2.1.1. https://github.com/uncomplicate/deep-diamond
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 😄
@wilkerlucio, how did you integrate JxBrowser? Did you write a reveal plugin? Is that available somewhere?