Re: clojure-contrib master now in submodules

2010-09-09 Thread Aaron Cohen
On Thu, Sep 9, 2010 at 6:43 PM, Brian Carper wrote: > On Sep 9, 3:13 pm, Stuart Sierra wrote: >> Can you clarify?  Maven-aware build tools (e.g. Leiningen) should not >> be trying to downlaod the "clojure-contrib:complete" JAR file. >> Instead, referencing the "complete" project as a dependency s

[ANN] ACCU 2011 Conference Call for Proposals -- deadline approaching

2010-09-09 Thread aspro
Call for Proposals - ACCU 2011 April 13-16, 2011. Barcelo Oxford Hotel, Oxford, UK Submission deadline: 26th of September 2010 Email proposals to: Giovanni Asproni, confere...@accu.org http://www.accu.org/conference twitter: @accu2011 #accu2011 We invite you to propose a session for this leading s

Re: Simple things should be simple

2010-09-09 Thread Mike Meyer
On Thu, 9 Sep 2010 14:01:19 -0700 (PDT) Luke Renn wrote: > On Sep 9, 4:13 pm, Mike Meyer 620...@mired.org> wrote: > > Here I thought I could save time by choosing a nice, simple example > > application that everyone would understand, rather than spending a lot > > of time explaining (or abstract

Re: clojure-contrib master now in submodules

2010-09-09 Thread Stuart Sierra
On Sep 9, 7:00 pm, Aaron Cohen wrote: > I think the problem is that the "complete" pom needs to have > pom to indicate there's not an important jar > file to download. It does. That's why I'm confused. http://github.com/clojure/clojure-contrib/blob/master/modules/complete/pom.xml Admittedly, I

Re: clojure-contrib master now in submodules

2010-09-09 Thread Stuart Sierra
Weird. I'll have to look into this some more. Thanks for the report. -S On Sep 9, 6:43 pm, Brian Carper wrote: > Nope.  When I use [org.clojure.contrib/complete "1.3.0-SNAPSHOT"] > without :classifier "bin", Maven dies because it can't find the > "complete" JAR file.  Like this:http://gist.github

Re: Simple things should be simple

2010-09-09 Thread Luke Renn
On Sep 9, 5:53 pm, Lee Spector wrote: > On Sep 9, 2010, at 3:04 PM, Luke Renn wrote: > > > What exactly are you evaluating Clojure for?  Because unless it's > > teaching elementary school children, the LOC it takes to deploy a > > hello world webapp is irrelevant. > > > Luke > > From the sidelines

Re: drop-while and (pred item) returns nil?

2010-09-09 Thread Alan
I'm not 100% sure what you're asking, but I think I understand you, and in that case you can refer to http://groups.google.com/group/clojure/browse_thread/thread/9c7f726709e24c12/b2e2696b70d924f2?show_docid=b2e2696b70d924f2, in which I ask this very question and get the answers I am looking for. O

Re: Simple things should be simple

2010-09-09 Thread Raoul Duke
On Thu, Sep 9, 2010 at 4:02 PM, Mike Meyer wrote: > No, they've explained what *they* consider to be simple. That isn't > the same thing as actually *being* simple. +1 :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: Simple things should be simple

2010-09-09 Thread Mike Meyer
On Thu, 9 Sep 2010 14:20:29 -0700 (PDT) Rainer Schuster wrote: > no this discussion is going to be ... won't say it. > > Quiz: > > - is your solution functional (regarding the requirements= Yes. > - is your solution scallable? (groing large or running > plattformindependent?) It will run on

Re: Simple things should be simple

2010-09-09 Thread Mike Meyer
On Thu, 9 Sep 2010 16:06:54 -0700 (PDT) Luke Renn wrote: > That was kind of my point. I would expect these kinds of questions, > examples, and objections from someone looking at Clojure/Ring to teach > with, not necessarily someone who want to deploy highly scalable web > applications. I'm curio

Re: Simple things should be simple

2010-09-09 Thread Lee Spector
On Sep 9, 2010, at 6:36 PM, David Nolen wrote: > > I started using Processing since version 22 (around 2003/4). Let's just > say... that it takes a lot of time and external contribution to reach the > level of documentation, stability and cross platform reliability that > Processing now has.

Re: Simple things should be simple

2010-09-09 Thread Raoul Duke
i don't know if this has been said as such, but: a) there's an inflection / transition point from "simple things" to "complex things". b) some systems are in the simple world, but when you get complex they restrict you or fall apart (rails?). vs. other systems are fine in the large, but suck for

Re: Simple things should be simple

2010-09-09 Thread Lee Spector
On Sep 9, 2010, at 7:06 PM, Luke Renn wrote: > I'm sure many here would disagree with me, but I would not recommend > Clojure for a college level Lisp course just yet. I would probably > recommend Racket or Dr. Scheme. > I've taught with Dr. Scheme but I like Clojure a lot better than Scheme!

Re: Clojure 1.2 and the Computer Language Benchmarks Game

2010-09-09 Thread gary ng
On Thu, Sep 2, 2010 at 6:07 PM, John Fingerhut wrote: > Some of the Haskell submissions are quite long for what they do.  The > k-nucleotide one, for example, implements a mutable hash table using > features in Haskell that I had never seen before looking at that program. > Did they need to write

Macro problems with delay

2010-09-09 Thread joshua-choi
I am running into a problem sometimes when I call a certain macro I defined. This problem macro (and an associated problem function) is: http://gist.github.com/572875 I run into this error (which is at a call to the macro, but *not* at the *first* time it's called for some reason!): http://gist.

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-09 Thread lprefontaine
alux wrote .. > Interesting discussion! > > I think about taking some of the topics into separate threads. Will > see, I'm a bit under project pressure. Wont tell you the language ;( > > But, @Luc > "pushing the advantage of Lisp > macros to the forefront is not obvious if the audience cannot c

