[ClojureScript] Slimerjs for client testing on OSX

2015-04-14 Thread Jonathon McKitrick
I used `brew install slimerjs` to install, and I have my env set up pointing to 
Firefox.  I replaced phantomjs with slimerjs in my project file, and got 
this error when running client tests:

Compiling ClojureScript.
Compiling ClojureScript.
Running ClojureScript test: client-test
Error during the script execution
[Exception] Error: Permission denied to access property CoffeeScript  
filename:coffee-scripts.js  line:8

Stack trace:
0:@coffee-scripts.js:8:177012
@coffee-scripts.js:8:2


Any suggestions?

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta1 released

2015-04-14 Thread Geraldo Lopes de Souza
Hi, 


 Fancy printing is not working.

Geraldo 

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta1 released

2015-04-14 Thread Geraldo Lopes de Souza
Thank you ! We live inside our heads but we expend much time inside repl. 
This is very much appreciated!

Geraldo

On Tuesday, April 14, 2015 at 2:56:44 PM UTC-3, Alex Miller wrote:

 Well, we never added fancy printing, just data printing of Throwables. 
 :)  

 But we were working on this in the context of another thing that got moved 
 out and I have pulled that back as a separate ticket:
 http://dev.clojure.org/jira/browse/CLJ-1703

 Haven't talked to Rich about it yet, but we'll discuss for 1.7.


 On Tuesday, April 14, 2015 at 6:06:49 AM UTC-5, Geraldo Lopes de Souza 
 wrote:

 Hi, 


 Fancy printing is not working.

 Geraldo 



-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Clojure 1.7.0-beta1 released

2015-04-14 Thread Alex Miller
Well, we never added fancy printing, just data printing of Throwables. :) 
 

But we were working on this in the context of another thing that got moved 
out and I have pulled that back as a separate ticket:
http://dev.clojure.org/jira/browse/CLJ-1703

Haven't talked to Rich about it yet, but we'll discuss for 1.7.


On Tuesday, April 14, 2015 at 6:06:49 AM UTC-5, Geraldo Lopes de Souza 
wrote:

 Hi, 


 Fancy printing is not working.

 Geraldo 


-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: [ANN] Clojure 1.7.0-beta1 released

2015-04-14 Thread Sean Corfield
On Apr 14, 2015, at 11:04 AM, Geraldo Lopes de Souza geraldo...@gmail.com 
wrote:
 Thank you ! We live inside our heads but we expend much time inside repl.

FWIW, I find `pst` more useful there:

user= (/ 1 0)

ArithmeticException Divide by zero  clojure.lang.Numbers.divide 
(Numbers.java:158)
user= (pst *e)
ArithmeticException Divide by zero
clojure.lang.Numbers.divide (Numbers.java:158)
clojure.lang.Numbers.divide (Numbers.java:3808)
user/eval2139 (form-init4472220885813557314.clj:1)
clojure.lang.Compiler.eval (Compiler.java:6792)
clojure.lang.Compiler.eval (Compiler.java:6755)
clojure.core/eval (core.clj:3079)
clojure.main/repl/read-eval-print--7057/fn--7060 (main.clj:240)
clojure.main/repl/read-eval-print--7057 (main.clj:240)
clojure.main/repl/fn--7066 (main.clj:258)
clojure.main/repl (main.clj:258)
clojure.tools.nrepl.middleware.interruptible-eval/evaluate/fn--876 
(interruptible_eval.clj:53)
clojure.core/apply (core.clj:628)
nil
user= 

Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)



-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: freactive vs rum

2015-04-14 Thread Alan Moore
I tried them both and they are equally viable for most projects. In my case I 
was looking for the thinnest possible wrapper to React - and I don't use *any* 
of the ratom or other state tracking features so my use requirements are a bit 
out of the mainstream. I just needed a view layer.

I ended up with Rum for this reason but it was very much a toss up. I found I 
could understand the code base slightly better and liked the simplicity of the 
mixin support. I also found an example of integrating Datascript with Rum (same 
author) that was helpful because I had to integrate a similar data engine.

Freactive might be a better choice if you have a lot of animations - I seem to 
remember that it has explicit support for it... TBD. Let us know how you get on 
with whatever you choose.

Good luck.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: freactive vs rum

2015-04-14 Thread Kurt Sys
Any reason why you wanted to have a wrapper to React? freactive doesn't seem to 
be a wrapper, although functionality might be similar.

Anyway, thx - I'm thinking of using them both for a real (but small) for-fun 
project. Might be the only way find out :). I'll keep in touch.


Op dinsdag 14 april 2015 17:24:42 UTC+2 schreef Alan Moore:
 I tried them both and they are equally viable for most projects. In my case I 
 was looking for the thinnest possible wrapper to React - and I don't use 
 *any* of the ratom or other state tracking features so my use requirements 
 are a bit out of the mainstream. I just needed a view layer.
 
 I ended up with Rum for this reason but it was very much a toss up. I found I 
 could understand the code base slightly better and liked the simplicity of 
 the mixin support. I also found an example of integrating Datascript with Rum 
 (same author) that was helpful because I had to integrate a similar data 
 engine.
 
 Freactive might be a better choice if you have a lot of animations - I seem 
 to remember that it has explicit support for it... TBD. Let us know how you 
 get on with whatever you choose.
 
 Good luck.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Startups than bank on Clojure/Script

2015-04-14 Thread Marc Fawzi
Hey everyone,

Would you say that Clojure/Script, owing to its relative obscurity and great 
design, can be a talent retention tool for startups? 

I feel more motivated to go to work every day and more stickiness with my 
employer as a direct consequence of working with ClojureScript and Reagent.

Do you think this is a general phenomenon?

If so, what can we do to educate the VC community as to the advantages of 
funding startups that use Clojure/Script? Could this ever fly? 

Or is it a situation where most of the world outside this mailing list (and a 
few other ones) views ClojureScript as a science experiment?

Just very curious. If the consensus on this is positive im sure a few of us 
determined souls would be inclined to *help* educate the VCs and startups thru 
a potentially crowd funded direct education campaign... Or community good will.


Sent from my iPhone

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Possible error in src/clj/cljs/repl/browser.clj

2015-04-14 Thread J David Eisenberg
I get 404 errors when I put an img src=blah.jpg alt=/ in my index.html 
file and load the file from localhost:9000, using the brepl script in the mies 
template.

I think the problem is in file src/clj/cljs/repl/browser.clj, the code starting 
server/dispatch-on; it lacks options for paths ending in .jpg and .png

I was also looking for the bug and saw that .html is listed twice in the condp 
of function send-static.

If this is indeed the problem, could you please add .svg with MIME type 
image/svg+xml when you fix it?

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] freactive vs rum

2015-04-14 Thread Kurt Sys
Of the many clojurescript libraries/frameworks out there, both rum and 
freactive appeal to me the most. I tested them both only very briefly so far. 
Both have a target of 'the summer' to have some kind of stable 1.x release (if 
I'm not mistaken).

I'm wondering, is there anyone who used both of them for real applications? 
What would be considered strength/weaknesses of both? (And well, now I've used 
the words, opportunities and thread :p?) A very opinionated question, it is, 
but still, any thoughts, ideas or peferably experiences are valuable (at least, 
to me).

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
ClojureScript group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.