Fork me on GitHub
#datomic
<
2017-03-20
>
nickik07:03:29

@fenton Looks really cool. Thank you, a interduction of that size was a bit missing.

nickik07:03:05

I hope i will remember to give feedback when read it.

richardwong08:03:38

I also tried similar code here, probably due to a documentation Error? It works fine in the peer side, but tips me error once switch to client. Pretty strange. Or, does it mean that I should use a peer for stability(internal fns)?

yonatanel08:03:52

@fenton Maybe since this is a tutorial you should stick to the recommended fully qualified keywords (:user/cars instead of :cars)

dominicm12:03:43

In the docstring for tx-range, tx numbers are referenced. What are they? A count of transactions? (0, 1, 2…)

timgilbert22:03:27

@fenton: I think this is pretty great, and a much needed resource. One thing you might want to consider is that as of recently, you can use string temp-ids or in many cases omit the :#db/id field altogether, which might make some of your sample data a little more precise. See "tempids" here: http://blog.datomic.com/2016/11/datomic-update-client-api-unlimited.html

fenton23:03:59

Those are great points Tim, I'll update the tutorial soon!

fenton23:03:31

@nickik @yonatanel thank you guys for your suggestions and feedback... I'll include.

fenton23:03:51

@yonatanel I never really understood exactly what one gained by namespacing. Is there more to it than just keeping things a bit more orderly? Are they a kind of standing for RDBMS tables. Any pointers to commentary would help me explain the topic to others. Thanks. Keep in mind I'm rather daft 😉