Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Daniel Szmulewicz
Hi Sanel and thanks for Monroe. I think the use case is clear: lightweight alternative to Cider. So the question is what is the use case pertaining to nrepl.el, which is also lightweight. On Wednesday, September 24, 2014 7:50:52 PM UTC+3, Sanel Zukan wrote: Hi everyone, Here

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Bozhidar Batsov
On October 3, 2014 at 3:06:08 PM, Daniel Szmulewicz (daniel.szmulew...@gmail.com) wrote: Hi Sanel and thanks for Monroe.  I think the use case is clear: lightweight alternative to Cider.  So the question is what is the use case pertaining to nrepl.el, which is also lightweight. This question is

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Daniel Szmulewicz
You're right. I got confused because in ob-clojure.el, both cider and nrepl.el are considered back-ends, so I thought they were separate things. So in fact, nrepl.el is just an old incarnation of Cider? Ob-clojure.el needs a fixing, I believe. Oops, I meant nrepl.el:

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Ashton Kemerling
The transition to cider was tough for some, I remember it being broken for me for a version or two. Perhaps they added that for the transition? On Fri, Oct 3, 2014 at 6:40 AM, Daniel Szmulewicz daniel.szmulew...@gmail.com wrote: You're right. I got confused because in ob-clojure.el, both

Clojuredocs broken

2014-10-03 Thread gvim
Clojuredocs.org seems to be broken. Typing into the search boxes freezes after a few characters and searches often produce a 404 page. I'm on OS X 10.8. Same result with Chrome and Safari. gvim -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: What is the best setup to program Clojurescript IF...

2014-10-03 Thread Rory Douglas
+1 for Lighttable -- 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,

count occurrences of a char in a string or a collection

2014-10-03 Thread emptya45
Hi, Is there a higher-order function(s) that count occurrences of characters in either a string or a collection? Thanks Paul -- 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

Re: count occurrences of a char in a string or a collection

2014-10-03 Thread Jony Hudson
frequencies : http://clojuredocs.org/clojure.core/frequencies Jony On Friday, 3 October 2014 15:22:49 UTC+1, empt...@gmail.com wrote: Hi, Is there a higher-order function(s) that count occurrences of characters in either a string or a collection? Thanks Paul -- You received this

For async, expose the channel directly or expose a function?

2014-10-03 Thread Brian Guthrie
Hi all, I'm assembling a library for working with sockets asynchronously (both as a server and a client) and was wondering if there was a widely-accepted way of handling channels. The rough idea is that each socket gets two channels, in and out, receiving data in the former and using the latter

Getting rid of boxing and reflection when working with characters

2014-10-03 Thread Fluid Dynamics
OK, can someone tell me what the hell is going on here? (defn alphanumeric? Given a character, returns true iff the character is alphanumeric. Accented letters and other things that pass Character/isAlphabetic are all counted as alphanumeric. [^long c] (or (Character/isDigit c)

Hiring Clojure / Clojurescript Developers (short term consulting and long-term employment)

2014-10-03 Thread ieslick
I'm leading a team at Lyminal.co (a VC-backed spin-out from Vital Reactor and another SF company) developing a next-generation platform for healthcare delivery that applies data science to personalized care. We are invested heavily in Clojure for our SaaS backend and Clojurescript powering a

Re: Clojuredocs broken

2014-10-03 Thread Andy Fingerhut
If you scroll down to near the bottom of the ClojureDocs.org home page, there is a Give Feedback section with a link to where you can create an issue on Github. I'd recommend including browser version numbers in your report, too, just in case. Have you tried Firefox? I had an issue on

Clojuredocs broken

2014-10-03 Thread zk
Please open an issue (https://github.com/zk/clojuredocs/issues) and provide reproduction instructions / screenshots. -- 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

Re: ECHELON: Wrangling messy political data

2014-10-03 Thread xavriley
Hi Zack, First off, really great work on Echelon! I work on similar data problems at opencorporates.com (who are partly funded by sunlight) and it's great to see instaparse and clojure being used in this way. I'm looking forward to trying it out myself. I just wanted to suggest that although

Re: Getting rid of boxing and reflection when working with characters

2014-10-03 Thread adrian . medina
charAt returns a char, not a primitive int, which is why you are getting the ClassCastException java.lang.Character cannot be cast to java.lang.Number exception. The long coercion function will inline to `(. clojure.lang.RT (longCast ~x)), and since that that is a static method which lacks a

Re: Getting rid of boxing and reflection when working with characters

2014-10-03 Thread adrian . medina
You can also call (.getNumericValue (.charAt foo 0)) to get the int the static Character isX methods expect. On Friday, October 3, 2014 2:38:58 PM UTC-4, adrian...@mail.yu.edu wrote: charAt returns a char, not a primitive int, which is why you are getting the ClassCastException

[ANN] Spring/Clojure integration

2014-10-03 Thread henrik42
Hi, i've been using Spring for Java development for a while now and wanted to share my ideas of how Clojure might fit into that. I know that Clojure does not need DI but I'd like to use Clojure for logging, debugging, performance measurement etc. within a Java-based app. If you're interested

Re: [ANN] Monroe 0.1.0 - nrepl client for Emacs

2014-10-03 Thread Bozhidar Batsov
Yeah, they should definitely remove nrepl.el support from ob-clojure.el. —  Cheers, Bozhidar On October 3, 2014 at 15:40:31, Daniel Szmulewicz (daniel.szmulew...@gmail.com) wrote: You're right.  I got confused because in ob-clojure.el, both cider and nrepl.el are considered back-ends, so I

Re: For async, expose the channel directly or expose a function?

2014-10-03 Thread Stuart Sierra
You generally provide more power and flexibility to consumers by handing them channels. That way the consumer can use things like transducers and pipelines. For maximum flexibility, allow the consumer to *pass in* the channels to be used for input / output. That way the consumer gets to decide

[ANN] fast-zip 0.5.0 now with ClojureScript support

2014-10-03 Thread Alexander Hudek
Thanks to the wonderful work of Joel Holdbrooks, fast-zip now has ClojureScript support. See the benchmarks below. The ClojureScript benchmark only uses simple compiler optimizations. Git: https://github.com/akhudek/fast-zip Clojars: [fast-zip 0.5.0] CLJS has ~ 1.7x speedup: :clojure.zip x

Re: For async, expose the channel directly or expose a function?

2014-10-03 Thread Brian Guthrie
Thanks for the feedback! I buy that direct access to the channels provides more transformative power, so I'll stick with that. But I'm troubled by the idea of accepting channels as arguments, even though there's a lot to be said for consumer control of buffer sizes (to say nothing of providing