Fork me on GitHub
#clojure-uk
<
2020-02-13
>
dharrigan05:02:26

Good Morning!

guy07:02:12

morning!

Rachel Westmacott09:02:07

RCFOTD:

clojure.core/distinct?
([x] [x y] [x y & more])
Returns true if no two of the arguments are =

mario-star 12
maleghast10:02:36

I get FOTD - that's Function of the Day, but what is the RC for, Peter?

Conor10:02:05

Random Clojure, I presume

guy10:02:01

Really cool, surely!? Haha

rhinocratic10:02:50

Recondite connoisseur's :face_with_monocle:

yogidevbear11:02:47

I think it's for Random Core Function of the Day

yogidevbear11:02:06

As it's function from the core library

Rachel Westmacott13:02:51

it used to be core, but I extended it to 'clojure'

Rachel Westmacott13:02:26

it recently came up in discussion about a function that was in a 'clojure....' ns but not 'clojure.core'.

๐Ÿ‘ 8
maleghast09:02:24

Thanks - makes all kinds of sense now I think about it.

benedek10:02:36

morning โ˜•

maleghast10:02:41

Morning everyone ๐Ÿ™‚

Johanna10:02:29

Morning ๐Ÿ‘‹

dharrigan11:02:39

I'm starting to come around to the idea to align the right hand side of bindings within a let ๐Ÿ™‚

๐Ÿ˜ฑ 12
jarohen11:02:02

obviously subjective, but doesn't this become a pain when it comes to reviewing PRs?

dharrigan11:02:27

Since I'm the only one writing Clojure code atm, I think I can deal with it ๐Ÿ˜„

jarohen11:02:37

fair ๐Ÿ™‚

jarohen11:02:02

and if you get one that's a lot wider than the others?

dharrigan11:02:19

Oh, it's okay. I don't enforce 80 column rules

jarohen11:02:19

yeah, it makes me irrationally twitchy ๐Ÿ˜„

dharrigan11:02:27

Go as wide as you need to ๐Ÿ™‚

jarohen11:02:03

even if it means you can't then fit 2 files side-by-side?

jarohen11:02:10

haha, nothing like someone mentioning formatting idioms to get opinions coming out of the woodwork ๐Ÿ™‚

Wes Hall11:02:37

I usually don't do this. I can just about live with it if I can get my editor to do this kind of thing for me. Otherwise I find that somebody eventually adds "another thing" that causes all the other things to need realignment and they don't bother. You end up with something that looks more messy.

mccraigmccraig12:02:34

anything wider than 80-cols makes my emacs setup go orange... i like 3 files side-by-side

emacs 4
dharrigan12:02:48

Man! Get yourself a widescreen monitor ๐Ÿ™‚

flefik13:02:51

i bought myself a widescreen monitor in the hopes of displaying more buffers in emacs. Didnโ€™t think it through though as everyone Iโ€™m pairing with remotely has standard 1080p monitors, so I can only use about a quarter of my screen anyway โ€ฆ

Rachel Westmacott13:02:06

so you can remote pair with four people at once?

๐Ÿ˜„ 8
dominicm14:02:11

Nuuuuuuuuuu.

thomas15:02:01

80 charachters all the way. How else can it fit on my punch cards,

dominicm16:02:24

Soft 80, hard 120, excepting strings

dharrigan16:02:24

I have mine all set to 256

otfrom12:02:03

cargo culting R!

Ben Hammond12:02:23

with a yohoho and a barrel of rum

otfrom12:02:14

hoist the jolly Roger!

mattford14:02:28

I'm not sure cargo culting advice is good for anyone in the long term but..... indexes start at 1 and this https://stat.ethz.ch/R-manual/R-devel/library/base/html/assignOps.html oh and keep it in your brain for as short a time as possible ๐Ÿ˜‰

otfrom15:02:25

luckily I figured it out. It is just an "exciting" bit of the data

rhinocratic20:02:39

Interesting readings from the CO2 meter in my living room / office. Background level (after the room has been empty for a day, with no heating) was 700ppm, which seems a bit high. When I turned the boiler on, it rose to about 950ppm, and seems to have reached a plateau. However, it's quite sensitive to position. When above the boiler's position (in the cellar beneath the room), it registers peaks of nearly 2000ppm in places, which is perhaps a bit alarming. Might be why I've been feeling a bit groggy. :thinking_face:

Johanna20:02:06

Wow that does seem high. What's the ventilation like?

rhinocratic20:02:59

It's pretty draughty - a Victorian house with (at present) few carpets.

rhinocratic20:02:53

The boiler is antediluvian, and the bare floorboards do little to stop its emissions from coming straight into the room. May get some underlay and carpet down as an interim measure!

3Jane20:02:32

CO2 sinks to the bottom btw

3Jane20:02:35

heavier than air

3Jane20:02:28

though I'm not sure how that'd interact with the boiler heating it up (convection)

rhinocratic21:02:24

Yes, I'm guessing the convection must carry it upward. The levels seem to dip a little when the boiler isn't "fired up". At least there's no sign of CO!

rhinocratic21:02:14

Might take the meter down to the cellar to see how bad things are there.