Re: [ANN] clj-webdriver: Clojure API for Selenium-WebDriver

2012-02-19 Thread eniotna
Hi,

Nice!
Now we can say, browser is data!

Antoine

2012/2/19 semperos daniel.l.grego...@gmail.com

 Though this library has been in development for several months, I'd like
 to publicly announce the availability of clj-webdriver, a Clojure library
 for using web browsers from Clojure for the purposes of automated web
 testing (leveraging Selenium-WebDriver under the hood).

 I've released a brief screencast introducing clj-webdriver:
 http://blip.tv/semperos/introduction-to-clj-webdriver-taxi-api-5967872

 The current version is [clj-webdriver 0.6.0-alpha2]. The project is hosted
 on Github https://github.com/semperos/clj-webdriver with an extensive
 wiki https://github.com/semperos/clj-webdriver/wiki. Feedback welcome
 and pull requests encouraged!

 -Daniel

 --
 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

-- 
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-jack-in error

2012-02-19 Thread László Török
Hi,

I'm using the unstable version of Aquamacs that is based on Emacs 24. I
never had any issues, maybe try getting the latest development version.

Laszlo

sent from my mobile device

On Feb 19, 2012 6:14 AM, Phil Hagelberg p...@hagelb.org wrote:

 Base basselh...@gmail.com writes:

  So I have been *attempting* to make the switch to emacs and am running
  into some issues with clojure-jack-in in Aquamacs.

 It's pretty common to run into issues when using forks like Aquamacs or
 XEmacs. Only GNU Emacs is supported.

 It could be a path issue. You should get more details upon failure than
 just the exit code; at least that's how it works on GNU Emacs.

 -Phil

 --
 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

-- 
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 online university

2012-02-19 Thread Peter Hanak
Sean thanks for pointing me to Amit Rathore's course. I really like
his book and am looking forward to learn from him.

I am glad that you guys think Clojure Uni is good idea. I think that
best approach will be to start with Khan Academy. It is free and it
seems easy to create new exercises. It might catch on.

On Feb 18, 9:08 am, diepeglo diepe...@googlemail.com wrote:
 +1.

 To get an impression how this could look like check the upcoming Stanford,
 MIT and udacity classes:

 www.class-central.orgwww.udacity.com

 and of course not to forget the legendary ai-class.com (Sebastian Thrun's
 follow-up robotics class is at udacity.com and starts on Monday!!)

 - Dietmar

-- 
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: `extends?`, `class` and `type` on ClojureScript

2012-02-19 Thread Shantanu Kumar
  I noticed that `extends?`, `class` and `type` are not implemented on
  ClojureScript (yet) – will they eventually be implemented? Is there a
  way beside these to determine if a reified object implements a certain
  protocol?

  Shantanu

 class is a Java-ism, probably doesn't make sense. There's a branch with
 type defined in it waiting on more feedback. extends? would probably need
 to be a macro.

Is there a JIRA ticket on this I can track? (Searching didn't get any
results.) Also, is there any page on the Wiki to track this?

Shantanu

-- 
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: `extends?`, `class` and `type` on ClojureScript

2012-02-19 Thread Dave Ray
Is satisfies? sufficient for your needs? It seems to be implemented in
ClojureScript and is, I think, the official way to check whether and
object implements a protocol.

Dave

On Sun, Feb 19, 2012 at 9:26 AM, Shantanu Kumar
kumar.shant...@gmail.com wrote:
  I noticed that `extends?`, `class` and `type` are not implemented on
  ClojureScript (yet) – will they eventually be implemented? Is there a
  way beside these to determine if a reified object implements a certain
  protocol?

  Shantanu

 class is a Java-ism, probably doesn't make sense. There's a branch with
 type defined in it waiting on more feedback. extends? would probably need
 to be a macro.

 Is there a JIRA ticket on this I can track? (Searching didn't get any
 results.) Also, is there any page on the Wiki to track this?

 Shantanu

 --
 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

-- 
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: `extends?`, `class` and `type` on ClojureScript

2012-02-19 Thread Shantanu Kumar


On Feb 19, 7:36 pm, Dave Ray dave...@gmail.com wrote:
 Is satisfies? sufficient for your needs? It seems to be implemented in
 ClojureScript and is, I think, the official way to check whether and
 object implements a protocol.

It is and it works for both Clojure and CLJS. Thank you!

Shantanu

-- 
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-jack-in error

