Re: Data Profiling

2013-08-10 Thread Ignacio Thayer
Doesn't exactly fit the bill, but for doing this type of stuff at the repl, we use babbage . ignacio cto/co-founder ReadyForZero.com On Saturday, August 10, 2013 9:21:46 AM UTC-7, Adrian Mowat wrote: > > Hi, > > I have about 2.5 Gb of web transaction data

Re: Interest in a commercial IDE for Clojure?

2013-08-10 Thread Mark
Instead of doing a plugin and instead of starting something from scratch like Nightcode, would it make more sense to take some of the open source components of Intellij and use that as a basis for a Clojure-based IDE? It seems to me that one of the biggest problems with IDEs like Eclipse and I

Re: Leiningen 2.3.0 and uberjar

2013-08-10 Thread Nelson Morris
I believe this is https://github.com/technomancy/leiningen/issues/1283. On Sat, Aug 10, 2013 at 3:54 PM, Zach Oakes wrote: > I experienced this as well; when I opened the resulting jar, I found > source files rather than class files. Not sure what causes this. > > > On Saturday, August 10, 2013

Re: Data Profiling

2013-08-10 Thread Alex Baranosky
You could possibly batch import it all into MySQL, and let people SQL query over it. On Sat, Aug 10, 2013 at 9:21 AM, Adrian Mowat wrote: > Hi, > > I have about 2.5 Gb of web transaction data (values submitted to forms > etc) held as CSV files that my fairly non-technical users want to analyse. >

Re: apply inc

2013-08-10 Thread Christian Sperandio
When you write (apply inc [4 5]) it's like (inc 4 5) But the inc function accepts only one argument. -- -- 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

Re: Leiningen 2.3.0 and uberjar

2013-08-10 Thread Zach Oakes
I experienced this as well; when I opened the resulting jar, I found source files rather than class files. Not sure what causes this. On Saturday, August 10, 2013 9:36:24 AM UTC-4, Christian Sperandio wrote: > > Hi, > > I've installed the last lein version. But when I do: > > $ lein new app jarte

Re: apply inc

2013-08-10 Thread Softaddicts
How many args does inc supports ? Only one. (apply inc [ 1 3 ]) is the same as (inc 1 3) which would also trigger an arity exception. apply does not call the given fn on each item in the collection it's given, it calls it once with the whole collection as the argument list. (map inc [1 3]) call

Re: apply inc

2013-08-10 Thread Andy Fingerhut
(apply str [2 3]) does the same thing as (str 2 3), which is to attempt to convert each of its args to a string, then concatenate them all. (apply inc [4 5]) does the same thing as (inc 4 5), which is to throw an exception because inc takes exactly one argument and returns that value plus 1. This

apply inc

2013-08-10 Thread drclj
Hi there: Why does (apply str [2 3]) work and not (apply inc [4 5]) though (apply inc [4]) does work? Thanks. -- -- 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

Re: Lisp newbie seeks (macro?) wisdom - instrumentation and app metadata

2013-08-10 Thread Jacob Goodson
Here is where I started... http://www.lisperati.com/clojure-spels/casting.html I personally disagree about being so timid with macros, however, I do not code Clojure with a team of other people =P. The one thing you will find about Clojure is that it slaps a limit on the types of macros you ca

Re: [ANN] Method-fn: augmented Java methods as functions

