This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-10
Channels
- # asami (2)
- # babashka (28)
- # beginners (91)
- # calva (38)
- # cider (7)
- # clj-kondo (20)
- # cljfx (3)
- # clojure (88)
- # clojure-austin (1)
- # clojure-australia (2)
- # clojure-bay-area (10)
- # clojure-europe (68)
- # clojure-france (8)
- # clojure-italy (14)
- # clojure-nl (4)
- # clojure-sanfrancisco (1)
- # clojure-uk (14)
- # clojurescript (37)
- # clojureverse-ops (14)
- # clojurewerkz (1)
- # clr (1)
- # conjure (13)
- # cursive (10)
- # datascript (30)
- # datomic (6)
- # emacs (13)
- # exercism (3)
- # fulcro (10)
- # graalvm (4)
- # graphql (2)
- # instaparse (5)
- # jobs (3)
- # kaocha (10)
- # off-topic (20)
- # pathom (17)
- # polylith (7)
- # re-frame (25)
- # remote-jobs (1)
- # shadow-cljs (60)
- # spacemacs (5)
- # specter (1)
- # startup-in-a-month (1)
- # tools-deps (48)
- # vim (4)
- # xtdb (11)
I am setting up WebSockets for my app with lambda functions. Which is more appropriate: DynamoDB or datomic cloud (which I am using for my database) with noHistory turned on?
i used Datomic Cloud with noHistory because it was easiest (for me) to store values in a database without having to coerce data types, for example UUIDs. DDB gives me a headache. it sounds like you're well on your way, but in case it helps i have an example project that handles multiple clients/sessions per database user via the AWS API Gateway. the docs are half baked though. https://github.com/joshkh/datomic-ions-websockets
Thank you @U0GC1C09L !
sure! starting from scratch, it took me a little bit of trial-and-error to understand how everything connects, so if you have any questions then feel free to ping me. i'm interested in ions/websockets as well 🙂
i'm having some trouble working with cast
locally. can anyone see what i'm doing wrong here?
https://docs.datomic.com/cloud/ions/ions-monitoring.html#local-workflow
(require '[datomic.ion.cast])
=>
(cast/initialize-redirect :stdout)
=> :stdout
(cast/event {:msg "test"})
Execution error (IllegalArgumentException) at datomic.ion.cast.impl/fn$G (impl.clj:14).
No implementation of method: :-event of protocol: #'datomic.ion.cast.impl/Cast found for class: nil
com.datomic/ion
and com.datomic/ion-dev
are definitely in my tree clj -Stree