Re: New release of the enclojure plugin is up.

2009-04-07 Thread Michael Wood
On Tue, Apr 7, 2009 at 7:45 AM, billh04 h...@tulane.edu wrote: I downloaded and installed NetBeans and the Enclojure plugin. I am not clear on how to setup the main class. I modified the main class generated by the template to look like the following: = (defn

Re: clojure + android

2009-04-07 Thread Remco van 't Veer
On Mon, Apr 6, 2009 at 6:28 PM, Nick Levine n...@ravenbrook.com wrote: I've been trying to get clojure + android going but without much success. In case it's relevant, I'm on Windows (XP) and the java version is 1.6.0_13. I followed http://riddell.us/tutorial/android/android.html and

Porting Minilight to Clojure

2009-04-07 Thread Mark Reid
Hi, In the interests of learning Clojure I thought it would be fun to port the Minilight renderer to Clojure and write about the steps along the way. If you're interested you can have a look at my first post here: http://mark.reid.name/sap/minilight-clojure-vectors.html I've not programmed

Re: clojure + android

2009-04-07 Thread Remco van 't Veer
I am not sure but I think Java 1.6 is giving you trouble here. Try rebuilding the clojure.jar and your application using 1.5 or setting the target architecture to 1.5 in the build.xml files. Please make me a patch if the latter works. On Tue, Apr 7, 2009 at 10:46 AM, Nick Levine

Re: clojure + android

2009-04-07 Thread Nick Levine
On Apr 7, 8:36 am, Remco van 't Veer rwvtv...@gmail.com wrote: [...] What does logcat report?  (use adb logcat on the commandline or M-x android-logcat if you're using my emacs minor mode). I sent Remco the log and he suggested: I think Java 1.6 is giving you trouble here. Try rebuilding the

Re: ANN: Pretty printer is now part of contrib

2009-04-07 Thread BrianS
I use clojure-contrib quite a bit, and I find a lot of value out of having the clj files in the JAR. First, I find it easier to debug a project, second there are example CLJ files in the source code on how to use the libraries, and those are of great interest, and it is much easier to get to

Re: Porting Minilight to Clojure

2009-04-07 Thread Laurent PETIT
Hello Mark, That's interesting, keep us informed of your progress! Since you say you welcome any feedback, here are my remarks : * namespace names: you could maybe use more qualified names, e.g. qualifying them maybe with your own reversed namespace ( vec - com.reid.vec ). Indeed, one of the

Re: clojure + android

2009-04-07 Thread Emeka
Nick, I need the steps you took in getting Android working in Windows. Emeka On Tue, Apr 7, 2009 at 9:29 AM, Nick Levine n...@ravenbrook.com wrote: On Apr 7, 8:36 am, Remco van 't Veer rwvtv...@gmail.com wrote: [...] What does logcat report? (use adb logcat on the commandline or M-x

Re: clojure + android

2009-04-07 Thread Remco van 't Veer
Please use to clojurehelloandroid wiki on github to document this; http://wiki.github.com/remvee/clojurehelloandroid Thanks, Remco On Tue, Apr 7, 2009 at 3:20 PM, Emeka emekami...@gmail.com wrote: I need the steps you took in getting Android working in Windows. On Tue, Apr 7, 2009 at

A large Clojure deployment

2009-04-07 Thread Stuart Sierra
Here: http://www.altlaw.org/ About 4000 lines of Clojure code, 2500 of Java, powering a web site with well over a million pages, averaging around 10,000 visitors a day. Some of what I'm using: Restlet StringTemplate Solr Hadoop Apache Java Commons markdownj cpdetector JRuby Most of the code

Re: A large Clojure deployment

2009-04-07 Thread Sean
Okay wow... it'll take some time to fully appreciate this. Can you comment on your hardware stack? How many servers are you using? Is there an RDBMS in there somewhere? How was deployment? Looks awesome, thanks for sharing! On Apr 7, 10:41 am, Stuart Sierra the.stuart.sie...@gmail.com

Re: ANN: Pretty printer is now part of contrib

2009-04-07 Thread Paul Stadig
Isn't it somewhat standard procedure in the Java world (or at least the Maven world...sorry to bring that up again :)) to distribute with a clojure-contrib.jar and clojure-contrib-sources.jar, one being only the compiled classes and the other only being the source files? Paul On Tue, Apr 7,

Re: ANN: Pretty printer is now part of contrib

