ClojureScript multitouch support!

2012-04-15 Thread Jason Hickner
Hello folks, I work on primarily on multitouch installations for clients. Historically these are built in processing, flash, openframeworks, etc., but a simple full-screen browser is becoming a more and more viable platform due to WebGL, WebSockets, and hardware-accelerated performance. Howe

Re: translating underscore.js to clojurescript

2012-04-11 Thread Jason Hickner
Thanks, I'll check it out. - Jason On Wednesday, April 11, 2012 4:42:35 PM UTC-7, David Nolen wrote: > > It might be worth investigating a more functional solution. RxJS looks > like a promising project to steal ideas from. > > David > > On Wed, Apr 11, 2012 at 6:1

Re: Comprehensive ClojureScript Optimizations - Please Try!

2012-04-11 Thread Jason Hickner
10, 2012 3:41:49 PM UTC-7, David Nolen wrote: > > On Tue, Apr 10, 2012 at 6:23 PM, Jason Hickner wrote: > >> Very cool! I'm seeing a size reduction in some code of mine that made >> extensive use of core.match. Maybe from the removal of a lot of CLJS truth >> tests?

translating underscore.js to clojurescript

2012-04-11 Thread Jason Hickner
Hello, I'm working on porting underscore.js to clojurescript (at least the parts that aren't made redundant by clojurescript already). Mostly it's pretty straightforward, but for some of the trickier functions I'm having trouble finding an idiomatic translation. Here's the throttle and bounce

Re: Comprehensive ClojureScript Optimizations - Please Try!

2012-04-10 Thread Jason Hickner
Very cool! I'm seeing a size reduction in some code of mine that made extensive use of core.match. Maybe from the removal of a lot of CLJS truth tests? Do you have the source available to your CLJS spectral norm code? I'd like to see what special techniques (if any) are needed to get hand-coded

Re: :use :only support in ClojureScript now available

2011-09-24 Thread Jason Hickner
Nice! This is great. Will the :only directive always be required, or will we eventually be able to pull in entire namespaces? - Jason On Sep 23, 8:16 am, David Nolen wrote: > A lot people have been clamoring for this. This has been merged into master. > > (:use [foo.bar :only [...]]) > > (:use-m

Figuring out how to integrate clojurescript with other libs

2011-09-04 Thread Jason Hickner
Hello, I really enjoy clojure for back-end work and have been exploring using clojurescript for the front end of an upcoming project. Quickly you run into the issue of integrating external libs. From reading the list and from Rich's cljs rationale, I gather that the best practice is to use google

character encoding issue in compiled .js

2011-08-01 Thread Jason Hickner
I'm seeing non-utf8 characters in my compiled .js even though my .cljs source file is utf8. Here's a very short example demonstrating the issue: https://gist.github.com/1116419 Notice that the colon at the start of :foo is being munged during compilation. This causes errors when the .js is execu