Re: [ANN] Clojure 1.7.0-alpha6 released

2015-04-03 Thread tcrayford
Alex: I'd bet heavily on the slower ones being measurement noise (they only differ by a few percent) - I typically see that much variation between runs. I probably shouldn't have reported them as slower - 1-5% is (in my experience) typically just noise, so don't think it's worth digging into.

into still losing metadata (CLJ-916)

2015-04-03 Thread Gregg Reynolds
Hi, http://dev.clojure.org/jira/browse/CLJ-916 reports that into loses metadata; it is marked closed and fixed in 1.5. However, into still seems to be losing metadata. The relevant code from 1.7-alpha6 (core.clj) is: (if (instance? clojure.lang.IEditableCollection to) (with-meta

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-04-03 Thread Alex Miller
If you want caching behavior, then use it as a sequence. If you want faster iteration, use it via reduce. The whole point of this change is to open the faster reduce path, which you won't get if you also cache. I did some research a few months back via crossclj looking at how people typically

Re: into still losing metadata (CLJ-916)

2015-04-03 Thread Alex Miller
The CLJ-916 commit (https://github.com/clojure/clojure/commit/b5d0e84f92038449312bea4c31dcdedd499e28b8) looks like it preserved meta on the to collection but did not merge meta from the from collection, so as far as I can tell this is a new enhancement. Feel free to file a ticket for that but

Re: Transducers: sequence versus eduction

2015-04-03 Thread Steve Miner
On Apr 1, 2015, at 11:16 AM, Alex Miller a...@puredanger.com wrote: - eduction now takes multiple transformations, not just one, and composes them. This is designed for mechanical rewriting (hello tool developers!!) of - chains like this: (- s (interpose 5) (partition-all 2)) to

[ANN] ednsl-0.2.0: a super-simple DSL for building DSLs

2015-04-03 Thread James Laver
It’s not quite as stupid as it sounds and it’s mostly the result of factoring out the config handling code from oolong[1] https://github.com/jjl/ednsl/ https://clojars.org/ednsl Happy hacking! James [1] https://github.com/jjl/oolong/ -- You received this message because you are subscribed

[ANN] Buddy 0.5.0: Security library for clojure.

2015-04-03 Thread Andrey Antukh
Hi! I am happy to announce a new release of buddy, a security library for clojure. Since the buddy is split in different modules, here relevant changes across all modules: buddy-core: - Add support for AEAD mode of operations (gcm) - Add support for AES Key Wrapping algorithms. - Add support

Re: Update multiple values in vector at once

2015-04-03 Thread Leon Grapenthin
(defn upd-vec [input-vector ids new-values] (apply assoc input-vector (interleave ids new-values))) (upd-vec [0 0 0 0 0] [1 3] [1.44 1.45]) ;= [0 1.44 0 1.45 0] On Monday, March 30, 2015 at 8:05:44 PM UTC+2, Alexandr wrote: Hello everybody, How can I update values in the vector given

Re: Any chance of a module system being added to the language?

2015-04-03 Thread Ivan L
Osgi brings in so many other things to worry about. Imo not a route to consider. The main issue is every jar you use would have to have an osgi friendly implementation. For this reason a lot of libs are duplicated after source alteration into a new repo. Great for tightly controlled

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-03 Thread Juvenn Woo
Agree with Andy. As a starter, it is better and faster to learn Clojure alone. After you grasped one, the other lisps will be easy to follow. Emacs has been the de facto goto choice for most here, it is highly recommended to invest into it. Other than that, there're vim fireplace, as well as

Re: clojure, not the go to for data science

2015-04-03 Thread Rafael de F. Ferreira
I would be awesome if you could provide links to some of the books, YouTube videos, and clojure wrappers that you'd recommend. On Thursday, April 2, 2015, A aael...@gmail.com wrote: Clojure is an Amazing tool for data science. If people are slow to realize this, that is their disadvantage.

Should Clojure/GSoC join a non-profit?

2015-04-03 Thread Daniel Solano Gómez
Hello, all, The student application deadline has passed and we now have over twenty student applications to review. We will not know for another week and a half or so how many students we will be able to accept, and Google will announce final decisions on the 24th. In the meantime, I would like

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-03 Thread Andy Fingerhut
If your goal is to learn Clojure, I would recommend not learning Emacs Lisp at the same time, just to avoid confusion that may arise in your mind due to the differences between the two. You can use Emacs without learning Emacs Lisp with no problem. I've used Emacs for 20 years, and only know a

anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-03 Thread mnzhzf
i am about to use emas and start to learn emacs lisp, would the study of emacs lisp help to learn clojure, both of them are lisp dialect, so would it take a long time to swich from emacs lisp to clojure? i just want to learn clojure, but i wanna to start from emacs and emacs lisp, is that an

Re: into still losing metadata (CLJ-916)

2015-04-03 Thread Gregg Reynolds
On Fri, Apr 3, 2015 at 8:06 AM, Alex Miller a...@puredanger.com wrote: The CLJ-916 commit ( https://github.com/clojure/clojure/commit/b5d0e84f92038449312bea4c31dcdedd499e28b8) looks like it preserved meta on the to collection but did not merge meta from the from collection, so as far as I can

Re: Transducers: sequence versus eduction

2015-04-03 Thread Alex Miller
I understand your point and there are several competing comparisons here. Generally only collection functions take the coll first. eduction is similar to sequence (and into and reduce and transduce) in taking it last (but differs in taking multiple xforms). The multiple xforms are similar to -