This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-03
Channels
- # aleph (2)
- # announcements (13)
- # babashka (7)
- # beginners (36)
- # calva (26)
- # cider (11)
- # circleci (13)
- # clj-kondo (15)
- # clojure (105)
- # clojure-europe (79)
- # clojure-nl (3)
- # clojure-uk (6)
- # clojurescript (17)
- # conjure (4)
- # core-logic (2)
- # cursive (10)
- # data-science (5)
- # datalevin (11)
- # datalog (14)
- # eastwood (6)
- # emacs (2)
- # figwheel-main (1)
- # fulcro (34)
- # google-cloud (1)
- # graphql (3)
- # introduce-yourself (7)
- # jobs (1)
- # leiningen (17)
- # lsp (46)
- # malli (2)
- # minecraft (3)
- # missionary (19)
- # off-topic (31)
- # other-languages (49)
- # polylith (2)
- # portal (5)
- # practicalli (1)
- # quil (77)
- # releases (1)
- # remote-jobs (1)
I spent quite a while this weekend trying to replicate the aleph.tcp echo example with a different protocol and failing miserably. It was my first attempt at a server in Clojure, so I initially assumed I was doing something wrong with aleph or manifold, but finally tracked it down to a reflection/type-hinting issue with Gloss. Since it's archived, I forked it to make a git dependency I could use. In case it's useful to anyone else it's available here: https://github.com/casselc/gloss The only changes are a handful of type hints, updated the dependencies to the latest versions, and converted from lein to deps/tools.build.
the specific issue I was having was that the Gloss codec would decode buf sequences but not the same data as a single contiguous buffer