Fork me on GitHub
#clojure-uk
<
2018-10-08
>
thomas07:10:03

good moaning!

dominicm07:10:20

http://s01.geekpic.net/di-AYBIPF.png apparently this is how I'm working this morning

agile_geek09:10:48

If my dog lay across my arms, they'd probably break! #labrador

alex.lynham10:10:11

ooh what kind of lab?

dominicm07:10:40

He's lying across both arms

alex.lynham07:10:28

@dominicm my wife wants me to get a remote job so I'll be forced to get a dog to keep me company... that post is both helping and not helping 😛

alex.lynham08:10:46

how old is he?

dominicm08:10:50

@alex.lynham nearly 4.

dominicm08:10:06

he's been coming out of his shell a little recently, being cheeky again. It's nice 🙂

alex.lynham08:10:19

looks like quite a manageable size too

lady3janepl08:10:32

Looks like a long hair dachshund? I like the colours :) but he acts like a cat :D does he wake you up early morning to get food?

guy09:10:00

Thats a very sausage dog thing to do, all the ones i’ve known have been lap dogs really. I’ve always found them to be very cute, smart but also grouchy dogs 😊

maleghast10:10:29

Morning All 🙂

maleghast10:10:56

Cute hound, @dominicm - my son would be very jealous, Dachshunds are his absolute favourites!

maleghast10:10:13

Does anyone reckon that the Workspace (http://clojurians.slack.com) needs a #kafka channel..?

maleghast10:10:30

(I was thinking about creating one, but don't really__ want to be the only person in there)

dominicm10:10:54

@alex.lynham miniature long haired dachshund. Manageable size, not the greatest breed for behavior. They have a loud bark, aggressive tendencies (they are a hunting breed, not a toy breed) and are very stubborn.

dominicm10:10:30

Oh, and because he's long haired: so. much. hair. everywhere.

acron10:10:34

@maleghast I'll keep you company in there

dominicm10:10:10

@lady3janepl he knows all his tablet routines within about 10 minutes. Although he's not really into mornings, he jumps up for breakfast, then goes and cuddles up next to my girlfriend in bed straight after.

alex.lynham10:10:29

I think the venn between people using clojure and using <a streaming thing> is close to 100%

alex.lynham10:10:29

I think the venn between people using clojure and using <a streaming thing> is close to 100%

maleghast10:10:08

@acron - Have created it #apache-kafka - there is a user in the workspace whose handle is "kafka", so went with the longer name

alex.lynham10:10:05

terraform is very verbose, isn't it

alex.lynham10:10:23

at my work they use this module pattern which basically means duplication in at least 2 places

dominicm10:10:37

modules usually reduce duplication

alex.lynham10:10:23

yeah I guess they might longer term, when you first write them you're kind of writing a module then a service and there's a lot of "this variable here, this argument here, copy & paste"

alex.lynham10:10:33

or at least, that's what it feels like

djtango12:10:44

afternoon folks - we're doing a bit of clojure performance work

djtango12:10:02

anyone know why literally copying the source code for map would result in it being slower than the native map

djtango12:10:14

for the same inputs

jr0cket12:10:22

Free Clojure workshops on 2nd December, just before the ClojureX confernence. Your topic ideas and volunteers required. Please let us know what topics we should run (and if you want to give a workshop) https://goo.gl/forms/xXabuqZEhIpwpEd62

thomas12:10:22

@djtango AOT? (speculating though)

mccraigmccraig13:10:55

i don't think AOT would explain it @thomas - by the time the copied map is executed, it's been compiled to byte-code and classloaded, so unless it's being constantly re-defined (and thus re-compiled) compilation shouldn't affect performance...

mccraigmccraig13:10:36

although there is JIT to consider too...

thomas13:10:41

could it be that the map from core is jitted as a result of the bootstrapping process?

mccraigmccraig13:10:43

that seems like a reasonable first hypothesis

djtango13:10:16

if that's true is there much we can on our end to achieve a similar enhancement?

mccraigmccraig13:10:30

if it is indeed JIT, then there is -XX:CompileThreshold=n... you can apparently even set -XX:CompileThreshold=1 to compile at first execution. i've never played with this, so can't report any experience, but you should at least be able to use it to find out if it is JIT that is causing your observations

bronsa13:10:54

@djtango clojure.core functions are compiled using direct linking

bronsa13:10:16

you might not have direct linking enabled for your version of map

djtango14:10:26

This is completely correct - I copied the question to clojure and alexmiller said the same

danieleneal14:10:47

that's just because bronsa and alexmiller are the two hemispheres of the same brain though

bronsa14:10:30

and we live in two different hemispheres of the world, coincidcence?

danieleneal15:10:17

we think the same things at the same tiii -ii immme 🎶

djtango13:10:59

hmm ok will take a look - thanks guys!

thomas14:10:50

but what is direct linking in this context?

jr0cket15:10:22

ClojureX conference 2018 schedule just updated (and hopefully improved) running order for the two days. https://skillsmatter.com/conferences/10459-clojure-exchange-2018#program

jr0cket15:10:57

If anyone is still looking to buy a ticket for the conference, I can send you a 20% discount on the current price