ldnclj

Find us on #clojure-uk
2015-07-09T06:46:48.001721Z

happy tube strike everyone!

agile_geek 2015-07-09T07:01:00.001722Z

Cycled in - good, Forgot pass to get into building - bad! Doh!

thomas 2015-07-09T07:28:18.001723Z

Good luck today ldn-ers....

agile_geek 2015-07-09T07:41:16.001724Z

@otfrom: WFH or did you brave the commute?

2015-07-09T07:52:57.001725Z

wfh

jamiei 2015-07-09T07:52:59.001726Z

Morning all

2015-07-09T07:53:06.001727Z

morning jamiei

jamiei 2015-07-09T07:53:13.001728Z

Made it in :simple_smile:

2015-07-09T07:53:23.001729Z

cycle? bus?

2015-07-09T07:53:26.001730Z

horse?

2015-07-09T07:53:35.001731Z

shank's pony?

jamiei 2015-07-09T07:53:40.001732Z

Screw the strike, I walked 5 miles :simple_smile:

jamiei 2015-07-09T07:54:20.001734Z

sorry, wasn't intending that to sound pointed.

jamiei 2015-07-09T07:54:29.001735Z

Although, I do like the idea of a horse...

agile_geek 2015-07-09T07:55:55.001736Z

thinks it’s more likely to become about lifestyle choices re: eco-modes of transport

2015-07-09T07:56:22.001737Z

horses are a terrible eco choice. Not as bad as a dog as a pet, but...

jamiei 2015-07-09T07:56:31.001738Z

But fun..

jamiei 2015-07-09T07:57:03.001739Z

I guess if you wanted to go the "hummer" equivalent, you could even ride an elephant to work

thomas 2015-07-09T08:08:40.001740Z

camels anyone?

thomas 2015-07-09T08:09:18.001741Z

no need to fill up every day

jamiei 2015-07-09T08:09:53.001742Z

Do you think you could use the bus lanes on a camel?

agile_geek 2015-07-09T08:10:22.001743Z

otfrom: cows are a worse eco choice..you can’t even ride them! Donkey?

agile_geek 2015-07-09T08:11:42.001744Z

I’ll stick with bicycle…now someone’s going to tell me the alloy in my new bike cost the planet as much as the CO2 from 8 buses!

korny 2015-07-09T08:18:26.001745Z

Londoners all over the streets! It’s like: http://1.bp.blogspot.com/--l8B9Qsmf24/VUiCzUNVljI/AAAAAAAACNc/vlnKyRLJPw4/s1600/Dora%2BMole.gif

korny 2015-07-09T08:18:41.001747Z

damn, need a smaller gif :simple_smile:

thomas 2015-07-09T08:18:52.001748Z

@jamiei: sure, no problem.

jamiei 2015-07-09T08:20:28.001751Z

@agile_geek: I've never bought a bike because I'm never confident enough in riding it without being hit by a careless driver. Do you encounter problems?

korny 2015-07-09T08:21:44.001752Z

In my route I’m more afraid of other cyclists and oblivious pedestrians than cars

korny 2015-07-09T08:22:47.001753Z

Cars in central London are generally slow and dodgeable - as long as you aren’t running red lights (like about 10% of the cyclists I see)

agile_geek 2015-07-09T08:22:50.001754Z

@jamiei: I’m new to cycling in London so I’ll let you know but regularly cycled in Newcastle (obviously not as busy) and I’ve had occasional run in but only been knocked off once in 8 years of regular cycling. Agree with @korny about pedestrians

agile_geek 2015-07-09T08:23:17.001757Z

red light jumpers just have a death wish!

jamiei 2015-07-09T08:24:00.001758Z

Oops, I'm probably guilty of being an oblivious pedestrian from time to time

agile_geek 2015-07-09T08:24:06.001759Z

@thomas: tried it with our cows when I was in my teens. They just stood there eating!

thomas 2015-07-09T08:24:30.001760Z

@agile_geek: you obvs haven't tried hard enough

jamiei 2015-07-09T08:25:03.001762Z

😄

jamiei 2015-07-09T08:25:50.001763Z

I'll just leave this here: http://i.imgur.com/w1Y8UpE.jpg

agile_geek 2015-07-09T08:34:12.001765Z

No comment

mccraigmccraig 2015-07-09T08:48:41.001768Z

@agile_geek: red-light jumpers don't always have a death wish : i recall (from 10 years ago when i lived in london) there were plenty of junctions in the city of london where traffic stops entirely for pedestrian crossing, and it's perfectly safe to cross when there is a red light and there are no pedestrians

agile_geek 2015-07-09T08:52:44.001770Z

@mccraigmccraig: I personally don’t risk it but take your point.. and sometimes getting away in front of traffic is safer.

korny 2015-07-09T08:55:37.001771Z

The trouble is (in my humble opinion of course!) that while it’s “safe” - in many cases it still adds to the resentment against riders.

mccraigmccraig 2015-07-09T08:55:47.001772Z