2012-02-19 Thread Moritz Ulrich
On Sun, Feb 19, 2012 at 03:49, Base basselh...@gmail.com wrote:
 cd /Users/bhajj/Documents/workspace/music/  lein jack-in 55284:

Try running this command in a normal shell and check if it works. This
looks more like a lein jack-in than an Emacs problem

-- 
Moritz Ulrich

-- 
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-jack-in error

2012-02-19 Thread Sean Corfield
On Sun, Feb 19, 2012 at 11:21 AM, Moritz Ulrich
ulrich.mor...@googlemail.com wrote:
 On Sun, Feb 19, 2012 at 03:49, Base basselh...@gmail.com wrote:
 cd /Users/bhajj/Documents/workspace/music/  lein jack-in 55284:
 Try running this command in a normal shell and check if it works. This
 looks more like a lein jack-in than an Emacs problem

FWIW, a problem I ran into with an earlier version of clojure-mode (or
perhaps swank-clojure) was that if Leiningen produced a lot of output
(e.g., from drawing down dependencies), jack-in failed with a similar
uninformative error - hence my suggestion to check all the versions...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

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

-- 
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


Workflow and development tools for ClojureScript One

2012-02-19 Thread Krukow
I was wondering what a good workflow for working with ClojureScript
One would be.

For regular Clojure, I use Emacs with swank-clojure (using Sam's Live
coding emacs, which is great for Emacs beginners,
https://github.com/overtone/live-coding-emacs). That works quite well
for me, giving a good interactive experience and flow.

For ClojureScript One, I tried the Emacs setup

https://github.com/brentonashworth/one/wiki/Emacs

but it is not working well for me, as described here:

https://groups.google.com/group/clojure/browse_frm/thread/43ad3661aa3292d0/73a2f29776d70694
https://github.com/brentonashworth/one/issues/116

Since this issue makes development impractical, some of you *must* be
using a better setup for Emacs and ClojureScript One. I wonder what
that is... :)

Ideally, I want *one* (no pun intended) Emacs instance with two REPLs
(clj, cljs) giving a swank-clojure like experience, preferably in both
repls.

Is anyone there?

Thanks,
- Karl

-- 
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: [ANN] clj-webdriver: Clojure API for Selenium-WebDriver

2012-02-19 Thread semperos
I wouldn't go that far :-) It's more like, browser is gross mutable Java 
object hidden beneath layers of Clojure goodness.

-Daniel

-- 
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: ClojureScript One in Eclipse

2012-02-19 Thread turcio
Actually, has anybody succeeded to run ClojureScript One from Eclipse?

Daniel


