Fork me on GitHub

what happened to :db.type/bytes? is there a similar type in Datomic Cloud for storing a map, or other data that doesn't fit into the other valueTypes?

Joe Lane14:10:24

@wei If it's big, use a reference in s3, if not, you can Base64 encode/decode either the pr-str of a datastructure or even the binary representation. Example would be a fressian encoded vector could then be Base64 encoded into a string. The tricky part is knowing if somehow you would overflow the string size limit of ~4000 characters. Hence the first recommendation of using s3.

👍 4
Joe Lane14:10:15

I'm not speaking authoritatively about what happened to :db.type/bytes, just sharing some ideas i've had around working around their absence.


New release for on-prem and cloud ^

🚀 16

congratulations on shipping! this was my #1 feature request for a while and I'm thrilled that you guys have pulled it off. would be fun to hear about the challenges you encountered implementing this.


Is it supposed to work with AWS Athena as well? I didn't see a mention in the docs, but that should be similar to Presto


there isn’t a path from Athena to ROYB presto, and QuickSight requires LDAP, so neither supported as of yet


Makes sense. Thanks for explaining


The new release is exciting, hoping to get some help with a chicken / egg problem. I would like to experiment with Datomic again (originally downloaded starter edition years ago), but it looks like my copy is limited to Datomic as of 2016. It seems like if I want to make software on my workstation and then make a pitch as to why we should buy it (or use AWS hosted etc once proven), I am stuck either getting full buy-in / budget up front, or trying to develop on my systems and never reboot so I can save my data in-between sessions via Datomic Free. Could someone help me understand if this is accurate, or if I am just misunderstanding the workflow?


Datomic Free is durable and survives reboots...


Or running Cloud (Solo) is ~$1/day (if you leave it on all the time)


Ah ok, thank you! I didn't realize Datomic Free wasn't in-memory only


I'm a happy user of Datomic Pro, but I wonder if Datomic Free would run nicely in a distributed fashion with


@U072WS7PE datomic-free still in 0.9.5697 We can't use/learn/develop foss tools around ensure, :keys or any of these new datomic features (as SQL connector)

Msr Tim21:10:05

hi, is this documentation still applicable for hosted datomic

Msr Tim21:10:54

You can request new entity ids by specifying a temporary id (tempid) in transaction data. The Peer.tempid method creates a new tempid, and the Peer.resolveTempid method can be used to interrogate a transaction return value for the actual id assigned.

Msr Tim21:10:21

when would someone request new entityids

Msr Tim21:10:49

Squuids are no longer required in Datomic (Cloud or On-Prem) now that Datomic has Adaptive Indexing. 

Msr Tim21:10:24

official docs seems to say

Msr Tim21:10:35

It is often important to have a globally unique identifier for an entity. Where such identifiers do not already exist in the domain, you can use a unique identity attribute with a value type of :db.type/uuid. 

Msr Tim21:10:52

i don't have globally unique id for my entities

Msr Tim21:10:01

what should i do?


if you don’t have a “natural key” for your entities, generate a random UUID

ghadi22:10:07 @meowlicious99 I know you're doing on-prem and not cloud, but that ^ is a useful reference for how transactions work

Msr Tim22:10:32

oh I am actually on cloud

Msr Tim22:10:58

google fu for on prem docs seems to be high so I always end up on on prem docs.

Msr Tim22:10:06

maybe they should have different color or something 🙂

☝️ 4

On prem docs have a colored bar at the top


That’s how I always recognize it ^^


Rename one of them to Cimotad


Or Dadomic. You’ll be able to tell by the docs being 90% puns.

Msr Tim15:10:49

oh i just noticed that. cool. thank you!