Re: [ANN] Clojure 1.7.0-RC2

2015-06-22 Thread James Elliott
After using it all weekend, everything looks good for me. Thanks! On Wednesday, June 17, 2015 at 12:44:39 PM UTC-5, Alex Miller wrote: Clojure 1.7.0-RC2 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0-RC2/ - Leiningen: [org.clojure/clojure

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Christopher Small
Just a couple of comments: As I was typing, Mars0i's message came in, with much of much what I wanted to say about documentation, but I'll reiterate a couple of key points: You can have an intuitive API that's poorly documented, just as it's possible to have a terrible API with great

New Functional Programming Job Opportunities

2015-06-22 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Junior full stack developer at Maestro http://functionaljobs.com/jobs/8835-junior-full-stack-developer-at-maestro Clojure Engineer at Funding Circle

Re: [ANN] superstring - A string manipulation library

2015-06-22 Thread Robin Heggelund Hansen
CLJS outputs valid ES3 code, but string.prototype.normalizer is API, and can be added with a polyfill. That said, I don't really like code that depends on polyfills to function, so another solution would be preferred, especially since ES6 isn't that supported yet. søndag 21. juni 2015 17.23.37

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
As for performance benchmarks, I have to echo Mike that it seemed strange to me that you were claiming you were faster on ALL benchmarks when I'd only seen data on one. Would you mind sharing your full benchmarking analyses? I think this might be a very important issue, and I am glad

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
(For the record I don't think it's fair to criticize core.matrix as not being an API because the documentation is limited. The API is in the protocols, etc. The problem with that view (for me, anyway) is that only a portion of an API could be captured with protocols, and that is even an

Re: roundtripping using data.xml?

2015-06-22 Thread Andreas Liljeqvist
Seems like the Prefix cannot be null is still a problem. Do anyone have a solution to this? I am trying to roundtrip inkscape-svg to be exact. It happens to contain a whole lot of namespaces. Smallest example: (- test.svg slurp clojure.data.xml/parse-str clojure.data.xml/emit-str) On Thu, Oct

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
core.matrix claims that it is fast on its project page (with which I agree in some cases). I expected from that, and from the last couple of your posts in this discussion, that there are some concrete numbers to show, which I can't find. My claim to win ALL benchmarks (excluding maybe tiny

Basic question: what's the difference between require as and use as?

2015-06-22 Thread Ritchie Cai
For example: (:require [clojure.java.io :as io]) vs (:use [clojure.java.io :as io]) In both cases, we can end up using it with (io/function name ... ). Is there a difference at all? Thanks Ritchie -- You received this message because you are subscribed to the Google Groups Clojure group. To

Re: How to share the large files that can not fit in Github?

2015-06-22 Thread Daniel Jomphe
Since you mentioned GitHub, have you looked at Git Large File Storage? https://github.com/blog/1986-announcing-git-large-file-storage-lfs On Monday, June 22, 2015 at 4:09:31 PM UTC-4, Mohit Thatte wrote: AWS S3 is a great place to put large files

Re: Basic question: what's the difference between require as and use as?

2015-06-22 Thread Sean Corfield
On Jun 22, 2015, at 1:50 PM, Ritchie Cai ritchie...@gmail.com wrote: For example: (:require [clojure.java.io :as io]) vs (:use [clojure.java.io :as io]) In both cases, we can end up using it with (io/function name ... ). Is there a difference at all? Yes, (:use [clojure.java.io :as io])

Re: Basic question: what's the difference between require as and use as?

2015-06-22 Thread Ritchie Cai
Ok, so require without :refer will default to :refer :all? On Jun 22, 2015, at 4:32 PM, Sean Corfield s...@corfield.org wrote: On Jun 22, 2015, at 2:22 PM, Ritchie Cai ritchie...@gmail.com wrote: You mean (:use [clojure.java.io]) is equivalent to (:require [clojure.java.io :as io :refer

Re: Using core.match in tests?

2015-06-22 Thread whodidthis
Thanks, exactly what i needed On Monday, June 22, 2015 at 1:01:30 AM UTC+3, Sean Corfield wrote: How about this: (defmacro matches [value pattern] `(is (match ~value ~pattern true :else false) (str (match ~value '~pattern (let [a {:x 2}] (matches a

Re: Clojure community organisation

2015-06-22 Thread Daniel Compton
Hi Alex Has Cognitect had any further discussion on this/do you have anything to share? Thanks, Daniel. On Monday, May 4, 2015 at 3:04:17 PM UTC+12, Alex Miller wrote: Re gsoc, last year Cognitect was a receiving organization for the funds and distributed them to students for travel to

Re: Basic question: what's the difference between require as and use as?

2015-06-22 Thread Ritchie Cai
You mean (:use [clojure.java.io]) is equivalent to (:require [clojure.java.io :as io :refer :all])? Ritchie On Jun 22, 2015, at 4:15 PM, Sean Corfield s...@corfield.org wrote: On Jun 22, 2015, at 1:50 PM, Ritchie Cai ritchie...@gmail.com wrote: For example: (:require [clojure.java.io :as

Re: Basic question: what's the difference between require as and use as?

2015-06-22 Thread Sean Corfield
On Jun 22, 2015, at 2:39 PM, Ritchie Cai ritchie...@gmail.com wrote: Ok, so require without :refer will default to :refer :all? No. (:use [clojure.java.io]) is equivalent to (:require [clojure.java.io :refer :all]) There’s no :as here. :use is like :require :refer :all. (:use

Re: roundtripping using data.xml?

2015-06-22 Thread Matching Socks
The usual XML-processing options that are open in Java, are still open in Clojure. You may use JAXP or StAX for applications that outwit clojure.xml. By the way, there is a feature enhancement page about this at http://dev.clojure.org/display/DXML/Namespaced+XML How do you feel about the

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread A
Here's another benchmark for comparison: https://code.google.com/p/redsvd/wiki/English -A On Monday, June 22, 2015 at 12:27:57 PM UTC-7, Dragan Djuric wrote: core.matrix claims that it is fast on its project page (with which I agree in some cases). I expected from that, and from the last

[ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-06-22 Thread James Henderson
Hi all, I've just released an early version of 'Yo-yo', a protocol-less, function composition-based alternative to Component. It's still in its early stages, so feedback would be very much appreciated! https://github.com/james-henderson/yoyo Yo-yo was also an experiment to see what could be

Re: Basic question: what's the difference between require as and use as?

2015-06-22 Thread Ritchie Cai
Ah, I see. I thought “use :as” will not intern all the symbols into current namespace, apparently that’s not the case. Thanks for clearing this up. Ritchie On Jun 22, 2015, at 4:52 PM, Sean Corfield s...@corfield.org wrote: On Jun 22, 2015, at 2:39 PM, Ritchie Cai ritchie...@gmail.com

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
As it is a *sparse matrix*, C++ library unavailable on JVM, I don't consider it relevant for comparison as these are really apples and pineapples. For now, at least. On Tue, Jun 23, 2015 at 12:13 AM, A aael...@gmail.com wrote: Here's another benchmark for comparison:

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Mikera
Hi Dragan, The situation as I see it: - You've created a matrix library that performs well on one benchmark (dense matrix multiplication). - Neanderthal meets your own personal use cases. Great job! - Neanderthal *doesn't* fit the use cases of many others (e.g. some need a portable pure JVM

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
On Monday, June 22, 2015 at 2:02:19 AM UTC+2, Mikera wrote: There is nothing fundamentally wrong with BLAS/LAPACK, it just isn't suitable as a general purpose array programming API. See my comments further below. I was discussing it from the *matrix API* perspective. My comments follow:

Re: Clojure community organisation

2015-06-22 Thread Alex Miller
Thanks for the ping - I don't think I ever heard anything back but I will ping again. Alex On Monday, June 22, 2015 at 3:26:57 PM UTC-5, Daniel Compton wrote: Hi Alex Has Cognitect had any further discussion on this/do you have anything to share? Thanks, Daniel. On Monday, May 4, 2015

Re: Basic question: what's the difference between require as and use as?

2015-06-22 Thread Sean Corfield
On Jun 22, 2015, at 2:22 PM, Ritchie Cai ritchie...@gmail.com wrote: You mean (:use [clojure.java.io]) is equivalent to (:require [clojure.java.io :as io :refer :all])? Not quite, (:use [clojure.java.io]) is equivalent to (:require [clojure.java.io :refer :all]) Sean Corfield -- (904)

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Christopher Small
For benchmarking, there's this: https://github.com/mikera/core.matrix.benchmark. It's pretty simple though. It would be nice to see something more robust and composable, and with nicer output options. I'll put a little bit of time into that now, but again, a bit busy to do as much as I'd like here

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
So, there are exactly two measurements there: matrix multiplication and vector addition for dimension 100 (which is quite small and should favor vectorz). Here are the results on my machine: Matrix multiplications are given at the neanderthal web site at

How to share the large files that can not fit in Github?

2015-06-22 Thread Lawrence Krubner
This is more of Java eco-system/development question, but I am curious what folks in the Clojure community might regard as best practice. Up till now most of the projects that I've worked on we've been able to share resources informally via scp and email, or via Github, but on the current

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Christopher Small
Well, we also weren't claiming to win ALL benchmarks compared to anything :-) But your point is well taken, better benchmarking should be pretty valuable to the community moving forward. Chris On Mon, Jun 22, 2015 at 12:10 PM, Dragan Djuric draga...@gmail.com wrote: So, there are exactly two

Re: How to share the large files that can not fit in Github?

2015-06-22 Thread Mohit Thatte
AWS S3 is a great place to put large files https://aws.amazon.com/blogs/aws/amazon-s3-object-size-limit/. You can use S3 sync http://docs.aws.amazon.com/cli/latest/reference/s3/sync.html to keep things current. ~Mohit On Mon, Jun 22, 2015 at 9:34 PM, Lawrence Krubner lawre...@rollioforce.com

Re: Using core.match in tests?

2015-06-22 Thread Surgo
This might be a bit of a strange or off-topic segue but it got me thinking. Is there an idiomatic way to handle optional dependencies in Clojure? Ideally, this macro would be a part of core.match itself (submit a pull request, get it merged, and whatnot). Of course, you don't want core.match

I'm trying to decode some source code to understand how it works

2015-06-22 Thread Gregg Williams
Hi-- The code in question is a solution to http://www.4clojure.com/problem/58 (write a function that does function composition, without using 'comp'). The solution I'm trying to understand is by amalloy: (defn mycomp [ fs] (reduce (fn [f g] #(f (apply g %))) fs)) For

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
Hi Mike, On Monday, June 22, 2015 at 1:56:46 PM UTC+2, Mikera wrote: Hi Dragan, The situation as I see it: - You've created a matrix library that performs well on one benchmark (dense matrix multiplication). It performs well on all benchmarks, even BLAS 1 vector stuff is faster than

[ANN] ClojuTRE 2015 conference in Tampere, Finland

2015-06-22 Thread Mikko Heikkilä
Dear fellow Clojurians, ClojuTRE 2015 will take place Friday, September 11th 2015, in Tampere, Finland. ClojuTRE is a free Clojure conference organised by Metosin. The event has single track, late start, short talks and an awesome after party for networking, discussions and beer. We welcome

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Dragan Djuric
Just a quick addition, if it is still not clear what I mean regarding the documentation. Look at this fairly recent question on stack overflow: http://stackoverflow.com/questions/19982466/matrix-multiplication-in-core-matrix On Tuesday, January 13, 2015 at 2:13:13 AM UTC+1, Dragan Djuric wrote:

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Mars0i
It may be that there's agreement on everything that matters. Dragan, you've said that you wouldn't mind others integrating Neanderthal into core.matrix, but that you don't want to do that. That you are willing to work with others on this is probably all that's needed. People may have