This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-20
Channels
- # announcements (5)
- # asami (162)
- # babashka (15)
- # beginners (1)
- # bitcoin (1)
- # calva (10)
- # chlorine-clover (3)
- # cider (1)
- # clj-kondo (4)
- # cljfx (10)
- # cljs-dev (1)
- # cljsrn (7)
- # clojure (38)
- # clojure-europe (69)
- # clojure-germany (2)
- # clojure-serbia (1)
- # clojurescript (22)
- # community-development (2)
- # conjure (1)
- # core-async (2)
- # cursive (14)
- # datahike (4)
- # fulcro (7)
- # graalvm (34)
- # helix (13)
- # honeysql (3)
- # lsp (134)
- # meander (56)
- # membrane (1)
- # off-topic (35)
- # practicalli (31)
- # releases (4)
- # rewrite-clj (5)
- # tools-deps (3)
- # vscode (6)
- # xtdb (8)
Hi, I just found crux.api/project-many
does not respect the order of eids, is it expected?
Hi 🙂 looking at our tests I see we return sets https://github.com/juxt/crux/blob/9fe64e36e1a7c03646afc93945665d11871a6cf4/crux-core/test/crux/pull_test.clj#L122 Whereas DataScript returns vectors that respects the input order https://github.com/tonsky/datascript/blob/60feefdd2b2f0d354d4def55b84bed35288e3c0a/test/datascript/test/pull_api.cljc#L72 I'm not sure what might have prompted our choice to return sets but I will investigate! Thanks for mentioning it. Hopefully you're okay simply running pull multiple times as a workaround for now
I can't take any credit for the implementation - but I'm glad you approve! Certainly, please feel free to open an issue, that will make 100% sure we get some eyes on it this week 🙂
Hmm, I think I understand why it returns set, because pull-many
is just one more q
, and the query itself can't guarantee the result have the same order with eids. It make sense for current implementation. Thanks for the help!
Hello! Im seeing a couple of errors come up when trying out JDK 16:
java.lang.reflect.InaccessibleObjectException: Unable to make field transient volatile java.util.concurrent.ConcurrentHashMap$Node[] java.util.concurrent.ConcurrentHashMap.table accessible: module java.base does not "opens java.util.concurrent"
at crux.cache.second_chance.ConcurrentHashMapTableAccess
and
java.lang.NoClassDefFoundError: Could not initialize class crux.cache.second_chance.ConcurrentHashMapTableAccess
Is this known?