Fork me on GitHub
#ldnclj
<
2015-09-09
>
agile_geek06:09:18

@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_geek06:09:51

@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 ?

jonpither07:09:11

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.

jonpither07:09:30

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.

jonpither07:09:59

morning btw simple_smile

jonpither07:09:18

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

benedek07:09:11

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.

benedek07:09:11

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

benedek08:09:48

@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))))

jonpither08:09:07

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

jonpither08:09:25

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

benedek08:09:35

yeah she changed the font itself, right?

mccraigmccraig08:09:33

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_geek08:09:30

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

broquaint09:09:22

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

otfrom10:09:01

mmbmbmmfmmfm zzzzz....

thomas10:09:47

good moaning

agile_geek10:09:56

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

oliy11:09:48

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

otfrom11:09:41

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

jonpither12:09:32

hmm, not the meme I was after

otfrom12:09:49

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

thomas12:09:50

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

Pablo Fernandez12:09:11

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

jonpither12:09:42

@otfrom: So.. Oct SkillsMatter talk

jonpither12:09:52

I have a volunteer willing to give a talk

jonpither12:09:54

Who's organising?

afhammad12:09:05

@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.

afhammad12:09:27

p.s good talk yesterday.

jonpither12:09:47

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

jonpither12:09:27

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

afhammad12:09:22

nice, would love to compare notes on that some time

Pablo Fernandez13:09:14

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

Pablo Fernandez13:09:37

Now I need lunch.

afhammad13:09:24

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

agile_geek13:09:45

@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 😄

Pablo Fernandez14:09:35

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

Pablo Fernandez14:09:22

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

agile_geek18:09:19

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