This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-23
Channels
- # aws-lambda (1)
- # bangalore-clj (3)
- # beginners (80)
- # boot (8)
- # clojars (1)
- # clojure (200)
- # clojure-dev (37)
- # clojure-greece (26)
- # clojure-italy (11)
- # clojure-norway (3)
- # clojure-russia (14)
- # clojure-spec (21)
- # clojure-uk (30)
- # clojurescript (50)
- # core-logic (10)
- # core-matrix (1)
- # cursive (15)
- # data-science (21)
- # datomic (45)
- # devcards (2)
- # emacs (4)
- # fulcro (12)
- # garden (2)
- # jobs (5)
- # juxt (1)
- # lambdaisland (1)
- # leiningen (4)
- # luminus (20)
- # lumo (26)
- # off-topic (33)
- # onyx (27)
- # parinfer (1)
- # pedestal (3)
- # perun (5)
- # re-frame (20)
- # reagent (27)
- # ring (1)
- # ring-swagger (21)
- # shadow-cljs (259)
- # spacemacs (14)
- # yada (3)
@gigasquid thanks for doing that legwork. graal seems more real now.
@didiercrunch excellent work!
I'm trying a somewhat different approach, using a boot task to connect to a long-running process so a Jupyter notebook is more like a REPL. I want to see if it's a useful workflow, and boot offers a mechanism (pods) that could allow notebooks to have their own classpaths.
I have never looked at boot but I assume it can uses the same process. As far as I am concerned, the importance is to settle with the clojupyter kernel. Like that any improvment to it will profit the entire community. I have added a chart (trying to) explaining what happen in lein-clojure; it should not be complicated. https://docs.google.com/document/d/1XnY0lsG_-Y2FC-P65udaBS2bzkcSQKs_6bIBdET3E5E/edit#
I don't know, but the Dutch word for grail is graal. And it sounds quite different. More like Grahl.
@gigasquid’s post about clojure interop with R and Python https://www.reddit.com/r/Clojure/comments/787338/clojure_interop_with_r_and_python_on_graalvm/
Master's thesis on implementing Clojure in Truffle. Outlines some of the key challenges and solutions. http://epub.jku.at/obvulihs/download/pdf/501665
I also don't see any evidence of a graal/truffle kernel for Jupyter, which seems like it would be potentially useful.
just played with this, and came up to a scary looking error
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/elise/bin/graalvm-0.28.2/jre/languages/R/library/tseries/libs/tseries.so'
/home/elise/bin/graalvm-0.28.2/jre/languages/R/library/tseries/libs/tseries.so: undefined symbol: d1mach_
Error: loading failed
looks like some things are unimplemented or implemented differently (can see that file in Rmath)
(I was trying some R timeseries stuff)
@elise_huard yeah I not sure how compatible the implementation is. I’m sure there are some gaps. There is a bit about the status and limitations here https://github.com/graalvm/fastr
FastR is intended eventually to be a drop-in replacement for GNU R. Currently, however, the implementation is incomplete. Notable limitations are:
Graphics support: FastR supports only grid and grid-based packages, graphics package is not supported. The FastR grid package implementation is purely Java based, see its documentation for more details and limitations.
Many packages either do not install, particularly those containing native (C/C++) code, or fail tests due to bugs and limitations in FastR. In particular popular packages such as data.table and Rcpp currently do not work with FastR.
@gigasquid: thanks, and obviously no criticism on either Graal or Truffle or anyone else, I appreciate it's a difficult proposition, R having quite a sprawling ecosystem
Anyone work with spark and sparkling?
I’m trying to implement CountVectorizer
with sql-dataset and getting this error
NoSuchMethodError org.apache.spark.sql.catalyst.expressions.GenericInternalRow.setByte(IB)V org.apache.spark.ml.linalg.VectorUDT.serialize (VectorUDT.scala:46)
Code
(defn cv [table]
(-> (CountVectorizer.)
(.setInputCol "bigram")
(.setOutputCol "cv")
(.setVocabSize 1000)
(.setMinDF 2)
(.fit table)))
(def cv-model (cv table))
(def table-cv (-> cv-model (.transform table)))
;; And after calling
(sql/show table-cv)
;; I'm getting this error
One thing I learn today
lein pom
mvn dependency:tree -Dverbose=true