Clojurescript, sencha, animations

2012-04-14 Thread Marius Seritan
I am looking into integrating clojurescript with sencha toolkit for a 
complex web app. The app is consumer facing so it needs to be fast and 
animation rich. I would love to talk to people who have interests/expertise 
in this area. We can talk about mutating your financial state, if 
apropriate :)

Marius
lov2...@gmail.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Question on clojurescript symbols <-> strings

2012-04-13 Thread Marius Seritan
I am not sure if this is the right forum. I am playing with domina and 
domina-events and I cannot register and event because of some problem with 
symbols. By the time my symbols make it into goog.events the event is 
"ï· 'keyup" instead of "keyup". 

I am trying to figure this out. In my browser I have a breakpoint and I am 
running these functions to translate from symbols to strings:

cljs.core.symbol.call(0,"ha")
-> "ï·‘'ha"

But then when I try the reverse translation I get:
cljs.core.name.call(0,"ï·‘'ha")
-> "ï·‘'ha"

Does this ring a bell? Thanks!

Marius

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

ClassCastException with contrib replace-first-str

2011-08-12 Thread Marius
Hi,

I found a small bug in Clojure Contrib 1.2.0.

To reproduce:
(require '[clojure.contrib.string :as s])
(s/replace-str "a" "b" "aa")
; "bb" as expected

(s/replace-first-str "a" "b" "aa")
; java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.regex.Pattern

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojure-clr - getting started on Windows WPF

2011-04-14 Thread Marius Kjeldahl

FWIW, I did a small writeup of my first encounter with clojure-clr at:

http://kjeldahl.net/d7/clojure-clr-first-encounter

Thanks,

Marius K.

On 04/14/2011 09:04 AM, Marius Kjeldahl wrote:

On 04/14/2011 05:52 AM, dmiller wrote:
 > Reloading will definitely cause a problem.
 > ...
 > I don't know why you'd need the app atom since you can just use
 > Application/Current. Similarly, you could check Application/Current
 > before doing (Application.)

In theory, that all sounds easy, but I haven't managed to pull it off.
That may very well be due to the challenge of juggling threads and
dispatchers, and other .Net specific abstractions I've only scratched
the surface off yet.

I replaced the app atom with code that creates an instance of
Application only when needed (reusing Application/Current instead when
not needed), but it still does not work. Maybe there's stuff I need to
do to the threads and dispatchers as well.

Thanks anyway,

Marius K.



--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: clojure-clr - getting started on Windows WPF

2011-04-14 Thread Marius Kjeldahl

On 04/14/2011 05:52 AM, dmiller wrote:
> Reloading will definitely cause a problem.
> ...
> I don't know why you'd need the app atom since you can just use
> Application/Current.  Similarly, you could check Application/Current
> before doing (Application.)

In theory, that all sounds easy, but I haven't managed to pull it off. 
That may very well be due to the challenge of juggling threads and 
dispatchers, and other .Net specific abstractions I've only scratched 
the surface off yet.


I replaced the app atom with code that creates an instance of 
Application only when needed (reusing Application/Current instead when 
not needed), but it still does not work. Maybe there's stuff I need to 
do to the threads and dispatchers as well.


Thanks anyway,

Marius K.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en