[ClojureScript] Re: Reagent port of the Om tutorial

2014-01-25 Thread Dan Holmsand
Looks great! /dan On Saturday, January 25, 2014 7:50:24 AM UTC+1, Jonas Enlund wrote: Hi As an exercise I ported the Om tutorial to Reagent. It's available at https://github.com/jonase/reagent-tutorial I hope you find it interesting. Jonas -- Note that posts from new members are

[ClojureScript] [ANN] om-start lein template for nrepl compliant editors/IDEs

2014-01-25 Thread Mimmo Cosenza
Hi all, yesterday Laurent Petit asked me how to run on CCW OM and Austin together to have the same live experience obtained by David Nolen in his OM tutorial. This morning I created this simple om-start lein-template (a kind of cljs-start without unit testing stuff) which allows to create a OM

Re: [ClojureScript] ClojureScript Dev Efficiency / Om sites?

2014-01-25 Thread David Nolen
I think Compojure delivers a lot of value, especially when coupled with Clojure unique language features and interactive development style. I'm not aware of any large apps in production that were written in Om, however I designed Om with applications of every scale in mind. On Sat, Jan 25, 2014

Re: [ClojureScript] ClojureScript Dev Efficiency / Om sites?

2014-01-25 Thread Gary Trakhman
I get more productivity out of the other incidental (by design) 'features' or side-benefits of clojure than just macros, which is what Paul is talking about. Like... immutable data means I never have to worry about a class of things going wrong, which speeds debugging. I like what Paul's saying,

Re: [ClojureScript] [ANN] om-start lein template for nrepl compliant editors/IDEs

2014-01-25 Thread Mimmo Cosenza
Thanks Laurent! Has been a pleasure to interact with you! mimmo On Jan 25, 2014, at 5:56 PM, Laurent PETIT laurent.pe...@gmail.com wrote: Thanks a lot Mimmo, you're invaluable in helping people cross bridges between tools, libraries, and a real bright light for newcomers also ! Le

Re: [ClojureScript] Reagent port of the Om tutorial

2014-01-25 Thread Jonas Enlund
On Saturday, January 25, 2014 5:38:14 PM UTC+2, David Nolen wrote: On Sat, Jan 25, 2014 at 3:57 AM, Jonas Enlund jonas@gmail.com wrote: On Saturday, January 25, 2014 9:49:56 AM UTC+2, David Nolen wrote: Nice. I do consider the non-modularity of `update-contacts!` here to be one

Re: [ClojureScript] ClojureScript Dev Efficiency / Om sites?

2014-01-25 Thread Mike Haney
I've been all-in on clojure for about 6 months now, spending every free moment learning and working in it. Paul Graham's writings played a big part in my choice to invest in a lisp, so this is an interesting question. After some reflection, I can say yes, clojure has had a substantial impact

Re: [ClojureScript] Reagent port of the Om tutorial

2014-01-25 Thread David Nolen
On Sat, Jan 25, 2014 at 12:34 PM, Jonas Enlund jonas.enl...@gmail.comwrote: Interesting! I can definitely see how UI components directly manipulating global state can make reuse difficult. I guess this is not really an issue in React as their components have local state (via

Re: [ClojureScript] [ANN] om-start lein template for nrepl compliant editors/IDEs

2014-01-25 Thread Mimmo Cosenza
Thanks David, it could be even better if someone explains to me how to make austin to run in a browser connected REPL with `:none` optimization ;-) mimmo On Jan 25, 2014, at 6:37 PM, David Nolen dnolen.li...@gmail.com wrote: This is great, thank you! On Sat, Jan 25, 2014 at 10:34 AM,

Re: [ClojureScript] [ANN] om-start lein template for nrepl compliant editors/IDEs

2014-01-25 Thread Mimmo Cosenza
Knock, Knock, Chas, are you there? :-) mimmo On Jan 25, 2014, at 7:01 PM, David Nolen dnolen.li...@gmail.com wrote: Sounds like one for Chas :) On Sat, Jan 25, 2014 at 12:57 PM, Mimmo Cosenza mimmo.cose...@gmail.com wrote: Thanks David, it could be even better if someone explains to

