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

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: 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

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: 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 dsg123456...@gmail.com: 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

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

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

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

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 described

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 repohttps://github.com/nasser/clojure-unitythat you can look at if you're feeling adventurous. On Saturday,

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 repohttps://github.com/nasser/clojure-unityyou can look at if you're feeling adventurous. -- You received

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

2014-04-27 Thread Peter B. West
On 27 Apr 2014, at 7:40 pm, Carlo Zancanaro carlozancan...@gmail.com 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

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?

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 simon.f.dohe...@gmail.comwrote: We're encountering some strange behaviour with the instance? function. The first two

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

{{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.0https://github.com/killme2008/xmemcached/releases/tag/xmemcached-2.0.0, 10% performance improved for text protocol and fixed some issues. - Added

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 componenthttps://github.com/stuartsierra/componentsystem would work for you. marc On Sun, Apr 27, 2014 at 10:30 AM, Peter B. West peter.b.w...@gmail.comwrote:

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,