ANN Langohr 2.11.0 is released

2014-05-26 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure RabbitMQ client. Release notes: http://blog.clojurewerkz.org/blog/2014/05/24/langohr-2-dot-11-dot-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this

ANN Welle 3.0.0-rc1 is released

2014-05-26 Thread Michael Klishin
Welle [1] is a Clojure client for Riak with batteries included. 3.0 includes a major API revision announced earlier [2]. Release notes: http://blog.clojurewerkz.org/blog/2014/05/24/welle-3-dot-0-0-rc1-is-released/ 1. http://clojureriak.info 2.

deftest and var's metadata

2014-05-26 Thread Nahuel Greco
This works ok at the REPL: (def ^{:k :v} a 4) (:k (meta (resolve 'a))) ;= evaluates to :v, ok. But the same didn't worked inside a clojure.test/deftest: (deftest mytest (def ^{:k :v} b 4) (is (= (resolve 'b) nil)) ;; passed, var is resolved ok (is (= (:k (meta (resolve 'b)))

ANN: Quil on ClojureScript prototype

2014-05-26 Thread Maksim Karandashov
Hello all! I'm working on adding support ClojureScript to Quil library (https://github.com/quil/quil/tree/master) as part of GSOC program. I created first prototype of Quil on ClojureScript. You can find it here - https://github.com/Norgat/quil/tree/cljs And I write simple example -

Re: ANN: ClojureScript 0.0-2227

2014-05-26 Thread Joel Holdbrooks
On Thursday, May 22, 2014 8:18:06 AM UTC-7, David Nolen wrote: ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-2227 Leiningen dependency information:    

Building clojure compiler in eclipse

2014-05-26 Thread C K Kashyap
Hi, I am trying to build clojure using eclipse. After importing all the java sources under clojure/src/jvm into a java project I tried to run repl as a java application - Upon doing so, loadClassForName in RT.java throws class not found exception while trying to load clojure.core__init.class

Re: JSON authentication with cemerick/friend?

2014-05-26 Thread Chas Emerick
Friend requires some ring middleware, including the keyword params middleware. Not having it included in your app will produce this. If you are using Compojure's handler middlewares, this is done for you. This particular example is broken because you're applying the middleware in the wrong

rsch.antlr: formal Clojure grammar project

2014-05-26 Thread Gregg Reynolds
Howdy list, As a first step in producing a complete formal grammar of Clojure I've put together some machinery and documentation for developing ANTLR grammars in a leiningen/Clojure environment. I think there is enough there that you can get directly to writing and testing grammars. rsch.antlr

Re: Clojure binding for OrientDB

2014-05-26 Thread Zubair Quraishi
Hi Eduardo, Is this Clojure OrientDB project still Active? Thanks Zubair On Tuesday, August 2, 2011 3:17:33 AM UTC+2, eduardoejp wrote: I have been working on this library for a little while and I would like to present it to you: https://github.com/eduardoejp/clj-orient I hope this can

Re: [ANN] core.async (and more) video tutorials

2014-05-26 Thread Juan Manuel Gimeno Illa
Will there be a forum to ask questions about the videos? And will the code be available (although I think rewriting it may reforce learning sometimes I won't have the time)? Thanks !! Juan Manuel El jueves, 22 de mayo de 2014 00:32:55 UTC+2, tbc++ escribió: From time to time I get asked

Re: [ANN] Garden 1.1.7

2014-05-26 Thread Henrik Eneroth
Thanks! On Saturday, May 24, 2014 7:14:40 PM UTC+2, Joel Holdbrooks wrote: Garden, a library for authoring stylesheets in Clojure and ClojureScript, is now 1.1.7. ADDED: Support for :preamble IMPROVED: Support for meta data in garden.def/* macros https://github.com/noprompt/garden --

What is fn* ?

2014-05-26 Thread Ray Miller
I was looking at the source for clojure.java.jdbc, and came across the following macro: (defmacro with-db-transaction [binding body] `(db-transaction* ~(second binding) (^{:once true} fn* [~(first binding)] ~@body) ~@(rest (rest binding I

Re: What is fn* ?

2014-05-26 Thread Timothy Baldridge
All functions are eventually created via fn*. If you look for the source code of fn it's a macro that emits a call to fn*. It's done this way so that things like destructuring can be defined in clojure.core (and in Clojure) instead of in Compiler.java (and in java). On Mon, May 26, 2014 at 9:08

emacs - some output goes to stdout when using cider

2014-05-26 Thread Don Hill
I am making a switch to emacs and trying to get cider setup. I think for the most part everything is working correctly. I am in a project with a test.clj file and if I do a (println Hi) C-x C-e it goes to repl as expected. If I do something like (+ 1 2 3) it seems to go to stdout below the

Re: What is fn* ?

2014-05-26 Thread Ray Miller
On 26 May 2014 16:31, Timothy Baldridge tbaldri...@gmail.com wrote: All functions are eventually created via fn*. If you look for the source code of fn it's a macro that emits a call to fn*. It's done this way so that things like destructuring can be defined in clojure.core (and in Clojure)

New Functional Programming Job Opportunities

2014-05-26 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Clojure Developer at SFX Entertainment http://functionaljobs.com/jobs/8714-clojure-developer-at-sfx-entertainment Clojure Engineers Needed at Factual

Re: What is fn* ?

2014-05-26 Thread Sean Corfield
On May 26, 2014, at 8:43 AM, Ray Miller r...@1729.org.uk wrote: What I really wanted to know was why clojure.java.jdbc needs fn* in this macro rather than a simple fn, and why it needs the :once tag. I found the answer here:

Re: Where did the chunked sequence presentations go?

2014-05-26 Thread David James
+1. I can't find these online. On Saturday, June 8, 2013 9:43:26 AM UTC-4, David Williams wrote: Hi all, I'm interested in Rich Hickey's chunked sequence presentation but both the video and the pdf seem to have been taken down. What happened to those and where can I hear a good

Re: [RFC] Roundtripping namespaced xml documents for data.xml

2014-05-26 Thread Paul Gearon
Hi Herwig, First, I have to start with an apology, and it's to do with this section: If I compare the a:bar element form both documents with func-deep-equal then they should compare equal, despite the fact that the a:bar qname resolves differently in each context. Are you saying that

Re: Building clojure compiler in eclipse

2014-05-26 Thread Alex Miller
You also need the Clojure core library source on your classpath, specifically the src/clj directory - that's where Clojure will look to load the core library .clj files. You might also set up your Eclipse project with an Ant builder on the build.xml to build the build target after clean. Or

Re: symbol grammar

2014-05-26 Thread Alex Miller
On Saturday, May 24, 2014 5:01:42 PM UTC-5, Gregg Reynolds wrote: On Sat, May 24, 2014 at 3:14 PM, Benjamin R. Haskell clo...@benizi.comjavascript: wrote: On Sat, May 24, 2014 at 3:09 PM, Gregg Reynolds d...@mobileink.comjavascript: wrote: Hi, In working on an ANTLR

Re: emacs - some output goes to stdout when using cider

2014-05-26 Thread Josh Kamau
Any particular reason why you cant use emacs-live? Its comes configured for clojure among other stuff out of the box. Josh On Mon, May 26, 2014 at 6:32 PM, Don Hill dhill.nov...@gmail.com wrote: I am making a switch to emacs and trying to get cider setup. I think for the most part

Re: [ANN] monarch 0.2.0 - Simple database migrations for Clojure.

2014-05-26 Thread Michael Cramm
Good question. I had originally wanted a separate, untracked config file but couldn't decide on a format. (like separating out protocol, host, port, etc) Exporting the environment variable felt the most non-committal at the time. It wouldn't be too much work to have a file living in

Re: [RFC] Roundtripping namespaced xml documents for data.xml

2014-05-26 Thread Herwig Hochleitner
2014-05-26 22:46 GMT+02:00 Paul Gearon gea...@gmail.com: Hi Herwig, First, I have to start with an apology, Hi Paul, it's alright. I have to admit, that I'm relieved that you sent that in error. My point of view is that processing real-world XML rarely needs the fully resolved URIs. Can

Re: [ANN] core.async (and more) video tutorials

2014-05-26 Thread Mayank Jain
Hi Tim, Thanks for the wonderful Logic intro video. Any idea if you'll be doing more of Logic tutorials? Your video was actually quite helpful. I never really understood it, but getting a sense of it. Looking forward to more of Logic videos :). Btw When I click on the download video button,

Re: emacs - some output goes to stdout when using cider

2014-05-26 Thread Carlo Zancanaro
On Mon, May 26, 2014 at 08:32:45AM -0700, Don Hill wrote: I am in a project with a test.clj file and if I do a (println Hi) C-x C-e it goes to repl as expected. If I do something like (+ 1 2 3) it seems to go to stdout below the status bar. This is the correct behaviour. When you evaluate

Re: Building clojure compiler in eclipse

2014-05-26 Thread C K Kashyap
Thanks Alex ... I was able to import the whole thing into eclipse as an ant build project. I am still running into issues but I guess its because of java version ... I have to use 1.6 i think. Regards, Kashyap On Tue, May 27, 2014 at 2:32 AM, Alex Miller a...@puredanger.com wrote: You also