i always thought that as long as you can cycle at ~20mph, and remember to look behind you every few seconds, then cycling in london traffic is quite safe, since it's slow moving and you can take a car space

korny 2015-07-09T08:58:35.001773Z

… so I stop at pedestrian crossings, and red lights, and (gasp) sit my bike on the big painted bicycle area on the road. The slow lights can be frustrating, and I do cheat occasionally if I’m really in a rush, but usually I can afford to waste 2 or 3 minutes of my trip in this way. It gives me a chance to stretch and enjoy the view.

mccraigmccraig 2015-07-09T09:01:58.001774Z

@korny: i never really cared about the resentment of irrational idiots. they don't resent you for any rational reason, so refraining from doing the thing they say they resent you for isn't going to stop them resenting you, because they are irrational and will find something else to resent you for

korny 2015-07-09T09:02:33.001775Z

I resent you for that :simple_smile:

korny 2015-07-09T09:02:46.001776Z

(kidding, of course!)

mccraigmccraig 2015-07-09T09:03:10.001778Z

now i'm in a bind @korny , since i don't consider you an irrational idiot :simple_smile:

thomas 2015-07-09T09:03:44.001779Z

just irrational? or just an idiot? 😉

korny 2015-07-09T09:10:06.001781Z

(and (or :irrational :idiot) (not (and :irrational :idiot)))

thomas 2015-07-09T09:19:24.001782Z

@korny: 😉 very good

korny 2015-07-09T09:19:54.001783Z

really I should express it as a core.logic check but I’m meant to be working :simple_smile:

pupeno 2015-07-09T09:22:50.001784Z

Hello.

xlevus 2015-07-09T12:48:24.001785Z

afternoon

2015-07-09T12:53:17.001786Z

I'm not sure this tea is giving me the post lunch head kick I need

jamiei 2015-07-09T13:03:55.001787Z

Switch it out for coffee?

2015-07-09T13:11:47.001788Z

that might be the next resort

2015-07-09T13:11:58.001789Z

after that I think I'll have to go for Dr Whisky

2015-07-09T13:12:06.001790Z

that will wake me up, right?

thomas 2015-07-09T13:17:12.001791Z

@otfrom: why don't you have two or three.... that will work even better 😉

mccraigmccraig 2015-07-09T13:18:39.001792Z

otfrom: whisky is dead to me. bring me calvados

2015-07-09T13:19:37.001793Z

thomas: not a bad idea

thomas 2015-07-09T13:19:52.001794Z

more equals better. Right?

2015-07-09T13:19:53.001795Z

mccraigmccraig: I have Lagavulin. You're argument is irrelevant

mccraigmccraig 2015-07-09T13:23:40.001796Z

otfrom: lagavulin are less guilty of the wanky packaging (which renders me unable to bring myself to buy whisky) than many

xlevus 2015-07-09T14:01:19.001797Z

In the words of Bobby Bare "Pour me another Tequila Sheila."

agile_geek 2015-07-09T14:21:19.001798Z

@otfrom: Whisky would just put me to sleep. You need to go on a brisk bike ride young man, always wakes me up.

pupeno 2015-07-09T15:53:59.001800Z

@agile_geek: I remember you mentioning this community (clojurians) having a lot of activity but since I joined it hasn’t been very busy. Did it die out after an initial flurry of activity?

agile_geek 2015-07-09T15:55:14.001801Z

@pupeno: over promise and under deliver that’s the story of my life! quite a lot of activity in clojure and clojurescript channels no?

pupeno 2015-07-09T15:55:52.001802Z

Maybe they are more active at different timezones.

pupeno 2015-07-09T15:56:16.001803Z

clojurescript seems to be more active than clojure.

agile_geek 2015-07-09T16:00:53.001804Z

I think that sums up Clojurescript atm. It seems to be getting a lot of interest. I am still trying to figure out why as I can’t see it being that attractive for existing JS devs but may just be the Clojurians who already used Clojure in the backend getting excited about full stack and homogeneous development.

agile_geek 2015-07-09T16:02:00.001805Z

I am sure the more knowledgeable ldnclj members who actually use this stuff in their day job will enlighten this poor Java developer 😉

pupeno 2015-07-09T16:02:45.001806Z

Well… ClojureScript was kind-of my gateway drug even though I haven’t touched it yet.

2015-07-09T16:24:26.001807Z

pupeno: I've been having fun with http://thi.ng and reagent lately

2015-07-09T16:24:41.001808Z

had some trouble doing svg stuff w/Om. Not got to the bottom of that yet

pupeno 2015-07-09T16:25:03.001809Z

I do want to use either om or reagent and I’m leaning towards reagent.

2015-07-09T16:38:15.001810Z

Om is pickier, but simpler I think. When I get something in Om I think I understand it. W/reagent I feel like I'm cargo-culting.

korny 2015-07-09T16:41:49.001811Z

