This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-30
Channels
- # announcements (2)
- # beginners (87)
- # boot-dev (9)
- # cider (3)
- # cljs-dev (72)
- # clojure (81)
- # clojure-europe (1)
- # clojure-france (1)
- # clojure-italy (1)
- # clojure-nl (2)
- # clojure-russia (212)
- # clojure-serbia (3)
- # clojure-spec (4)
- # clojure-uk (31)
- # clojurescript (82)
- # cursive (15)
- # datascript (2)
- # datomic (27)
- # dirac (11)
- # events (6)
- # fulcro (12)
- # hoplon (3)
- # jobs-discuss (1)
- # klipse (12)
- # off-topic (50)
- # overtone (8)
- # reagent (20)
- # reitit (7)
- # shadow-cljs (1)
Typo at sed 's/iProcessing/Processing/g'
Also, typo at sed 's/HMAC-SHA26/HMAC-SHA256/g'
Is there a way to write unit test with datomic cloud? I tried to mock the database name to be an in-memory db for each test but didn’t work.
Hi @UEUB9VA30. We have been using this lib for writing unit tests with the Datomic Client API: https://github.com/ComputeSoftware/datomic-client-memdb
Why does :db/unique
require :db.cardinality/one
? A person can have multiple emails and each email can still uniquely identify a person.
@U09R86PA4 here's where it says so:
Just setting up ions. I'm yet to try Datomic.
As to why, donno. It can cause confusion (known by personal experience) when trying to upsert different entities in the same transaction
So either semantically they had a greenfield and decided it was a good idea but couldn’t do it on on prem for backward compat; or the impl of cloud drove them to it; or the docs are wrong
Is this restriction due to technical or architectural reasons, or is multi-cardinality unique attributes a bad idea in some way I'm blind to?
I would imagine there’s greater chances of checking uniqueness to be quite slow if it could be multi-cardinality. but honestly I don’t know
I'm trying datomic for the first time what does this error mean?
bin/transactor config/samples/dev-transactor-template.properties
Launching with Java options -server -Xms1g -Xmx1g -XX:+UseG1GC -XX:MaxGCPauseMillis=50
Starting datomic:, storing data in: data ...
System started datomic:, storing data in: data
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0 (file:/Users/adriansmith/Datomic/datomic-pro-0.9.5786/lib/netty-all-4.0.39.Final.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ah ok
shame we can't do brew install datomic with cask then brew services to control datomic
@marshall circling back on my issue from Friday. Want to say thanks for your time investigating. The issue seems to be connected to the empty vectors in the components. Once I removed those, the components were properly stored and retrievable.