This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-13
Channels
- # announcements (10)
- # aws (1)
- # babashka (8)
- # babashka-circleci-builds (1)
- # beginners (67)
- # calva (4)
- # cljs-dev (42)
- # clojars (4)
- # clojure (213)
- # clojure-dev (4)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-uk (8)
- # clojurescript (13)
- # conjure (6)
- # cursive (63)
- # data-science (5)
- # datomic (11)
- # events (1)
- # graalvm (2)
- # graalvm-mobile (1)
- # honeysql (4)
- # kaocha (3)
- # leiningen (19)
- # lsp (32)
- # malli (3)
- # meander (13)
- # news-and-articles (3)
- # off-topic (8)
- # polylith (5)
- # re-frame (47)
- # reitit (2)
- # shadow-cljs (28)
- # sql (3)
- # tools-build (4)
- # tools-deps (51)
- # uix (9)
- # xtdb (3)
In HTTP direct Ions, how do you get access to the query string for a request? Is it appended to the value of the :uri
request map entry?
I get it exactly like the standard Ring adapter expects it, and it exposes it as :query-string
for me.
Thanks for looking into it, the docs aren’t complete (https://docs.datomic.com/cloud/ions/ions-reference.html#web-ion) and I haven’t spun up my Cloud env yet. I’ll pop into the forum to see if I can get this added to the docs 👏
Re-reading the doc you provided, I must temper a bit my answer: I get it mostly like the standard Ring adapter expects it, and the adapter exposes it as `:query-string` for me.
I’ve updated solo to 884-9095, still t3.small instance though, what is the recommended way to updated storage size for this instance (default 8GB).
Is this something that I could in the cloud formation template, so it’s always brought up with the new default size by ASG? Or create a modifying Launch Configuration with attached volume? Please advise how to go about this :)
Context: I’m seeing No space left on device - /opt/codedeploy-agent/deployment-root/9d00fd66-e380-4208-af18-088da384cd80/d-TX1A7WCBC/bundle.tar
types of errors during deployments DownloadBundle
step.
Thanks!
Hello! I am trying to run clj
inside a local clone of https://github.com/Datomic/day-of-datomic/ after having added the cognitct-dev-tools repo to my global deps.edn and ~/.m2/settings.xml but it fails with
...
Downloading: com/datomic/client-impl-shared/0.8.86/client-impl-shared-0.8.86.jar from central
Downloading: com/datomic/dev-local/0.9.232/dev-local-0.9.232.jar from cognitect-dev-tools
Downloading: org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar from datomic-cloud
Error building classpath. Could not transfer artifact org.apache.httpcomponents:httpclient:jar:4.5.2 from/to central ( ): status code: 416, reason phrase: Range Not Satisfiable (416)
Why? I see the version exists in maven central. Though from the prev. line it seems it is downloading from "datomic-cloud" (the <s3://datomic-releases-1fc2183a/...>)?Fixed by rm -rf ~/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2
as suggested by https://stackoverflow.com/a/15462387
What version of the Clojure CLI are you using? (`clj --version` or clj -Sdescribe
if older)
1.10.3.933
Fixed by rm -rf ~/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2
as suggested by https://stackoverflow.com/a/15462387
ah, could have been a bad download I guess