This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-11
Channels
- # adventofcode (52)
- # announcements (3)
- # aws (2)
- # babashka (36)
- # babashka-sci-dev (4)
- # beginners (69)
- # biff (45)
- # calva (9)
- # cider (3)
- # clara (8)
- # clj-kondo (24)
- # clojure (20)
- # clojure-dev (12)
- # clojure-europe (12)
- # clojurescript (2)
- # conjure (1)
- # emacs (17)
- # lsp (69)
- # malli (12)
- # off-topic (32)
- # polylith (2)
- # re-frame (4)
- # releases (2)
- # scittle (6)
- # shadow-cljs (21)
- # tools-deps (10)
- # vim (11)
- # xtdb (11)
idk if there are any people using Erlang here, but I’ve been working on a library to use XTDB from Erlang (or other BEAM languages) https://github.com/tatut/xtdberl the main approach here is to map Erlang records to XTDB documents and query by providing “candidate record” to match.
I don't think I realised Jinterface was a thing :thinking_face: have you used it elsewhere previously?
No, haven’t used jinterface before, as I am fairly new to Erlang… I wanted to use it so I can control serialization better and can hook erlang processes into tx listeners and stream results better

I don’t really know elixir, but I’ve been meaning to try this with it as well, afaict the records are exactly the same as in erlang (tuples, with atom in 1st position denoting type)
I was wrong, elixir structs seem to be maps like
#{'__struct__' => 'Elixir.Foo',age => 27,name => <<"John">>}
so not the same as erlang recordsAh, potentially a good time to remind ourselves that this Erlang HTTP client exists https://github.com/naomijub/translixir - not sure if that is useful to you, but maybe 🙂