This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-08
Channels
- # adventofcode (9)
- # announcements (5)
- # babashka (3)
- # beginners (46)
- # calva (21)
- # cider (15)
- # clj-kondo (20)
- # cljs-dev (57)
- # cljsrn (10)
- # clojure (147)
- # clojure-dev (6)
- # clojure-europe (3)
- # clojure-france (2)
- # clojure-italy (8)
- # clojure-nl (18)
- # clojure-norway (5)
- # clojure-spec (16)
- # clojure-uk (63)
- # clojuredesign-podcast (7)
- # clojurescript (65)
- # clojurex (42)
- # cursive (12)
- # datomic (10)
- # fulcro (47)
- # graalvm (102)
- # graphql (2)
- # jobs (5)
- # joker (12)
- # off-topic (33)
- # pedestal (6)
- # re-frame (6)
- # reagent (8)
- # reitit (6)
- # remote-jobs (4)
- # rewrite-clj (10)
- # shadow-cljs (86)
- # sql (45)
- # testing (4)
- # tools-deps (43)
- # vim (8)
- # xtdb (3)
clj-kondo 2019.11.07 Datalog linting and more! https://github.com/borkdude/clj-kondo/releases/tag/v2019.11.07
Also check out this interesting blog post: https://lambdaforge.io/2019/11/08/clj-kondo-datalog-support.html
that's quite an interesting article -- it's going to take a bit to digest well 🙂 thanks for mentioning it! on a related note, have you checked out clindex (https://github.com/jpmonettas/clindex)? it was mentioned in the article and i saw it was announced recently.
same 🙂 was thinking whether it might be used to generate tags/TAGS files -- and thereby obsolete what i'm working on 🙂 haven't had much luck reaching the author though he seems to be on slack.
in the beginning of kondo I have considered using a triplestore like datahike as well, but I never got it to work
and I think it would be less performant after all than manually storing information in a bunch of maps
it does seem possible that it wouldn't be performant enough for real-time query -- but i was thinking it might be used to generate tags/TAGS so the performance wouldn't be a problem
I have an example of a babashka script here btw which pulls the clj-kondo analysis into a sqlite database: https://github.com/borkdude/babashka/blob/master/examples/sqlite.clj
i tried the sqlite.clj script -- it seemed to work fine when passed "src", but something didn't enjoy being passed clj -Spath
:
$ bb ~/src/babashka/examples/sqlite.clj `clj -Spath`
clojure.lang.ExceptionInfo: Cannot run program "sqlite3": error=7, Argument list too long [at line 16, column 3]
{:type :sci/error, :row 16, :col 3, :message "Cannot run program \"sqlite3\": error=7, Argument list too long [at line 16, column 3]"}
at sci.impl.utils$rethrow_with_location_of_node.invokeStatic (utils.cljc:62)
...
@sogaiu I'm guessing you have already seen this: https://stackoverflow.com/questions/51710864/usr-bin-sqlite3-argument-list-too-long