Fork me on GitHub
#datomic
<
2015-06-05
>
robert-stuttaford06:06:48

@arohner: separate, dedicated instance

robert-stuttaford06:06:44

this talk is great for those with Datomic in prod or close to it

robert-stuttaford06:06:59

he says they use a t2.micro that backs up to S3 continuously

ericfode17:06:50

What is the best way to get a unix epoch into something that the datomic :inst type approves of?

arohner20:06:00

(java.util.Date. 1433537571770)

arohner20:06:10

is there a clojurebot in here?

max22:06:43

Hi everyone, I need some help. I've developed a datomic app using the free filesystem transactor, and now it's time to deploy it. I decided to deploy it on Postgres. I ran the postgres setup scripts that ship with datomic, and this is what I have in my transactor.properties:

protocol=sql
host=localhost
port=4334

### Postgres
sql-url=jdbc:
sql-user=datomic
sql-password=datomic
sql-driver-class=org.postgresql.Driver
Now when I try to create a database and connect to it, I get an error:
user>   (d/create-database "datomic:)
true
user>   (d/connect "datomic:)
ClassCastException   [trace missing]

max22:06:46

any ideas?

max22:06:30

I've also had the ClassCastException return a more detailed error ClassCastException clojure.lang.Symbol cannot be cast to clojure.lang.Associative clojure.lang.RT.assoc (RT.java:778)

max22:06:22

Good news! I solved my problem!

max22:06:33

Turns out I had the wrong version of postgres in my project.clj