Re: core.async take behaviour

2014-09-04 Thread cig
Thanks Alex. Feel silly not to have noticed the partition function. When will transduces be available to use? On Wednesday, 3 September 2014 22:48:20 UTC+2, Alex Miller wrote: I think that's just a partition transducer on the channel? On Wednesday, September 3, 2014 2:24:28 AM UTC-5, Gary

A very short explanation of transducers (a comparison to Ring middleware)

2014-09-04 Thread Peter Taoussanis
Seems a lot of folks have been having trouble grokking Clojure 1.7's new transducers stuff, which is a pity because they're wicked cool. Figured an analogy with something familiar might be helpful, so here's a very quick comparison with Ring middleware:

Re: clojure streams

2014-09-04 Thread Chris Gill
There are some stream libraries that exist, though core.async channels could likely be used for most things stream related. I made one called kuroshio (https://github.com/viperscape/kuroshio) which solves some small trade offs I didn't want to make with other libraries, there is also lamina

Re: core.async take behaviour

2014-09-04 Thread Ashton Kemerling
IIRC they are coming out in clojure 1.7. I don't see any indication of when it will be declared as stable, but there are alpha builds available if you need them.  -- Ashton On Thu, Sep 4, 2014 at 1:29 AM, cig clifford.goldb...@gmail.com wrote: Thanks Alex. Feel silly not to have noticed

[ANN] Marginalia 0.8.0 and lein-marginalia 0.8.0 released (now supports javascript literals)

2014-09-04 Thread Gary Deer
Please update your profiles.clj to point to lein-marginalia 0.8.0 I'd like to thank Fogus for his guidance through my first time maintaining a library people actually use. It's been a fun learning experience. I'd also like thank Murphy McMahon (pandeiro) for the help with adding support for

Re: Useless Java error messages

2014-09-04 Thread J David Eisenberg
On Tuesday, September 2, 2014 5:13:49 PM UTC-7, Beau Fabry wrote: apologies, not a leiningen plugin. https://github.com/AvisoNovate/pretty Thank you. This looks most interesting. I was able to find clj-pretty-error on Clojars; github is https://github.com/liquidz/clj-pretty-error, but it

Clojure Vim Ctags (oh my!)

2014-09-04 Thread Alan Thompson
Hi, I've been using Clojure Vim for a year now, with fireplace, etc. However, it seems that Exuberant Ctags is a bit crippled since I have not found a way to make it understand namespace aliases. In my current work it seems that nearly every function is in a separate namespace with a namespace

Re: Clojure Vim Ctags (oh my!)

2014-09-04 Thread Jason Felice
Is using tools.analyzer.jvm overkill? Do you want to capture pre-macro-expansion, post-marco-expanion, both? On Thu, Sep 4, 2014 at 2:41 PM, Alan Thompson clooj...@gmail.com wrote: Hi, I've been using Clojure Vim for a year now, with fireplace, etc. However, it seems that Exuberant Ctags

Re: Clojure Vim Ctags (oh my!)

2014-09-04 Thread Alan Thompson
Nothing that fancy. Just trying to make ctags understand namespaces namespace aliases. Vim/Ctags works fine for non-namspaced function references, like: (parseLong 5) However, the following won't work: (ns demo (:require [mylib.parse :as parse])) (parse/parseLong5) ; fail

Re: Clojure cheatsheet v16 with few updates for Sets, Maps, and Relations sections

2014-09-04 Thread Alan Thompson
Thanks for the update! I noticed that the URL still implies usage of Clojure 1.3: http://jafingerhut.github.io/cheatsheet-clj-1.3/cheatsheet-tiptip-cdocs-summary.html Should this change as well? Alan On Fri, Aug 29, 2014 at 6:56 AM, Andy Fingerhut andy.finger...@gmail.com wrote: Newest

[ANN] aprint (awesome print) released

2014-09-04 Thread Vladimir Bokov
Hi folks, I got just tired to gazing into big amount of data and scroll 3-4 screens of my 13' laptop to grasp the structure, so I used pprint's pretty printer, but add colors and changed indentation *by default* (actually pprint has tuning parameters, too, but anyway it's breaking maps by

Re: Clojure Vim Ctags (oh my!)

2014-09-04 Thread Gary Verhaegen
Not sure what you're trying to get from ctags, but fireplace itself gives you some ability to jump around: gf on an external symbol will jump to that symbol's definition. On Thursday, 4 September 2014, Alan Thompson clooj...@gmail.com wrote: Nothing that fancy. Just trying to make ctags

Re: [ANN] Marginalia 0.8.0 and lein-marginalia 0.8.0 released (now supports javascript literals)

2014-09-04 Thread John Wiseman
Two quick questions: 1. Are there change/release notes anywhere? 2. What are some of the things that have come out recently that will make this library easier to maintain? On Thu, Sep 4, 2014 at 8:24 AM, Gary Deer gdee...@gmail.com wrote: Please update your profiles.clj to point to

Re: Clojure cheatsheet v16 with few updates for Sets, Maps, and Relations sections

2014-09-04 Thread Andy Fingerhut
I've moved the pages to link names that are less misleading (no version number), and for anyone that still has direct bookmarks or links to the former locations, links to the new location. Andy On Thu, Sep 4, 2014 at 2:26 PM, Alan Thompson clooj...@gmail.com wrote: Thanks for the update! I

Re: core.async take behaviour

2014-09-04 Thread Alex Miller
Transducers are available now in Clojure 1.7.0-alpha1. Alpha2 coming real soon now. -- 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

Re: [ANN] Marginalia 0.8.0 and lein-marginalia 0.8.0 released (now supports javascript literals)

2014-09-04 Thread Gary Deer
1. Release notes esta aqui https://github.com/gdeer81/marginalia/blob/master/docs/release-notes/marginalia-v0.8.0-release-notes.markdown 2. I'm experimenting with different parsers which might simplify the codebase as well as writing better tests On Thursday, September 4, 2014 6:26:06 PM

Re: core.async take behaviour

2014-09-04 Thread Colin Fleming
Is there any indication of when transducers are likely to make it to a stable version of Clojure? Given that there's a long time between major releases and 1.6 just came out, are they likely to be backported to a 1.6 point release when they're done or will we have to wait for 1.7? On 5 September

Re: core.async take behaviour

2014-09-04 Thread Sean Corfield
Define stable. We've had Clojure 1.7.0 Alpha 1 in production since August 12th with no problems. On Sep 4, 2014, at 7:07 PM, Colin Fleming colin.mailingl...@gmail.com wrote: Is there any indication of when transducers are likely to make it to a stable version of Clojure? Given that there's a

Is this a reasonable use of core.async?

2014-09-04 Thread Beau Fabry
Is the kinda ugly constant (doall usage a sign that I'm doing something silly? (let [num-workers 4 widgets-per-worker (inc (int (/ (count widgets) num-workers))) bucketed-widgets (partition-all widgets-per-worker widgets) workers (doall (map (fn [widgets]