Re: Namespace Problems org-mode/org-babel
That is really strange. The location of the org file doesn't matter as long as it is in the right project so that cider can find the project.clj could it be that you have conflicting versions of org mode? Make sure that you have the new version of ob-clojure loaded. It should look like this http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/ob-clojure.el maybe the old ob-clojure from the org mode shipping with emacs gets loaded. Try to evaluate the file in an emacs session or copy the content to you .emacs file to make sure it gets executed (without the provide and require statements) On Fri, Feb 21, 2014 at 7:30 AM, Volker Strobel volker.strobe...@gmail.com wrote: Now I have the same problem again... Everything worked fine for a few hours, until now. Again, I tried to re-install/rebuild org-mode (development version from git) etc. I don't know what suddenly went wrong (I moved my .org file from the src/ folder to the leiningen project folder, but I undid that again). I also created a new leiningen project in order to start from scratch. If I include (in-ns ...) in every code block it'll work fine, but I really would try to avoid that. Here is an example again: #+BEGIN_SRC clojure :tangle core.clj (ns org-works.core (:gen-class)) #+END_SRC #+RESULTS: : nil #+BEGIN_SRC clojure :tangle core.clj (in-ns 'org-works.core) (def a 5) #+END_SRC #+RESULTS: : #'org-works.core/a #+BEGIN_SRC clojure :tangle core.clj (def b 5) #+END_SRC #+RESULTS: : #'user/b Currently this file is located in the src folder of the leiningen project. How can I make org-mode to use the correct namespace again? Thanks, again! Volker -- 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. -- 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.
Want a game? let's refactor in the functional way
Hi, I have a lab project called raiseup https://github.com/weejulius/raiseup to play clojure , event though I have used clojure more than one year, but I still do not know how to write functional program,how to change my mind, therefore I plan to make a feature branch to refactor the project in a more functional style. However I do not have much idea currently, so would we play clojure together to refactor the project in a functional program, any pull request is welcome for the fn_refactor branch, or code comment in the github directly. Thanks -- 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: Want a game? let's refactor in the functional way
I make a changehttps://github.com/weejulius/raiseup/commit/dfd15d0f0af007bc2899573e63e144620b12b432#commitcomment-5449992to refactor, is it more functional? -- 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: Do you recommend the book: Web Development with Clojure
You're right, Adrian. Brian did a nice job on this. He talks to the reader, like a normal person trying to share his passion, not an academic. On Thursday, February 20, 2014 3:00:15 AM UTC-5, Adrian Mowat wrote: Hi Laurent If you are making the switch from OO then I recommend https://leanpub.com/fp-oo Cheers Adrian -- 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.
ANN: Reagent 0.4.0
Reagent, a minimalistic interface between React.js and ClojureScript, is now at 0.4.0. The new release has a breaking change: Reagent now lets you call component functions exactly like ordinary functions (albeit with square brackets). This is obviously a breaking change, but behaviour is unchanged if you passed a map as the only argument (as in all the examples in the old documentation). Also: React is updated to 0.9.0, a great new example showing svg use in Reagent, by Jonas Enlund, general performance improvement, etc. Read more here: http://holmsand.github.io/reagent/news/any-arguments.html The project page is here: https://github.com/holmsand/reagent Cheers, /dan -- 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: Do you recommend the book: Web Development with Clojure
On 19/02/14, Erlis Vidal wrote: Hi all, Have any of you read the book *Web Development with Clojure*? http://www.amazon.com/Web-Development-Clojure-Build-Bulletproof/dp/1937785645 There's only one review on amazon, and it's a fantastic review but I'm wondering if this is the book I should read if I wanted to start using Clojure for web programming. Any advice will be greatly appreciated. I'll share my 2c. Before picking the book, I already knew some Clojure, but I hadn't used it for web. The book was a nice overview of some of the popular tools for web development in Clojure. I enjoyed reading it. In a few cases I felt that I needed to write the example code and play with it in order to truly grok what it is about. If you know some Clojure (O'Reilly's Clojure Programming is a great book for that, in my opinion), then it is a perfect follow-up if you're interested in web apps (IMHO). -- Stefan Kanev ¦ @skanev ¦ http://skanev.com/ You can measure a programmer's perspective by noting his attitude on the continuing vitality of FORTRAN. -- 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.
Junior or Senior Clojure Developer wanted - Banking, London
Hi All, I have a role within a leading Investment Bank based in London, looking for an experienced Clojure developer. If you have a knowledge or commercial experience with Scala or Java then that would be desirable. If you have worked on a Grid computing platform, this will also put you at an advantage. Looking for a hardcore programmer through and through, someone who enjoys solving puzzles and has experience with Data structures. The role is at AVP level, so mid- senior, and you would be situated in the front office, so the ideal candidate will be a very good communicator. If you are eligible to work in the UK without requiring sponsorship, please call me on 02076085820 to discuss. Permanent position paying between £55,000- 85,000 dependent on experience. If you happen to know of anybody who is a solid Clojure developer with any of the other skills listed above, My company offer generous referral fees. Please do get in touch if interested, and send your CV to jonath...@cititec.com. Thank you, Jonathan Kaye -- 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: core.async over websocket + cljs + clojure
My priority to work on turning David's codebase into a library changed as I was originally planning to do it for conference presentations in May and June, but for personal reasons I've had to pull out of both conferences. So this is still on my radar but it's moved down my list some way. Sean On Feb 20, 2014, at 5:19 PM, ton...@gmail.com wrote: Anyone come up with anything? I'm also wondering ways to abstract this problem. Here's my current impl https://gist.github.com/whodidthis/9126971, you can imagine chord instead of the input and output channels. Any ideas and suggestions would be cool as im new to clojure. signature.asc Description: Message signed with OpenPGP using GPGMail
Re: 'Reduced' and logic functions
Isn't this a more fundamental problem tho'...: (def x 0) (or (zero? x) (/ 100 x)) ;; true (alt-or (zero? x) (/ 100 x)) ;; java.lang.ArithmeticException: Divide by zero Sean On Feb 20, 2014, at 4:58 AM, Niels van Klaveren niels.vanklave...@gmail.com wrote: The result wouldn't return faster if the input is an infinite list. Ah, I see the gotcha now. If you don't implement or as a macro, all arguments will be evaluated before or is invoked. Macro-expansion won't evaluate later arguments if a former one short-circuits, of course. I'd only tested this with lazy-sequences, not functions over them.. (or true (apply + (range))) = true (alt-or true (apply + (range))) signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Namespace Problems org-mode/org-babel
Here is the link to my org-mode post: http://article.gmane.org/gmane.emacs.orgmode/82549 -- 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.
[ANN] lein-fruit, native iOS apps in Clojure.
Wow! Congrats for the amazing job!! -- 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.
ANN: ClojureScript 0.0-2173
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2173 Leiningen dependency information: [org.clojure/clojurescript 0.0-2173] Changes Enhancements: * IAtom marker protocol * IReset ISwap protocols * ClojureScript compiler can be AOTed Bug Fixes: * CLJS-765: IReversible for Subvec * CLJS-615: Warnings when library does not exist * CLJS-767: fix (assoc [0] nil 1) * Use catch :default in browser REPL reflect * Permit nodejs targets to have a preamble -- 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: [ANN] lein-fruit, native iOS apps in Clojure.
Note that you can work around the compilation problem by using a version of Clojure patched with http://dev.clojure.org/jira/browse/CLJ-1315. Cursive now uses and ships with such a patched version, and it works great. On 22 February 2014 11:31, Jean Baro jfb...@gmail.com wrote: Wow! Congrats for the amazing job!! -- 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. -- 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.