Re: CIDER vs Org Mode: Symbol's definition is void: nrepl-send-string-sync (workaround)

2014-08-13 Thread Bozhidar Batsov
Indeed. I’ve overlooked this particular function; this is corrected upstream now. --  Bozhidar On August 12, 2014 at 11:53:42, Bastien (bastiengue...@gmail.com) wrote: Bozhidar Batsov bozhidar.bat...@gmail.com writes: This was recently renamed - have a look at CIDER's changelog.

Re: CIDER vs Org Mode: Symbol's definition is void: nrepl-send-string-sync (workaround)

2014-08-13 Thread Bastien Guerry
Bozhidar Batsov bozhidar.bat...@gmail.com writes: Indeed. I’ve overlooked this particular function; this is corrected upstream now. Thanks! -- Bastien -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Prismatic Schema: Unclear exception in subsequence validation

2014-08-13 Thread Niels van Klaveren
(def field-order [(s/one s/Keyword field) (s/one (s/enum :asc :desc) order)]) (s/validate field-order [:name :dexc]) ExceptionInfo Value does not match schema: [nil (named (not (#{:desc :asc} :dexc)) order)] schema.core/validate (core.clj:165) This is a pretty clear error

Re: [ANN] Skummet alpha-1 released

2014-08-13 Thread Nicholas Kariniemi
This looks nice, I will give it a try. On Tuesday, August 12, 2014 5:18:23 PM UTC+3, Alexander Yakushev wrote: So I am finally comfortable for showing Project Skummet to the general public. Skummet is a experimental Clojure branch that features a modified AOT-compiler providing the

Instaparse channel

2014-08-13 Thread Plínio Balduino
Hi there Is there any discussion list about Instaparse? Thank you Plínio -- 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

Re: Instaparse channel

2014-08-13 Thread Alan Forrester
On 13 August 2014 13:43, Plínio Balduino pbaldu...@gmail.com wrote: Hi there Is there any discussion list about Instaparse? http://groups.google.com/forum/#!forum/instaparse -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group,

Re: Prismatic Schema: Unclear exception in subsequence validation

2014-08-13 Thread François Rey
The resulting message is generated by the walk method of the s/Either record, see this line: https://github.com/Prismatic/schema/blob/ce582d1602abde47143a618745cdd079e0cdaf44/src/cljx/schema/core.cljx#L437 Perhaps removing the quote before 'schemas would make the message clearer: (list'some

FYI: for Clojure people stuck with some Java, use DCEVM

2014-08-13 Thread henry w
My team inherited a large java code base which over time will be replaced in parts and maybe completely by clojure. One Clojure capability we wanted to get straight away was use of the REPL. but... Since regular oracle jvm classloading doesnt work like vars, you miss a lot of the benefits of

tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-13 Thread Nicola Mometto
As some of you might know, I've been working contiuously on my various tools.* contrib libraries for the past months and I've recently added tools.analyzer.js to the list of contrib libraries I maintain. Since I don't blog/tweet much about those libraries, I thought I'd write a report to let the

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-13 Thread adrian . medina
You rule Nicola! I really appreciate all of the work you've put into this. Your code has forever influenced the way I write lexical analyzers with Clojure. :) On Wednesday, August 13, 2014 12:54:54 PM UTC-4, Nicola Mometto wrote: As some of you might know, I've been working contiuously on my

[ANN] Envvar 1.1.0 — a library for handling environment variables

2014-08-13 Thread Constantine Vetoshev
The JVM does not make using environment variables easy or convenient. The environ https://github.com/weavejester/environ library took a step in the right direction by abstracting away the distinction between environment variables and Java properties into a Clojure map data structure. However, I

Transit Idea

2014-08-13 Thread Ashton Kemerling
I realized that Solr currently provides a lot of language-specific serializer options. Currently Ruby, Python, PHP, and javabin(?) are options, along with the normal json and xml. Wouldn't it make a lot of sense for us to add a transit-json and transit-messagepack options to Solr? -- Ashton

vim java

2014-08-13 Thread Brian Craft
fireplace is working pretty well for me when working with clojure files, but I often find I need to delve into the java to see what's going on. Is there any way to set this up so it's more seamless? I'd like to be able to jump to java source the same way I can jump to clojure source. -- You

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-13 Thread Eric Normand
This looks really 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

Re: Prismatic Schema: Unclear exception in subsequence validation

2014-08-13 Thread Niels van Klaveren
Thanks much Francois, since the validation works, I'll leave it at that and will follow the plumbing mailing list to see what happens. Regards, Niels On Wednesday, August 13, 2014 3:20:02 PM UTC+2, François Rey wrote: The resulting message is generated by the walk method of the s/Either

Attempting to call unbound fn: #'user/

2014-08-13 Thread sindhu hosamane
i get an error when i use this below function Attempting to call unbound function . Whats is wrong in below snippet? How do i fix it ? (defn convert-to-float [a] (try (if (not= a ) (read-string a)) (catch Exception e (do nil Thanks -- You received this message

Re: Attempting to call unbound fn: #'user/

2014-08-13 Thread Joe Smith
Nothing’s wrong with the code, but the `do` inside the catch form is unnecessary. Also, this won’t always convert to a float. Consider using Float/parseFloat, e.g., (Float/parseFloat “3.0”) On Aug 13, 2014, at 3:31 PM, sindhu hosamane sindh...@gmail.com wrote: (defn convert-to-float [a]

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-13 Thread Ivan L
Keep up the great work Nicola. On Wednesday, August 13, 2014 12:54:54 PM UTC-4, Nicola Mometto wrote: As some of you might know, I've been working contiuously on my various tools.* contrib libraries for the past months and I've recently added tools.analyzer.js to the list of contrib

running a jar-based cli tool

2014-08-13 Thread Brian Craft
I need to run a tool while building docs which is distributed as a jar file, and is run with java -jar. Not sure the best way to do this. lein can fetch the jar if I add it to dev dependencies, but then it's in some directory in ~/.m2. Is there some simple way to get the path so I can pass it

Re: running a jar-based cli tool

2014-08-13 Thread Shantanu Kumar
On Thursday, 14 August 2014 02:23:50 UTC+5:30, Brian Craft wrote: I need to run a tool while building docs which is distributed as a jar file, and is run with java -jar. Not sure the best way to do this. lein can fetch the jar if I add it to dev dependencies, but then it's in some

Re: running a jar-based cli tool

2014-08-13 Thread Brian Craft
Thanks! This works perfectly. It took a few tries to find the right incantation, but this seems to do: (defn -main [ args] (Main/main (into-array String args))) I note that the .clj file for this namespace ends up in the uberjar, but looks like it doesn't pull in the jar for the tool. On

Re: Prismatic Schema: Unclear exception in subsequence validation

2014-08-13 Thread Jason Wolfe
Hi Francois, There have been a few threads about this on the plumbing mailing list, and there's an ongoing thread on Github as well. https://github.com/Prismatic/schema/pull/134#issuecomment-52088191 The upshot is that it's a fundamental limitation of `either` that it can't provide good error

Re: [ANN] Clojure 1.7.0-alpha1

2014-08-13 Thread Sean Corfield
FWIW, we took 1.7.0-alpha1 to production yesterday. Despite the supposed keyword/symbol construction performance mentioned below, we actually suspect a slight slowdown compared to 1.6.0 but we don't have concrete numbers yet (and it's only a suspicion - a lot has changed recently in our code

Re: Transit Idea

2014-08-13 Thread Alex Miller
Sounds good to me. :) On Wednesday, August 13, 2014 1:59:54 PM UTC-4, Ashton Kemerling wrote: I realized that Solr currently provides a lot of language-specific serializer options. Currently Ruby, Python, PHP, and javabin(?) are options, along with the normal json and xml. Wouldn't it make

Re: [ANN] Clojure 1.7.0-alpha1

2014-08-13 Thread Alex Miller
Would definitely be interested in any feedback... On Wednesday, August 13, 2014 7:06:18 PM UTC-4, Sean Corfield wrote: FWIW, we took 1.7.0-alpha1 to production yesterday. Despite the supposed keyword/symbol construction performance mentioned below, we actually suspect a slight slowdown

Re: FYI: for Clojure people stuck with some Java, use DCEVM

2014-08-13 Thread Colin Fleming
This looks really great. Due to limitations in Clojure's interop I'm forced to use much more Java than I'd like in Cursive itself, I'll definitely give this a go. The only problem for me might be running IntelliJ under OpenJDK, I seem to recall that this didn't work well. How well does this work