Re: Clojure lib for blocking io ?

2014-04-27 Thread makkalot
Hi, Yeah, what I mean is non-blocking io or async io. Thanks. On 04/28/2014 09:07 AM, Atamert Ölçgen wrote: On Mon, Apr 28, 2014 at 1:50 PM, makkalot > wrote: Hi, What would be recommended way of handling lots of blocking io concurrent connections ?

Re: Clojure lib for blocking io ?

2014-04-27 Thread Atamert Ölçgen
On Mon, Apr 28, 2014 at 1:50 PM, makkalot wrote: > Hi, > > What would be recommended way of handling lots of blocking io concurrent > connections ? Apparently, core.async is not very good match for this job, > because of its limited thread pool and thread (thread macro) per > connection design.

New Functional Programming Job Opportunities

2014-04-27 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: functional software developer at OpinionLab http://functionaljobs.com/jobs/8706-functional-software-developer-at-opinionlab Cheers, Sean Murphy FunctionalJobs.com -- You received this message because you

Clojure lib for blocking io ?

2014-04-27 Thread makkalot
Hi, What would be recommended way of handling lots of blocking io concurrent connections ? Apparently, core.async is not very good match for this job, because of its limited thread pool and thread (thread macro) per connection design. Which library would be a good fit for that ? aleph, pulsa

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-27 Thread Marc Limotte
I don't know the details of your particular use, but for a general solution to the resource management problem, maybe Stuart Sierra's componentsystem would work for you. marc On Sun, Apr 27, 2014 at 10:30 AM, Peter B. West wrote: > > On 27 Apr 2014, at

{{ANN} clj-xmemcached release 0.2.4

2014-04-27 Thread dennis zhuang
An opensource memcached client for clojure,it wraps xmemcached. 0.2.4 releases, main highlights: - Upgrade xmemcached to 2.0.0, 10% performance improved for text protocol and fixed some issues. - Added nippy-transcod

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-27 Thread Carlo Zancanaro
On Mon, Apr 28, 2014 at 12:30:00AM +1000, Peter B. West wrote: > I have no ambitions to solve the general problem; just to find a > workable solution for my own use. What is your own use? Your current solution involves using a shared global variable to communicate between two functions, and tying

Re: Strange dot behaviour

2014-04-27 Thread Andy Fingerhut
I believe you are hitting this issue, which was fixed in Clojure 1.6.0 http://dev.clojure.org/jira/browse/CLJ-1171 Andy On Sun, Apr 27, 2014 at 2:20 PM, Simon Doherty wrote: > We're encountering some strange behaviour with the instance? function. The > first two examples are expected behav

Strange dot behaviour

2014-04-27 Thread Simon Doherty
We're encountering some strange behaviour with the instance? function. The first two examples are expected behaviour: (instance? Double 42.0) > => true > (instance? 99 42.0) > ClassCastException java.lang.Long cannot be cast to java.lang.Class but the next is not: (let [Double 99] (instance? D

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-27 Thread Peter B. West
On 27 Apr 2014, at 7:40 pm, Carlo Zancanaro wrote: > I'm struggling to understand the problem that you're actually trying to > solve. The solution that you are proposing doesn't seem like an elegant > solution to any problem, so could you elaborate on what you're trying to > do? > http://dev.c

Re: Unity 3d and Clojure

2014-04-27 Thread Max Kreminski
It looks like it's still in the "mostly functional hack" phase, and there's not yet any documentation on how to set it up or what exactly can be done with it, but there's a public GitHub repoyou can look at if you're feeling adventurous. -- You receive

Re: Unity 3d and Clojure

2014-04-27 Thread Max Kreminski
It looks like it's still in the "mostly functional hack" phase, and there's not yet any documentation on how to set it up or what exactly can be done with it, but there's a public GitHub repothat you can look at if you're feeling adventurous. On Saturda

Re: Ring + Compojure new route recognition

2014-04-27 Thread Brian Craft
I haven't used "lein ring server", but my understanding is that it reloads when you write to disk. If you're just using the Eval feature of Fireplace, it's not going to write anything to disk, so lein won't know it should reload. I've been using fireplace with the "manual" ring process describe

Proposing a new Clojure documentation system (in Clojure)

2014-04-27 Thread Daniel
I'm all for getting behind Marginalia and improving it to meet whatever needs are wanted by the community while staying true to it's docco roots. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

Ring + Compojure new route recognition

2014-04-27 Thread Jarrod Swart
I've noticed that when using Ring + Compojure w/ LightTable the following process will get me access to any newly added routes. 1. Add a route 2. Eval the route NS 3. Eval the handler NS 4. Check route in browser 5. Success Recently I've begun using Vim + Fireplace. I cd to my project dir and s

Starting work on a new dialect on top of the JVM

2014-04-27 Thread Divyansh Prakash
Hey! I have some ideas that I will be talking about here. Here's a little introduction. http://pizzaforthought.blogspot.in/2014/04/lisp-teleology.html -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: ANN Major breaking public API changes coming to several ClojureWerkz projects

2014-04-27 Thread Michael Klishin
2014-04-27 18:12 GMT+04:00 dgrnbrg : > Is this slated for Welle too? I didn't see it mentioned. Yes. -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

ANN Major breaking public API changes coming to several ClojureWerkz projects

2014-04-27 Thread dgrnbrg
Is this slated for Welle too? I didn't see it mentioned. -- 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

Re: Clojure cons vs. conj

2014-04-27 Thread Joshua Ballanco
I think you’ve actually answered your own question without realizing it. At least, the way I was taught is that “conj” is always constant time w.r.t. the collection being appended to. Since different collections have different internal storage mechanisms, that means that “conj” will do different

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-27 Thread Carlo Zancanaro
I'm struggling to understand the problem that you're actually trying to solve. The solution that you are proposing doesn't seem like an elegant solution to any problem, so could you elaborate on what you're trying to do? On Fri, Apr 25, 2014 at 08:58:42AM -0700, Peter West wrote: > One interesting

Re: Proposing a new Clojure documentation system (in Clojure)

2014-04-27 Thread Fergal Byrne
Hi Valentin, Thanks for starting such an excellent discussion, and your initial posting is very well put. I think you should talk to Chris Zheng who has developed a tool called lein-midje-doc [1] which it seems answers much of your questions. I've been using it for months now and it is the centrep