Fork me on GitHub
#datomic
<
2018-08-06
>
euccastro00:08:03

FWIW IMHO that's still a bit of a leap. there are applications that don't need a lot of processing power but where you still want high availability. I think there's room for a plan like the production topology just with smaller instances

austinbirch08:08:52

Thanks @rhansen. @euccastro Yeah, agree. Thinking that I’ll end up in the situation you describe.

jmingtan09:08:06

Does Datomic cloud licensing permit downgrading the instances after they have been launched? Or likewise to upscale the instances

jmingtan09:08:07

I could only find this forum thread https://forum.datomic.com/t/datomic-cloud-provisioning-options/364/5 that mentioned that launching the AMI by hand is possible, although not officially supported

jaret13:08:25

@jmingtan Datomic Cloud is only supported, and will only function correctly, when run on the instance types offered as options in our cloud formation templates, e.g. solo will only run on t2.small and prod on i3.large

jmingtan14:08:53

@jaret I see, thank you!

Joe Lane14:08:13

@captaingrover I unfortunately don’t have an answer for you, however I’m really interested in your om-next ast project. Is it for a public project?

Desmond03:08:07

no worries. the issue is resolved now. classic user error. the project is not public but if i get things figured out i might make an open-source demo version.

Desmond03:08:34

i'm really inspired by Clients in Control https://docs.datomic.com/on-prem/videos.html

Desmond03:08:10

i work with a lot of enterprise clients that have this weird instinct to always push logic deeper into the system. i find the opposite, putting logic as close to the user as possible, much more conducive to agility in response to user feedback.

timgilbert15:08:44

Just noticed that the datomic logo in the top-nav of http://docs.datomic.com links to https://datomic.com/ which seems to have an incorrectly-configured HTTPS certificate

conan15:08:32

think i'm missing something, but if i'm running on-prem using the cloudformation template, is there any way i can make changes to my cluster? for example, i want to enable cloudwatch, or add memcached; how do i do this without just creating an entirely new cluster? or is that what i should do?

conan15:08:18

do i just create a new template using the command-line tools and paste that into the Update Stack function in the AWS console?

leblowl17:08:44

Hey I have run into this problem a couple times now, basically I want to get a list of entities and their values for a specific :db.cardinality/many attribute. Given a query like this

(d/q '[:find ?e ?v
         :in $ [?e ...] ?a
         :where [?e ?a ?v]]
       db
       eids
       attrib)
It should return a list of 2-tuples, eg: [[1 "yo"] [1 "dude"] [2 "cat"] [2 "nip"]]. However I would like to retrieve the data like so: [[1 ["yo" "dude"]] [2 ["cat" "nip"]]]. Is there any way to do this with vanilla DatomicQL, or will I need to accumulate results like this in my app code? Thanks!

chrisblom18:08:14

(d/q '[:find ?e (set ?v)
         :in $ [?e ...] ?a
         :where [?e ?a ?v]]
       db
       eids
       attrib)

chrisblom18:08:57

Using vector or list might also work (instead of set)

leblowl19:08:49

@chrisblom Thanks, interesting that that works. I was trying something like :find ?e [?v ...]

curtosis19:08:46

is there something like d/get-some available in transactions? I need to set up a ref while loading some data where in this data I know the lookup value resolves to a unique entity, even though the attribute itself isn’t unique.