Re: [ANN] Immutant 0.3.0 released

2012-09-14 Thread Rogier Peters
No offense, but could you next time provide a one line description of what your project is? On Tue, Sep 11, 2012 at 9:30 PM, Jim Crossley wrote: > We released our third official version of Immutant today! > > With this release we now publish the Immutant namespaces to Clojars. They > are of limit

Re: [ANN] Immutant 0.3.0 released

2012-09-14 Thread Mayank Jain
On Fri, Sep 14, 2012 at 1:09 PM, Rogier Peters wrote: > No offense, but could you next time provide a one line description of > what your project is? > > +1 For others here it is, What is Immutant? Immutant is an application server for Clojure. It's an integrated platform built on JBoss AS7 that

Reducers reduce my performance

2012-09-14 Thread Tassilo Horn
Hi all, I have some code which uses a lot of map/mapcat/filter stuff and is totally eager (result is always an ordered set). That looked to me like a good candidate for reducers. Basically, my code enables me to write something like this: --8<---cut here---start-

Clojure lazy-seq over Java iterative code

2012-09-14 Thread Dave Kincaid
I also posted this to StackOverflow, so sorry if you saw it there too. If you want some rep points over there you can answer there too ( http://stackoverflow.com/questions/12427518/clojure-lazy-seq-over-java-iterative-code ). I'm trying to use create a Clojure seq from some iterative Java libra

Multiple matching dispatch values (multimethods)

2012-09-14 Thread Brian Marick
Here's a simplification of an exercise I was trying to write. We have a two-level hierarchy of objects: (derive ::starship ::thing) (derive ::gaussjammer ::starship) We have a generic function that uses both arguments: (defmulti collide (fn [one two] [(type one) (type two)])) We ha

Re: Clojure lazy-seq over Java iterative code

2012-09-14 Thread Sean Corfield
On Fri, Sep 14, 2012 at 8:37 AM, Dave Kincaid wrote: > I also posted this to StackOverflow, so sorry if you saw it there too. If > you want some rep points over there you can answer there too > (http://stackoverflow.com/questions/12427518/clojure-lazy-seq-over-java-iterative-code). Looks like the

Re: Clojure lazy-seq over Java iterative code

2012-09-14 Thread Dave Kincaid
Thanks, Sean. It turns out the exception is being thrown from one of the Java classes (I should have looked closer). I just assumed that doing the recursion without loop/recur would always blow the stack eventually. I'll have to do some research to understand when it does and when it doesn't. I

Re: Multiple matching dispatch values (multimethods)

2012-09-14 Thread Sean Corfield
My first thought on seeing: (collide some-gaussjammer some-starship) was "He's colliding two starships, he'll want (defmethod collide [::starship ::starship] ...)" In (what's left of) my OO brain, I think "That only requires one upcast on gaussjammer to starship in order to get an exact matc

[ANN] clj-ns-browser 1.3.0 - the "cool button-row widget" release

2012-09-14 Thread Frank Siebenlist
We're happy to announce the new clj-ns-browser 1.3.0 - the "cool button-row widget" - release. The Clojure Namespace Browser is a GUI-based, Smalltalk-like development tool that makes it easy to see, inspect, search, and browse the different namespaces, classes/types, and vars of your live Cloj

Re: Reducers reduce my performance

2012-09-14 Thread Kevin Downey
On Fri, Sep 14, 2012 at 4:22 AM, Tassilo Horn wrote: > Hi all, > > I have some code which uses a lot of map/mapcat/filter stuff and is > totally eager (result is always an ordered set). That looked to me like > a good candidate for reducers. > > Basically, my code enables me to write something li

Fizz-Buzz and Church Numerals

2012-09-14 Thread Ulises
Hi, I've translated the code in http://experthuman.com/programming-with-nothing to Clojure and here's the result: - https://www.refheap.com/paste/5073/fullscreen (code) - https://www.refheap.com/paste/5074/fullscreen (tests) Cheers, Ulises -- You received this message because you are subscr

Re: Reducers reduce my performance

2012-09-14 Thread Tassilo Horn
Kevin Downey writes: Hi Kevin, >> This is the new version using reducers (:as r). The problem here is >> that to stop the iteration, one has to reduce the intermediate result >> in every step and check if new reachable vertices (n) could be found. >> If so, we need to do another iteration. > >

Re: Fizz-Buzz and Church Numerals

2012-09-14 Thread Baishampayan Ghose
This is awesome! On Fri, Sep 14, 2012 at 12:00 PM, Ulises wrote: > Hi, > > I've translated the code in > http://experthuman.com/programming-with-nothing to Clojure and here's > the result: > > - https://www.refheap.com/paste/5073/fullscreen (code) > - https://www.refheap.com/paste/5074/fullscre

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-14 Thread Gary Johnson
Yep. Thanks for the patch, Ben. I had set org-babel-default-header-args:clojure to '((:noweb . "tangle")) in my .emacs, so I was getting the benefit of automatic noweb expansion when tangling (but not weaving). It's all fun and games until you break someone else's setup! ;) ~Gary On Wednes

distributed fork/join

2012-09-14 Thread kovas boguta
Who wants to run reducers in a distributed, hdfs-backed environment? Some cool stuff coming down the pike: http://medianetwork.oracle.com/video/player/1785432463001 https://thestrangeloop.com/sessions/h2o-open-source-bigdatabase-for-interactive-analytics I don't know this guy, but if anyone does

[ANN] drakerlabs/lein-deploy-app 0.2.0

2012-09-14 Thread Robert Levy
A very simple plugin that I wrote today that we're using in our approach to continuous integration and deployment at Draker. Enjoy! Comments, feedback, issues, or pull requests are welcome... --Rob lein-deploy-app A Leiningen plugin to push application uberjars to an AWS s3 bucket, organized by ap