ANN Langohr 2.1.0 is released

2014-01-07 Thread Michael Klishin
Langohr [1] is a small, feature complete Clojure client for RabbitMQ. 2.1.0 is a bug fix and usability improvements release. Release notes: http://blog.clojurewerkz.org/blog/2014/01/07/langohr-2-dot-1-0-is-released/ 1. http://clojurerabbitmq.info -- MK http://github.com/michaelklishin

Re: ClojureScript integration with Emacs/Cider ?

2014-01-07 Thread Alexandru Nedelcu
On Mon, Jan 6, 2014 at 11:10 PM, Colin Fleming colin.mailingl...@gmail.comwrote: Since Cursive (http://cursiveclojure.com) resolves everything statically from source, ClojureScript completion and navigation works for most symbols. There are still a lot that it doesn't know about since

Hadoop Online Training in Canada

2014-01-07 Thread Online Training
Hadoop Online Training by Sunitlabs We are providing excellent Hadoop Training by real-time IT industry experts Our training methodology is very unique Our Course Content covers all the in-depth critical scenarios. We have completed more than 200 Hadoop batches through Online Hadoop Training

Re: [ClojureScript] Re: ANN: Om, a ClojureScript binding to Facebook's React

2014-01-07 Thread David Nolen
If you install locally you need to depend on [om 0.1.6-SNAPSHOT] I did make a mistake and accidentally did not push the previous version to Clojars which you can depend on as specified in the README: [om 0.1.5] On Tue, Jan 7, 2014 at 6:29 AM, Rick Walsh rick.wa...@gmail.com wrote: Hi Guys,

Re: Namespaces in waiting

2014-01-07 Thread Alex Ott
You can use find-namespaces from http://clojure.github.io/tools.namespace/#clojure.tools.namespace.find to + clojure.java.classpath to get a list of all namespaces in current classpath... On Mon, Jan 6, 2014 at 7:45 PM, Stephen C. Gilardi scgila...@gmail.comwrote: On Jan 1, 2014, at 3:26 PM,

Are all clojure namespaces loaded in repl by default?

2014-01-07 Thread John Kida
I am using Clojure 1.5, and reading a book on Clojure 1.3. I am reading over the namespaces chapters but I appears in my repl I can already access everything with its fully qualified name without a require. For example on this website, namespaces

Re: Are all clojure namespaces loaded in repl by default?

2014-01-07 Thread Jim - FooBar();
The namespaces you mentioned have already been loaded and thus you can use the fully qualified name . What if you try (clojure.inspector/inspect [1 2 3]) in a bare repl??? ClassNotFoundException clojure.inspector java.net.URLClassLoader$1.run (URLClassLoader.java:366) I hope that clarifies

Re: Are all clojure namespaces loaded in repl by default?

2014-01-07 Thread John Kida
Thanks, that does work as expected now. Is it simply documented somewhere what clojure preloads for you? Or is there a way to reflect this? I found the (all-ns) command, not sure if there is a better way to view this info. Are the preloaded classed documented on the clojure site? -- -- You

[ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-07 Thread Kris Jenkins
Yesql is a simple library for blending SQL queries Clojure together, cleanly. Here's how it workshttps://github.com/krisajenkins/yesql#rationale, and how to use it https://github.com/krisajenkins/yesql#example-usage. Project: https://github.com/krisajenkins/yesql Leiningen: [yesql 0.3.0] New

Re: Clojure.org: Concurrency screencast 404

2014-01-07 Thread abhi
http://clojure.org/concurrent_programming Apologies for the delayed response. On Fri, Dec 27, 2013 at 1:41 AM, Alex Miller a...@puredanger.com wrote: Which page had the link? -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: Clojure.org: Concurrency screencast 404

2014-01-07 Thread abhi
Oh. Looks like the link has been updated already. Missed that earlier. On Tue, Jan 7, 2014 at 9:49 PM, abhi abhiji...@gmail.com wrote: http://clojure.org/concurrent_programming Apologies for the delayed response. On Fri, Dec 27, 2013 at 1:41 AM, Alex Miller a...@puredanger.com wrote:

ANN Route One 1.0.0 is released

2014-01-07 Thread Michael Klishin
Route One [1] is a small library that generates URLs/URIs from routes and parameters. Release notes: http://blog.clojurewerkz.org/blog/2014/01/04/route-one-1-dot-0-0-is-released/ 1. https://github.com/clojurewerkz/route-one -- MK http://github.com/michaelklishin

ANN Validateur 1.6.0 is released

2014-01-07 Thread Michael Klishin
Validateur [1] is a Clojure data validation library. Release notes: http://blog.clojurewerkz.org/blog/2014/01/04/validateur-1-dot-6-0-is-released/ 1. http://clojurevalidations.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You received this message

ANN Machine Head 1.0.0-beta6

2014-01-07 Thread Michael Klishin
Machine Head [1] is a small Clojure MQTT client. Release notes: http://blog.clojurewerkz.org/blog/2014/01/07/machine-head-1-dot-0-0-beta6-is-released/ 1. http://clojuremqtt.info -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- -- You received this message because

ANN Meltdown 1.0.0-beta3 is released

2014-01-07 Thread Michael Klishin
Meltdown [1] is a Clojure interface to Reactor [2]. Release notes: http://blog.clojurewerkz.org/blog/2014/01/07/meltdown-1-dot-0-0-beta3-is-released/ 1. http://github.com/clojurewerkz/meltdown 2.

Re: Are all clojure namespaces loaded in repl by default?

2014-01-07 Thread Jim - FooBar();
Generally speaking, you wouldn't care what has been loaded and what hasn't and you certainly should not rely on something having been implicitly loaded. The current best practice is to use :require in conjunction with :refer or :as, in all your ns declarations, thus avoiding the need for fully

Re: Clojure.org: Concurrency screencast 404

2014-01-07 Thread Alex Miller
Yeah, I found it. :) On Tuesday, January 7, 2014 10:21:24 AM UTC-6, Abhijith wrote: Oh. Looks like the link has been updated already. Missed that earlier. On Tue, Jan 7, 2014 at 9:49 PM, abhi abhi...@gmail.com javascript:wrote: http://clojure.org/concurrent_programming Apologies for the

Re: [ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-07 Thread Gary Johnson
defqueries for the win! Excellent minimal syntax choice, Kris. I'm using yesql in my current work project, and it's been a real delight to work with thus far. Being able to put multiple queries in one file just makes it that much sweeter. ~Gary On Tuesday, January 7, 2014 10:57:55 AM UTC-5,

Re: [ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-07 Thread Benjamin Yu
You just gave me a great solution to the sql pain points I've been having. On Tue, Jan 7, 2014 at 10:30 AM, Gary Johnson gwjoh...@uvm.edu wrote: defqueries for the win! Excellent minimal syntax choice, Kris. I'm using yesql in my current work project, and it's been a real delight to work with

clojure.core.async java.lang.IllegalArgumentException

2014-01-07 Thread Gerrit Jansen van Vuuren
Hi, I'm getting the following error over and over again in my code, I've tried adding in some print statement and suddenly the error went away and my code worked again, then today I got the same error yet again. I suspect this might be a race condition or something similar. I can take the same

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-07 Thread Rich Morin
On Jan 4, 2014, at 06:43, gvim wrote: I have recently moved most of my work to Clojure and ClojureScript but neither of these implementations seem suitable for non-http scripting, for which I currently use Ruby. So, you can imagine my elation when I discovered Rouge which is Clojure

Re: clojure.core.async java.lang.IllegalArgumentException

2014-01-07 Thread Luc Prefontaine
You are trying to close a nil channel. W/O the code it's all I can say :) Did you check to make sure you are not trying to handle nil as a channel ? Luc P. Hi, I'm getting the following error over and over again in my code, I've tried adding in some print statement and suddenly the

Re: [ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-07 Thread Luc Prefontaine
This lib is a perfect fit here, we create adapter plugins for databases of various software suppliers. Being able to load the queries as resources is absolutely in line with how we handle these plugins, as optional configurable dynamically loadable components. Combined with views to return EDN

Re: clojure.core.async java.lang.IllegalArgumentException

2014-01-07 Thread Gerrit Jansen van Vuuren
I've changed all of the go blocks to thread and got an exception that I cannot recur over a try catch. mm.. did not get this error in my go block. removing the recur's over try catch blocks makes the code work now with both go and thread. At least this is what I've changed now and the error

Re: clojure.core.async java.lang.IllegalArgumentException

2014-01-07 Thread Luc Prefontaine
Maybe hidden in the go macro expanded code. I do not have access to it (iPhone). You may want to use macroexpand and grep on the expansion. Just take your go block and wrap it in (macroexpand '(your form)) Don't forget the quote. Maybe the expansion will shed some light. Do not panic on the

Re: clojure.core.async java.lang.IllegalArgumentException

2014-01-07 Thread Luc Prefontaine
Just got your email, I remember vaguely about this issue maybe when Tim did is presentation at fhe Conj. Or maybe on the mailing list. You may try what I described in my previous email and make your mind about this. Luc P. I've changed all of the go blocks to thread and got an exception that

Re: clojure.core.async java.lang.IllegalArgumentException

2014-01-07 Thread Timothy Baldridge
Like normal clojure code, gos don't support a recur that jumps out through a try. However, the go macro should be patched to bring that to the attention of the user. Timothy On Tue, Jan 7, 2014 at 2:22 PM, Luc Prefontaine lprefonta...@softaddicts.ca wrote: Just got your email, I remember

[ANN] jnanomsg 0.2.0 - Clojure and Java bindings for nanomsg.

2014-01-07 Thread Andrey Antukh
Clojure and Java bindings for nanomsg[1] (build on top of JNA) nanomsg[1] is a socket library that provides common communication patterns. It aims to make the networking layer fast, scalable, and easy to use. This is a first announcement of this library with 0.2 version! 0.1 version was just a

Re: ClojureScript integration with Emacs/Cider ?

2014-01-07 Thread Colin Fleming
Great, let me know if you have any questions. I'm definitely planning ClojureScript support sometime soon. I think most of the symbol resolution for core cljs should work (since it's mostly the same as clj) for for pure cljs (including the core libs) everything at

Re: Namespaces in waiting

2014-01-07 Thread Dave Tenny
Thanks for the pointer. This appears to work solely off the clojure source and may be very useful. It raises all kinds of non-namespace-related questions for me though that I'll ask in another topic. On Tue, Jan 7, 2014 at 9:02 AM, Alex Ott alex...@gmail.com wrote: You can use

Clojure deployment questions w.r.t. jars, clojure source files, compiled class files

2014-01-07 Thread Dave Tenny
So if I sample some clojure jars in my local maven .m2 directory, most of the jar files have only clojure code, and a project.clj. If I look at the org.clojure project there, it has many java class files, what appear to be corresponding clojure source files, and *no* project.clj. With only a

[ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-07 Thread Marco Shimomoto
It looks great and I will try it. Have you thought about namespaces and different database implementations? Something like a general repository for SQL files and some vendor specific override repositories. -- -- You received this message because you are subscribed to the Google Groups Clojure

Re: Namespaces in waiting

2014-01-07 Thread Dave Tenny
I just stumbled across this, which looks very much like it may be what I wanted: clojure.core/loaded-libs http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/loaded-libs E.g. $ lein repl user= (loaded-libs) bultitude.core cemerick.pomegranate cemerick.pomegranate.aether

Re: Clojure deployment questions w.r.t. jars, clojure source files, compiled class files

2014-01-07 Thread Gary Trakhman
AOT in my experience is a little dicey and complicated. On Tue, Jan 7, 2014 at 7:26 PM, Dave Tenny dave.te...@gmail.com wrote: So if I sample some clojure jars in my local maven .m2 directory, most of the jar files have only clojure code, and a project.clj. If I look at the org.clojure

Re: [ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-07 Thread Alexandr Kurilin
This is neat, I'll need to give this a shot. Our application involves a lot of OLAP-style queries and I currently have several DAL namespaces of clojure.jdbc with 30+ lines of SQL query in them, which is pretty nasty to look at. This should clean up things nicely. On Tue, Jan 7, 2014 at 4:26

Re: [ANN] jnanomsg 0.2.0 - Clojure and Java bindings for nanomsg.

2014-01-07 Thread am
Andrey, Thank-you for the lib and adding the pipeline protocol. Cheers. Amar On Tuesday, January 7, 2014 5:10:17 PM UTC-5, Andrey Antukh wrote: Clojure and Java bindings for nanomsg[1] (build on top of JNA) nanomsg[1] is a socket library that provides common communication patterns. It

Re: ANN - New podcast Functional Geekery

2014-01-07 Thread Steven Proctor
The feed is live in iTunes for those who were wanting to subscribe there. https://itunes.apple.com/us/podcast/functional-geekery/id790455326?mt=2ign-mpt=uo%3D4 Thanks, --Proctor On Wednesday, January 1, 2014 7:08:06 PM UTC-6, Steven Proctor wrote: I am doing a new podcast Functional

Re: Clojure deployment questions w.r.t. jars, clojure source files, compiled class files

2014-01-07 Thread Sean Corfield
On Tue, Jan 7, 2014 at 4:26 PM, Dave Tenny dave.te...@gmail.com wrote: 1) When and under what circumstances projects are compiled in source versus .class form? Most Clojure projects ship in source form (and are therefore compiled to bytecode on demand as they are loaded). 2) Why there is no

Re: ANN - New podcast Functional Geekery

2014-01-07 Thread Magnar Sveen
Excellent! Downloading as I type. - Magnar Den 8. jan. 2014 kl. 03:23 skrev Steven Proctor steven.proc...@gmail.com: The feed is live in iTunes for those who were wanting to subscribe there. https://itunes.apple.com/us/podcast/functional-geekery/id790455326?mt=2ign-mpt=uo%3D4 Thanks,

Re: Clojure deployment questions w.r.t. jars, clojure source files, compiled class files

2014-01-07 Thread Softaddicts
Just to throw a wrench in this thread :))) a) We AOT our stuff to avoid shipping our sourde code to customer sites (:aot [regex...]), this requirement is the basis for what follows. b) We filter classes using lein to remove from our artifacts classes from other libs so only our AOT code

Re: Clojure deployment questions w.r.t. jars, clojure source files, compiled class files

2014-01-07 Thread Softaddicts
To complement my previous post and in relation to this one, we use (if-not *compile-file* ...) to wrap expressions that cannot be AOT compiied (like loading configuration or connecting to external resources which you do not want to do at compile time but at run time only:) This confused a lot of

Extracting a database schema and using it to synthesize and check SQL queries at compile time

2014-01-07 Thread Alexander Hudek
Hey everyone, We've been exploring ways to make working with database code more efficient and less error prone. For complex queries, we prefer working directly with SQL. However, like for many others, a lot of our queries are very simple and repetitive. For example, retrieving or updating