Re: [ANN] Pedestal docs are now open-source
Thanks for everything. Cheers, tony On Sat, Apr 20, 2013 at 6:25 AM, Michael Klishin michael.s.klis...@gmail.com wrote: 2013/4/20 Ryan Neufeld r...@thinkrelevance.com Find more details on making contributions in our contribution guidelines here: https://github.com/pedestal/docs/blob/master/CONTRIBUTING.md Happy Hacking, Ryan @ Relevance Ryan, I'd like to thank everyone at Relevance for making this happen. The we accept minor corrections without CA on file policy is great. -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Antoine R. Dumont happy hacker https://github.com/ardumont https://coderwall.com/ardumont http://twitter.com/ardumont -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Clojure turns 5
Thanks Rich, the community too! Happy birthday Clojure May the repl be with you :D Antoine 2012/10/17 Bruce Durling b...@otfrom.com Thanks Rich and Happy Birthday Clojure! cheers, Bruce On Wed, Oct 17, 2012 at 2:54 AM, Rich Hickey richhic...@gmail.com wrote: I released Clojure 5 years ago today. It's been a terrific ride so far. Thanks to everyone who contributes to making Clojure, and its community, great. Rich -- 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 -- @otfrom | CTO co-founder @MastodonC | mastodonc.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 -- 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 Sticker
Thanks On Jul 29, 2012 3:38 AM, Benjamin Kircher benjamin.kirc...@gmail.com wrote: On Sat, Jul 28, 2012 at 2:05 PM, Rich Hickey richhic...@gmail.com wrote: You can now get official Clojure stickers here: http://clojure.org/swag I'll be adding T-shirts etc soon. Rich On Jul 19, 2012, at 3:13 PM, charlie wrote: Yeah any sort of vector image should work for us On Wed, Jul 18, 2012 at 7:59 PM, Alex Kurilin a...@kurilin.net wrote: +1. A temporary workaround would be getting a .svg that you could turn into stickers yourself, if that's ok with Rich. We did something similar with the vim logo on Reddit. -- 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 -- 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 Awesome. -- 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
[leiningen2] problem with com.intellie/lazytest, swank-clojure and leiningen2
Problem with swank-clojure and lein2 Hello, I got a problem recently that i succeed in solving alone (wouhou!). I think it's kind of interesting to pass along this use case so that other can avoid the trouble. Problem: After migrating to lein2, clojure-jack-in and lein-swank ko. I migrated to lein2 following the migrating guide - https://github.com/technomancy/leiningen/wiki/Upgrading. I obtained the ~/.lein/profiles.clj {:user {:plugins [[lein-swank 1.4.4] [lein-cljs 0.2.2] [lein-difftest 1.3.7] [lein-marginalia 0.7.0] [lein-pprint 1.1.1] [lein-midje 2.0.0-SNAPSHOT] [lein-noir 1.2.1] [com.intelie/lazytest 1.0.0-SNAPSHOT] [org.cloudhoist/pallet-lein 0.4.1]] :search-page-size 30}} I then started my emacs and got an error. I do not care much about the jack-in error in emacs as this is often related to a lein problem (due to env problem). So i try immediately to lein swank. $ lein swank The eval-in-project function has moved to the leiningen.core.eval namespace; please update your plugin to use that instead. Note that `init' is now the third argument instead of the fifth. This function will be removed for the final 2.0.0 release. Exception in thread main java.io.FileNotFoundException: Could not locate swank/swank__init.class or swank/swank.clj on classpath: at clojure.lang.RT.load(RT.java:432) at clojure.lang.RT.load(RT.java:400) at clojure.core$load$fn__4890.invoke(core.clj:5415) at clojure.core$load.doInvoke(core.clj:5414) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invoke(core.clj:5227) at clojure.core$load_lib.doInvoke(core.clj:5264) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invoke(core.clj:603) at clojure.core$load_libs.doInvoke(core.clj:5298) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:603) at clojure.core$require.doInvoke(core.clj:5381) at clojure.lang.RestFn.invoke(RestFn.java:408) at user$eval27.invoke(NO_SOURCE_FILE:1) at clojure.lang.Compiler.eval(Compiler.java:6511) at clojure.lang.Compiler.eval(Compiler.java:6500) at clojure.lang.Compiler.eval(Compiler.java:6501) at clojure.lang.Compiler.eval(Compiler.java:6477) at clojure.core$eval.invoke(core.clj:2797) at clojure.main$eval_opt.invoke(main.clj:297) at clojure.main$initialize.invoke(main.clj:316) at clojure.main$null_opt.invoke(main.clj:349) at clojure.main$main.doInvoke(main.clj:427) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:419) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37) I do not get the error as i have the latest swank-1.4.4 (from the profile.clj file). After cleaning up the current project (lein clean) I decide to remove all the swank-clojure*.jar files in my ~/.m2/repository/swank-clojure. This way, the next time, the dependencies are resolved, i will be able to see them. So here we go, lein deps tony@dagobah(1.33,) 21:02:44 (1) ~/repositories/perso/hmdb (hmdb) $ rm -r /home/tony/.m2/repository/swank-clojure/ tony@dagobah(0.98,) 21:05:57 ~/repositories/perso/hmdb (hmdb) $ lein swank Could not find artifact swank-clojure:swank-clojure:pom:1.2.1 in central (http://repo1.maven.org/maven2) Retrieving swank-clojure/swank-clojure/1.2.1/swank-clojure-1.2.1.pom (1k) from https://clojars.org/repo/ Could not find artifact swank-clojure:swank-clojure:jar:1.2.1 in central (http://repo1.maven.org/maven2) Retrieving swank-clojure/swank-clojure/1.2.1/swank-clojure-1.2.1.jar (41k) from https://clojars.org/repo/ So, indeed, someone is pulling swank-clojure-1.2.1 but what? I begin with the more local, my project.clj. So, i tried to exclude the swank-clojure from the different dev dependencies that i had without success :exclude [swank-clojure] in myproject.clj Then i remembered that the com.intellie/lazytest package that i use (which is defined in the ~/.lein/profiles.clj) has that. So i added the :exclusions to it: [com.intelie/lazytest 1.0.0-SNAPSHOT :exclusions [swank-clojure]] And all came back to normal, lein swank in the project and M-x clojure-jack-in. Hope this can help someone else. See ya @ardumont Date: 2012-06-16 21:43:16 CEST Author: Antoine R. Dumont Org version 7.8.09 with Emacs version 24 Validate XHTML 1.0 http://validator.w3.org/check?uri=referer -- 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
Re: [leiningen2] problem with com.intellie/lazytest, swank-clojure and leiningen2
2012/6/16 Moritz Ulrich ulrich.mor...@googlemail.com A very helpful command in this case is `lein deps :tree' Thanks. This should have occured to me that something similar as the 'mvn dependency:tree' command existed for lein. On Sat, Jun 16, 2012 at 9:45 PM, eniotna eniotn...@gmail.com wrote: Problem with swank-clojure and lein2 Hello, I got a problem recently that i succeed in solving alone (wouhou!). I think it's kind of interesting to pass along this use case so that other can avoid the trouble. Problem: After migrating to lein2, clojure-jack-in and lein-swank ko. I migrated to lein2 following the migrating guide - https://github.com/technomancy/leiningen/wiki/Upgrading. I obtained the ~/.lein/profiles.clj {:user {:plugins [[lein-swank 1.4.4] [lein-cljs 0.2.2] [lein-difftest 1.3.7] [lein-marginalia 0.7.0] [lein-pprint 1.1.1] [lein-midje 2.0.0-SNAPSHOT] [lein-noir 1.2.1] [com.intelie/lazytest 1.0.0-SNAPSHOT] [org.cloudhoist/pallet-lein 0.4.1]] :search-page-size 30}} I then started my emacs and got an error. I do not care much about the jack-in error in emacs as this is often related to a lein problem (due to env problem). So i try immediately to lein swank. $ lein swank The eval-in-project function has moved to the leiningen.core.eval namespace; please update your plugin to use that instead. Note that `init' is now the third argument instead of the fifth. This function will be removed for the final 2.0.0 release. Exception in thread main java.io.FileNotFoundException: Could not locate swank/swank__init.class or swank/swank.clj on classpath: at clojure.lang.RT.load(RT.java:432) at clojure.lang.RT.load(RT.java:400) at clojure.core$load$fn__4890.invoke(core.clj:5415) at clojure.core$load.doInvoke(core.clj:5414) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invoke(core.clj:5227) at clojure.core$load_lib.doInvoke(core.clj:5264) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invoke(core.clj:603) at clojure.core$load_libs.doInvoke(core.clj:5298) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:603) at clojure.core$require.doInvoke(core.clj:5381) at clojure.lang.RestFn.invoke(RestFn.java:408) at user$eval27.invoke(NO_SOURCE_FILE:1) at clojure.lang.Compiler.eval(Compiler.java:6511) at clojure.lang.Compiler.eval(Compiler.java:6500) at clojure.lang.Compiler.eval(Compiler.java:6501) at clojure.lang.Compiler.eval(Compiler.java:6477) at clojure.core$eval.invoke(core.clj:2797) at clojure.main$eval_opt.invoke(main.clj:297) at clojure.main$initialize.invoke(main.clj:316) at clojure.main$null_opt.invoke(main.clj:349) at clojure.main$main.doInvoke(main.clj:427) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:419) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37) I do not get the error as i have the latest swank-1.4.4 (from the profile.clj file). After cleaning up the current project (lein clean) I decide to remove all the swank-clojure*.jar files in my~/.m2/repository/swank-clojure. This way, the next time, the dependencies are resolved, i will be able to see them. So here we go, lein deps tony@dagobah(1.33,) 21:02:44 (1) ~/repositories/perso/hmdb (hmdb) $ rm -r /home/tony/.m2/repository/swank-clojure/ tony@dagobah(0.98,) 21:05:57 ~/repositories/perso/hmdb (hmdb) $ lein swank Could not find artifact swank-clojure:swank-clojure:pom:1.2.1 in central (http://repo1.maven.org/maven2) Retrieving swank-clojure/swank-clojure/1.2.1/swank-clojure-1.2.1.pom (1k) from https://clojars.org/repo/ Could not find artifact swank-clojure:swank-clojure:jar:1.2.1 in central (http://repo1.maven.org/maven2) Retrieving swank-clojure/swank-clojure/1.2.1/swank-clojure-1.2.1.jar (41k) from https://clojars.org/repo/ So, indeed, someone is pulling swank-clojure-1.2.1 but what? I begin with the more local, my project.clj. So, i tried to exclude the swank-clojure from the different dev dependencies that i had without success :exclude [swank-clojure] in myproject.clj Then i remembered that the com.intellie/lazytest package that i use (which is defined in the ~/.lein/profiles.clj) has that. So i added the :exclusions to it: [com.intelie/lazytest 1.0.0-SNAPSHOT :exclusions [swank-clojure]] And all came back to normal, lein swank in the project and M-x
(and clojure clodiuno fun)
Hi, I just wanted to throw a message in the mailing list to THANK all the clojure dudes out there which does a magnificent job. Thank you guys. I'm having fun with it. It's fun to learn a language which aims to simplify things. I like to think of Clojure for the developer as the Force to the jedi... It's way efficient :D I unfortunately do not use it professionally (i do mainly java dev) but i'm trying to. Slowly but surely, i use it more and more. (By the way, I do not know if there are lots of java people here but to learn or tinker with a new java api, the repl is the tool you must use for that.) I also try the best and simply as i can to explain to other people why we could (must?) use it. It's kind of hard at times but i do not despair. It's like the dark ages of say Linux for instance or Lisp, good ideas tend to take a real long time to spread... Oh and by the way, i'm beginning to play with http://arduino.cc/en/ and i use the work https://github.com/nakkaya/clodiuno and https://github.com/samaaron/serial-port and it's also plain fun. Here's the result of my tinkering http://adumont.fr/blog/hello-world-in-morse-with-arduinoclodiuno/ I do not really know where i want to go with this. Like i said, just plain and simple thank you. @ardumont -- 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 Pretty Printing with Blogger
Hi C-c C-e b for the HTML export and open into the browser to display the result. Then copy paste the html source yes. Antoine On May 26, 2012 11:42 PM, Jake Johnson kognizant@gmail.com wrote: Thanks! I didn't realize org-mode would prettify Clojure code when exported to html (I generally use org-mode without exporting). Using org-mode, would my best option just be to type it up, export to html, then copy and paste the resulting html into my blog post? On Sat, May 26, 2012 at 10:46 AM, Denis Labaye denis.lab...@gmail.comwrote: Hi, I don't know google-code-prettify. I am using Emacs with org-mode, it has native support for prettifying Clojure code when exporting to HTML. You could also use GitHub's gist https://gist.github.com/, and embed it in your blog. Denis On Fri, May 25, 2012 at 12:07 PM, Jake Johnson kognizant@gmail.comwrote: Hi, guys. Has anyone had any luck with using google-code-prettifyhttp://code.google.com/p/google-code-prettify/and http://google-code-prettify.googlecode.com/svn/trunk/src/lang-clj.jstogether on blogger? I followed http://www.tkglaser.net/2012/03/syntax-highlighting-in-blogger.htmlhttp://www.tkglaser.net/2012/03/syntax-highlighting-in-blogger.html%20, but I can't get Clojure to display correctly, at least yet. -- 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 -- 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: NullPointerException
Hi, Look at your parenthesis. You did not close your first function. Antoine 2012/5/17 Sargash gerby...@gmail.com Hi! I have a problem. With that code: ; === ; ex 1.17 multiply (defn ex1_17 [] (defn double [x] (+ x x)) (defn halve [x] (/ x 2)) (defn * [a b] (cond (= b 0) 0 (even? b) (* (double a) (halve b)) :else (+ a (* a (- b 1) (println (* 5 5)) ) (ex1_17 ) I gave that exception: Exception in thread main java.lang.NullPointerException, compiling: (D:\workprivate\ll\1\src\first.clj:3) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6462) at clojure.lang.Compiler.analyze(Compiler.java:6262) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6443) at clojure.lang.Compiler.analyze(Compiler.java:6262) at clojure.lang.Compiler.access$100(Compiler.java:37) at clojure.lang.Compiler$DefExpr$Parser.parse(Compiler.java:518) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6455) at clojure.lang.Compiler.analyze(Compiler.java:6262) at clojure.lang.Compiler.analyze(Compiler.java:6223) at clojure.lang.Compiler.eval(Compiler.java:6515) at clojure.lang.Compiler.load(Compiler.java:6952) at clojure.lang.Compiler.loadFile(Compiler.java:6912) at clojure.main$load_script.invoke(main.clj:283) at clojure.main$script_opt.invoke(main.clj:343) at clojure.main$main.doInvoke(main.clj:427) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.lang.Var.invoke(Var.java:415) at clojure.lang.AFn.applyToHelper(AFn.java:161) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java: 120) Caused by: java.lang.NullPointerException at clojure.lang.Compiler$ObjExpr.emitVar(Compiler.java:4774) at clojure.lang.Compiler$DefExpr.emit(Compiler.java:418) at clojure.lang.Compiler$BodyExpr.emit(Compiler.java:5659) at clojure.lang.Compiler$FnMethod.doEmit(Compiler.java:5215) at clojure.lang.Compiler$FnMethod.emit(Compiler.java:5069) at clojure.lang.Compiler$FnExpr.emitMethods(Compiler.java:3600) at clojure.lang.Compiler$ObjExpr.compile(Compiler.java:4233) at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3732) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6453) ... 24 more Could you tell me where I wrong? -- 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: NullPointerException
Furthermore, The syntax you're using is not correct. If you want to define functions inside your function ex1_17, use letfn. Something along the line: (defn ex1_17 [] (letfn [(double [x] (+ x x)) (halve [x] (/ x 2)) (mult [a b] (cond (= b 0) 0 (even? b) (* (double a) (halve b)) :else (+ a (* a (- b 1)] (println (mult 5 5 I prefer not to mess with the default function so i redefined your * by mult Antoine 2012/5/17 eniotna eniotn...@gmail.com Hi, Look at your parenthesis. You did not close your first function. Antoine 2012/5/17 Sargash gerby...@gmail.com Hi! I have a problem. With that code: ; === ; ex 1.17 multiply (defn ex1_17 [] (defn double [x] (+ x x)) (defn halve [x] (/ x 2)) (defn * [a b] (cond (= b 0) 0 (even? b) (* (double a) (halve b)) :else (+ a (* a (- b 1) (println (* 5 5)) ) (ex1_17 ) I gave that exception: Exception in thread main java.lang.NullPointerException, compiling: (D:\workprivate\ll\1\src\first.clj:3) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6462) at clojure.lang.Compiler.analyze(Compiler.java:6262) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6443) at clojure.lang.Compiler.analyze(Compiler.java:6262) at clojure.lang.Compiler.access$100(Compiler.java:37) at clojure.lang.Compiler$DefExpr$Parser.parse(Compiler.java:518) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6455) at clojure.lang.Compiler.analyze(Compiler.java:6262) at clojure.lang.Compiler.analyze(Compiler.java:6223) at clojure.lang.Compiler.eval(Compiler.java:6515) at clojure.lang.Compiler.load(Compiler.java:6952) at clojure.lang.Compiler.loadFile(Compiler.java:6912) at clojure.main$load_script.invoke(main.clj:283) at clojure.main$script_opt.invoke(main.clj:343) at clojure.main$main.doInvoke(main.clj:427) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.lang.Var.invoke(Var.java:415) at clojure.lang.AFn.applyToHelper(AFn.java:161) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java: 120) Caused by: java.lang.NullPointerException at clojure.lang.Compiler$ObjExpr.emitVar(Compiler.java:4774) at clojure.lang.Compiler$DefExpr.emit(Compiler.java:418) at clojure.lang.Compiler$BodyExpr.emit(Compiler.java:5659) at clojure.lang.Compiler$FnMethod.doEmit(Compiler.java:5215) at clojure.lang.Compiler$FnMethod.emit(Compiler.java:5069) at clojure.lang.Compiler$FnExpr.emitMethods(Compiler.java:3600) at clojure.lang.Compiler$ObjExpr.compile(Compiler.java:4233) at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3732) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6453) ... 24 more Could you tell me where I wrong? -- 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: NullPointerException
2012/5/17 Raoul Duke rao...@gmail.com On Thu, May 17, 2012 at 10:55 AM, eniotna eniotn...@gmail.com wrote: Look at your parenthesis. You did not close your first function. some day we'll have the technology to let the compiler tell us that, emacs told me. But i'm sure some other editors can tell you that too. instead of spewing some horrible, pointless, stack trace? indeed. -- 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: [ANN] clj-webdriver: Clojure API for Selenium-WebDriver
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: ANN: Midje 1.3.0
Hi, I do not know if it's because i started writing directly clojure with facts but i find it really intuitive. Midje, there is a fact for that :d Thanks for your great work Antoine 2011/12/16 ronen nark...@gmail.com Joining the congrats, one of the must have tools for any Clojure project Ronen On Dec 14, 8:01 am, Denis Labaye denis.lab...@gmail.com wrote: Midje is getting better and better. Congrats! On Mon, Dec 12, 2011 at 5:41 PM, Brian Marick mar...@exampler.com wrote: Midje 1.3's most important feature is compatibility with Clojure 1.3. https://github.com/marick/Midje Midje is a test framework for Clojure that supports top-down as well as bottom-up testing, encourages readable tests, provides a smooth migration path from clojure.test, supports a balance between abstraction and concreteness, and tries to be gracious in its treatment of its user. Other major changes in 1.3 are: * Colorized output https://github.com/marick/Midje/wiki/Colorizing * Monitoring and rerunning changed files (autotest/lazytest) (under Leiningen:https://github.com/marick/Midje/wiki/Lein-midje) * Partial prerequisites (makes it easier to add new behavior to existing code) https://github.com/marick/Midje/wiki/Partial-prerequisites * Data prerequisites (avoiding overcommitment to data representation) https://github.com/marick/Midje/wiki/Data-prerequisites More here:https://github.com/marick/Midje/blob/master/HISTORY.md Thanks especially to Alex Baranosky, who did a lot of work on this release. Enjoy. - Brian Marick, Artisanal Labrador Now working athttp://path11.com Contract programming in Ruby and Clojure Occasional consulting on Agile -- 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: coding-dojo-20110921
Hi Ken, 2011/9/21 Ken Wesson kwess...@gmail.com On Wed, Sep 21, 2011 at 3:13 PM, Meikel Brandmeyer m...@kotka.de wrote: Am 21.09.2011 um 19:59 schrieb Ken Wesson: On Wed, Sep 21, 2011 at 8:20 AM, Denis Labaye denis.lab...@gmail.com wrote: On a code une implem alternative de retour dans le RER: https://gist.github.com/1231894 On a code what?? That's french. Yeah, I thought it might be. But it's odd that it suddenly switched from plain English to a foreign language in mid-sentence. He did not switch. Here is the confusion, on a code is french for we have coded. We're supposed to add an accent on the e of code in this sentence but our keyboards are mapped in qwerty and we're too lazy to learn how to add accent in qwerty... Someone has programmed an alternative implementation of return in the RER. ... The RER? it's a train that links Paris and the suburbs. I do not even know what the meaning of R.E.R means in french :D Good night, Antoine R. Dumont -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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: coding-dojo-20110921
R.E.R : RĂ©seau Express RĂ©gional, Regional Express Network 2011/9/21 eniotna eniotn...@gmail.com Hi Ken, 2011/9/21 Ken Wesson kwess...@gmail.com On Wed, Sep 21, 2011 at 3:13 PM, Meikel Brandmeyer m...@kotka.de wrote: Am 21.09.2011 um 19:59 schrieb Ken Wesson: On Wed, Sep 21, 2011 at 8:20 AM, Denis Labaye denis.lab...@gmail.com wrote: On a code une implem alternative de retour dans le RER: https://gist.github.com/1231894 On a code what?? That's french. Yeah, I thought it might be. But it's odd that it suddenly switched from plain English to a foreign language in mid-sentence. He did not switch. Here is the confusion, on a code is french for we have coded. We're supposed to add an accent on the e of code in this sentence but our keyboards are mapped in qwerty and we're too lazy to learn how to add accent in qwerty... Someone has programmed an alternative implementation of return in the RER. ... The RER? it's a train that links Paris and the suburbs. I do not even know what the meaning of R.E.R means in french :D Good night, Antoine R. Dumont -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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