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

😍 20
agile_geek09:10:48

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

alexlynham10:10:11

ooh what kind of lab?

dominicm07:10:40

He's lying across both arms

😂 8
alexlynham07: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 😛

alexlynham08:10:46

how old is he?

dominicm08:10:06

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

alexlynham08:10:19

looks like quite a manageable size too

3Jane08: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.

alexlynham10: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

alexlynham10:10:05

terraform is very verbose, isn't it

alexlynham10: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

alexlynham10: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"

alexlynham10: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

practicalli-johnny12: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

👀 8
djtango14:10:26

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

danielneal14: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?

danielneal15: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?

practicalli-johnny15: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

👍 8
practicalli-johnny15: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