On Feb 17, 12:14 pm, turcio tur...@gmail.com wrote:
 Hi,
 I'm trying to run ClojureScript One using CCW plugin in Eclipse. I
 created a new project and imported all the source code into it. Then I
 added folders to the build path that reflect the following
 configuration from project.clj:

 :git-dependencies [[https://github.com/clojure/clojurescript.git;
 886d8dc81812962d30a741d6d05ce9d90975160f]
                      [https://github.com/levand/domina.git;
 8933b2d12c44832c9bfaecf457a1bc5db251a774]]
   :extra-classpath-dirs [.lein-git-deps/clojurescript/src/clj
                          .lein-git-deps/clojurescript/src/cljs
                          .lein-git-deps/domina/src/cljs
                          src/app/cljs
                          src/app/cljs-macros
                          src/lib/clj
                          src/lib/cljs
                          templates]

 I also executed lein bootstrap and added libraries to the build path
 in Eclipse.

 Now I'm running the app by right clicking on project folder, then Run
 as-Clojure application. In repl I execute: (in-ns 'one.sample.repl)
 (dev-server)). The browser shows up the homepage, but when I click on
 Development tab the exception listed below occurs. Some files
 ClojureScript fiiles are generated but not all. Also empty out
 directory is created in the root folder.

 Any ideas?

 Thanks,
 Daniel

 *** 
 *

 2012-02-17 12:06:17.393:WARN::/development
 java.lang.AssertionError: Assert failed: Can't recur here|frame
         at cljs.compiler$fn__877.invoke(compiler.clj:762)
         at clojure.lang.MultiFn.invoke(MultiFn.java:177)
         at cljs.compiler$analyze_seq.invoke(compiler.clj:1033)
         at cljs.compiler$analyze.invoke(compiler.clj:1086)
         at cljs.compiler$analyze.invoke(compiler.clj:1079)
         at cljs.compiler$fn__801.invoke(compiler.clj:606)
         at clojure.lang.MultiFn.invoke(MultiFn.java:177)
         at cljs.compiler$analyze_seq.invoke(compiler.clj:1033)
         at cljs.compiler$analyze.invoke(compiler.clj:1086)
         at cljs.compiler$analyze.invoke(compiler.clj:1079)
         at cljs.compiler$parse_invoke$fn__1014.invoke(compiler.clj:979)
         at clojure.core$map$fn__3811.invoke(core.clj:2432)
         at clojure.lang.LazySeq.sval(LazySeq.java:42)
         at clojure.lang.LazySeq.seq(LazySeq.java:60)
         at clojure.lang.Cons.next(Cons.java:39)
         at clojure.lang.PersistentVector.create(PersistentVector.java:50)
         at
 clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:
 31)
         at clojure.core$vec.invoke(core.clj:345)
         at cljs.compiler$parse_invoke.invoke(compiler.clj:979)
         at cljs.compiler$analyze_seq.invoke(compiler.clj:1034)
         at cljs.compiler$analyze.invoke(compiler.clj:1086)
         at cljs.compiler$analyze.invoke(compiler.clj:1079)
         at cljs.compiler$fn__801.invoke(compiler.clj:607)
         at clojure.lang.MultiFn.invoke(MultiFn.java:177)
         at cljs.compiler$analyze_seq.invoke(compiler.clj:1033)
         at cljs.compiler$analyze.invoke(compiler.clj:1086)
         at cljs.compiler$analyze.invoke(compiler.clj:1079)
         at cljs.compiler$parse_invoke$fn__1014.invoke(compiler.clj:979)
         at clojure.core$map$fn__3811.invoke(core.clj:2432)
         at clojure.lang.LazySeq.sval(LazySeq.java:42)
         at clojure.lang.LazySeq.seq(LazySeq.java:60)
         at clojure.lang.RT.seq(RT.java:466)
         at
 clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:
 31)
         at clojure.core$vec.invoke(core.clj:345)
         at cljs.compiler$parse_invoke.invoke(compiler.clj:979)
         at cljs.compiler$analyze_seq.invoke(compiler.clj:1034)
         at cljs.compiler$analyze.invoke(compiler.clj:1086)
         at cljs.compiler$analyze.invoke(compiler.clj:1079)
         at cljs.compiler$parse_invoke$fn__1014.invoke(compiler.clj:979)
         at clojure.core$map$fn__3811.invoke(core.clj:2432)
         at clojure.lang.LazySeq.sval(LazySeq.java:42)
         at clojure.lang.LazySeq.seq(LazySeq.java:60)
         at clojure.lang.Cons.next(Cons.java:39)
         at clojure.lang.PersistentVector.create(PersistentVector.java:50)
         at
 clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:
 31)
         at clojure.core$vec.invoke(core.clj:345)
         at cljs.compiler$parse_invoke.invoke(compiler.clj:979)
         at cljs.compiler$analyze_seq.invoke(compiler.clj:1034)
         at cljs.compiler$analyze.invoke(compiler.clj:1086)
         at cljs.compiler$analyze.invoke(compiler.clj:1079)
         at cljs.compiler$analyze_file.invoke(compiler.clj:1105)
         at cljs.compiler$compile_file_STAR_.invoke(compiler.clj:1136)
         at cljs.compiler$compile_file.invoke(compiler.clj:1184)
         

Re: Re: Clojure online university

2012-02-19 Thread labwork07
P2PU.org is a great format to teach a class. I took a Javascript class  
there. I wish someone would teach a class on clojure there.


On , Peter Hanak ptr6...@gmail.com wrote:

Sean thanks for pointing me to Amit Rathore's course. I really like



his book and am looking forward to learn from him.





I am glad that you guys think Clojure Uni is good idea. I think that



best approach will be to start with Khan Academy. It is free and it



seems easy to create new exercises. It might catch on.





On Feb 18, 9:08 am, diepeglo diepe...@googlemail.com wrote:



 +1.






 To get an impression how this could look like check the upcoming  
Stanford,



 MIT and udacity classes:







 www.class-central.orgwww.udacity.com






 and of course not to forget the legendary ai-class.com (Sebastian  
Thrun's



 follow-up robotics class is at udacity.com and starts on Monday!!)







 - Dietmar





--



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


--
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