This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-08-02
Channels
- # announcements (6)
- # beginners (35)
- # calva (5)
- # cider (3)
- # clj-http (1)
- # clj-kondo (52)
- # clojure (51)
- # clojure-conj (2)
- # clojure-europe (28)
- # clojure-losangeles (1)
- # clojure-norway (8)
- # clojure-uk (2)
- # cursive (12)
- # datalevin (2)
- # datomic (38)
- # emacs (7)
- # events (5)
- # gratitude (1)
- # humbleui (7)
- # hyperfiddle (23)
- # jobs (1)
- # off-topic (6)
- # portland-or (1)
- # rdf (3)
- # releases (2)
- # xtdb (3)
I'm a new datalevin user - the option of using datalevin also as a kv-store for clj/edn-data made me try it out - before I was using persistent atoms through duratom, which worked ok but felt a little brittle as a db - only by accident did I discover that datalevin had a kv-store besides it datascript/datalog db - managed to make it work and if feels like a great solution which is more scaleable and robust than atoms with a backend store - also the low maintenance and admins effort to make it work is very important for me. There were two issues that I ran into to get a working system: After install, I got the following error messages after require'ing datalevin.core: -- ; Syntax error compiling at (datalevin/remote.clj:1:1). ; namespace 'datalevin.storage' not found -- Could not find any issues or discussions about this. I tried to upgrade from clojure 1.10.3 to the latest 1.11.3, and that seemed to have resolved the issue (?) The other issue is documented already but should probably be mentioned on the main README: When you have a recent clojure version, you have to add to your deps.edn : -- :jvm-opts ["--add-opens=java.base/java.nio=ALL-UNNAMED" "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED"]} -- to get rid of some obscure error with no helpful stacktrace. Anyway - it all works great now! Thanks for making datalevin available to all of us!