Fork me on GitHub
#clojure-uk
<
2018-04-16
>
yogidevbear06:04:17

It's too early morning

dominicm06:04:04

How was your weekend?

dominicm06:04:03

http://clojuredocs.org/clojure.core/some-fn Neat function, good for "give me the first of X keys present in this map"

yogidevbear06:04:34

Weekend was good thanks. How about yours @dominicm?

yogidevbear07:04:55

Looks like a useful function. With their fizzbuzz example, should it not be defn fizzbuzz instead of how they've used def? Trying to understand if there is a reason they used def instead

seancorfield07:04:58

some-fn returns a function, so def is correct.

seancorfield07:04:31

Or else you'd defn and have to provide an arglist and then call the result of some-fn on that argument.

dominicm07:04:23

@yogidevbear it was good. I got into a nice cycle of reading/cleaning/coding. I wrote a vim-integrated test runner. Combined with the stacktrace work I've done, I'm starting to see some return on my investment into this plugin in a multiplicative effect.

๐Ÿ‘ 8
maleghast09:04:01

Morning everyone ๐Ÿ™‚ How's UK Clojure Land?

yogidevbear09:04:22

I'm feeling pretty darn tired today. Other than that, hoping this first cup of โœจ โ˜• โœจ will wake me up a bit more

maleghast09:04:07

โ˜• is wonderful... I have a lovely Red Brick filter from Look Ma No Hands on Old Street - it's really helping...

yogidevbear09:04:08

Did you have a good weekend @maleghast?

maleghast09:04:17

@yogidevbear - Yes, I did, thanks ๐Ÿ™‚ I've been getting over a wee recurrence of my Labyrinthitis, which I am mostly over, but I was ably distracted by the visit of some of my wife's friends that I also really like.

maleghast09:04:42

I basically slept while they went walking on Saturday morning and that got me to 90% recovered.

maleghast09:04:00

Well, and I watched the kids on Saturday night while they went out carousing ๐Ÿ˜‰

maleghast09:04:08

How about you, Sir - good one?

yogidevbear09:04:32

Had a constructive weekend in the garden. We had 4-5m high hedges all the way around our back garden when we bought our house 2 years ago. We've been systematically taking those out. I did a rather large chunk this weekend just gone by. Think I'm feeling a bit shattered today thanks to that, but the end result is looking pretty good

yogidevbear09:04:33

I still have a bunch or roots to dig out which I'm not looking forward

yogidevbear09:04:37

ยฏ\(ใƒ„)/ยฏ

maleghast09:04:42

That sounds as though it would be very satisfying ๐Ÿ™‚

maleghast09:04:51

The bit you've done, I mean

maleghast09:04:00

The digging out roots might be VERY HARD work

3Jane09:04:59

I refuse to accept itโ€™s Monday. Surely this is a bad dream!

๐Ÿ’ฏ 8
yogidevbear09:04:55

It's okay @lady3janepl, go back to sleep

3Jane09:04:38

I caught a cold last week, this means ~3h consecutive sleep max. So looking forward to the end of winter ๐Ÿ™‚

3Jane10:04:38

on the plus side, the time spent not sleeping can go into blogging/fiddling with code/such stuff

3Jane10:04:48

@yogidevbear I feel for you, I helped parents clear up the garden and deep roots are the worst. Itโ€™ll be so nice to plant something afterwards though ๐Ÿ™‚

mccraigmccraig10:04:13

@yogidevbear i also spent saturday clearing brush and trees. it was very satisfying, although i now have bruised hands and my forearms look like i've been mauled by a kittiehord

yogidevbear10:04:19

Hahaha! Great description @mccraigmccraig ๐Ÿ˜† There were numerous thorns in the stuff we removed

mccraigmccraig10:04:50

english needs more compoundnouns - why should the skandideutsch have all the fun?

3Jane10:04:29

โ€ฆViking kittens?

3Jane10:04:04

I would listen to it. also itโ€™s an actual video ๐Ÿ˜„ https://rathergood.com/2016/04/05/viking-kittens/

๐Ÿ˜‚ 4
maleghast12:04:30

@lady3janepl - I am so going to watch that later on when I am not in the office... ๐Ÿ˜‰

4
mccraigmccraig14:04:17

what are you thinking of @thomas?

thomas14:04:58

Dutch has some for herd, flog, school for instance. but not one like a flight of stairs.

3Jane14:04:51

oh all the collective nouns? murder of crows, pride of lions, argument of s/hackers/wizards/?

mccraigmccraig14:04:06

those are cool - but english seems to have less of a habit of running the words together to make a new word

thomas14:04:21

aaahhhh I must have confused myself.... collective nouns and compound nouns. DOH

thomas14:04:54

in that case I agree with you @mccraigmccraig ๐Ÿ˜‰

maleghast15:04:32

Does anyone know why Hiccup would fail to render :contenteditable "true" into HTML under Reagent..?

maleghast15:04:46

I've added into my Hiccup in the relevant DOM element but the rendered HTML does not have it present and I can't edit the relevant element (clearly)

maleghast15:04:06

Thanks @mccraigmccraig - I imagine__ that this may indeed have some bearing on the issue, aye.

maleghast15:04:33

Yeah, I am using Reagent 0.7.0 (the last stable release), and that's based on React 15.x

maleghast15:04:18

I really don't want to use a non-stable release of a library like Reagent, if I really don't have to, but I need an editable table...

maleghast15:04:04

I wonder if there's a read-rolled, Reagent-friendly, editable table I can use from another project that does not rely on contenteditable... Something to look into after the call i have comin gup...

minimal15:04:06

rc1 sounds kinda stable

maleghast15:04:29

@minimal - kinda, yeah, but not actually__...

maleghast15:04:58

I mean I imagine that it's very likely that the stable release will be functionally identical to rc1 unless they / we find something horrible in it, but...

minimal15:04:04

in cljs world itโ€™s basically stable

maleghast15:04:35

Please don't say anything like this anywhere near my non-technical colleagues or our investors...

maleghast15:04:51

Clojure / ClojureScript was a hard enough sell, but I managed it... ๐Ÿ˜‰

3Jane15:04:41

โ€œin Javascript world itโ€™s basically stableโ€ then?

minimal15:04:54

stable like concrete

maleghast16:04:55

That's reassuring to me, for sure, but I am reasonably certain that it would still give my CEO "THE FEAR!"

maleghast16:04:23

(He's VERY conservative WRT to tech, with the bizarre exception of any mention of Blockchain)

๐Ÿ˜‚ 4
mccraigmccraig16:04:24

@maleghast blockchain presents an immutable database of transactions... clojure/script takes this to the max by making every collection an immutable structure!!!

๐Ÿ˜† 4
sundarj18:04:58

https://www.youtube.com/watch?v=nlT45ikSEOE&amp;list=PLVi9lDx-4C_Rwb8LUwW4AdjAu-39PHgEE Tony Kay has uploaded a new 'Understanding Fulcro' conceptual overview video, which i think is pretty good, if any of you are interested

๐ŸŽ‰ 4