Fork me on GitHub
#clojure-uk
<
2017-10-11
>
dominicm06:10:18

Just as a point of "aren't word associations weird" Yankee + breakfast = ribs

guy08:10:03

morning!

Rachel Westmacott08:10:21

@dominicm you might need to unpack that a little for me (I’ve not had my water yet)

dominicm08:10:55

@peterwestmacott I think I strongly associate yankee with texas area rather than Americans generally.

Rachel Westmacott08:10:17

do they eat ribs for breakfast in Texas?

iaint08:10:43

that's almost the lyrics from a supertramp song

dominicm08:10:03

the second gif is pointing out it's breakfast time.

danm08:10:24

Oooh, he's eating a rib

danm08:10:30

I thought he was doing a line of coke initially

guy08:10:30

me too haha

dominicm08:10:15

Leverage is a great show if you enjoyed e.g. Hustle btw. Slightly different. It even had a recurring Wil Wheaton character 🙂

geek-draven09:10:11

Leverage was great 🙂

maleghast09:10:20

Morning All… 🙂

maleghast09:10:53

Yeah, I ❤️ ed Leverage

maleghast09:10:07

@dominicm - You know that Texans are the very antithesis of Yankees, right? Texas is on the Southern border, is a bastion of “The American South”. The Yankees are the Northerners…

dominicm09:10:35

Oh really? Does that apply to "Yankee Doodle" too @maleghast?

maleghast09:10:06

absolutely 🙂

dominicm09:10:06

Weird. I wonder how I've created this idea in my head.

maleghast09:10:30

Admittedly people outside the US often apply the term to all Americans, but if you called a Texan a Yankee they’d likely as not punch you in the face 🙂

maleghast09:10:32

The song, Yankee Doodle, goes back to the Civil war -> https://en.wikipedia.org/wiki/Yankee#Yankee_Doodle

yogidevbear09:10:59

How is everyone doing this morning?

maleghast09:10:54

All good, thanks, here in Balham… I am in London ‘cos there were supposed to be investor meetings… The investor meetings are next week (I will be back), so I am “working from home” from my AirBnB… At least it’s quiet… 😉

danm10:10:32

Manchester is... grey

danm10:10:36

So pretty standard 😉

cddr10:10:07

I'm working from home in the London library because it takes 3 weeks to get connected to the internet in this country

mccraigmccraig10:10:13

@cddr it's taken 11 years for me to get a half-decent internet connection, and i live within 50 miles of london

otfrom10:10:20

I got amazing interwebs in about 3d in Scotland

danm10:10:48

My parents in Cornwall got FTTC before I had access to it

danm10:10:51

I was well jealous

yogidevbear11:10:29

Two different slack groups and both talking about internet speeds this morning lol

yogidevbear11:10:39

That's some synchronicity for you

mccraigmccraig11:10:57

what did you try to set it to @glenjamin?

glenjamin11:10:57

it’s actually fine, that was just a joke 🙂

mccraigmccraig11:10:40

doh, now i see it 😊

Rachel Westmacott12:10:09

I could tell you a joke about UDP, but you might not get it.

jonpither12:10:55

never heard that one before 😉

dominicm12:10:19

"Hi, I'd like to hear a TCP joke." "Hello, would you like to hear a TCP joke?" "Yes, I'd like to hear a TCP joke." "Ok, I'll tell you a TCP joke." "Ok, I will hear a TCP joke." "Are you ready to hear a TCP joke?" "Yes, I am ready to hear a TCP joke."

danm12:10:34

I'd tell you a MIME joke, but you probably couldn't handle it

dominicm12:10:11

that's new to me

jonpither12:10:23

I can tell you a multi part joke

yogidevbear13:10:37

No, you didn't 😂

danm12:10:40

2) Ordering There are 3 hard problems in computing: 1) Naming things 3) Cache invalidation 4) Off-by-one errors

sundarj12:10:41

that 4) should be 5) 😁

sundarj12:10:22

i guess it was too hard for me 😉

Rachel Westmacott15:10:18

6) mismatched parentheses?

danm15:10:10

A good IDE fixes that

danm15:10:32

Hell, I tried parinfer and it found a load of bracket/indentation errors others had made that noone had ever noticed...

Rachel Westmacott15:10:26

it was more a comment on the n) style of numbering - an attempt at humour if you will

Rachel Westmacott15:10:43

yes - paren matching is a job for machines

Rachel Westmacott15:10:21

[dear future robot overlords, I mean simpler machines than you]

otfrom16:10:50

any terminal emacs/paredit or smartparens users out there?

otfrom17:10:36

(or indeed paredit)

simonkatz17:10:01

@otfrom Hi. I'm using still using paredit. I haven't moved on to more modern stuff.

otfrom18:10:43

@nomiskatz do you use terminal Emacs? Looking for some tmate paredit solutions for c right arrow and friends

simonkatz18:10:35

Ah, no, I didn't read that properly. Not terminal Emacs.

yogidevbear21:10:04

How often do you guys use pmap?

seancorfield21:10:55

Rarely. It's usually the wrong solution to a problem.

seancorfield21:10:18

I mean, it's very convenient. But it's sort of a sledgehammer.

seancorfield21:10:58

Usually better to do something with core.async or executors so you have more control over the concurrency etc.

seancorfield21:10:32

That said, when we were getting started with Clojure at work (2011) we fell in love with pmap 🙂

yogidevbear21:10:14

I can see the initial appeal, but I can also see it being overused as a novelty

seancorfield21:10:51

Yeah, we still use future a lot.

seancorfield21:10:02

Mostly for fire-and-forget stuff, where we know we won't overwhelm the system.

seancorfield21:10:01

But we also use it when we have a fixed set of long, complex DB queries that we want to run concurrently (and, again, we know the DB server can handle it and we just want to cut the overall elapsed time).

seancorfield21:10:45

One thing to bear in mind with future: it swallows exceptions by default. We use timbre/logged-future instead, so at least we see exceptions in the log file.

yogidevbear21:10:22

Cool, thanks again Sean 🙂

mccraigmccraig22:10:50

on the same lines manifold/future has callbacks so can play nicely with your other promise-like things

simonkatz23:10:49

@yogidevbear pmap doesn't really do what most people expect it to do. See eg https://dev.clojure.org/jira/browse/CLJ-862

simonkatz23:10:19

claypoole (https://github.com/TheClimateCorporation/claypoole) has a version of pmap that has more intuitive behaviour.