Fork me on GitHub
#clojure-uk
<
2018-10-22
>
dominicm06:10:01

I had some cloning to do this morning!

3Jane06:10:59

Oh, heh. and they only just got bought out by Microsoft.

3Jane06:10:11

Accident? I don’t think so. >_>

😂 12
thomas06:10:45

good morning!

thomas06:10:54

good weekend everyone?

3Jane07:10:46

went to a friend’s concert and baked a lemon drizzle poppyseed polenta cake (not even crumbs left, sorry)

yogidevbear07:10:28

Morning 😃

thomas07:10:39

yes, we had a good weekend... Saturday there was a Medieval festival in Gouda with lots of people dressing up and all kinds of activities related to it.

yogidevbear07:10:16

Did you dress up @thomas?

thomas07:10:47

no, but my daughter did... I just took pictures

thomas07:10:32

(with a camera that almost is medieval (Twin Lens Reflex camera with proper film in it))

yogidevbear07:10:21

I haven't held a camera with actual film in it it years

thomas07:10:50

it is a Mamiya C330... big and heavy!

yogidevbear07:10:57

Wow, it really does look like a camera from a century ago 🙂

thomas08:10:31

but it is only 40 to 45 years old.

thomas08:10:11

so it is last century... but not quite a century ago 😉

yogidevbear07:10:34

Speaking of children, my son is finally riding his bicycle without me breaking my back holding onto the bike 🎉

👍 16
3Jane07:10:43

Heh, Jason present, everyone hide their onyx XD

jasonbell07:10:11

Oh @lady3janepl it's like I have a reputation 😉

3Jane07:10:46

@thomas Medieval festivals are a lot of fun if they let you have a go with a sword ;)

3Jane07:10:02

But I cannot think of Gouda as anything else than cheese, sorry

4
3Jane07:10:28

So in my mind you are now wandering through a giant yellow castle which smells strongly of fermentation

😍 4
3Jane07:10:27

@jasonbell a reputation, a presentation, all that’s lacking is a dissertation (on the superiority of Kafka over onyx ofc) ;P

jasonbell07:10:36

never say never etc 🙂

3Jane07:10:52

(James Bond music faintly echoing)

3Jane08:10:06

On that subject, I’ve been going through “the spy and the traitor” over the weekend, have any of you guys read it?

Rachel Westmacott08:10:27

Nope. Looks interesting though. But I hear good things about “Red Notice”…

3Jane09:10:59

it’s uneven, 2/3 slow, 1/3 need sleep can’t put down, but I keep wondering if it had 2 authors

3Jane09:10:49

huh, red notice is a modern times book … I’m surprised he felt it was safe to publish it

Rachel Westmacott16:10:36

he’s even less safe than that - he’s been pushing for global legislation to prevent russian oligarchs from spending their ill-gotten gains abroad

thomas08:10:47

@lady3janepl it isn't made out of cheese... but there are lots of cheese shops and when walking past you can smell it!

🙊 4
thomas08:10:07

and there was lots of sword fighting! My son had a go!

🎉 4
thomas08:10:26

(wooden swords though)

3Jane08:10:00

Wooden swords are ok, they’re the gateway swords ;)

😂 4
mccraigmccraig08:10:26

@jasonbell i've been discovering new (to me) failure modes for onyx and aeron... mountains of byte[] garbage and OOMEs for messages with high fanout, and aeron randomly losing its shit completely

jasonbell08:10:50

Now that's interesting.

guy08:10:00

Morning!

👋 4
thomas09:10:40

I'll be coming to London for #clojurex 🎉

🎉 8
thomas09:10:24

@jasonbell are you talking?

thomas09:10:34

I'll better start practising then...

jasonbell09:10:13

Yes I am @thomas and as for practising are you talking about drinking or heckling, cos let's be honest.... 😉

jasonbell09:10:23

Look forward to seeing you again @thomas it was a pleasure to meet you last year (and a ton of fun all round too)

thomas09:10:36

thank you... and I am looking forward to seeing you again as well!

practicalli-john11:10:00

ClojureX free workshops update - we have an offer of "Spec from the ground up" which I think would be great. I just had the clojure.core.spec pick up a bug when running lein test and it was pretty clear what I had done. Suggested topics for the workshop include, Kafka/Event streaming, Datomic (maybe with Ions). I would love to see something on ClojureScript with figwheel.main. Anyone else volunteering to give a workshop on Sunday 2nd? Or suggest other topics to inspire our community to give something. Workshops can be short or long. https://t.co/wvPJrrr2pY

practicalli-john11:10:09

If you want to attend the workshop, please sign up on London Clojurians event page https://www.meetup.com/London-Clojurians/events/254693569/

maleghast13:10:28

Anyone using jsonista over Cheshire in here..?

maleghast13:10:14

I want to use it (it's been recommended to me), but I am falling at the first hurdle...

For example, to convert map keys into keywords while decoding:
      (json/from-json +data+ (json/object-mapper {:decode-key-fn true}))
      ;; => {:foo \"bar\"}
looks good on paper, but there is no "from-json" function anywhere in the namespace...

maleghast13:10:27

Anyone know what I am doing wrong..?

maleghast13:10:26

(I am getting an error telling me that from-json does not exist)

guy13:10:32

can u link the github

maleghast13:10:39

yeah, hang on a sec...

guy13:10:24

it looks like it has read-value and write-value

guy13:10:31

in its core

guy13:10:19

(def +data+ (json/write-value-as-string {:foo \"bar\"}))
      (json/read-value +data+)
      ;; => {\"foo\" \"bar\"}

guy13:10:50

I dont think from-json exists

guy13:10:53

probs old docs

guy13:10:35

hope that helps 😬

maleghast13:10:24

@guy - I will try and figure it out, but I am not using muuntaja, so it's going to be a bit weird

guy13:10:09

yeah i wasnt say use muuntaja

guy13:10:19

i was just saying in muuntaja they use ur lib

guy13:10:33

so u have an example of how they use it in the context of decode/encoding json from different formats

maleghast13:10:43

AH I see, sorry

guy13:10:50

no need to say sorry, i wasnt very clear

maleghast14:10:07

I have to be honest, I can't see how to use the decoder-fn from that source code. I am going to go back to using Cheshire

maleghast14:10:19

At least that library has up to date docs and makes sense...

thomas14:10:41

@maleghast a library has to be simple to use IMHO.

guy14:10:37

Why not just use cheshire :thinking_face:

guy14:10:45

unless u really need the perf gain

maleghast14:10:41

I am using Cheshire

otfrom15:10:20

is github weird for anyone else today?

mccraigmccraig15:10:30

def weird - gists aren't working very well at all

dominicm15:10:08

@mccraigmccraig I think gists went first

alexlynham22:10:42

Just catching up but iirc it's read-json you want in jsonista. I think there's an example in my stub needlecast thing on github (which itself was mainly a test to see if I could get kafka running in travis, haha)

practicalli-john23:10:09

Github is fully restored, so Dont Panic