Fork me on GitHub
#datomic
<
2019-04-18
>
adamfrey15:04:37

I'm looking for code that I've seen before in I believe the day-of-datomic repos or something similar where Stu Halloway wrote a series of queries showing how to debug a datalog query to see how many entities were being resolved at each step

adamfrey15:04:24

does have a link to what I'm talking about, I haven't been able to find it

adamfrey15:04:08

@jaret do you know what I'm talking about?

jaret15:04:26

@adamfrey are you talking about decomposing a query?

jaret15:04:35

helps you find the optimal clause ordering with little domain knowledge ^

zalky15:04:24

Hi all, is there a benefit to using datomic.api/attribute over datomic.api/entity?

timgilbert16:04:47

Hey, modelling question here. Say I've got some images which are "confirmed" at some point, at which time I add a datom [eid :image/confirmed-at (Date.)], so the field is either present or missing for any given image. Now I'm trying to find unconfirmed images. Is there a performance difference between these two clauses? (not [?i :image/confirmed-at]) [(missing? $ ?i :image/confirmed-at)]

dmarjenburgh17:04:56

@joe.lane I’ve tried various things, but keep getting the same error.

dmarjenburgh17:04:22

Has anyone gotten an ion push/deploy working on windows?

danieroux18:04:24

clojure -A:ion -m datomic.ion.dev '{:op :push}'

{:command-failed "{:op :push}",
 :causes ({:message nil, :class NullPointerException})}
How do I debug this?

pvillegas1218:04:05

Look at your code-deploy in aws, it should have the failed deploy and show you more information in the details page

danieroux18:04:45

There's nothing there - I am push-ing, so did not expect anything there yet.

danieroux19:04:29

I fiddled with deps.edn, and not it's working 😕

Joe Lane19:04:05

What happens when you use a prior commit, one that worked? I’ve had issues before and it ended up being that my code wasn’t compiling.

danieroux19:04:36

In this case, I just removed dependencies, and moved some to -Adev that doesn't get included in -Aion

danieroux19:04:44

*and now it is working

Joe Lane18:04:10

Glad to hear its working now!

danieroux18:04:50

(it has worked before)