This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-29
Channels
- # announcements (7)
- # asami (13)
- # babashka (22)
- # beginners (52)
- # calva (95)
- # clj-kondo (14)
- # cljs-dev (7)
- # clojars (5)
- # clojure (94)
- # clojure-austin (5)
- # clojure-dev (15)
- # clojure-europe (25)
- # clojure-nl (18)
- # clojure-uk (15)
- # clojuredesign-podcast (28)
- # clojurescript (63)
- # copenhagen-clojurians (1)
- # cursive (3)
- # datalevin (7)
- # datascript (13)
- # datomic (13)
- # duct (14)
- # emacs (24)
- # events (1)
- # fulcro (13)
- # graphql (7)
- # kaocha (4)
- # lambdaisland (6)
- # lsp (22)
- # music (5)
- # off-topic (24)
- # rdf (1)
- # re-frame (3)
- # reitit (9)
- # shadow-cljs (23)
- # sql (15)
- # testing (4)
- # tools-build (6)
- # vim (7)
- # vscode (7)
- # xtdb (21)
Sorry but having issues to get datalevin (0.6.3) to work in visual studio code with calva. As soon as I eval (def conn (d/get-conn "data/pbdldb")) it blows up with a stacktrace in the terminal: ERROR: Unhandled REPL handler exception processing message {:op stacktrace, :id 25, :session f93515eb-d72a-4565-a11b-f02e9cc72927} java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class org.lmdbjava.ByteBufferProxy ... I find a github issue in datalevin that points at the same kind of exception, and seems to be related to M1 support (?)... I'm using a M1 MacBookPro. Any advise/suggestions?
Any updates on transaction functions in Datalevin? If the plan is to serialize them for persistence, will there be a de-serialization cost on each use of a transaction function? I.e. would the following from https://docs.datomic.com/on-prem/reference/database-functions.html#limitations-of-transaction-functions hold for Datalevin? > • Transaction functions are serialized by design. To achieve best performance, limit the work of transaction functions to only things that require transaction-time access to the current value of the database.