ldnclj

Find us on #clojure-uk
agile_geek 2015-09-09T06:16:10.000134Z

Morning.

agile_geek 2015-09-09T06:18:18.000135Z

@jonpither: @malcolmsparks nice talks last night. I always enjoy talks that don’t assume months of previous knowledge or a higher degree in CS! Particularly enjoyed the impromptu Emacs education moment from Bodil.

agile_geek 2015-09-09T06:36:51.000136Z

@otfrom: @mccraigmccraig I’d be interested in why re-frame too. I struggled to get to grips with Om and I’m finding it easier to understand reagent (haven’t looked at re-frame on top yet other than @malcolmsparks talk last night). Pro’s and Cons Om/Reagent/Re-frame ?

jonpither 2015-09-09T07:40:11.000137Z

I think with Om, on the plus side, there's some value in staying with the official, mainstream incumbent. After the JS land of frameworks coming and going, it can be a good option to stay out of the churn-lane.

jonpither 2015-09-09T07:41:30.000138Z

That said, if Reframe takes center stage and simply takes over as the prominent choice, then all the better. Kind of interested to see about Om Next though before we can declare Om is outdated.

jonpither 2015-09-09T07:41:59.000139Z

morning btw :simple_smile:

jonpither 2015-09-09T07:45:18.000140Z

I forgot to show last night that in fuzz there's a demo of Server Sent Events, from the REPL you can send a msg to ClojureScript, that gets sent on to Slack

benedek 2015-09-09T07:58:11.000141Z

re quiescent as i am a noob to this reactive stuff i rather quote magnars: > it's got a nice data-centric API. Feels very functional and clojure-like, unlike Om. […] has such a great approach to component local state.

benedek 2015-09-09T07:59:11.000142Z

but feels like almost too many choices so I guess @jonpither has a point too

benedek 2015-09-09T08:09:48.000143Z

@agile_geek: @jonpither piece of elisp i use for toggling font size

(defun toggle-font-height ()
  (interactive)
  (let ((font-height (face-attribute 'default :height)))
    (if (= 130 font-height)
          (set-face-attribute 'default nil :height 180)
      (set-face-attribute 'default nil :height 130))))

jonpither 2015-09-09T08:13:07.000144Z

I usually do this: (set-face-attribute 'default nil :height 150)

jonpither 2015-09-09T08:13:25.000145Z

but I thought I'd see @bodil's way

benedek 2015-09-09T08:15:35.000146Z

yeah she changed the font itself, right?

mccraigmccraig 2015-09-09T08:17:33.000147Z

the thing i like about re-frame is it's simplicity... both in it's implementation and use. the impl is tiny, and in use it's obvious where to put everything... it's easy and fun and i've spent time building function rather than figuring out how the framework works, or rsther, doesn't. that said, i agree with @jonpither that it might be premature to announce the demise of om before seeing om/next

agile_geek 2015-09-09T08:24:30.000149Z

@benedek: Thanks for that. Adding it to my init.el today. 😁

benedek 2015-09-09T08:24:56.000150Z

@agile_geek: no worries :simple_smile:

jamiei 2015-09-09T08:27:25.000151Z

:simple_smile:

pupeno 2015-09-09T09:35:47.000152Z

Good morning.

broquaint 2015-09-09T09:56:22.000153Z

Would text-scale-adjust also be appropriate for that sort of font twiddling?

mccraigmccraig 2015-09-09T09:56:30.000154Z

mrnng

2015-09-09T10:09:01.000155Z

mmbmbmmfmmfm zzzzz....

thomas 2015-09-09T10:17:47.000156Z

good moaning

agile_geek 2015-09-09T10:48:56.000157Z

@otfrom is that a “I’m half asleep Good Morning” or did you fall asleep on your keyboard….again?

2015-09-09T11:07:00.000158Z

yes

jamiei 2015-09-09T11:17:02.000161Z

@oliy: :simple_smile:

2015-09-09T11:21:21.000162Z

woop :simple_smile:

2015-09-09T11:21:48.000163Z

it's running on a free dyno on heroku so sometimes it's asleep and it'll take about 30 seconds to wake up

2015-09-09T11:59:41.000164Z

always fun when people reply to the lndclj jobs list and they think it is only going to go to the author...

jonpither 2015-09-09T12:06:32.000166Z

hmm, not the meme I was after

2015-09-09T12:09:26.000168Z

\o/

2015-09-09T12:09:49.000169Z

I emailed him and asked him if he wanted me to reject the post. He said yes, so I did.

thomas 2015-09-09T12:14:50.000170Z

reminds me of when one time we got an email regarding an office move.... and someone hit reply all saying "I don't want to sit next to XXXX".... oops

jonpither 2015-09-09T12:29:06.000171Z

haha

pupeno 2015-09-09T12:29:11.000172Z

@agile_geek: answering your question about the object pool, this is what I’m using for the javascript engines: https://github.com/ztellman/dirigiste

jonpither 2015-09-09T12:44:42.000174Z

@otfrom: So.. Oct SkillsMatter talk

jonpither 2015-09-09T12:44:52.000175Z

I have a volunteer willing to give a talk

jonpither 2015-09-09T12:44:54.000176Z

Who's organising?

afhammad 2015-09-09T12:54:05.000177Z

@agile_geek, @jonpither: to touch on the re-frame vs Om topic, i’ve been working with Om and have had to come up with an architecture around it for larger apps to basically keep a separation of concerns and modularity, and that just happened to be a pub/sub event driven setup using core.async, after looking at re-frame i found it to be a very similar architecture, yet more elegant which I partially attribute to not having to deal with passing cursors and the verbosity of ref-cursors around (usually through the shared state Om provides). I plan on trying out re-frame by porting my app to it to see if it actually solves those pain points and/or introduces its own.

afhammad 2015-09-09T12:54:27.000178Z

p.s good talk yesterday.

jonpither 2015-09-09T12:54:32.000179Z

Thanks

jonpither 2015-09-09T12:54:47.000180Z

I've also done a core-async pub/sub thing to surround Om!

jonpither 2015-09-09T12:55:27.000181Z

Adds soo much flexibility, without having everything go through the single app state

afhammad 2015-09-09T12:57:22.000182Z

nice, would love to compare notes on that some time

jonpither 2015-09-09T13:00:24.000183Z

defo

pupeno 2015-09-09T13:35:14.000184Z

First draft of the blog post that describes my technique for isomorphic clojurescript done. It’s 3620 words, probably the longest I written in quite a while :simple_smile:

pupeno 2015-09-09T13:35:37.000185Z

Now I need lunch.

afhammad 2015-09-09T13:42:24.000186Z

@pupeno: i don’t know if thats good or bad! looking forward to the read though

agile_geek 2015-09-09T13:56:45.000187Z

@pupeno: You’ve obviously written about another 1600 words since I talked to you last night! One for the three hour train journey home on Friday I think 😄

pupeno 2015-09-09T14:01:35.000188Z

@agile_geek: I did. @afhammad: me neither, but it was a lot of research which I’m trying to explain.

pupeno 2015-09-09T14:02:22.000189Z

To be fair, there’s quite a bit of code.

2015-09-09T14:53:55.000190Z

I think we can say I officially no longer control #C0522EZ9N https://www.eventbrite.co.uk/e/september-canary-wharf-clojurians-monthly-dojo-tickets-18093404861

thomas 2015-09-09T16:05:38.000193Z

@quentin: :simple_smile:

agile_geek 2015-09-09T18:10:19.000194Z

@otfrom: Well Dr Frankenstein? How does it feel to have created a monster?