Fork me on GitHub
#datomic
<
2017-05-29
>
heptahedron02:05:56

Hi! It is such a major pain to find any documentation on Datomic Free. I'm just trying to do the Getting Started tutorial on the site, but clojure.core.async isn't on the classpath when I run bin/repl. Am I supposed to include it manually? The guide mentions nothing about it

favila02:05:16

The getting started tutorial uses the datomic client API (vs peer API) which uses core.async. Datomic free does not support client API so there isn't any point

heptahedron02:05:37

Oh thanks so much I was gonna waste hours trying to figure that out lol

favila02:05:43

They really want you to start with datomic starter

heptahedron02:05:31

I know, I hesitate to say this but it feels obnoxious at this point

favila02:05:32

Older materials (e.g. Day of datomic) which start with the peer API will work with free

heptahedron02:05:18

eugh, maybe I should just start with the starter though

heptahedron02:05:56

Anyway thanks for that, spared me a lot of wasted effort

favila03:05:09

Free is so limited I wouldn't really use it unless I already knew datomic and had a particular app in mind which benefited from its licensing

favila03:05:44

(But I also don't use the client API)

eoliphant03:05:27

Hi, I have a kind of broad modeling question. I’m trying to figure out the best way to support a dynamic data model. The simplest analogy would be something like what undergirds say, Google Forms or JIRA, where essentially, at runtime I can define a new field/attribute, that can then be used elsewhere. Datomic seems particularly suited to this, especially since apps that do this in a relational DB tend to use some sort of EAV anyway. This talk seems like a good approach (https://www.youtube.com/watch?v=sQCoTu5v1Mo), but was just wondering what other folks thought, and/or if there’s more recent ‘art’ on the subject

favila04:05:49

IIRC this talk talks about building self-describing databases with entity-level schemes. That's all well and good, but your problem is user-created attributes. Just like with a normal db, you probably don't want users creating their own schema--you need to reify their "attributes" as values : https://groups.google.com/d/msg/datomic/4clQqidRYJk/9hceY1hrno8J

favila04:05:19

I think we had a deeper discussion of this on this channel a long while ago but I can't find it

eoliphant05:05:04

sweet thanks will check those out, yeah this isn’t really ‘true’ end users per se, but in my case more of an administrative function, where we can update some things in a more controlled manner but without a new deployment

eoliphant05:05:19

Ok yeah, I think your approach has less ceremony than what was described in that video I posted. thanks

cap10morgan14:05:36

should database functions go in the :user partition or an application-specific one?