This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-17
Channels
- # 100-days-of-code (5)
- # announcements (13)
- # beginners (98)
- # boot (19)
- # cider (10)
- # cljdoc (32)
- # clojure (142)
- # clojure-dev (37)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-spec (30)
- # clojure-uk (18)
- # clojurescript (28)
- # cursive (8)
- # datomic (25)
- # duct (18)
- # editors (5)
- # emacs (39)
- # events (4)
- # figwheel (7)
- # figwheel-main (5)
- # fulcro (38)
- # graphql (19)
- # jobs-discuss (1)
- # jobs-rus (7)
- # keechma (1)
- # lumo (47)
- # off-topic (28)
- # om-next (3)
- # parinfer (3)
- # re-frame (18)
- # reagent (37)
- # reitit (8)
- # shadow-cljs (101)
- # specter (7)
- # tools-deps (8)
- # vim (1)
beginner question. I am trying to use datomic free from within a luminus web project. In the repl I can't seem to find the datomic.api namespace. I am using datomic-free "0.9.5561" and have the transactor running using bin/transactor with the sample config
since datomic schema only describe characteristic of data, im so curious about how "datomic data" can draw relationship between all entities (in purpose of reporting). At least i need something like "design mode" in MySQL so that i could tell what is happening on current entities in datomic. i was wondering to do something like "select distinct entities from db" is it possible ? it would be helpful if i could get a sample from each entities. 😕 For example i want to uniquely retrieve entities with attributes in it like [ {:person/name :person/address} {:school/name :school/personlist} ...] which is based on facts that inserted in datomic
@stijn @lanejo1 - for our builds of Datomic on-prem in CodeBuild, to get the Datomic Pro JARs into the build classpath, we use the documented method for putting your Datomic Maven repository credentials into environment variables, and then we have our company
username and pw as SecuredString SSM parameters that get passed into the Environment
block of the CloudFormation template that builds the CodeBuild project. I should think that would also work for the Ions dependencies, using $your_favorite_dependency_manager
.
@hadi.pranoto it's sometimes a pain to grok, especially if you're coming from say relational dbs, but in datomic there's no db concept of an 'entity definition' or even their relationships at the schema level. entities are just arbitrary bags of attributes, and refs are for lack of a better term 'anonymous'. any structure beyond attribute defs is up to you. That's part of datomic's power. You're able to do what you described in MySQL because a table does provide a fixed 'bag of attributes', the schema has a concept of fkey relationships between tables, etc.
To your question, If you already have data, some of this can be inferred, tools like this one (https://github.com/felixflores/datomic_schema_grapher) do this. You can use it directly or steal some of its code for your use. Other approaches include using naming conventions like your :person/..
examples, additional custom attributes for schema elements, spec, etc
@jaret We haven't been able to successfully push since yesterday afternoon due to the cryo
issue. Happy to be available to work with someone to get this figured out. It's put a heavy damper on development.
@grzm can you log a case with AWS from your account? I’ve logged one from ours asking for more information on the error. I’d be happy to provide the case number for your reference, but we need to get AWS support’s input on what is unavailable/invalid.
Getting this exception when calling push
in my code:
Exception thrown: cryo is not a recognized vendor code (Service: AWSResourceGroupsTaggingAPI; Status Code: 400; Error Code: InvalidParameterException; Request ID: 8db867cb-d24c-11e8-bb2d-59cd3680b29e)
@kenny We’ve been seeing this as well. Cognitect has a ticket open, and we’ve opened up one as well. This appears to be related: https://forums.aws.amazon.com/thread.jspa?messageID=872875
Upside is that it has forced us to think about what we need to facilitate easier local dev 🙂
Ugh. This is kinda a big blocker - we can't deploy code. Did the Datomic team say they'd push a release with the workaround?
I am going to add your error to our ticket. we’re waiting for AWS to provide specific instructions for the filtering solution discussed in the forum post.
I have not. But I am still working on it. We have 3 separate AWS accounts reporting the error when pushing. One in US-EAST-1