Fork me on GitHub
#clojure-uk
<
2020-03-12
>
dharrigan06:03:19

Good Morning!

marcus07:03:20

Morning chaps

marcus07:03:58

I cringe when I read things like social distancing. (not picking on anybody specific) Shouldn't it be temporary social distancing? What would be next? hikikimori? Sorry, rant over.. covid-19 informational virus does my head in..

3Jane08:03:42

next, we'll be re-installing second life

3Jane08:03:34

for real though, being shut away without contact from other people does your head in. voice or video chats apparently help.

👍 4
rhinocratic12:03:43

I've been working in that mode for some months, and can attest that my head is thoroughly done in. As for the video chats - it depends! If they're just progress chasing, it adds to the feeling of being besieged.

rhinocratic12:03:45

Seriously thinking of acquiring a dog (in spite of my allergy) so that I'm forced to get out of the house and meet "real" people.

3Jane13:03:53

no, i meant a normal human conversation.

rhinocratic13:03:22

Yes, the absence of those really becomes a problem!

3Jane13:03:28

and, yeah, i feel you, i did my head in by wfh several years ago, it is the worst 😞

3Jane13:03:58

walk my dog maybe? or skype calls with internet friends?

rhinocratic13:03:27

Some aspects are great, but I need to be vigilant about withdrawing from society. I looked into BorrowMyDoggy - could be a solution!

rhinocratic13:03:03

As King Rollo so wisely observed "the best kind of dog is someone else's".

3Jane13:03:41

👍 😄

3Jane13:03:04

been thinking about that myself b/c my flat is a bit too hot for pets in summer

rhinocratic13:03:28

Leopard geckos love the heat, but they're not exactly sociable. Mostly they just hide or chew locusts.

3Jane13:03:08

interesting! I've been thinking tropical fish, geckos might be more interesting

3Jane13:03:30

have you raised them yourself?

rhinocratic13:03:06

My other half has kept 4 of them from being recent hatchlings. All named after characters from Round the Horne, so we have Rambling Syd Rumpo, Dame Celia Molestrangler, Buttercup Gruntfuttock and Daphne Whitethigh. :face_with_rolling_eyes:

3Jane14:03:03

Buttercup Gruntfuttock made me cackle

3Jane14:03:07

thank you, needed that

3Jane14:03:32

...I think I might need to find that show somewhere XD

rhinocratic14:03:03

The later series are probably the best. Hugely politically incorrect, on the whole. The sort of stuff which causes one to wonder "how did they get away with that?".

dominicm08:03:46

That's why you're all here right? The voices in my head

3Jane08:03:50

I'll do you one better

reborg08:03:20

Morning. Hope the following (see thread) is helpful to circulate inside your company if you are in the unfortunate situation to be told to commute to the office when you’re able to work from home. Luckily, my company applied a full work from home policy while I was drafting this, so I don’t need it anymore.

👍 4
reborg08:03:35

Subject: Coronavirus Response

<To whom it might concern>

The number of corona-positives (in UK or elsewhere) is going exponentially up every day and the reason it's not because of people self-isolating or the virus driving around in a car. By going to work every day we contribute to increasing the risk of spreading the virus, even if we don't catch it directly (for example by making a train busy). We might even catch it and being asymptomatic and by moving around we are spreading the virus to people who are less healthy and more vulnerable. Remember that is this is not a flu (there is no vaccine to start with, and we have no definitive data on the mortality rate).

Why are we waiting for other companies, people or authorities to start restricting freedom in one way or another? Why are we looking outside in streets to see if there are less people around? What has this anything to do with thinking what is the best action to take.

I'm worried about the role that commuters have in spreading the virus by moving around every day. We have to ask ourselves: is our movement essential to our company or to the economy in general? If you struggle to come up with an answer that justifies working from the office, then you have to work from home.

As a software company we have the luxury of being able to work from home (or at least most of us do). At the same time, nothing prevents us to come to the office to attend an urgent meeting, but what is not essential should be avoided. It's irresponsible on our part not to take action if we can, it doesn't matter how our size compare to others. It's responsible for us to give an example to other companies who are waiting (like we do) to see what everyone else does.

guy08:03:43

Morning all

dharrigan08:03:15

Our stance, and this is driven by HQ, is for people to report to work as normal, until told otherwise. Of course, we, being the software arm of our company, is treated a bit differently, and we all have VPN access to do our job

dharrigan08:03:23

so our MD may decide just to send us home

dharrigan08:03:40

I've passed on the helpful spreadsheet from @mccraigmccraig yesterday, so maybe that may influence things here.

dharrigan08:03:48

our HQ is in central london

dharrigan08:03:50

we're in Epsom

mccraigmccraig08:03:41

we've also closed our office from today @reborg... it seems the only sensible thing to do

👍 4
jasonbell09:03:09

We got the full doc with a revised policy that needed signed off. So until further notice, no meetups, conferences, client meetings or travel for the company until further notice.

dharrigan11:03:58

Say you have a function that should return true (or nil/false). But you want to log something before returning - and that log returns nil, I have this

