apparently not https://ask.datomic.com/index.php/571/is-there-way-in-datomic-cloud-ions-know-what-git-hash-being-run
Hi all, is there a tool or program you're using to visualize your schema? Ideally I'd like to produce something like https://cdn.nextjournal.com/data/QmNuS8YKMJYgBa47oN8Y6P6rKF5um7zm9TwrAWUvMtyHEE?filename=relationships.png&content-type=image/png. Currently using graphviz and it looks a bit haphazard
Iโve seen https://c-132.com/schema-cartographer/ used. There is a risk of thinking too rectangular when thinking in entities. Just keep in mind that attributes are global and you can make more general attributes your system.
Looks like you can get really close by using graphviz records
Like I mentioned, I'm currently using graphviz, so it looks more like the aftermath of a cat finding a ball of yarn.
But you bring up an interesting point, while attributes are global, in all examples I saw they were usually coupled to the entity semantically, i.e. :entity/attribute
They can be coupled as :entity1/attribute1
, but actual runtime instances of entities can be made up of attributes from many different schema entities, so :entity1/attribute1
can be in the same runtime entity as :entity2/attribute1
.
If :entity1/attribute1
was a general kind of attribute then it would find itself in many runtime entities, so :entity2/id
, entity3/id
etc...
Also, FWIW @ben.sless that schema diagram is hand made with omnigraffle. There isnโt any magic automation for it.
Ah, that's unfortunate
Hi all! We're looking to get an informal assessment of how Datomic Cloud customers access cloud. If you wouldn't mind taking some time to fill out he poll on our forums here it would be much appreciated:
https://forum.datomic.com/t/how-do-you-access-datomic-cloud/1739
Feel free to add any thoughts/wishes/context/desires in the thread under the poll.
I just started an Ion, but I guess Datomic runs on JVM 8 and I hadn't considered that. I'm accustomed to using the newer date/time classes on JVM 11. What do you typically use for dates & times on older JVMs? Is there a popular library?
@jshaffer2112 https://gist.github.com/souenzzo/b18bbe3aabc9bc04720670b5c0668cc0
Java 8 has the java.time classes
Thanks. I guess it's just LocalDate/ofInstant that's missing, and I can adjust to that
I should have read the exception more carefully ๐ถ
https://www.joda.org/joda-time/, clojure https://github.com/clj-time/clj-time
@claudius.nicolae joda is deprecated