2013-08-10 Thread Marshall Bockrath-Vandegrift
Shantanu Kumar writes: > Wow! This is neat. Congratulations on the release. Thank you! > A minor observation: It may help some readers if you mention on the > README that it may not work with lein-try (as I found) and that the > user must `require` the ns first: (require '[method.fn]) Good poi

Re: [ANN] Method-fn: augmented Java methods as functions

2013-08-10 Thread Shantanu Kumar
Wow! This is neat. Congratulations on the release. A minor observation: It may help some readers if you mention on the README that it may not work with lein-try (as I found) and that the user must `require` the ns first: (require '[method.fn]) Shantanu On Saturday, 10 August 2013 21:58:43 UTC+

Re: [Proposal] Simplified 'ns' declaration

2013-08-10 Thread Greg
> How does gen-class etc. fit into this new (ns) world? I'm not sure. I've stepped away from this thread (and the mailing list in general) for a bit to focus on the mounting amount of work I have to finish before the deadline hits, so I haven't had much more time to think about this, and I'm al

[ANN] Method-fn: augmented Java methods as functions

2013-08-10 Thread Marshall Bockrath-Vandegrift
Do Clojure’s built-in methods for bridging the distinction between functions and host platform methods seem clunky to you? Then the method-fn library may hold the solution!: (require 'method.fn) (map #mf/i String/trim [" a" "b "]) ;; Look ma, no reflection! (map #mf/s Math/log (ra

Data Profiling

2013-08-10 Thread Adrian Mowat
Hi, I have about 2.5 Gb of web transaction data (values submitted to forms etc) held as CSV files that my fairly non-technical users want to analyse. I want to make it easy for them to run basic analytics - averages, distribution of values, percentage nil etc - across all or a subset of the f

Re: [ANN] Leiningen 2.3.0 released

2013-08-10 Thread Phil Hagelberg
On Friday, August 9, 2013 10:07:39 PM UTC-7, Sean Corfield wrote: > Can we _please_ get the Leiningen artifacts placed somewhere that > doesn't cause all sorts of SSL problems? This has been a repeated > problem over the last several releases. Mac and Windows users have > been s.o.l. each time u

Re: sending errors to the ui - web development using luminus

2013-08-10 Thread Mark Nutter
I am using Validateur (http://clojurevalidations.info/) as the basis for a custom validation mechanism with Luminus. The validation-set fn gets you about 90% of the way there: it takes a list of rules and returns a function. Pass your data map to the function, and it returns a set of the error mess

Re: [ANN] Compliment - a completion library you deserve

2013-08-10 Thread Thomas Goossens
I think I am going to love this! On Friday, August 9, 2013 6:19:40 PM UTC+2, Alexander Yakushev wrote: > > Dear community, > > I've just released the initial version of my clojure-complete fork, > Compliment. I decided to move it into a separate project after I rewrote > most of it. Here is proj

Leiningen 2.3.0 and uberjar

2013-08-10 Thread Christian Sperandio
Hi, I've installed the last lein version. But when I do: $ lein new app jartest $ lein uberjar At this time, 2 jars are created. Then I call: $ java -jar target/jartest-0.1.0-SNAPSHOT-standalone.jar And I get this error: Caused by: java.lang.ClassNotFoundException: jartest.core at java.net.UR

Re: [ANN] Leiningen 2.3.0 released

2013-08-10 Thread Michał Marczyk
On 10 August 2013 08:39, Michael Klishin wrote: > I personally think there should be a fallback location for the jar that does > not use SSL. As long as it isn't used automatically or after flashing a y/n prompt. (Offering a flag like --no-ssl and mentioning it to the user when appropriate would

Re: Lisp newbie seeks (macro?) wisdom - instrumentation and app metadata

2013-08-10 Thread icamts
Try these in a REPL user=> (ns-map *ns*) user=> (keys (ns-map *ns*)) user=> (vals (ns-map *ns*)) user=> (map meta (vals (ns-map *ns*))) user=> (ns proof) proof=> (defn ^:my-x-comp func1 [] (prn "func1 executed")) proof=> (filter #(:my-x-comp (meta %)) (vals (ns-map *ns*))) proof=> ((first (

Re: Lisp newbie seeks (macro?) wisdom - instrumentation and app metadata

2013-08-10 Thread Mikera
On Friday, 9 August 2013 21:50:13 UTC+8, Jace Bennett wrote: > Thanks again, Mike. That's really helpful. > > I'll take a look at the core.matrix stuff to try and understand > implementation and motivation better. > > What games did you make? I'd love to check them out. > One is Ironclad - a ste