This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-17
Channels
- # announcements (7)
- # babashka (24)
- # beginners (11)
- # boot (16)
- # calva (46)
- # cider (5)
- # clara (3)
- # clj-kondo (2)
- # cljfx (5)
- # clojure (122)
- # clojure-brasil (26)
- # clojure-dev (20)
- # clojure-europe (20)
- # clojure-germany (1)
- # clojure-nl (1)
- # clojure-norway (54)
- # clojure-uk (2)
- # clojurescript (6)
- # core-matrix (23)
- # datomic (85)
- # graalvm (1)
- # honeysql (9)
- # hyperfiddle (31)
- # lsp (3)
- # malli (9)
- # nbb (2)
- # off-topic (15)
- # pathom (15)
- # pedestal (4)
- # polylith (5)
- # re-frame (5)
- # reitit (9)
- # releases (2)
- # shadow-cljs (63)
- # specter (4)
- # xtdb (7)
### Handling uuids / coercsions in general
Context:
Throughout my system I try to make it so all uuids are java.util.UUIDs. At the boundaries though I receive a bunch of nested json. I can't do a simple "convert these keys to UUIDs", as some structures come in as arrays.
How do you handle this kind of coercion? I could just postwalk and parse-uuid
if I can, but I wonder if there's something better. What do you do to coerce data at the boundaries?
Update: just found https://github.com/exoscale/coax -- cool!
This might not be directly applicable because the boundaries might be outside the sphere of influence, so take as little or as much from this as works for you but the nature of the context statement sounds very much like some of the rationale behind edn, e.g. "I have these UUIDs, but they're transmitted as strings because there's no way to indicate it's a UUID to a parser".
How do I combine window buffers in EMACS (with Cider) so I have 2 vertically split screens ? I only know how to switch between them individually, but I don't know how to put 2 window buffers side by side. I'm trying to have a text buffer on the left side and the CIDER REPL on the right side.
Do you mean emacs windows (where emacs itself is split to display multiple buffers) or windows in your gui (what emacs calls frames)
C-x 3 will split emacs into two vertical windows (emacs windows, not gui windows)