This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (1)
- # announcements (23)
- # babashka (8)
- # beginners (98)
- # calva (2)
- # circleci (3)
- # clara (58)
- # clj-kondo (131)
- # cljs-dev (1)
- # cljsrn (7)
- # clojure (171)
- # clojure-europe (2)
- # clojure-finland (7)
- # clojure-italy (5)
- # clojure-nl (6)
- # clojure-sanfrancisco (1)
- # clojure-spec (1)
- # clojure-survey (26)
- # clojure-uk (70)
- # clojuredesign-podcast (2)
- # clojurescript (46)
- # cloverage (5)
- # crux (3)
- # cursive (2)
- # data-science (22)
- # datascript (1)
- # datomic (60)
- # emacs (3)
- # figwheel-main (1)
- # fulcro (26)
- # graalvm (5)
- # jackdaw (3)
- # leiningen (8)
- # luminus (1)
- # off-topic (8)
- # other-lisps (2)
- # pedestal (27)
- # re-frame (17)
- # reagent (20)
- # reitit (3)
- # shadow-cljs (37)
- # spacemacs (23)
- # sql (69)
- # tools-deps (2)
- # utah-clojurians (9)
You need to set the endpoint address in your client config map to use the query group @m0smith
@marshall Thanks. I just tried it and no change. One frustrating thing is I cannot find where the Ion deployment is logged to see if I have other problems.
You need to deploy your ion to the query group instead of to the primary compute group
I did that and the CodeDeploy says it was successful. I can find no other evidence of the deployment though.
Via API Gateway through http-direct. Is it possible to access http-direct another way?
We are pointing at the query group load balancer. Is there some other way to trigger it?
We can see in the logs the API gateway is calling the expected query group load balancer
It can do a lot of writing but not usually. We also have some custom aggregator functions
The dashboard for the QG shows no usage while the compute group dashboard shows all the query and transcts
The app name set on the query group when you launched it needs to match the one you use in the config when you push
The :app-name in the ion deployed to the compute group is different than the :app-name deployed to the QG
The ApplicationName in the Parameters to the QG is not specified. We should be using the SystemName in that case?
I have a chicken and egg style problem with datomic ion lambdas... I'm creating my environment s3 buckets with cloudformation before ions are deployed... I can't refer to the not-yet-existing ion lambdas in the bucket notification config.
same goes with API gw permissions to call the ion lambdas... I wan't to create my infastructure before ci does the deployment
Not here but elsewhere we deployed a dummy service under the same name and later overwrote it with the actual application. Not sure whether a similar approach (a dummy lambda with the target name) could work...
Hi. A question about backup. Currently we just backup the backing database using regular MySQL functions/scripts. Is that good enough, or could this lead to trouble in recovery in the event of a disaster? Thanks.
are ion deployment failures logged, and if so which CloudWatch log group can we inspect? i've checked in
...EnsureCodeDeployApplication and don't see anything suspicious. CodeDeploy tells me which specific event failed, but i'm hoping for more details.
Made a natural language to datalog lib in CLJC. Experimental. Please read readme before commenting on why strings are a terrible idea for DB queries 😁 ️Curious to hear your thoughts and ideas! https://www.reddit.com/r/Clojure/comments/emwgry/nldl_natural_language_clojure_flavored_datalog/
Anyone have experience using Hodur for a datomic graphql API? from looking at project, I don't particularly like the way it abstracted out datomic's schema, but only examples I can find using lacinia and datomic also use Hodur
for context - i was able to get ions running already via http with pedestal-ions, following their pet service example project. but haven't been able to integrate Lacinia as simply, and hard to know what steps to follow without a bare bones example hence why i'm considering just using hodur, but wondering what experiences ppl have with it
Are you looking for hodur-datomic experiences specifically when combined with graphql? I've never used it with graphql but have used it with datomic and have some opinions.
• I'm not a fan of the hodur types, I was constantly looking up what types translated to which Datomic valueTypes. • It made it easier to get basic database schemas started, but felt a lot more constrained than it did without it. I think it would be hard to build something like https://github.s3.amazonaws.com/downloads/Datomic/codeq/codeq.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20200110%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200110T222806Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=d202d5b1eccf52fcf95b4da8d3c88d014445278d133a01ced5c684889d96db98 using it, as one example. • Although I loved the graphing capabilities, I couldn't get things to work nicely when I started diverging from the kind of design that would be expected in a table based structure. I tried putting in interfaces and things but it became way more complicated than necessary fast. • I had issues with the naming conventions and how it translated some names - s3 became s-3, and I had to test how the names I wanted translated and change my desired naming to use it • It's great for enums and simple schemas, and I love the concept of it and how it works for some types of schemas and relations. • I currently have about half my schema defined in hodur, and the other half with normal datomic syntax.
I built my own “Hodur” before it was released based on this blog post https://vvvvalvalval.github.io/posts/2018-07-23-datascript-as-a-lingua-franca-for-domain-modeling.html
and generate Datomic schema in this shape because I find it more readable https://gist.github.com/stevebuik/17ed50824f1bb814fab9e556a37cf18a
I also generate clojure code using a pattern similar to this. https://github.com/stevebuik/clj-code-gen-hodur
that generates 8k lines of code in my application now. this generation idea is really powerful. I’m a big fan of it 🙂