This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-12
Channels
- # admin-announcements (1)
- # bangalore-clj (13)
- # beginners (149)
- # boot (123)
- # cider (7)
- # clojure (167)
- # clojure-brasil (3)
- # clojure-greece (1)
- # clojure-korea (2)
- # clojure-new-zealand (2)
- # clojure-russia (70)
- # clojure-sanfrancisco (3)
- # clojure-spec (84)
- # clojure-uk (36)
- # clojurescript (300)
- # code-reviews (242)
- # community-development (34)
- # core-async (4)
- # css (1)
- # cursive (37)
- # datascript (1)
- # datomic (20)
- # defnpodcast (1)
- # dirac (15)
- # events (7)
- # garden (12)
- # hoplon (100)
- # lein-figwheel (11)
- # off-topic (2)
- # om (69)
- # om-next (3)
- # onyx (86)
- # planck (14)
- # proton (4)
- # protorepl (1)
- # quil (2)
- # re-frame (53)
- # rum (3)
- # untangled (1)
- # vim (50)
is there a way to restore a db on windows? I'm having no luck whatsoever, it can't recognise the roots. here are some details: https://groups.google.com/forum/#!topic/datomic/YPBFdRl_fI0
We’d like to store audit trail data each time someone updates the value of an attribute on a particular entity (e.g. store the user and datetime for the update). http://docs.datomic.com/best-practices.html#add-facts-about-transaction-entity looks promising for this use-case, but I wanted to double check if that's the recommended best-practice for audit trails. I also wondered if anyone has a more elaborate example of adding and retrieving facts from transactions? We want to render the audit data in the UI when a user hovers over the attribute’s text-field. Is there a way to merge the entity data, and the transaction audit trail data into one query? Or would we have to do it as multiple queries, and merge the results ourselves?
@james You might want to watch the Reified Transactions video here http://www.datomic.com/videos.html
In datomic’s datalog, is it possible to query for entities with an attribute that is a set of references to other entities, where all such entities satisfy some criterion? E.g.... um… all parents whose children all have red hair?
@donaldball Sure. Oh, @val_waeselynck beat me to it 🙂
@donaldball note the logical pattern here: conjunction = negation of the disjunction of the negations
I think I follow, nice, thanks.
@james remember, you don't actually need to get every bit of info from a single query, as with sql dbs
is there a good way to import data from datomic to redshift? the problem I’m solving is allowing people with sql experience to query data
I talked to Rich about it a while back and he suggested Redshift for exposing data to people who only know SQL (vs trying to write a translator from SQL->datalog)
@wei I was thinking about this issue as well. I didn't get very far writing a SQL to datalog DSL. Then I saw Stu's ETL talk and was wondering if you could just run that in reverse
I don't have any experience with Redshift though, so I was just speaking generally. it would be an interesting exercise
Any ideas how to write datomic.Entity with transit? I would like to send entity attributes to a client with transit, but now I have to manually convert it to a map before giving it to transit writer.
I know how to make custome transit/write-handler
instances, but I have no idea how to write something so that the receiver can read it as a map without custome read handler.
When we are importing data, we mark the transaction entity with an import id to allow us to see which import a given datum came from. But what is the correct way to find entities with a given transaction associated with them? Everything I have come up with so far takes ages on a large base.