Fork me on GitHub
#clojure-uk
<
2017-01-24
>
agile_geek09:01:41

Quick reminder, if you are in or around London tonight we have a Clojure coding dojo at SkillsMatter at 6:30pm https://skillsmatter.com/meetups/8788-clojurebridge-alumni-coding-dojo Although it's targeting ClojureBridge Alumni, all are welcome. Sign up using the link if you plan on attending. Thanks

Sam H10:01:54

Is it the standard clojure dojo format tonight @agile_geek?

agile_geek10:01:37

Yes although I'm open to suggestions if people want to do something different. I am not the King of Dojo's! That's @otfrom

maleghast10:01:09

Hello All šŸ™‚

mccraigmccraig10:01:49

awesome political drama unfolding today !

maleghast10:01:41

Indeed! Time to write to politicians and beg them to resist the temptation to set fire to the country for shits and giggles

agile_geek11:01:47

I love that "leavers' want UK Parliament to be sovereign, except when it doesn't suit them!

kevin4211:01:54

Maybe they thought we had an emperor in the UK Parliament

agile_geek11:01:27

Isn't that what the USA have now....High Wizard and Orange Social Media Guru?

kevin4211:01:33

Haha some great nicknames here šŸ™‚

mccraigmccraig11:01:33

some 'leavers' @agile_geek - i'm a leaver, though i favour paying to remain part of the single-market, i am happy with free movement, and i'm happy with the supreme court ruling

agile_geek11:01:53

@mccraigmccraig sure. I was generalising as usual! simple_smile Given that position what was the deciding factor to leave (given I voted to remain mainly for those reasons listed in your reply)

mccraigmccraig11:01:12

@agile_geek i think the EU is doomed and that it would be better for britain long-term to be able to negotiate trade deals outside the EU, as well as with the EU

mccraigmccraig11:01:53

i think it is doomed because the euro is causing wealth to drain from the weaker economies to the stronger economies and without any reverse flow it will self destruct... and the EU governing bodies have shown zero ability to even publicly recognise the problem, never mind address it

agile_geek11:01:22

I tend to agree but not sure I agree that it's unsalvageable and I felt we were better helping than jumping ship.

agile_geek12:01:03

I also feared the alternative more than the fall of the EU

mccraigmccraig12:01:59

i took your position until greece was given a beating - that changed my mind

gjnoonan12:01:12

Morning Chris, how's tricks

agile_geek12:01:31

Alright. Busy at current client and working on a getting a consultancy role lined up....but I've been working on it for 16 months now!

otfrom12:01:41

agile_geek Nick Tollervey is King of the (London 2nd Alternative) Dojo style

gjnoonan12:01:12

Hopefully itā€™s worth the wait šŸ™‚

otfrom12:01:27

mccraigmccraig what was done to Greece was horrible. The EU needs to figure out a reasonable fiscal policy to be able to cope w/monetary union (same as happens in the US, but hopefully better)

agile_geek12:01:28

@otfrom never met Nick...although I've communicated via Twitter

otfrom12:01:33

tho I'm not sure why we'd want to be covered by trade courts similar to the WTO w/o the ability to affect the legislation that goes into them, which is why I am a remainer (along w/being very pro freedom of movement)

otfrom12:01:00

I look at NAFTA, TPP, WTO, WIPO and think that the EU is a much better model

otfrom12:01:18

and freedom of movement is a massive part of what makes that work

otfrom12:01:48

I'd like to see more aggressive union negotiation to deal with some abuses of free movement of services, but the UK is the one that usually holds that back

mccraigmccraig12:01:37

@otfrom totally agree on fiscal policy - but i can't see a turnaround from the greek treatment to a reasonable policy happening

mccraigmccraig12:01:28

tho i may be wrong. i am bad at prediction

otfrom13:01:41

mccraigmccraig that turnaround is probably more likely now as it was usually the UK stopping any more interventionist fiscal policy (or indeed even refusing various bits of fiscal aid for things in the UK when offered)

otfrom13:01:04

given a different environment on immigration/freedom of movement (which both the main remain and leave campaigns had issues with) I might have been more tempted to vote Leave b/c of Greece and the general neo-liberal set up of the EU. It just didn't feel like a safe choice for me for friends given the atmosphere around things.

otfrom13:01:44

but anyway...

otfrom13:01:49

clojure is lovely isn't it?

otfrom13:01:12

mccraigmccraig I still ā¤ļø you and understand why you voted the way you did :hugging_face:

mccraigmccraig13:01:22

