Fork me on GitHub
#datomic
<
2017-02-15
>
seantempesta03:02:57

I’m writing an update function that takes user supplied data from a form and updates their user entity. Can someone look over this and tell me if I’m doing it in an idiomatic way? Or if I have any security problems?

podviaznikov03:02:38

is it possible to retract entity and specify additional arg in query? Like delete in SQL with where clause. What I have [:db.fn/retractEntity entity-id] but I also want to say where [user-id :book/creator-id]. Wasn’t able to find such example in the docs

wei07:02:31

for those on AWS, what are the recommended cloudwatch alarms? for starters, I’d like to know if a transactor is low on memory or goes down

seantempesta08:02:06

@val_waeselynck: Woops! So used to creating a db value for querying I musta just tossed that in. And you’re right, I don’t need to merge anything except the :db/id. Thanks! Much appreciated.

dazld20:02:53

hi everyone. I’m an experienced JSON & restful oriented developer, and I’m interested in trying out datomic for a couple of new projects. tips for some step by step tutorials would be really welcome!

dazld20:02:15

the marketing material worked! I want to believe 😄

baptiste-from-paris20:02:21

hello guys, I bet this question has already been asked but my datomic console when launched with bin/console -p 8080 mbrainz datomic: (after install script) throw this error =>

Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing class...

jaret20:02:43

@baptiste-from-paris Are you using datomic FREE? There is a known issue with Datomic FREE and console. We're working on a fix. If you register for Datomic starter (which is free to use) the Datomic PRO edition has no classpath issue with using console.

jaret21:02:11

I believe we broke this on 5544 so 5407 FREE has a working console

nottmey21:02:24

@baptiste-from-paris you need to use the original version the console was intended for as free user

nottmey21:02:06

try datomic-free-0.9.5372 and datomic-console-0.1.214 - that worked fine for me (they were released on the same day)

jaret21:02:58

@nottmey is correct any Free version up to and including 5407 will work. But on 5544 and after the console is currently broken.

jaret21:02:39

Also an important side note. Free does not include Clients. You'll need to use Datomic Pro if you're looking to test out Clients

nottmey21:02:41

you only need to do this for the bin/console command though, the transactor can run on the newest version

timgilbert22:02:04

@dazld: you might start with https://github.com/Datomic/day-of-datomic. I'm not aware of any other tutorial-type materials. I also found the videos at http://www.datomic.com/videos.html to be super helpful when I was just learning datomic.