Re: [ClojureScript] Reagent port of the Om tutorial

2014-01-25 Thread David Nolen
On Sat, Jan 25, 2014 at 1:55 PM, Dan Holmsand holms...@gmail.com wrote: Well, that depends on your definition of modular, doesn't it :) If I can't include somebody's component and apply time management to it, that's sounds unambiguously non-modular with respect to *time management*. It is

[ClojureScript] Re: ANN: Om 0.3.0

2014-01-25 Thread David Pidcock
I was following along with this and hit an interesting bug The contact list delete button actually works out of the gate in the first example, (when its supposed to fail) and when I add the deref in the next step I get Uncaught Error: No protocol method IDeref.-deref defined for type

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-25 Thread David Nolen
I just now tried `lien new mies-om foo` which created a project that uses 0.3.0. On Sat, Jan 25, 2014 at 2:59 PM, David Pidcock eraz0rh...@gmail.com wrote: Ahh whoops. Forgot the clean step. The lein new project imported 0.2.3 for me. I assume that has been fixed then? -- Note that posts

Re: [ClojureScript] Reagent port of the Om tutorial

2014-01-25 Thread Dan Holmsand
On 25 jan 2014, at 20:50, David Nolen dnolen.li...@gmail.com wrote: On Sat, Jan 25, 2014 at 1:55 PM, Dan Holmsand holms...@gmail.com wrote: Well, that depends on your definition of modular, doesn't it :) If I can't include somebody's component and apply time management to it, that's sounds

Re: [ClojureScript] Reagent port of the Om tutorial

2014-01-25 Thread David Nolen
On Sat, Jan 25, 2014 at 4:24 PM, Dan Holmsand holms...@gmail.com wrote: On 25 jan 2014, at 20:50, David Nolen dnolen.li...@gmail.com wrote: On Sat, Jan 25, 2014 at 1:55 PM, Dan Holmsand holms...@gmail.com wrote: Well, that depends on your definition of modular, doesn't it :) If I can't

[ClojureScript] different behavior between clojurescript and clojure maps?

2014-01-25 Thread Patrick Rodriguez
Hey all, I'm trying to build my clojure/clojurescript skill by porting this Facebook React code into Om: http://facebook.github.io/react/blog/2013/11/05/thinking-in-react.html I trying to manipulate the products data structure functionally, instead of sequentially. (def products

Re: [ClojureScript] different behavior between clojurescript and clojure maps?

2014-01-25 Thread David Nolen
Running this in the Rhino REPL I don't see this, what REPL are you using? On Sat, Jan 25, 2014 at 7:20 PM, Patrick Rodriguez pat...@gmail.com wrote: Hey all, I'm trying to build my clojure/clojurescript skill by porting this Facebook React code into Om:

[ClojureScript] Re: ANN: Om 0.3.0

2014-01-25 Thread Joel
This tutorial was exactly what I needed, and hope to see more in the tutorial as hinted at at the end. I think I'm having a Light Table issue though. There is quite a few places where you mention to try evaluating the functions. However, I think something is messed up with my LightTable

Re: [ClojureScript] different behavior between clojurescript and clojure maps?

2014-01-25 Thread Patrick Rodriguez
I'm using Light Table 0.6.2 On Saturday, January 25, 2014 6:08:33 PM UTC-8, David Nolen wrote: Running this in the Rhino REPL I don't see this, what REPL are you using? On Sat, Jan 25, 2014 at 7:20 PM, Patrick Rodriguez pat...@gmail.com wrote: Hey all, I'm trying to build my

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-25 Thread David Nolen
Nothing wrong here. Light Table shows the result from the browser, that's the source of the function you just evaluated. It's a quirk of ClojureScript that's existed for some time - we might show something else in the future. On Sat, Jan 25, 2014 at 10:17 PM, Joel j...@harpsoft.com wrote: This