I would love to use clojurescript if I had (a) a top-rate team who were keen and willing to learn it, (b) a client who was happy to take risks and (c) was happy to hire smart devs to own it after we were done. And (d) a client with a pressing need for a complex UI, or in other ways was able to justify the costs of (+ a b c d). 😕

korny 2015-07-09T16:43:13.001812Z

It still might happen - I was saying similar things about clojure 4 years ago. But JavaScript isn’t that bad, basically, so there’s not such a compelling reason to switch.

2015-07-09T16:43:51.001813Z

korny: I'm not sure I'd take on even a moderately complicated UI with javascript

korny 2015-07-09T16:44:15.001814Z

I’m planning to spend some time learning React properly, as I’m far more likely to get a JS project than a cljs one, and I want ammunition to at least use something better than all the heavyweight MVC frameworks out there

2015-07-09T16:44:43.001815Z

not a bad plan

2015-07-09T16:45:41.001816Z

glad I'm building for myself mostly. I often make the same decision when we do the odd bit of consultancy. But I feel like a bit of an arrogant jerk when I decide that a client isn't up for doing clj/cljs

pupeno 2015-07-09T16:51:39.001817Z

I think I just finished prototyping my first ever piece of useful Clojure code. Woohoo! :simple_smile:

pupeno 2015-07-09T16:53:20.001818Z

otfrom: I heard exactly the reverse regarding Om and Reagent.

agile_geek 2015-07-09T18:00:33.001819Z

korny: clients I’ve talked to over last 2 years wouldn’t even consider Clojure (or even Scala) let alone cljs! Mind same clients think Scrum is cutting edge & Kanban is voodoo..(rooted in manufacturing in 1958 for goodness sake! It’s older than ‘waterfall’!!)

2015-07-09T18:00:42.001820Z

Om punishes you for not knowing what you are doing. That feels diferent than magic

agile_geek 2015-07-09T18:01:57.001821Z

otfrom: problem is I never know what I’m doing…may explain my metaphorical bruises!

2015-07-09T18:05:56.001822Z

there is always that problem 😉

agile_geek 2015-07-09T18:07:45.001823Z

something to be said for ‘fail fast’ though. Kind of why I slightly bias myself to the microservices early side of the ‘microservices vs monolith to start’ argument.

agile_geek 2015-07-09T18:09:30.001825Z

it drives out interfaces early but if you mess them up and scale to fast (too many dependent consumers) you pay the price.

agile_geek 2015-07-09T18:12:02.001826Z

My favourite architectural trend is log driven distributed systems (i.e. Kafaka) cos it just feels like my message/event driven architectures from 10-15 yrs ago but done right. Always felt SOA via service calls was too tightly coupled for my liking… and gave you potential orchestration issues. Persistent ordered messages, I like the sound of that.

agile_geek 2015-07-09T18:14:09.001827Z

I feel I should stop contributing here as I really don’t have much Clojure/Clojurescript stuff to discuss! 😈

2015-07-09T18:17:35.001828Z

the problem with SOA was the vendors wanted too much intelligence in the infrastructure

2015-07-09T18:17:39.001829Z

kafka is just a dumb log

2015-07-09T18:18:06.001830Z

and it all gets down to a lovely lambda architecture

2015-07-09T18:19:13.001831Z

though I quite like the kappa architecture too http://radar.oreilly.com/2014/07/questioning-the-lambda-architecture.html

agile_geek 2015-07-09T18:28:56.001833Z

Yeah I like Kappa too. It addresses a couple of concerns I had with Lambda.

mccraigmccraig 2015-07-09T19:58:28.001835Z

otfrom pupeno : i've done a load of om, and not very much reagent, but reagent seems very much the simpler based on my limited experience

2015-07-09T19:59:18.001836Z

mccraigmccraig: I find it easier, but not simpler, thus the magic bits. I can see all the moving parts in Om

mccraigmccraig 2015-07-09T20:00:23.001837Z

and om sometimes punishes you long after you know what you are doing quite well, e.g. trying to update props from properties made from patched together bits of the cursor tree

mccraigmccraig 2015-07-09T20:03:03.001838Z

hmm. well, i'm about to start a new project in reagent, so i guess i'll find out

mccraigmccraig 2015-07-09T20:04:15.001839Z

otfrom: which moving parts can't you see in reagent ? or do you just mean that all your data is in the cursor, so trivially findable ?

agile_geek 2015-07-09T20:05:31.001840Z

mccraigmccraig: keep us posted on how you find it. Without experiencing either Om or Reagent other than tutorials I’d be interested in ‘experience reports'

mccraigmccraig 2015-07-09T20:06:09.001841Z

@agile_geek: i promise to whinge loudest here 😉

agile_geek 2015-07-09T20:06:39.001842Z

😁

2015-07-09T20:20:35.001845Z

mccraigmccraig: maybe I've not done enough reagent yet. Just felt like the only way to make the component was to put it in [] and I didn't see how to control it

mccraigmccraig 2015-07-09T20:22:35.001846Z

otfrom: me either really, but i will be finding out