Re: Simple things should be simple

2010-09-09 Thread Matt
> You cannot deploy a .clj script on a running Tomcat (yet). In the unstable 0.8 version of Conjure, you can create a war file by simply adding leiningen-war to your dev-dependencies and running "lein uberwar". You can then simply drop the war file into a Tomcat server. The web.xml file is already

Re: Clojure 1.2 and the Computer Language Benchmarks Game

2010-09-09 Thread Isaac Gouy
On Sep 9, 6:06 pm, gary ng wrote: > On Thu, Sep 2, 2010 at 6:07 PM, John Fingerhut > wrote: > > Some of the Haskell submissions are quite long for what they do.  The > > k-nucleotide one, for example, implements a mutable hash table using > > features in Haskell that I had never seen before lo

Re: Clojure 1.2 and the Computer Language Benchmarks Game

2010-09-09 Thread gary ng
On Thu, Sep 9, 2010 at 7:02 PM, Isaac Gouy wrote: > iirc the Haskell programs, and the Clean programs, and the Pascal > programs, and ... use translations of the simple hash table used by > the C programs. > > If I ever knew, I don't recall why the Haskell program does not use > Data.HashTable > C

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-09 Thread Sean Corfield
On Thu, Sep 9, 2010 at 5:25 AM, Andrew Gwozdziewycz wrote: >>> Interesting. I don't see any real difference between macros and C >>> preprocessor stuff and C++ templates at a conceptual level. I think > Of course the real difference is that in Lisp macros you are working > directly on the AST, whe

Re: Clojure 1.2 and the Computer Language Benchmarks Game

2010-09-09 Thread Isaac Gouy
On Sep 9, 7:19 pm, gary ng wrote: > On Thu, Sep 9, 2010 at 7:02 PM, Isaac Gouy wrote: > > iirc the Haskell programs, and the Clean programs, and the Pascal > > programs, and ... use translations of the simple hash table used by > > the C programs. > > > If I ever knew, I don't recall why the Ha

Re: Simple things should be simple

2010-09-09 Thread John Newman
(use '[clojure.contrib.server-socket :only (create-server)] '[clojure.contrib.duck-streams :only (read-lines)]) (create-server 8080 (fn [in out] (when-not (empty? (read-lines in)) (spit out "Hello, World!\n" 4/0/0 John On Thu, Sep 9, 2010 at 9:21 PM, Matt wrote: >> You cannot deplo

Re: Clojure 1.2 and the Computer Language Benchmarks Game

2010-09-09 Thread gary ng
On Thu, Sep 9, 2010 at 10:04 PM, Isaac Gouy wrote: > Is there any point speculating about this as outsiders? > > It was available - Data.HashTable seems to be copyright 2003. > > http://ogi.altocumulus.org/~hallgren/Programatica/tools/pfe.cgi?Data.HashTable Huh ? point ? it was just a casual comm

Re: [ANN] Leiningen 1.3.1

2010-09-09 Thread lprefontaine
Hi Phil, I upgraded to 1.3.1 but started to experience some problems with my our-classe-only hook. I made it return 0 since 1.3.1 expects a numeric return code from the compile task but then ended up with other problems in the jar task. I want to revert to 1.3.0 for a few days. Any idea about th

Re: Macro problems with delay

2010-09-09 Thread Meikel Brandmeyer
Hi, On 10 Sep., 03:11, joshua-choi wrote: > I am running into a problem sometimes when I call a certain macro I > defined. This problem macro (and an associated problem function) is: > > http://gist.github.com/572875 > > I run into this error (which is at a call to the macro, but *not* at > the

Re: Using a keyword as object get method

2010-09-09 Thread Alan
user> (bean (java.io.File. "tmp.txt")) {:path "tmp.txt", :parent nil, :hidden false, :parentFile nil, :canonicalFile #, :freeSpace 0, :absoluteFile #, :class java.io.File, :name "tmp.txt", :absolutePath "/home/akm/src/clojure/ddsolve/tmp.txt", :directory false, :usableSpace 0, :canonicalPath "/home

Re: Simple things should be simple

2010-09-09 Thread Mike Meyer
On Fri, 10 Sep 2010 01:08:06 -0400 John Newman wrote: > (use '[clojure.contrib.server-socket :only (create-server)] >'[clojure.contrib.duck-streams :only (read-lines)]) > (create-server 8080 > (fn [in out] (when-not (empty? (read-lines in)) (spit out "Hello, > World!\n" > > 4/0/0

Re: Macro problems with delay

2010-09-09 Thread Konrad Hinsen
On 10 Sep 2010, at 03:11, joshua-choi wrote: And here is a full macro-expansion of the call at which the error happens: http://gist.github.com/572879 If I understand the comment ("the following form is the culprit...") correctly, it's not the macroexpansion that fails, but the evaluation

Re: Standalone 1.2 contrib

2010-09-09 Thread Jacek Laskowski
On Fri, Sep 10, 2010 at 12:09 AM, Stuart Sierra wrote: > Do we need a direct link to the JAR on the download page?  That's easy > enough. I think the easier the better for its adoption. If a single user has asked for it, I'd add it (even though others might consider what's available already as e

Re: drop-while and (pred item) returns nil?

2010-09-09 Thread Jacek Laskowski
On Fri, Sep 10, 2010 at 1:08 AM, Alan wrote: > I'm not 100% sure what you're asking, but I think I understand you, > and in that case you can refer to > http://groups.google.com/group/clojure/browse_thread/thread/9c7f726709e24c12/b2e2696b70d924f2?show_docid=b2e2696b70d924f2, > in which I ask this

<    1   2