i can totally understand your position @otfrom ... from my side, i can see the uk sentiment on immigration changing (it has clearly been somewhat different in the past). i can't see the eu changing much though - every time i try to understand its power structure i get a headache

mccraigmccraig13:01:33

"The Council of the European Union must not be confused with the European Council (see above), nor with the Council of Europe"

otfrom13:01:08

there are a number of different organisations. Many of which are covered by completely different treaties

otfrom13:01:43

I'm glad that the ECHR is completely separate

otfrom13:01:56

and yeah, the UK attitude towards immigration and immigrants changed quite a bit while I was away from 2002 - 2008. Not quite sure what happened there as it looked like things were heading in a much more open direction

otfrom13:01:12

but a lot of things changed while I was away

Rachel Westmacott13:01:34

I wonder what that correlation implies?

agile_geek13:01:22

@otfrom maybe you shouldn't have gone back to US and left us to fend for ourselves....look what has happened while you've been away from USA now!

otfrom14:01:11

if I can ruin things, I'm happy to be used as a weapon

otfrom14:01:47

is it OK that I'm swooning as I got a like from Adrian Colyer?

otfrom14:01:31

I'm of the opinion that functional programming works well with this. šŸ™‚

Rachel Westmacott16:01:58

Iā€™ve got a feeling Iā€™m doing something wrong. Iā€™m using Stuart Sierraā€™s Component library, and then using protocols implemented by records to define various bits of behaviour. This lets me swap out bits at test time. So for some behaviour ā€˜Fooā€™ I have a ā€˜Fooā€™ record and a ā€˜FooProtocolā€™, and it all feels very OO, and like Iā€™m writing Java again and creating an interface just to mock it out at test time. Other than writing a little more code than I would like to, Iā€™m not hitting any major problems with it - but it feels not quite right. Would anyone care to venture an opinion?

dominicm17:01:45

@peterwestmacott it's highly worth reading the literature on the discussions between yogthos & weavejester on this stuff. But mostly, your FooProtocol should only be applied to things that hit an external service. Most things should take something like foo as a parameter. It really depends on what you're doing.

Rachel Westmacott17:01:23

"But mostly, your FooProtocol should only be applied to things that hit an external serviceā€ - yep thatā€™s my main criteria for applying this pattern

Rachel Westmacott17:01:56

you wouldnā€™t happen to have a link handy for said discussionsā€¦?

dominicm17:01:01

@peterwestmacott I think you're applying this where it is appropriate then.

dominicm17:01:12

There's a number of them, tolitius also jumped in for a long time too.

dominicm17:01:31

I just realised, I have all these in a firefox group.

Rachel Westmacott17:01:55

I hadnā€™t realised there was so much Clojure discussion on reddit...

dominicm17:01:18

I should write these up into a document at some point, absolutely full of gems.

reborg17:01:19

You have already a lot there, but Iā€™ll throw in my thoughts as well https://github.com/reborg/scccw/blob/master/COMPONENTS.md

reborg17:01:19

But essentially: no passing components into others, no forcing components to implement protocols, reuse by copy-paste. Started doing this couple of years ago, I never looked back.

mccraigmccraig17:01:02

i didn't want to force components to implement any protocols, and wanted something async-friendly and composable, so i created my own little object-system manager - https://github.com/employeerepublic/deferst . components can be anything whatsoever, get created with vanilla fns and have optional destructor fns. systems o components are wired up with a pure-data specification and one system can be used as the basis of another system

Rachel Westmacott17:01:15

well Iā€™m glad I asked, thank you kind people! yeshugs

Rachel Westmacott20:01:36

From the integrant readme: "The architecture of the application is defined through data, rather than codeā€ - I guess homoiconicity has its limits!

glenjamin21:01:53

have you seen Zach Tellmanā€™s ABC talk peterwestmacott ?

glenjamin21:01:40

It has some good discussions about code as data and data as code and the spectrum between them

Rachel Westmacott21:01:17

does it have a title?

Rachel Westmacott21:01:37

if it is called ā€œABC talkā€ then my search skills have failed me

glenjamin21:01:39

Always Be Composing

Rachel Westmacott21:01:12

I havenā€™t seen it. But I will.

paulspencerwilliams22:01:47

Yah, my clojure.spec talk went well at WM-JUG. Loads of questions and interest in generative testing. Lots of arghs at the parens. A few oohs at the repl.

paulspencerwilliams22:01:01

One question asked was whether core team would make the predicates more english like. I explained that the concise lisp expression are more powerful and reasonable than English for those that can read it. Wrong answer for audience. Correct answer might be to wrap the complex (to newb lispers) predicates in functions with good names. I will post that reply as errata as a comment :-)