[ANN] Clojure Cup 2013

2013-04-28 Thread Tero Parviainen
I've started putting together Clojure Cup, a global programming competition for Clojure and ClojureScript programmers. The idea is to have a 48-hour hackathon, similar to Rails Rumble and Node.js Knockout. Those events have been great fun, and I'm hoping we can put together something similar

Re: a question for crate and hiccup

2012-11-27 Thread Tero Parviainen
PPK has numbers for this from a few years ago: http://www.quirksmode.org/dom/innerhtml.html A more recent benchmark: http://andrew.hedges.name/experiments/innerhtml/ There used to be a huge difference in favor of strings + innerHTML, but with recent browsers the situation seems to have evened

Re: clojurescript advanced compile error

2011-08-07 Thread Tero Parviainen
So I'm assuming that the problem is in the use of .strobj, and there is some better way to convert the clojure map to a javascript map that outputs symbol style keys rather than string style keys - is there a simple way to do that?  Would that fix the problem? Yeah, outputting symbol style

Re: clojurescript advanced compile error

2011-08-01 Thread Tero Parviainen
This is a known feature with Closure templates: http://code.google.com/p/closure-templates/issues/detail?id=25 The Closure compiler does name replacement on the template parameters, so that after the compilation the argument names are no longer greeting and year. The JS object constructed in