dharrigan11:03:16

(when something-something
  (log/info "Blah Blah")
  true)

ben11:03:31

I sometimes end up defining an “identity + side-effects” function that looks something like

(defn log-and-return [f x] ((f x) x))

;; Which would make your example:
(->> something-something 
  (log-and-return (constantly (log/info "Blah Blah")))

ben11:03:05

I don’t know if this is any better, but feels slightly cleaner to me

ben11:03:37

Sort of trying to approximate Elm’s Debug.log

dharrigan11:03:48

not bad! thank you. I'll ponder 😉

guy12:03:54

If it doesn’t have to return true you can just return something-something and use the truethy falsey aspect of it

ben12:03:18

Actually - couldn’t you just use?

(some->> something-something (constantly (log/info "Blah Blah")))

ben12:03:42

I guess that wouldn’t skip the logging if something-something was false and not nil

dharrigan12:03:59

Yeah, it should only log if true

dharrigan11:03:45

which feels a bit forced. Would there be a better approach, that doesn't necessitate an explicit true?

dharrigan11:03:28

(sorry for being on-topic btw 🙂 )

Wes Hall11:03:32

@dharrigan I think that's probably it.

dharrigan11:03:21

k 🙂 Thanks for the input 🙂

yogidevbear12:03:06

Morning. Ironically enough, the Clojure Virtual Meetup group organiser just stepped down and the group will shut down if no-one takes up the mantle https://www.meetup.com/Virtual-Clojure-Meetup/

folcon04:03:58

This seems really cool, how have I not heard of it?

jiriknesl22:03:50

I can take care of it if needed. I have started Barcelona Meetup group years ago. :)

rhinocratic12:03:48

Just had a job interview changed from on-site to remote, owing to the virus risk. 😐

benedek12:03:22

did the job change to remote too?

benedek12:03:34

sorry could not resist...

rhinocratic12:03:37

It might do - I think that depends upon how events unfold!

benedek12:03:39

quite a few jobs are going full wfh

rhinocratic12:03:40

It would be interesting to see how they handle a 3-week introductory boot camp on a remote basis.

benedek12:03:59

haha yeah.. that could be tricky

Wes Hall13:03:31

@rhinocratic Right now, probably like the hunger games... 😉

mccraigmccraig14:03:25

@danieleneal do i recall correctly that you guys load EDN resources from files with shadow ?

danielneal14:03:32

We use Json I think

danielneal14:03:50

I’m off work at the min so hazy

mccraigmccraig14:03:04

np, it was more about the mechanism for loading / inlining them - but i found the answer : https://clojureverse.org/t/using-none-code-resources-in-cljs-builds/3745

Ben Hammond17:03:36

its not the money I resent

Ben Hammond17:03:49

its the the hours of my life that I would lose

Ben Hammond17:03:37

might see one through the next few weeks though

3Jane17:03:39

Polish civilisation has Queen Jadwiga

👍 4
3Jane17:03:56

💪 👸

3Jane17:03:27

or King Jadwiga actually

3Jane17:03:49

so basically (trivia) historically Poland could not be ruled by a queen, only by a king

3Jane17:03:53

a queen was a king's wife

3Jane17:03:14

at some point the only heir was female, so she became the king

3Jane17:03:10

later they got her to marry the pagan prince of Lithuania who was a badass in his own right, which is where Polish-Lithuanian commonwealth came from

3Jane17:03:47

analogy: imagine queen Elizabeth I marrying someone ruling Scotland

4
3Jane17:03:47

anyway, she's not well known in the west I think, so it's awesome they put her into the game

👍 16
Wes Hall17:03:53

I somehow never quite got on with 6. I logged stupid amounts of wasted hours into 4 and 5, but 6 somehow just didn't grab me as much.

Wes Hall17:03:57

Oddly enough, I seem to prefer watching other people play it in streams. I guess I went full on millennial.

😂 4
Ben Hammond18:03:20

Easier to walk away when you are watching someone else play

3Jane18:03:22

the only winning move is not to play

guy18:03:00

I enjoyed the space civ

guy18:03:04

It was decent

3Jane18:03:12

there is space civ?

3Jane18:03:17

google intensifies

guy18:03:20

Yeah wasn’t it five ?

guy18:03:27

I can’t recal the name

Ben Hammond18:03:28

And I need to avoid setting a bad example to the kids Alpha centauri?

guy18:03:02

All I remember is having a massive space worm wreck my base and that was gg

3Jane18:03:14

i found something called beyond earth

3Jane18:03:19

alpha centauri rings a bell

guy18:03:28

Yeah beyond earth

guy18:03:38

Maybe that wasn’t cub

3Jane18:03:17

Endless Space is what I was thinking of

3Jane18:03:47

wow... erm... I might need to retire to play all of that XD

😱 4
Wes Hall19:03:26

Beyond earth was, I think, Civ 5 with space theme. At least more or less, some additional gameplay elements.

👍 4
Aleksander23:03:29

A piece of trivia I didn't know before: Civilization started off as a board game

Aleksander23:03:54

I meant to play an expanded version later in the month