This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-27
Channels
- # admin-announcements (42)
- # aws (15)
- # beginners (8)
- # boot (102)
- # cider (7)
- # clojure (141)
- # clojure-italy (10)
- # clojure-japan (4)
- # clojure-russia (26)
- # clojure-seattle (1)
- # clojurescript (239)
- # core-matrix (13)
- # cursive (19)
- # datascript (54)
- # datomic (21)
- # editors (2)
- # events (1)
- # hoplon (125)
- # instaparse (10)
- # jobs (3)
- # ldnclj (13)
- # ldnproclodo (1)
- # om (1)
- # onyx (2)
- # rdf (206)
- # re-frame (30)
- # reagent (7)
- # yada (4)
How should look the java opts for JVM for connection to ddb transactor?
For PostgresSQL it looks like export DATOMIC_URI="datomic:<sql://dbname?jdbc:postgresql://example.com:5432/datomic?user=datomic&password=datomic>
Thank you
Guys, I've got infinity redirects when trying to download datomic from Amazon EC2 instance
I've added --max-redirection option but it doesn't help
Interesting, from laptop it works as expected
It hurts me 😞
What's a fast way to rollback a test database (like "datomic:
) to a blank slate, other than ((juxt d/delete-database d/create-database) uri)
?
(def url "datomic:")
(def num-resets (atom 0))
(defn conn-to-fresh-db []
(let [url (str url (swap! num-resets inc))]
(schema/ensure-schema url)
(d/connect url)))
^ seems like a total hack, but also seems to get the job done@kbaribeau: I imagine that would make your memory usage skyrocket if you used an auto-test-rerunner?
it might, I was having problems with data pollution when deleting dbs though, I figured there must be a cache somewhere that's operating by URL that delete-database
wouldn't clear
@kbaribeau: I've been using delete-database
with no problem for 2 years, using the same in-memory uri
.
@kbaribeau: So you've got something else going on there that you might want to fix.
yeah, this code has been sitting for about a year and a half without causing problems, so I'm content to let it sit
@kbaribeau: afaict that means you've got an error somewhere in your code that's hiding, from my experience it'll probably come out and bite you at some point in the future, but any way your choice just psa/fyi that's all