Fork me on GitHub
#powderkeg
<
2017-03-26
>
viesti10:03:16

re-learning transducers (maybe I didn’t really learn them when they appeared :)), watching Rich’s strangeloop talk https://www.youtube.com/watch?v=6mTbuzafcII and discovered slides of Christophe’s ClojureD talk https://cdn.rawgit.com/cgrand/xforms/resources/Lost%20in%20Transduction.pdf

cgrand10:03:16

@viesti re:cider it takes a loooong time or never finishes or fails?

viesti10:03:38

didn’t have the patience to wait 🙂

viesti10:03:31

should look at the dependencies that get pulled in, maybe some of them could be filtered out

cgrand10:03:38

I believe counterclockwise embeds cider and while I don't see 10k classes it's way slower than plain lein repl. For about the same number of classes.

viesti10:03:52

do all the classes on the classpath get instrumented or just the ones that belong to the project using them?

viesti10:03:19

thinking if scope of work could be narrowed

viesti10:03:31

hum, had [refactor-nrepl "2.2.0"] in addition to [cider/cider-nrepl "0.14.0"] in my leiningen profile

cgrand10:03:41

I think it's a different issue as with recent counterclockwise I experienced nearly a 10x slowdown while the classes count stay almost identical.

cgrand12:03:31

However looking at https://docs.oracle.com/javase/7/docs/api/java/lang/instrument/Instrumentation.html again I see a couple of ways of making ouroboros startup less brutal.

viesti18:03:46

that would probably be neat, although nowadays I have cider in a separate profile that I enable only when needed to avoid startup time cost which it brings

viesti19:03:58

hum, was thinking if SparkSession (of Spark SQL http://spark.apache.org/docs/latest/sql-programming-guide.html#starting-point-sparksession) should be wrapped somehow, at least for making Spark's own examples easier to translate to powderkeg

viesti19:03:26

but browsing through the code of SparkSession, it looks more like a wrapper class for Spark’s own API evolution, which might not be our target

viesti19:03:30

another thing that I’m thinking is should we be worried about Encoders or not 🙂 https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.Dataset

cgrand19:03:39

Yeah not very open.