Fork me on GitHub
#datomic
<
2019-11-10
>
erik10:11:32

https://www.dcc.fc.up.pt/~ricroc/homepage/publications/leap/2013-WFLP.pdf > A Datalog Engine for GPUs > Abstract. We present the design and evaluation of a Datalog engine for execution in Graphics Processing Units (GPUs). The engine eval- uates recursive and non-recursive Datalog queries using a bottom-up approach based on typical relational operators. It includes a memory management scheme that automatically swaps data between memory in the host platform (a multicore) and memory in the GPU in order to reduce the number of memory transfers. > To evaluate the performance of the engine, three Datalog queries were run on the engine and on a single CPU in the multicore host. One query runs up to 200 times faster on the (GPU) engine than on the CPU. any likelihood this will ever be relevant to Datomic?

cjmurphy15:11:27

Is it a good idea or even possible for entity attributes to have names that are integrated with spec? So something like com.some-company-name.bank-statement/line-item rather than bank-statement/line-item. Is there already documentation/discussion on this?

ghadi16:11:13

(Yes it is a good idea)

cjmurphy16:11:56

Thanks. In that documentation I see :user/name, but never :i.am.a.spec.user/name, or ::user/name. That's what was confusing me.

cjmurphy16:11:54

What I was thinking about was not using any special feature of Datomic, just having spec kind of namespaces.

ghadi16:11:06

Any of those kws are fine to register as names of specs. I would choose one name and be consistent

ghadi16:11:54

Yeah you can use specs to validate transaction data payloads without using those features above

cjmurphy17:11:55

Thanks @U050ECB92, am using the long form of namespaces now, but always with :: in the code, including in pull syntax. Only this long form can be validated by spec - that was my motivation (for others reading this).

cjmurphy17:11:31

As part of doing this I'm creating namespaces (i.e. files) that serve no purpose other than to be used in :require. Feels like going a bit off the beaten path to be doing this, hence I was looking for some confidence boosting validation 🙂

ssdev22:11:39

Is it possible to export a datomic database in datomic cloud? I see how to do it with on prem version, but can't find how with cloud version

onetom04:11:36

iirc a few days ago someone here said it's on of the drawbacks of the cloud version of datomic that there is no way to export it (and then import it into an on-prem datomic setup) can't remember though whether his statement was refuted or not.

erik13:11:15

btw is it not possible to write a straightforward Clojure script to inspect the schema in the cloud DB and generate the import-export code?

onetom09:11:49

no idea. im only familiar with on-prem so far

pvillegas1222:11:37

0.9.34 ion is broken for (cast/event ...), had to downgrade to 0.9.28 ion