Re: new, macros and "Can't eval locals"

2013-02-16 Thread AtKaaZ
On Sun, Feb 17, 2013 at 6:12 AM, Jacob Goodson wrote: > You need to know something... it's a dialect of LISP, *the only*limitation is > you. though it is certainly exerting its limitations on me > > > On Thursday, February 14, 2013 5:08:57 PM UTC-5, AtKaaZ wrote: > >> Thank you! I didn't know

Re: new, macros and "Can't eval locals"

2013-02-16 Thread Jacob Goodson
You need to know something... it's a dialect of LISP, the only limitation is you. On Thursday, February 14, 2013 5:08:57 PM UTC-5, AtKaaZ wrote: > > Thank you! I didn't know you could do .newInstance > > oh that's a nice trick with eval and list 'new > > So it's not impossible after all, thanks A

Re: Why is this so difficult?

2013-02-16 Thread Bizics
@Andy: Talk about unfortunate naming !! clojuredocs.org vs. clojure-doc.org There is a site called "clojure-doc.org" ?? And it has some excellent documentation? I just read their CCW guide - it is excellent and would have saved me so much frustration but I had no idea the site existed. "clojure

Re: [ANN] ring-filter-routes 0.1.1 ;simple route filtering middleware

2013-02-16 Thread Omer Iqbal
Oh my bad, forgot to add the link: https://github.com/olenhad/ring-filter-routes Its on both :) On Sun, Feb 17, 2013 at 8:56 AM, Timothy Washington wrote: > Is it on github or clojars? Where can we take a look at the code? > > > Thanks > Tim > > > On Sat, Feb 16, 2013 at 3:53 PM, Omer Iqbal wrot

Re: [ANN] ClojureScript release 0.0-1586

2013-02-16 Thread David Nolen
Sweet! Thank you! On Saturday, February 16, 2013, Stuart Sierra wrote: > Coming soon to a Maven repository near you: > > [org.clojure/clojurescript "0.0-1586"] > > List of changes: > http://build.clojure.org/job/clojurescript-release/22/ > > Notable change: fix for CLJS-418, the broken depend

Re: [ANN] ring-filter-routes 0.1.1 ;simple route filtering middleware

2013-02-16 Thread Timothy Washington
Is it on github or clojars? Where can we take a look at the code? Thanks Tim On Sat, Feb 16, 2013 at 3:53 PM, Omer Iqbal wrote: > Would love some feedback. I used this code in another project, and decided > to publish the (very simple) middleware as a clojar in case someone else > finds it us

Re: Using local jar

2013-02-16 Thread Aaron Cohen
Also, reading further on the blog, for lein2 you need to change mvn install:install-file -Dfile=jaad-0.8.3.jar -DartifactId=jaad -Dversion=0.8.3 -DgroupId=jaad -Dpackaging=jar -DlocalRepositoryPath=maven_repository to mvn deploy:deploy-file -Dfile=jaad-0.8.3.jar -DartifactId=jaad -Dversion=0.8

Re: Using local jar

2013-02-16 Thread Aaron Cohen
I'm not sure if this is your problem, but a newbie might not realize one thing from that blog post. After doing all the steps there, you still have to add the dependency for that artifact in your project.clj I don't know how you named your local jar, but for their example you would need to add :

Re: abstraction on two libraries

2013-02-16 Thread Stuart Sierra
Yeah, it's not worth the effort. IF you were going to attempt it, you'd want to define a protocol (or multimethods) for the common features that both libraries provide, then provide different implementations of those protocols using each library. But what's the point, especially if they both wr

Re: Using local jar

2013-02-16 Thread James Xu
you should import the fully-qualified class name(e.g. com.mycompany.ClassA), rather than the file system directory name 发自我的 iPhone 在 2013-2-17,7:06,Jarod 写道: Hi. This is a really basic question, as I'm new to Clojure and Java. I'm trying to use a jar file for Stanford's NLP software that isn

Understanding nested quotes for game-action clojure macro from http://lisperati.planvita.com/actions.html

2013-02-16 Thread Iakiv Kramarenko
I have read the "casting SPELs" tutorial, its russian version adapted for clojure athttp://lisperati.planvita.com/... And up to this time I can't understand how the following macro works: (see http://lisperati.planvita.com/actions.html for russian version or http://lisperati.com/actions.html for

Using local jar

2013-02-16 Thread Jarod
Hi. This is a really basic question, as I'm new to Clojure and Java. I'm trying to use a jar file for Stanford's NLP software that isn't available on Maven. I successfully ran the commands from this website: www.pgrs.net/2011/10/30/using-local-jars-with-leiningen/ to create a local maven rep

[ANN] ClojureScript release 0.0-1586

2013-02-16 Thread Stuart Sierra
Coming soon to a Maven repository near you: [org.clojure/clojurescript "0.0-1586"] List of changes: http://build.clojure.org/job/clojurescript-release/22/ Notable change: fix for CLJS-418, the broken dependency chain between the Google Closure Library and its third-party extensions. ClojureS

[ANN] ring-filter-routes 0.1.1 ;simple route filtering middleware

2013-02-16 Thread Omer Iqbal
Would love some feedback. I used this code in another project, and decided to publish the (very simple) middleware as a clojar in case someone else finds it useful. Cheers, Omer -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: Using Friend with an AccountChooser

2013-02-16 Thread Timothy Washington
Hey, so I got this kind of figured out. I'll post my results here, in the hope that it helps someone; and for future reference. Using *friend*, the library seems to assume that you will be using it for * authentication* and *authorization*. I just need it for the *authorization*bits, and had to di

