Fork me on GitHub

morning 😼 mogge


@seancorfield We did 7-in-7 a few years ago at work in a reading group and that was quite useful, even though I only managed to do the Clojure exercises. Maybe I should pick it up again some.


Morning friends




That cup of coffee barely touched the sides


And now I'm on a train into londontown


oh nice where from?


Have a feeling it's going to be a taxing day 😂


From Horsham (West Sussex)


Only into Clapham Junction fortunately 🙂 No underground or transfers required


What takes you to delightful London @yogidevbear ?


Day in the "office"


(read "The pub")


we're a group of nomad devs


Oh, Sean, have you seen The Leftovers?


We just finished season 2 last night. Really enjoyed it.


Nope. Might put it on my list. Yeah, 1:30am here. Been working on reducible queries for tonight. Hard to find the right solution that works well across Clojure 1.5-1.9!


Good luck. I know you're smart enough to work it out


jonpither: Shouldn’t “We will be able to hire?” => “Will we be able to hire?”


Good spot @U0DPX8ZQB will fix thanks


@jonpither interesting but TBH I can't see many CTO's jumping to take a punt on Clojure when they have FP in the form of Java 8 and Scala. I'm not saying they're right but if I was spending my own money on building a web based product right now I'd probably go for Rails or Node.js as they've just proved themselves to be more productive and less risky.


My cynical conclusion in the enterprise space is that most ppl at 'C' level have no idea what the cost/benefit trade off is for programming languages. They just want a large pool of cheap people to recruit from. And TBH I can see their point when I see them struggling to recruit good people or retain them (even with Clojure) I can see why they would say "I can get Java, Rails or Node.js programmers by the score and if one leaves I can easily replace them". They most often don't take account of the opportunity cost but even if they did my experience of Clojure dev's is that retention is no higher than any other language and they're harder to recruit so why?


why do we even tell them which language we use?


in those scenarios


This equation is completely different in innovative and/or start ups


@glenjamin I'd agree whole heartedly, if you're selling a SaaS platform or product but if it's their IP and they need to maintain it they're going to think as I've outlined above.


someone should, but in an “enterprise” i don’t think it should be C-level


I’m looking forward to the day when more people realise “enterprise” is a synonym for “too big to be any good”


and TBH I'm not sure they do care what the language is but they do ask "How do I recruit, retain and how do I reduce costs"


I think a lot of this 'treat developers as a resource' thinking is why we're seeing large companies/government depts move from Scala back to Java 8 and also why those sticking with Scala are using it almost exclusively with OOP paradigm. It's hard to find good developers regardless of the paradigm and even harder to keep them so why not just get sh*t done with whatever I can get. This means no FP and frameworks to do the heavy lifting and fiscally this makes sense especially when you're rewarded for delivering over 3-6 months and move on so you don't live with the cost. One of my clients boasted that they delivered £220 Million worth of software a fact they delivered £200K of s/w but paid £220M for it...but they were ignorant of value vs cost so they didn't know and were happy to spend that and more.


I think a lot of those large orgs will be a lost cause in terms of a discussion of value which is why when I was CTO of a consultancy I kept trying to get the sales ppl and the MD to go after the medium sized companies where efficiency matters.


As I once heard on a lean start up course "Go after the Deer, not the Elephant or the Mouse"


we can all be thankful that there are many organisations out there consistently delivering £200k of value for their £200m investment - it's the principal reason we aren't all owned by a single globe-spanning corporate oligarchy


Doing what?


swipe gesture support - everything comes down to a couple of small cljs files and there is immediate visual feedback


I remember having a hard time doing that, and being really lazy and not giving immediate feedback :thinking_face: This was for a personal fun thing ofc.


the trick is to use the translate3d css transform to move things around in response to the touch events @dominicm - you get hardware acceleration and avoid expensive re-laying-out


@mccraigmccraig is this some code we'll be able to see?


it's not in an open-sourced lib atm @otfrom, but i'm happy to show some gists if you want... it's only time and laziness which prevent it being open-source


requestAnimationFrame can help too


gists are always good. If you build up too much I'll just ask for a talk. 😉


here you go: first some general touch event handling (and a tap recognizer): then swipe recognition: finally a reagent component which has main content and swipe-revealed-content:


I thought translate3d wasn't the only HA anymore...


oh, dunno - last i read you have translate3d or transparency iirc, but that may have changed