Re: Acceptance testing with Clojure

2014-09-29 Thread Adrian Mowat
Thanks for pointing out prism - it's just what I needed. Is there any way to add colours to the output so I can easily see if a test failed? On Sunday, 28 September 2014 15:34:39 UTC+1, Ashton Kemerling wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I can answer this in two wa

behavior of as-> macro

2014-09-29 Thread Sunil S Nandihalli
Hi everybody, I get the following when I try to use the as-> macro user=> (def x (as-> {:a 10 :b 20} {:keys [a b] :as w} {:a (* 2 a) :b (* 2 b)})) #'user/x user=> x {:keys [20 40], :as {:a 20, :b 40}} user=> I would have expected x to be {:a 20 :b 40}, not what I see above. Can somebody expla

Re: behavior of as-> macro

2014-09-29 Thread Sunil S Nandihalli
I think the definition of as-> should be changed to this. I feel this behavior is more consistent with the rest of clojure. (defmacro as-> [expr name & forms] `(let [~name ~expr ~@(interleave (repeat name) (take (dec (count forms)) forms))] ~(last forms)) Thanks, Sunil On Mon, Sep 29, 2014 at 2:

core.async: peek the next value from a channel without consuming it

2014-09-29 Thread Nahuel Greco
Currently if you block/park on a channel reading it by using http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsu

Re: [PSA] Clojars scp disabled until further notice

2014-09-29 Thread Michael Klishin
On 27 September 2014 at 09:32:13, Sean Corfield (s...@corfield.org) wrote: > If Clojars' scp remains unavailable, will that pain be sufficient > to > switch library maintainers to https deploy? Or will those maintainers > just stop making releases and abandon their libraries? I've had to do a

Re: behavior of as-> macro

2014-09-29 Thread Nahuel Greco
I reported this issue to the Clojure JIRA a while ago: http://dev.clojure.org/jira/browse/CLJ-1418 , please vote it up. El 29/09/2014 05:55, "Sunil S Nandihalli" escribió: > I think the definition of as-> should be changed to this. I feel this > behavior is more consistent with the rest of cloju

Re: Where can one find low hanging fruit for open source contribution?

2014-09-29 Thread Mikera
I'd suggest picking something based on your own interests. It is always best to work on something where you have personal motivation / passion. Once you've done that: identify an issue or two that you want to work on, engage with the community (to discuss ideas, check that nobody else is workin

Re: Acceptance testing with Clojure

2014-09-29 Thread Ashton Kemerling
Possibly, I don't know off the top of my head though. On Mon, Sep 29, 2014 at 2:13 AM, Adrian Mowat wrote: > Thanks for pointing out prism - it's just what I needed. > Is there any way to add colours to the output so I can easily see if a test > failed? > On Sunday, 28 September 2014 15:34:39 U

Re: [ANN] Clojure Videos (with options for Linux users)

2014-09-29 Thread Luis Matoso
+1 for Paypal. I from brazil and i would be awesome to pay using paypal On Monday, September 22, 2014 1:22:35 PM UTC-3, Bozhidar Batsov wrote: > > I was thinking the same thing. Lack of paypal support is the only reason I > haven’t subscribed yet… > > Not sure if it’s something supported by pivot

Re: Handling java streams..

2014-09-29 Thread John Gabriele
On Monday, June 27, 2011 5:50:52 PM UTC-4, Ken Wesson wrote: > > On Mon, Jun 27, 2011 at 6:52 AM, Andreas Liljeqvist > wrote: > > most clojurists(?) > > seems to roll their own solution. > > Probably because it's [clojure.java.io] not in clojure.core, which means > > a) it isn't found by searchin

Re: behavior of as-> macro

2014-09-29 Thread Sunil S Nandihalli
upvoted your bug-report. On Mon, Sep 29, 2014 at 4:56 PM, Nahuel Greco wrote: > I reported this issue to the Clojure JIRA a while ago: > http://dev.clojure.org/jira/browse/CLJ-1418 , please vote it up. > El 29/09/2014 05:55, "Sunil S Nandihalli" > escribió: > >> I think the definition of as->

Re: [ANN] A guide to setup test driven workflow for Clojure

2014-09-29 Thread suvash
ns-tracker seems to be pretty neat too. Thanks for letting me know. On Monday, September 29, 2014 3:57:20 AM UTC+2, Tao Zhou wrote: > > just use: https://github.com/weavejester/ns-tracker, > > (ns xxx.repl) > > (def modified-namespaces (ns-tracker ["src" "test"])) > > (defn reload [] > (doseq [n

Clojure cheat sheet now links to ClojureDocs.org for things added since Clojure 1.4

2014-09-29 Thread Andy Fingerhut
The Clojure cheat sheet with links to ClojureDocs.org [2] now also links to ClojureDocs.org for things added since Clojure 1.4, because now ClojureDocs.org [1] has been updated to include all of those things. I suspect Zachary Kim, or perhaps several people, deserve a round of applause for all of

Re: [ANN] Clojure Videos (with options for Linux users)

2014-09-29 Thread Michael Wood
You're in luck! Check the link at the bottom of this page: https://tbaldridge.pivotshare.com/ -- Michael Wood On 29 Sep 2014 4:05 PM, "Luis Matoso" wrote: > +1 for Paypal. I from brazil and i would be awesome to pay using paypal > > On Monday, September 22, 2014 1:22:35 PM UTC-3, Bozhidar Bats

Re: Clojure cheat sheet now links to ClojureDocs.org for things added since Clojure 1.4

2014-09-29 Thread zk
Hey, thanks for the kind words, Andy. I'd like to apologize to everybody here, I know it's been very frustrating having such a visible project like ClojureDocs behind for so long. With this rewrite bumping versions is a 3 line code change and a redeploy [1], so version lags won't happen again.

Re: Clojure cheat sheet now links to ClojureDocs.org for things added since Clojure 1.4

2014-09-29 Thread gvim
On 29/09/2014 22:52, Andy Fingerhut wrote: As usual, the latest Clojure cheat sheets are available at [2]. The version at clojure.org/cheatsheet will be updated some time to match. Andy [1] http://clojuredocs.org [2] http://jafingerhut.github.io Any chance of

Re: Where can one find low hanging fruit for open source contribution?

2014-09-29 Thread Michael Drogalis
Hi there, About a week ago, I open sourced Onyx, a new distributed computation platform: https://github.com/MichaelDrogalis/onyx I've been looking for help from developers of all skill levels, though I have 3 or 4 open tasks particularly well suited to someone with intermediate skills. Two ta

Re: Where can one find low hanging fruit for open source contribution?

2014-09-29 Thread Marcus Blankenship
Cool, thanks Michael. Do you mind if I add it to the Clojure Learning Resources repo page? https://github.com/marcuscreo/clojure-learning-resources On Sep 29, 2014, at 5:54 PM, Michael Drogalis wrote: > Hi there, > > About a week ago, I open sourced Onyx, a new distributed computation > pl

Re: Where can one find low hanging fruit for open source contribution?

2014-09-29 Thread Mike Drogalis
Please do. :) On Mon, Sep 29, 2014 at 5:57 PM, Marcus Blankenship wrote: > Cool, thanks Michael. Do you mind if I add it to the Clojure Learning > Resources repo page? > > https://github.com/marcuscreo/clojure-learning-resources > > > On Sep 29, 2014, at 5:54 PM, Michael Drogalis > wrote: > >

Re: [ANN] aprint (awesome print) released

2014-09-29 Thread tao.zhou2009
lein repl nREPL server started on port 51413 on host 127.0.0.1 - nrepl://127.0.0.1:51413 REPL-y 0.3.1 Clojure 1.6.0 Docs: (doc function-name-here) (find-doc "part-of-name-here") Source: (source function-name-here) Javadoc: (javadoc java-object-or-class-here) Exit: Control+D or

Re: Clojure cheat sheet now links to ClojureDocs.org for things added since Clojure 1.4

2014-09-29 Thread Andy Fingerhut
I haven't gotten into ClojureScript myself yet, so don't really have the knowledge or interest to update the one there. If there is an actively maintained one hosted somewhere else, let me know and I will link to it. If someone wants to update the one on my page (source at [1]), I would be happy

Re: [ANN] Onyx: Distributed data processing in Clojure

2014-09-29 Thread Huahai Yang
HI MIchael, Great work. I enjoyed your strangeloop talk. In the README.md, you stated that Onyx "competes against Storm, Cascading, Map/Reduce, Dryad, Apache Sqoop, Twitter Crane". Could you please shed some light on a comparison with Spark? Apparently Spark is on the road to become a favo

Re: [ANN] Onyx: Distributed data processing in Clojure

2014-09-29 Thread Christopher Small
Regarding the broader sense, I've heard good things about flambo ( https://github.com/yieldbot/flambo), but haven't tried it. Of course, it's always nice to have something that's written in the language your working with; as nice as JVM interop is, it can have it's warts. So, the question stands.