Fork me on GitHub
#data-science
<
2019-03-05
>
gigasquid00:03:46

and there is a docker image

genekim00:03:35

Thanks @gigasquid! I’ll try it next. (And thanks for all the great work you’re doing!!!

yuhan02:03:12

I was also looking into this a while ago and confused about the differences between Clojupyter and IClojure, is either one more recommended than the other?

yuhan02:03:02

My project dependencies are managed using deps.edn so (I assume) lein-jupyter isn't an option

zane07:03:35

lein-jupyter actually plays well with lein-tools-deps, so you can use it with deps.edn-based projects if you want. Here's an example: https://github.com/probcomp/metaprob/blob/master/project.clj

yuhan13:03:55

Thanks for clarifying that - the parinfer integration alone seems like a good reason for choosing lein-jupyter over IClojure, any other considerations?

zane18:03:52

IClojure lets you connect to a running socket REPL, add dependencies on the fly, render various MIME types (perhaps most importantly Vega / Vega-Lite charts), elide large data structures when printing them.

zane18:03:54

Tradeoffs abound.

yuhan13:03:55

Thanks for clarifying that - the parinfer integration alone seems like a good reason for choosing lein-jupyter over IClojure, any other considerations?

genekim23:03:12

Holy cow . I got lein-jupyter running! @gigasquid @zane Required explicitly including in my project.clj:

[org.clojure/tools.reader "1.3.2"]
The relevant part of the stack trace was here:
at clojure.tools.reader.edn__init.load(Unknown Source)
	at clojure.tools.reader.edn__init.<clinit>(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
So excited to get this running! What is best way to help others avoid this problem. Put in pull request for README addition? Or explicitly pin to tools.reader in lein-jupyter project.clj? Thx!

genekim23:03:04

(I scanned all the issues, and found one that I think is the same issue I’m having. I just commented on it, putting this info there. We’ll see what happens! Thx all! :)