This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-05
Channels
- # bangalore-clj (4)
- # boot (196)
- # chestnut (1)
- # cider (4)
- # clara (3)
- # cljs-dev (23)
- # cljsjs (28)
- # cljsrn (1)
- # clojure (79)
- # clojure-art (1)
- # clojure-berlin (1)
- # clojure-hk (17)
- # clojure-italy (5)
- # clojure-korea (1)
- # clojure-russia (21)
- # clojure-spec (5)
- # clojure-uk (26)
- # clojurescript (125)
- # core-async (1)
- # cursive (23)
- # datomic (7)
- # emacs (17)
- # hoplon (51)
- # jobs (2)
- # leiningen (2)
- # om (11)
- # om-next (26)
- # onyx (39)
- # pedestal (9)
- # proton (4)
- # re-frame (43)
- # reagent (1)
- # ring (2)
- # slack-help (12)
- # sydney (4)
- # test-check (9)
- # yada (40)
Hey! How can I find the type of stuff in my schema?
'[:find ?ident ?v
:in $
:where
[?e :db/ident ?ident]
[?e :db/valueType ?v]
[_ :db.install/attribute ?e]]
This gives me eg [[:foo/bar 23] [:foo/baz 22]]
, so I somehow need to resolve these numbers to a type, eg. 23 -> :db.type/string
Hi there. Im using local cassandra storage, now i try to setup Cloudwatch metrics in aws, following doc: http://docs.datomic.com/aws.html#other-storages. It works perfectly, if running it all with direct internet access, i se metrics comming. But if i start up behind my coorporate proxy i get "Connect to http://my-metrics.s3.amazonaws.com:443 timed out" when starting the transactor. The proxy grants access to aws, If i curl with HTTPS_PROXY, everyting is fine. Im starting the transactor with -Dhttps.proxyHost=my-proxy-host -Dhttps.proxyPort=8080 like any other Java application, but it seems like the transactor ignores the options. HTTPS_PROXY or https_proxy env vars is ignorred to. Any ideas ?
So
'[:find ?ident ?t
:in $
:where
[?e :db/ident ?ident]
[?e :db/valueType ?v]
[?v :db/ident ?t
[_ :db.install/attribute ?e]]
right, @grav. and you don't need the db.install clause at all
assuming ?ident is a schema attr, it'll work just as well