Re: Questions regarding lazy sequence processing

2013-02-16 Thread Steven Yi
Hi Herwig, Thanks for the reply! I think I had tried that before and I tried again just now but it gives a problem of arity: CompilerException java.lang.RuntimeException: Can't have fixed arity function with more params than variadic function, compiling:(audio_seq/core.clj:42) which makes s

Re: [ClojureScript] features expression

2013-02-16 Thread Thomas Heller
Oh, yes please. This looks very interesting. Where can I vote? :P The more CLJ/CLJS code I write the more I miss a straightforward way to share code. Even with cljx or cljsbuild crossovers its still a workarround. On Saturday, February 16, 2013 7:20:45 PM UTC+1, David Nolen wrote: > > I've on

Re: [ClojureScript] features expression

2013-02-16 Thread David Nolen
I've only glanced at it but Roman's patch looks pretty straightforward, it should be pretty simple to port to tools.reader if the tools.reader folks are OK with this approach. I think the reason it has stalled is that there been some pushback on that design thread. I don't really share any of the

Re: [ClojureScript] features expression

2013-02-16 Thread Mimmo Cosenza
Hi David, do you think that with some guidance from few cli/cljs gurus the effort could be shared with less experienced clojurist ? Or it's more efficient to let those gurus to make a step ahead by themselves? mimmo On Feb 16, 2013, at 5:53 PM, David Nolen wrote: > I personally think the CL f

Re: STM in Clojure vs Haskell, why no retry or orElse?

2013-02-16 Thread vemv
You can increase the chances of generating discussion by boiling down both the relevant content of paper and your program to a minimal, self-contained form. Cheers - Victor On Friday, February 15, 2013 4:05:09 PM UTC+1, thattommyhall wrote: > > A few months ago I reread Simon Peyton Joneses art

Re: [ClojureScript] features expression

2013-02-16 Thread David Nolen
I personally think the CL feature expression approach is satisfactory. I'd like to see this get into 1.6. It's likely that ClojureScript will switch to tools.reader in order to get more accurate information for source maps, so perhaps we can move more quickly if we just implement it there. On Sat

features expression

2013-02-16 Thread Mimmo Cosenza
Hi all, the more I learn cli/cljs the more I find myself in looking for libraries running on both sides of a clojurean web app. hiccup/valip, c2, enliven/encofus, just to name few of them. Is there a kind of agreement on which approach to follow to solve the features expression problem. I alr

Re: Why is this so difficult?

2013-02-16 Thread Jules
@Andy: I hadn't seen that page before, and it is excellent. It explains everything step-by-step and also gives key information, for example that it is not necessary to install leiningen manually because it comes with CCW. If possible, that guide should be featured prominently on http://code.goo

Re: Google Summer of Code 2013

2013-02-16 Thread Daniel Solano Gómez
These sound like some good ideas. Feel free to add a core.matrix category to the project ideas page. Thanks, Daniel On Sat Feb 16 01:02 2013, Mikera wrote: > Awesome stuff! > > core.matrix has a lot of great opportunities to work on something > meaningful, and I'd be happy to mentor one or mo

Re: Google Summer of Code 2013

2013-02-16 Thread Daniel Solano Gómez
Hello, Håkan, I don't think there is any problem with Deuce being a Clojure GSoC idea. Feel free to add it to the project ideas page . Sincerely, Daniel On Fri Feb 15 23:32 2013, Håkan Råberg wrote: > I'm pretty interested in setting up a

Re: Google Summer of Code 2013

2013-02-16 Thread Daniel Solano Gómez
Hello, Andy, I can't see any reason why Clooj wouldn't qualify as GSoC project. I believe the main criteria are that it has to be coding (i.e. not just documentation work), it must be released with an open source license, and it has to be a full summer's worth of work. Feel free to add Clooj to

Re: Why is this so difficult?

2013-02-16 Thread Mikera
On Saturday, 16 February 2013 02:31:43 UTC+8, puzzler wrote: > On Fri, Feb 15, 2013 at 8:19 AM, Jules >wrote: > >> But now you still don't have leiningen, which is essential if you want to >> do anything non toy. The installation page of CCW does describe how to >> create a leiningen project, b

Re: Building/inserting multiple records

2013-02-16 Thread Jonathon McKitrick
I'm sorry, I misspoke. I meant *update* multiple records. On Saturday, February 16, 2013 1:54:11 AM UTC-5, Feng Shen wrote: > > > Is it easy (and immutable) to build a collection of records to insert? > I've been told CONJ is a good start. > > map maybe be helpful: (map (fn [d] return-map-of-r

Re: Why is this so difficult?

2013-02-16 Thread Phillip Lord
Phil Hagelberg writes: >> I'd agree with this. The situation is even not ideal with linux; when I >> first used Clojure I was reticient to install lein by hand and only lein >> 1 was available for my repo. Lazy? Well, I use 4 or 5 machines >> routinely, and I set them up as I go, so an quick and e

Re: Why is this so difficult?

2013-02-16 Thread Phillip Lord
Víctor M. V. writes: > Phil, while I don't know the specific application you're working on, > distributing Clojure apps to end users should't be any more difficult than > distributing Java apps. Are you familiar with `lein uberjar`? No, you miss the point. I am writing a DSL. The point is that "e

Re: Google Summer of Code 2013

2013-02-16 Thread Mikera
Awesome stuff! core.matrix has a lot of great opportunities to work on something meaningful, and I'd be happy to mentor one or more students in this area. Top of my list would be: - Extending core.matrix support to Incanter (medium, needs collaboration with Incanter team) - A full NumPy styl