Fork me on GitHub
#clojure-europe
<
2023-05-30
>
schmalz07:05:15

Morning all.

otfrom07:05:56

gardening + cycling = sun burn

🔴 8
Mario Trost08:05:38

+ amateurish sunscreen use as always when summer starts again

otfrom08:05:11

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.

🙌 2
😄 2
seb23107:05:33

Morning. Also sunburnt, but definitely from just snoozing in the sun...

ray08:05:30

Good morning. Saw this by the Thames at the weekend.

4
mccraigmccraig08:05:50

lol - not sure i'd want to lounge around on sand by the thames, but maybe my prejudice is outdated ?

ray09:05:25

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 😆

😆 6
jackrusher09:05:29

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:

2
lread11:05:34

good morning!

dharrigan15:05:51

I am on a short break. Here is a view from near where I grew up:

dharrigan15:05:09

💯 12
6
😍 6
dharrigan15:05:33

Unusually glorious weather here, not a cloud in the sky and hot!

otfrom15:05:12

I'm a bit more familiar with a bit further east on that coast

dharrigan15:05:40

Well, here's looking across Lough Foyle to Benone...

dharrigan15:05:19

I am thinking of going to Giant's Causeway tomorrow with the kid...we'll see!

otfrom15:05:43

careful, @U0K1RLM99 will want to tag along

jasonbell15:05:28

Too busy sadly, otherwise I’d be in Benone in 14 minutes tops.

jasonbell15:05:48

Emptying house for landlord to do work on Thursday onwards.

dharrigan15:05:20

Next time! 🙂

Ben Sless15:05:12

beautiful

2
jasonbell08:05:25

@UK0810AQ2 Definitely benefits of living here, that coastline is gorgeous and I’m only ten minutes away from it all 🙂

dharrigan15:05:12

Donegal, Ireland.

mccraigmccraig16:05:37

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 ?

mccraigmccraig16:05:31

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

mccraigmccraig16:05:24

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

Ben Sless16:05:26

If you have data readers, define print-dup and print-method for it and that should round-trip

mccraigmccraig16:05:36

@UK0810AQ2 that only works for deftypes right - which were giving me issues

mccraigmccraig16:05:57

well, class-based things anyway, not just deftype

ray16:05:23

Have you checked edamame?

Ben Sless16:05:02

yeah, I used it for for open telemetry keys

mccraigmccraig16:05:26

huh, nvm - i seem to have figured out my issue, and defrecords are working ok now

mccraigmccraig18:05:53

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