This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-30
Channels
- # announcements (2)
- # babashka (3)
- # beginners (31)
- # biff (3)
- # calva (40)
- # chlorine-clover (2)
- # clerk (5)
- # clj-kondo (10)
- # clojure (13)
- # clojure-art (1)
- # clojure-denver (16)
- # clojure-europe (44)
- # clojure-nl (1)
- # clojure-norway (27)
- # clojure-sweden (3)
- # clojure-uk (1)
- # clojurescript (49)
- # clr (6)
- # community-development (2)
- # datalevin (10)
- # datomic (63)
- # events (2)
- # fulcro (9)
- # holy-lambda (15)
- # honeysql (8)
- # hoplon (6)
- # hyperfiddle (9)
- # introduce-yourself (1)
- # kaocha (1)
- # london-clojurians (2)
- # matrix (1)
- # nbb (7)
- # off-topic (38)
- # polylith (6)
- # re-frame (4)
- # reagent (2)
- # releases (3)
- # sci (13)
- # scittle (5)
- # shadow-cljs (6)
- # sql (5)
- # tools-deps (4)
- # vim (33)
- # web-security (8)
- # xtdb (2)
+ amateurish sunscreen use as always when summer starts again
I don't think I've ever been paid to use sunscreen in a professional way. My job would work best in a cave w/a fast network connection.
måning¡
lol - not sure i'd want to lounge around on sand by the thames, but maybe my prejudice is outdated ?
yeah the river is much cleaner. I have done the London Triathlon a couple of times and there is a kilometre swim, further up the river, which didn't kill too many of us 😆
They’ve been cleaning up the Spree here in Berlin for years now. The summer before the pandemic, they had scheduled a 2km swimming race to celebrate (for which I signed up), but they had to cancel because there was a potentially dangerous bacterial bloom that week :man-shrugging::skin-tone-2:
careful, @U0K1RLM99 will want to tag along
@UK0810AQ2 Definitely benefits of living here, that coastline is gorgeous and I’m only ten minutes away from it all 🙂
is there any option other than a deftype
/ defrecord
for an in-memory representation of a tagged-literal which can also print as a tagged-literal - so you can do a full <edn> -> <in-mem> -> <edn>
roundtrip ?
deftype
/ defrecord
would be fine, except for that i've got some data which is persisting through a reloaded style c.t.n.r/refresh
, and losing its protocol association
i'm currently parsing the tagged-literals to plain maps, which works fine but when the data is printed it's no longer got any tagged-literals, and it's much harder to read
If you have data readers, define print-dup and print-method for it and that should round-trip
@UK0810AQ2 that only works for deftype
s right - which were giving me issues
well, class-based things anyway, not just deftype
huh, nvm - i seem to have figured out my issue, and defrecord
s are working ok now
so the trick was to resolve the record constructor in the tagged-literal reader fn - otherwise i was getting stale records after a c.t.n.r/refresh
, which didn't implement the required protocols: https://gist.github.com/mccraigmccraig/fb254ae39cbf4c5ec9fb9085dc065537#file-gistfile1-txt-L13