Fork me on GitHub
#clojure-uk
<
2018-07-09
>
dominicm06:07:04

Morning 🙂

dominicm06:07:09

Almost forgot you all there

3Jane07:07:26

Anyone going to ODSC or Codemotion? (Or has anyone been in previous years?)

thomas07:07:12

morning...

otfrom07:07:41

@lady3janepl not even heard of it.

otfrom07:07:42

but there are loads of things I've not heard of. Is it a good conf (or supposed to be?)

3Jane07:07:11

I’ll let you know when I find out more :) I found out about them because they have diversity initiatives

otfrom07:07:28

that is at least a good sign. 🙂

3Jane07:07:38

ODSC seems to be half R, half Python, I’m interested in the Python half. Codemotion seems to have a mix of all things, and they’re in CFP now, I was wondering whether to submit a proposal

3Jane07:07:52

But the 2017 talks were interesting looking at their website, plus it’s always nice to visit Berlin XD

alexlynham08:07:15

@lady3janepl are you pythoning at the mo then?

alexlynham08:07:20

oh, related to the serverless stuff - a quick way of getting a repl-based workflow outside of cljs is this, which worked quite well for a proof-of-concept (until people got antsy and I had to switch to python over ES6) https://the-frey.github.io/2018/05/30/live-code-js-lambdas-with-scratches

👍 4
guy08:07:45

Morning!

3Jane08:07:44

@alex.lynham I’m a weird mix of backend and data - mostly PHP, SQL/adhoc DBA, GraphQL. I touch on Python pipelines often and frontend every now and again. I need to find a way to call it something because “I’m a weird mix” doesn’t brand well. I’m bored with backend, Python and data engineering seems like a way to build on that without losing momentum. So the ODSC would be a research expedition :D

agile_geek09:07:56

I use the word ‘eclectic’ to describe my ‘weird’ mix of skills (which include developer, architect, agile/lead coach, CTO and even horror project manager!)

3Jane10:07:49

yeah but like, you come up to someone on a conference, “what do you do?” “oh I’m an eclectic” - doesn’t tell them whether you have anything in common, or if you’re relevant to their interests

3Jane10:07:20

that’s what I mean really - something like a communication aid 🙂

3Jane10:07:48

I suppose if you’re weird/eclectic/jack of all trades, you have to choose the side to present on every event.

3Jane08:07:04

(Went to Strata last year and that didn’t work at all)

alexlynham08:07:20

> I need to find a way to call it something because “I’m a weird mix” doesn’t brand well. That sounds like my problem too 🙂

3Jane08:07:41

I guess we gotta start a unicorn club

💯 4
otfrom09:07:56

I feel my experience is more like Katamari Damacy than being a unicorn

❤️ 8
jasonbell09:07:59

@alex.lynham "Weird" is a perfectly fine label, done me well for years. 🙂

alexlynham09:07:48

@jasonbell I keep typing jsonbell, then it doesn't match yr username and I have to work out why for a sec

alexlynham09:07:45

but yeah, weird is fine, I do find that people that don't know me don't really get what I do/can do based on CV or what have you.

thomas09:07:11

I prefer to use ednbell instead of jsonbell. 😱

thomas09:07:18

or TransitBell.

👍 8
yogidevbear09:07:43

cough Jade Bell cough

jasonbell09:07:09

Well that didn't take long.

agile_geek10:07:59

Mwahaha! The Howe-Jones curse strikes again!

otfrom10:07:29

@alex.lynham when you are doing cljs/node/lambda stuff, how do you access various aws services? (s3, dynamo, kinesis, etc)?

mccraigmccraig10:07:38

