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

2015-06-20 Thread Dragan Djuric
On Friday, June 19, 2015 at 11:17:02 PM UTC+2, Christopher Small wrote: > > I see now Dragan; you're concerned not about whether easily implementing > and swapping in/out implementations of core.matrix is possible, but whether > it can be done while maintaining the performance characteristics of

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

2015-06-20 Thread Dragan Djuric
It is difficult to say exactly, since the documentation is almost non-existent, which is especially bad for a standard API. Please see my answer to Christopher for more elaboration. On Friday, June 19, 2015 at 10:45:53 PM UTC+2, Matt Revelle wrote: > > On Friday, June 19, 2015 at 4:57:32 AM UTC

Re: breaking homoiconicity?

2015-06-20 Thread Joe Corneli
On Saturday, June 20, 2015 at 4:15:30 AM UTC+1, Sean Corfield wrote: > > (.getTypeName (Class/forName "[Ljava.lang.String;")) > ;;=> "java.lang.String[]" — that is more readable! > Thanks, that's helpful for me. By chance do you know if the class is natively recoverable from

Re: [ANN] Clojure 1.7.0-RC2

2015-06-20 Thread Magnar Sveen
Tested RC2 in a project with a lot of .cljc going on - seems to be working fine. -- 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 be

Re: ANN: org.clojure/tools.namespace "0.2.11"

2015-06-20 Thread Magnar Sveen
Thanks! Have been waiting for this. Working with .cljc-files is quite nice after these changes. :) On Friday, June 19, 2015 at 9:46:08 PM UTC+2, Stuart Sierra wrote: > > tools.namespace: parse namespace declarations and reload > files in dependency order. > > https://github.com/clojure/tools.name

Re: ring - setting no-cache for everything?

2015-06-20 Thread Magnar Sveen
Sounds like your URLs could use some cache busting. :) Then you can add far future Expires headers, with no worries that users are seeing stale files. Optimus is one way to inject some front-end performance in your Ring-app. https://github.com/magnars/optimus On Friday, June 19, 2015 at 11:00:5

Re: ANN: org.clojure/tools.namespace "0.2.11"

2015-06-20 Thread Bozhidar Batsov
Btw, what's the point of maintaining compatibility with 1.3? According to the last state of Clojure survey pretty much no one uses 1.3 and 1.4 and the upgrade path to 1.5 is not exactly hard... On 20 June 2015 at 16:32, Magnar Sveen wrote: > Thanks! Have been waiting for this. Working with .cljc

Recur arg type problem

2015-06-20 Thread Karsten Schmidt
I just encountered a problem with recur, I never came across before. Am trying to generate `coll-reduce` implementations over primitive nd-arrays and get bitten by special type restrictions on recur args if they're an initially primitive value (using 1.7.0-RC2): (loop [acc (aget ^bytes a 0) i 1]

Creating jar specific defaults

2015-06-20 Thread Timur
Hi everyone, I want to specify some defaults for a library that I pack as a jar, for instance standard port a server. It should be read from a property file in the respective jar file automatically. However, when I include a jar in my class path, the file is not loaded from the included jar p

Re: Recur arg type problem

2015-06-20 Thread Karsten Schmidt
Ah, wrapping the initial `acc` val in `(num)` works... On 20 June 2015 at 15:05, Karsten Schmidt wrote: > I just encountered a problem with recur, I never came across before. > Am trying to generate `coll-reduce` implementations over primitive > nd-arrays and get bitten by special type restrictio

Re: ring - setting no-cache for everything?

2015-06-20 Thread Fluid Dynamics
On Friday, June 19, 2015 at 12:14:10 PM UTC-4, Thomas Heller wrote: > > >> Cache-control is evil. Users concerned with seeing the most up-to-date >> information know to hit reload (and probably do anyway, just to be sure), >> and there's also the option of AJAX polling for that (or whatever pre

Re: breaking homoiconicity?

2015-06-20 Thread Surgo
> > Thanks, that's helpful for me. By chance do you know if the class is > natively recoverable from the TypeName for Clojure/Java? Class/forName > can't roundtrip that string. I could implement a look-up table to > translate between the two formats, but that seems rather kludgey. > I actua

Re: ANN: org.clojure/tools.namespace "0.2.11"

2015-06-20 Thread Matching Socks
Hooray for compatibility in general. Let us always remember the less fortunate. (Ehem - users of Emacs 23 for example.) -- 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 fr

Re: let vs. let*

2015-06-20 Thread Mike Rodriguez
I don't think this is a "let me google that for you" question. Let vs let* in Clojure is not at all the same as the popular usages of these forms in popular lisp dialects like Common Lisp. I've thought it was confusing why let* existed in Clojure since let binding is only done in a sequential

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

2015-06-20 Thread Mars0i
Dragan, this just occurred to me--a small comment about the slow speed that I reported from clatrix, which you mentioned earlier. I'm not sure whether the slow speed I experienced on 500x500 matrices itself provides eviden

Re: breaking homoiconicity?

2015-06-20 Thread Sean Corfield
On Jun 20, 2015, at 3:58 AM, Joe Corneli wrote: > On Saturday, June 20, 2015 at 4:15:30 AM UTC+1, Sean Corfield wrote: > (.getTypeName (Class/forName "[Ljava.lang.String;")) > ;;=> "java.lang.String[]" — that is more readable! > > Thanks, that's helpful for me. By chance do you