This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-17
Channels
- # announcements (24)
- # babashka (22)
- # beginners (49)
- # cider (16)
- # clj-kondo (8)
- # cljsrn (4)
- # clojure (87)
- # clojure-australia (7)
- # clojure-europe (44)
- # clojure-nl (4)
- # clojure-sweden (7)
- # clojure-uk (24)
- # clojurescript (5)
- # core-async (7)
- # cryogen (8)
- # cursive (22)
- # data-oriented-programming (2)
- # datomic (1)
- # emacs (6)
- # events (4)
- # fulcro (11)
- # google-cloud (1)
- # introduce-yourself (1)
- # java (8)
- # jobs (3)
- # lsp (10)
- # observability (1)
- # off-topic (12)
- # polylith (12)
- # re-frame (6)
- # reitit (36)
- # remote-jobs (1)
- # ring (4)
- # ring-swagger (1)
- # rum (4)
- # schema (1)
- # shadow-cljs (18)
- # sql (56)
- # tools-deps (33)
Morning
I have a js/WebSocket question: I connect a WebSocket to an APW APIGateway; It stays running for a minute or so, then it disconnects with a 1001/Gone Away Does this just mean that I have not send enough data through it? Do I need to arrange my own Heartbeat message?
I am only really interested in WS for server->clent callbacks; all the client->server stuff is done through plain old REST
Good Morrow by the way
I was briefly looking at this myself, but haven't tried anything with it yet. Do you have a Lambda that responds to it?
Often API gateways of various stripes will have a max connect/read/write timeout and after that it will close the connection for you to be 'helpful'
yeah I suspect that Is what is happening and therefore I have to generate a useless piece of > I'm still here you know traffic every couple of minutes
I do have a default lambda that just responds with "DEFAULT"
and I do see disconnect events on the server side
we had to implement a similar heartbeat message on our websockets when we were using AWS classic load-balancers. now we're using AWS application load-balancers and i have a vague recollection the heartbeat is not required anymore, but it's still there anyway
oooh interesting I'm not aware of using any load balancers at all but I guess that just means I am using the default
what is APW ?
Re: Lateral Flow Tests: We receive two kinds of Lateral Flow Tests i) the packs of 7 with a short swab and a 15 minute duration that are sent by the https://test-for-coronavirus.service.gov.uk/order-lateral-flow-kits/condition ii) the packs of 3 with a long swab and a 30 minute duration that my son gets from his high school i) are plentiful, and reliably return negative ii) are hard to come by but reliably return positive for me, over the last week Given this, I'd rather test with ii) since it gives me more information but they are harder to come by... There's a shortage of tests anyway I guess there isnt really any way round that, is the I just have to keep stealing my son's LFTs from school...
The long swab enables you to reach behind the tonsils whereas the short swab does not I suppose that is the important difference...
although I have not tried mix-and-matching swabs from different tests
I only noticed there were new two tests yesterday after opening a new box… Both types had been provided by our pharmacist, who earlier in the year insisted on throwing two boxes into our bag without us even knowing/asking whenever we were picking other things up — so we have ended up with a small stockpile. I’ve never had any of them come back positive though
nor have I ever had any PCR test come back positive for me… though my wife tested positive once; and I’m convinced I’ve almost certainly had covid; potentially on two or three occaisions.
we get through 4 tests a day, if actually going out as a family a box doesnt last very long...