(i've not actually used it yet... just had it filed away in the back of my head should i need to)

alexlynham10:07:34

@otfrom depending on what & where

alexlynham10:07:56

at work it's a lot of IAM/console to spike things and then terraform with the platform lot

alexlynham10:07:06

for my stuff, it's the aws JS sdk

alexlynham10:07:12

bc clojurescript

alexlynham10:07:42

but I've been playing around with hosting resources on the blockchain so we'll see how that goes troll

alexlynham10:07:48

suspect I'll end up back on S3, haha

Ben Hammond11:07:44

um. good afternoon

Ben Hammond11:07:23

@maleghast are you planning to go to the Glasgow meetup on Wednesday evening?

Ben Hammond11:07:36

if you can tear yourself away from the futba

Ben Hammond11:07:43

I'm psyching myself up to emerge from my WFH cave

maleghast11:07:50

@ben.hammond - I would ❤️ to be there, but I am in London until Thurs evening... 😞

maleghast11:07:16

Also, Clojure > Football 😉

maleghast11:07:23

(not a tough equation for me)

otfrom11:07:27

I arrive in London from Dundee at around 5PM. I hope I can find shelter before everything kicks off

otfrom13:07:07

on Wednesday (so that was supposed to be in relation to the Glasgow meetup)

maleghast13:07:19

Oh I see - yes of course, sorry facepalm

thomas14:07:14

FYI Boris has resigned.

thomas14:07:25

(not that I have been following the news all day)

Ben Hammond14:07:17

it would depress me if that ended up with him becoming pm

3Jane14:07:21

and they all fall down

Ben Hammond14:07:28

as well as being a godsend for the snp

Ben Hammond14:07:24

how many General Elections do you predict over the next 10 years?

Ben Hammond14:07:28

one every year?

Ben Hammond14:07:51

perhaps interleaved with referenda

alexlynham14:07:13

I think we'll have a GE, then a people's vote, then it will go leave again, and the gov will collapse, so we'll have a GE, then a fire sale

😫 12
Ben Hammond14:07:48

you're probably not wrong

thomas14:07:03

that is the scary part.

otfrom14:07:30

the libdems are even a bit both ways on the leaving bit. Are the greens the only party in England that are definitely remain?

otfrom14:07:36

(I know the SNP in Scotland are remain)

thomas14:07:55

I thought libdems are remain....

otfrom14:07:56

con and lab are both leave

thomas14:07:12

yes, that is my understanding as well

otfrom14:07:13

libdems seem remain and then say something about "respecting the result..."

Ben Hammond14:07:15

perhaps we can sell them all data science services

thomas14:07:36

aaah yes the result.

thomas14:07:44

forgot about that.

otfrom14:07:06

that sort of says remain? ^^

otfrom14:07:21

@ben.hammond that sounds like a good(?) idea?

otfrom14:07:40

anyone got any good clojure twitter bot armies ready to go?

Ben Hammond14:07:52

we certainly could do with a political centre party

3Jane14:07:12

we could do with splitting the issue of being in EU with the issue of “a lot of people are suffering and need change, and no party wants to address that, so they have no other way to express it than EU referendum”

👍 16
otfrom14:07:06

I'd be happy with a left wing remain party (there are plenty of left wing remainers)

➕ 4
Ben Hammond14:07:34

they have to tread quite carefully, alot of their base are not very pro europe

Ben Hammond14:07:28

as is the way when you have a big, geographically disparate country

otfrom14:07:30

true, but strangely they are leading very strongly on remain

Ben Hammond14:07:39

with alot of different waves of migration

otfrom14:07:45

(lots of dislike to for the fisheries policy)

otfrom14:07:02

and they are very pro-free movement (and pro broader immigration too)

Ben Hammond14:07:22

the fisherman angle is the one that I can feel alot of sympathy for

Ben Hammond14:07:41

yeah Scotland definitely needs the workers

otfrom14:07:45

I can too, but Westminster has seen that as an easy sacrifice for the things they want

otfrom14:07:55

easy sacrifice being fishing

iaint14:07:43

Thank goodness Labour didn't get in back in 2015, or we'd have had that Chaos With Ed Miliband that david cameron warned us about

thomas14:07:38

yes, strong and stable. I'd vote for that!

Ben Hammond14:07:53

its depressing to see how important personal charisma is

otfrom14:07:00

let me be absolutely clear

😂 4
otfrom14:07:25

dropping on the event rather than the rumour? That is a poor reaction from the market

otfrom14:07:33

I expected more from them

3Jane14:07:46

so… is there any way to not get screwed on savings?

Ben Hammond14:07:48

spend it before you get it

3Jane14:07:02

buy a lot of shares of something American?

otfrom14:07:10

or European

Ben Hammond14:07:14

hmmm I think that is quite risky

Ben Hammond14:07:30

given their relatioship with china

otfrom14:07:31

depends on where you are planning on spending it

thomas14:07:40

Greek bonds anyone?

otfrom14:07:02

put the money in assets in the place you are planning on spending it and it should not (edit) be too bad

otfrom14:07:19

if the forex risk is the one you want to avoid

3Jane14:07:40

trouble being I might be moving next year but don’t know where

Ben Hammond14:07:18

do you have an idea which continent?

3Jane14:07:29

no, full spread available

3Jane14:07:47

UK, Germany, Japan, US

Ben Hammond14:07:53

its getting more hospitable

otfrom14:07:04

will you have an income where you are going or will you be relying on savings?

3Jane14:07:06

(depends on where I will get a job)

Ben Hammond14:07:15

I wouldn't want to go to US with kids in tow

3Jane14:07:25

must have job, no kids, single

otfrom14:07:30

I wouldn't want to go the US full stop

otfrom14:07:13

@lady3janepl if you have an income where you are going then I wouldn't worry too much about the short term. (it might suck, but hopefully not be too much of a problem)

3Jane14:07:21

I didn’t want to (re US), but I kinda feel forced by a variety of factors.

3Jane14:07:24

(I want to work on something interesting/experimental, US has the greatest concentration of these.)

yogidevbear14:07:01

Coming from someone that moved countries about 8 / 9 years ago... The biggest factor is starting from scratch with zero credit history/score in the new country

3Jane14:07:03

(Plus, US actually has communities for women engineers. All ‘women in tech’ events in London seem to consist of women who aren’t techs but are scared their jobs will go away, so they want to learn programming)

3Jane14:07:46

@yogidevbear yeah, trying to get the first flat rental in UK was an interesting experience 🙂 won’t try to move again without having a local contact first

thomas14:07:56

even moving to your original country has some interesting challenges

3Jane15:07:09

@thomas “Why is your ID so many years out of date?!”

yogidevbear15:07:08

Probably because he never thought anything like brexit would ever happen

3Jane15:07:09

(recently I went to renew my ID in order to retain EU-travel-privileges and was told off by the elderly clerk 😄 )

3Jane15:07:39

funny thing is, I’ve been thinking it would happen for a long time already

3Jane15:07:56

which is why i applied for citizenship as soon as I could.

3Jane15:07:30

just by counting the increasing number of UKIP flags in neighbours’ windows every year, the amount of stuff that kept popping up in social-and-mainstream media.

yogidevbear15:07:05

I suppose ignorance can't be helped 😞

thomas15:07:22

the biggest problem I had was converting my driving license back to an NL one again.

thomas15:07:48

but that was partly my fault... as I have a medical condition which had to be checked first.

thomas15:07:00

and that took foooorrrreeeevvvvveeeerrrrr

sundarj15:07:43

i'm thinking of moving to Norway

sundarj15:07:39

#1 most democratic nation, #2 happiest (was #1, ousted by Finland this year)

3Jane15:07:08

has polar bears and northern lights

3Jane15:07:32

Vikings, fjords, and non-UK-compliant strawberries. What’s not to love? 😄

8
3Jane15:07:45

(was considering Trondheim years ago, but didn’t pass the interview)

yogidevbear15:07:03

what do non-UK-compliant strawberries look like?

3Jane15:07:12

sorry, non-EU-compliant

3Jane15:07:07

too small, apparently. maybe it’s an urban legend, but I heard Norway refused to join EU because their strawberries were not standard compliant

3Jane15:07:17

I suspect it’s in the same bucket as straightened bananas 😄

otfrom14:07:43

(tho obviously in a country with lots of imports inflation is a problem with currency downturn like this)

yogidevbear14:07:48

I'm guessing you meant "shouldn't be too bad" @otfrom

alexlynham14:07:12

no kidding but buy some crypto

alexlynham14:07:31

if no hard brexit, you'll be a few k a year better off

alexlynham14:07:48

if hard brexit everything will collapse and there will be a rush on bitcoin/litecoin/eth

alexlynham14:07:10

money based scams work well in a climate of high uncertainty

alexlynham14:07:22

(sorry my worldview is so jaded)

3Jane14:07:12

dude crypto tanked so badly this year though 😞 it’s like gambling

3Jane14:07:45

but you’re right in that it’s a good bet in times of high uncertainty

3Jane14:07:52

and… you’re right to be jaded tbh

thomas14:07:12

it tanked to badly it can only go up again!

alexlynham15:07:09

it tanked but I've still doubled my money in a year

alexlynham15:07:20

know what I got on my savings? 0.5%

3Jane15:07:34

what do you use for trading crypto?

alexlynham15:07:43

a bit of kraken, a bit of poloniex

3Jane15:07:48

I remember people complaining about it taking a long time to transfer funds

yogidevbear15:07:58

I heard someone say to invest in Amazon shares back when the share price was around $800

alexlynham15:07:02

but I'm not doing like, HFT or anything

yogidevbear15:07:08

It doubled within about a year

thomas15:07:50

problem is I don't particular like Amazon as a company TBH

yogidevbear15:07:07

Not disagreeing with you there

yogidevbear15:07:19

Jeff B is a special individual

8
thomas15:07:25

so investing in it (even though the money I'd spend on it would end up with AZ)

thomas15:07:37

yes. I don't think I'd like working for him.

thomas15:07:02

then again.. I owned a few apple shares 10 years ago... and Steve J wasn't a nice person either

thomas15:07:12

so I probable can't complain that much

3Jane15:07:52

yeah, don’t invest money based on morals

3Jane15:07:59

investment is immoral anyway ¯\(ツ)/¯

thomas15:07:06

and the only reason I had big blue shares was that I could get them cheaply as an employee... but sold them all a few years ago

3Jane15:07:42

amazon is an interesting bet since they’re good at diversifying imo

otfrom15:07:10

after this brexit chat we should talk about emacs config. That would be our traditional routine. We've been talking way too much clojure lately.

8
emacs 8
thomas15:07:13

I do support you @otfrom...

thomas15:07:36

but I have to go now as well.. catch a 🚋

otfrom15:07:58

@thomas do you think NL will let me claim my ancestry that goes back to the 1600s?

yogidevbear15:07:25

Only if you're a vim supporter (ducks)

🦆 8
alexlynham15:07:32

so how's that emacs config coming along?

alexlynham15:07:42

mine's kind of like the picture of dorian gray

otfrom15:07:05

@yogidevbear I support vim. <irony>Without vim users I'd have so few people to feel superior too.</irony>

otfrom15:07:25

@alex.lynham it has been too long since I've pushed my wip really

dominicm15:07:09

my vim config beats your emacs config

alexlynham15:07:49

my emacs got a big spruce up when I started here and had to get it working on a new work laptop

alexlynham15:07:13

aaaaaaand in the last year it's probably rotted a lot since I've gone from 35 hrs of clj a week to like, maybe 10?

mccraigmccraig15:07:59

life is too short. just use prelude or spacemacs already

dominicm15:07:45

I wrote mine over the weekend.

yogidevbear15:07:33

Where's an atom-io emoji when you need one

sundarj15:07:03

🐢 found one :B

🐢 4
dominicm15:07:45

Atom, A Terrabyte Of Memory (credits to Malcolm Sparks)

😁 12
3Jane16:07:01

a wrinkle in RAM

otfrom16:07:00

(really interested in seeing your vim config tbh)

dominicm16:07:26

> clojure support with cider I won't have this feature 😞 > Using multiple elpa package archives Or that.

otfrom16:07:00

@mccraigmccraig I've tried prelude. It was cool, but waaaaay too much for me to get my head around to configure how I liked

otfrom16:07:13

this is actually a slightly smaller emacs config than I've had before

borkdude16:07:37

@otfrom in NL we don’t care, as long as you have money.

otfrom16:07:02

@borkdude that is more or less true anywhere, unless the gov't takes to not liking you specifically (UK gov't has been a bit like that lately, but generally it is easy to come here on a OMGÂŁÂŁÂŁ visa)

otfrom16:07:11

how much money does NL require?

otfrom16:07:30

I think UK is something like ÂŁ5 million

borkdude16:07:32

I don’t know. You can become a Dutch citizen if you have lived here legally for 5 years

dominicm16:07:58

@otfrom I wouldn't know where to start comparing in earnest.

dominicm16:07:33

oh god, are you sending this from emacs right now?

dominicm16:07:00

I have removed rainbow parens, I didn't find them actually useful outside of HTML

dominicm16:07:20

@otfrom what on earth is "upcasing and downcasing"? Just vim's ~ or g~? https://neovim.io/doc/user/change.html#~

otfrom16:07:31

sounds like it (tho my vim foo isn't great. the doc looks right)

otfrom16:07:42

no .vimrc for you?

dominicm16:07:09

My published one is very out of date. I'm going to publish a new one very soon.

dominicm16:07:22

Just for conversational purposes.

dominicm16:07:41

It's a shame that github doesn't support folding markers

dominicm16:07:09

@otfrom why is hippie expand a thing? Shouldn't it just be another source to company mode?

alexlynham17:07:15

my config is basically emacs starter kit with better styles, fonts and some additional packages https://github.com/the-frey/emacs

alexlynham17:07:55

plus I nicked an fn from rick that splits your screen into 3 so you can have three vertical columns on a big screen with a repl underneath

alexlynham17:07:07

chefs_kiss.gif

dominicm17:07:24

@alex.lynham how does that function work, you mean it automatically lays out your windows like that? 😄

alexlynham17:07:21

(defun split-3-windows-horizontally-evenly ()
  (interactive)
  (command-execute 'split-window-horizontally)
  (command-execute 'split-window-horizontally)
  (command-execute 'balance-windows)
)

(global-set-key (kbd "C-x 4") 'split-3-windows-horizontally-evenly)

alexlynham17:07:09

yeah it’s an even split of 3

alexlynham17:07:26

so you split vertically in 2, then call that in the upper pane

alexlynham17:07:39

then split the lower part and kill the upper part

3Jane23:07:45

I think I’m going to print multiple copies of this, gather them into a thick pile

3Jane23:07:10

and then use it to hit people over the head every time I see undocumented code

3Jane23:07:34

so. good.

3Jane23:07:29

(especially the wiki/lesson plan bit. yes please, teach how to use your library in a coherent way.)