This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-03
Channels
- # announcements (63)
- # asami (29)
- # beginners (23)
- # calva (23)
- # cider (18)
- # clj-kondo (12)
- # clojure (156)
- # clojure-europe (30)
- # clojure-italy (6)
- # clojure-nl (5)
- # clojure-uk (6)
- # clojurescript (14)
- # conjure (26)
- # cursive (8)
- # datalog (143)
- # datascript (1)
- # datomic (6)
- # duct (2)
- # emacs (50)
- # events (4)
- # figwheel-main (6)
- # fulcro (7)
- # graphql (12)
- # jobs (6)
- # malli (1)
- # mid-cities-meetup (2)
- # off-topic (4)
- # pathom (6)
- # portal (7)
- # re-frame (10)
- # reagent (8)
- # reitit (10)
- # releases (1)
- # reveal (18)
- # shadow-cljs (39)
- # sql (4)
- # tools-deps (36)
- # vim (25)
- # xtdb (6)
you can also check out #data-science
It depends what you mean by data science: you can leverage all python packages, and jvm packages. ClojureScript will be your best weapon on the visualization/reporting side of your models, as you can tap in the power of JS without too much pain. Moreover, you will be able to perform mathematical operations at a decent speed. http://tech.ml.dataset provides a "dataframe" abstraction so that you can perform your usual data manipulation in a way that reminds you of R/python.
Take a look at the https://scicloj.github.io/ community. They are very active. Most discussions happen on Zulip rather than slack
The SciCloj are also organising their next online event https://docs.google.com/forms/d/e/1FAIpQLSeTp-IzGI8lMvuWxLpHm8LPVv4mMVGhikOQ71dsVIiO_ZWp1w/viewform
yes, it seems many people do, there are some nice presentations from clojure conferences about data science...
just a quck youtube query for you ... https://www.youtube.com/results?search_query=clojure+data+science
there's probably a more experienced hat lurking.
Dear all, when I am reading Luminus annual, I cannot understand this function definition. Could anyone help to explain, thanks.
That’s some nested associative destructuring -> https://clojure.org/guides/destructuring#_associative_destructuring
It will get the value file
out of a map that looks like this
{ :parameters
{:multipart
{:file file-val}}}
The nested maps will contain more values than the ones I typed in but those are the ones the function “extracts” with destructuringI think it is slightly harder to read than get-in params [:parameters :multipart: :file]
but doesn’t require a separate let
Is there any way to convert a parametrized sql statement like ["SELECT * FROM USER WHERE ID = ?" 9]
to a prepared statement in clojure.jdbc?
The prepare statement only accepts a string and not a vector
Perhaps you might like to consider next-jdbc? It's the "next-generation" clojure.java.jdbc library 🙂
We use clojure.jdbc heavily in our project, would be difficult to migrate now
there's a fork that works with the dalvik vm, but it's not supported by the core team, and the start up time is painfully long
I think people have better luck with clojurescript with react-native or webapps