2009-04-07 Thread Laurent PETIT
Indeed, it is, in the world of java source files. And indeed, even in the IDEs, it is possible to have both jars in the classpath and then gain the same benefits I myself cited above in the thread. Maybe I was confused because I made a parallel between java classes native platform code (via

Re: A large Clojure deployment

2009-04-07 Thread David Nolen
Congrats! Perhaps soon there should be a Projects Using Clojure section on the main site? Good way to get the word out that people are using Clojure in the real world David On Tue, Apr 7, 2009 at 10:47 AM, Sean francoisdev...@gmail.com wrote: Okay wow... it'll take some time to fully

Re: A large Clojure deployment

2009-04-07 Thread Michael Wood
On Tue, Apr 7, 2009 at 5:40 PM, David Nolen dnolen.li...@gmail.com wrote: Congrats! Perhaps soon there should be a Projects Using Clojure section on the main site? Good way to get the word out that people are using Clojure in the real world Sounds like a good idea to me. Maybe a Powered by

Re: A large Clojure deployment

2009-04-07 Thread Stuart Sierra
Hi Sean, It's deployed on an Ubuntu server on Amazon EC2. Just one server for now, but designed to scale to more. No RDBMS! I'm not using any Amazon services besides EC2 and S3, but I'm looking at SQS and SimpleDB. Deployment was pretty easy; my only problems have been non-Clojure- related.

Re: DISCUSS: clojure.contrib.java-utils/file

2009-04-07 Thread Stuart Sierra
Yeah, I'm thinking of renaming duck-streams/file to something like file-str or filename. -Stuart Sierra On Apr 7, 1:13 am, samppi rbysam...@gmail.com wrote: In addition, it's a bad idea to have these two superficially similar functions have the same name, file. If, in the end, both are to be

Re: ANN: Pretty printer is now part of contrib

2009-04-07 Thread Michael Wood
On Tue, Apr 7, 2009 at 5:30 PM, Laurent PETIT laurent.pe...@gmail.com wrote: [...] It seems to me that clojure core already does what you say : a clojure.jar and a clojure-src.jar. But then again, it's just for java source, not clojure source. Maybe clojure-contrib could be aligned to what

Re: A large Clojure deployment

2009-04-07 Thread Laurent PETIT
Waooh, congrats ! Surely an important step towards demonstrated to our employers the power and presence of clojure ! Could you elaborate on the rationale behind using java or clojure files ? In particular, was it more due to a (some) limitation(s) in the current abilities to generate java from

Re: A large Clojure deployment

2009-04-07 Thread Allen Rohner
It's deployed on an Ubuntu server on Amazon EC2.  Just one server for now, but designed to scale to more.  No RDBMS! Awesome, Congratulations. I was hoping to be the 2nd famous Clojure app, but it looks you beat me to it. :-) Can you go into detail about what/how you are persisting since

Re: A large Clojure deployment

2009-04-07 Thread Stuart Sierra
There isn't an RDBMS mostly because I have an irrational prejudice against them. In this case, the content is mostly static. The Hadoop jobs process collection of source documents -- a few dozen GB, a big ol' mess of PDF, XML, JSON, even WordPerfect! -- and, many hours later, output two things:

Re: A large Clojure deployment

2009-04-07 Thread Stuart Sierra
The java files were just stuff I'd already written in Java that I didn't feel like rewriting. -Stuart On Apr 7, 12:35 pm, Laurent PETIT laurent.pe...@gmail.com wrote: Waooh, congrats ! Surely an important step towards demonstrated to our employers the power and presence of clojure !

Re: clojure + android

2009-04-07 Thread Onorio Catenacci
On Apr 7, 5:29 am, Nick Levine n...@ravenbrook.com wrote: On Apr 7, 8:36 am, Remco van 't Veer rwvtv...@gmail.com wrote: [...] What does logcat report?  (use adb logcat on the commandline or M-x android-logcat if you're using my emacs minor mode). I sent Remco the log and he suggested:

Re: New release of the enclojure plugin is up.

2009-04-07 Thread CuppoJava
I'm just wondering if anyone who's tried this and the IntelliJ plugin can comment on how they compare. I'm wondering if Enclojure has some basic s-exp functions, like Surround-With-(). --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Fixing Documentation Errors

2009-04-07 Thread David Sletten
What is the mechanism for reporting errors in documentation? For instance, the doc string is in the wrong place for 'rational?'. And 'quot' and 'rem' take parameters 'num' and 'div', but the documentation talks about denominators rather than divisors. Aloha, David Sletten

Clojure on Google AppEngine

2009-04-07 Thread John D. Hume
As predicted, Google has now released Java support for AppEngine. I was lucky enough to get an early look, which I dedicated entirely to Clojure. Here's a writeup: http://elhumidor.blogspot.com/2009/04/clojure-on-google-appengine.html Have fun! -hume. -- http://elhumidor.blogspot.com/

Re: Clojure on Google AppEngine

2009-04-07 Thread David Nolen
Very exciting, thanks for the excellent and informative writeup. On Wed, Apr 8, 2009 at 12:41 AM, John D. Hume duelin.mark...@gmail.comwrote: As predicted, Google has now released Java support for AppEngine. I was lucky enough to get an early look, which I dedicated entirely to Clojure.

Re: Will Clojure work on AppEngine?

2009-04-07 Thread Robin B
Tonight Google officially announced JVM support for AppEngine: http://ru.ly/Z2 JRuby on Rails is working and Clojure/Compojure works too: http://ru.ly/74 Unfortunately threading is restricted on GAE/J. Robin On Mar 27, 9:44 am, Robin B robi...@gmail.com wrote: Google will officially announce

Olabani says google testing Clojure for appengine

2009-04-07 Thread BerlinBrown
http://olabini.com/blog/tag/gae/ --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to