Re: Why is JLine better than just command-line?

2010-05-16 Thread Peter Schuller
Okay, so you can actually print password-masked characters.  But I can't figure out how to actually do anything I couldn't already do with my command-line before JLine, except I can't seem to exit the Clojure REPL with CTRL+c. I presume you've read about JLine at http://jline.sourceforge.net/

Re: Why is JLine better than just command-line?

2010-05-16 Thread Meikel Brandmeyer
Hi, On Sat, May 15, 2010 at 03:32:13PM -0700, Jason Smith wrote: Okay, so you can actually print password-masked characters. But I can't figure out how to actually do anything I couldn't already do with my command-line before JLine, except I can't seem to exit the Clojure REPL with CTRL+c.

Re: Clojure web app + js libraries - any suggestions?

2010-05-16 Thread Saul Hazledine
On May 15, 5:23 pm, Base basselh...@gmail.com wrote: So I would love to hear what others have done in the past to integrate clojure into a web app.  Any info would be most appreciated. I use compojure 0.4 with hiccup to generate the HTML. It feels like a very old school way of developing a web

Re: Why is JLine better than just command-line?

2010-05-16 Thread Jason Smith
Thanks for the feedback! It seems like JLine operation is supposed to be obvious to anyone who uses *nix regularly. I know a couple of guys who this might interest, so I'll run this info by them and see if they bite. Thanks again! -- You received this message because you are subscribed to the

Re: Dynamic use of protocols

2010-05-16 Thread Mikhail Kryshen
On 16 май, 05:57, ataggart alex.tagg...@gmail.com wrote: Perhaps you misunderstand protocols.  Protocols don't support a hierarchy, thus you don't extend them; you have types implement/reify them.  Any extending you do will be against a type. By extending the protocol I mean extending the

Re: Dynamic use of protocols

2010-05-16 Thread David Nolen
On Saturday, May 15, 2010, Mikhail Kryshen set of extenders and implementing functions. This state (what types currently implement the protocol and how) is what I really want to be able to manipulate. The way it is tied to the protocol definition and changed by the extend function seems to

Re: Running Clojure scripts in Maven

2010-05-16 Thread Hugo Duncan
On Sat, 15 May 2010 21:54:55 -0400, Jason Smith ja...@lilypepper.com wrote: http://sandflea.googlecode.com/svn/site/SNAPSHOT/maven-clojure-plugin/example-execute-simple.html I was originally going to try to put this into *clojure-maven-plugin*, but realized that there are lots of subtleties

Re: Clojure web app + js libraries - any suggestions?

2010-05-16 Thread Base
Thanks much Saul. This is exactly what I am looking for! Let the webapps begin! On May 16, 7:15 am, Saul Hazledine shaz...@gmail.com wrote: On May 15, 5:23 pm, Base basselh...@gmail.com wrote: So I would love to hear what others have done in the past to integrate clojure into a web app.  

Re: Running Clojure scripts in Maven

2010-05-16 Thread Jason Smith
On May 16, 7:22 am, Hugo Duncan hugodun...@users.sourceforge.net wrote: ... In case you are interested, I recently implemented some of the   infrastructure to allow you to write maven plugins in clojure. A simple   example that just logs basedir is here:

Re: Clojure web app + js libraries - any suggestions?

2010-05-16 Thread Jason Smith
If you are taking Saul's approach, you might also want to take a look at generating XHTML, since XML support in Clojure is so easy, and strict HTML is a little more limiting. And if you were looking at Raphael, take a second look at plain-ol' SVG. It's already very good in Opera, Chrome,

Re: ANN: try clojure

2010-05-16 Thread Heinz N. Gies
On May 13, 2010, at 7:31 , Heinz N. Gies wrote: Anyway, enjoy: http://www.try-clojure.org Since Rayens original repo has improved to the point where it had become better then my quick hack fork I've changed the running version back to his original, enjoy! -- You received this message

Actors not good for concurrency model

2010-05-16 Thread Fabio Kaminski
Sorry about using the list like twitter.. but i thought this is a pretty good article about functional programming side effects, and why actors are not very good design decision.. Actors not good for concurrency model :

how do I clojurize this java ?

2010-05-16 Thread Brian Wolf
Hi, I was wondering how to 'clojurize' twitterStream = new TwitterStreamFactory().getInstance(args[0], args[1]); from the java code below,which is the from the open source twitter4j java library ( http://twitter4j.org/en/index.html ) from the source, .getInstance(args[0], args[1]) is a

Wrapping lines in the REPL

2010-05-16 Thread Ralph
I am using La Clojure (IntelliJ) for editing my programs. Is there any way (pseudo-variable, perhaps) to get the REPL to wrap lines after a specified number of characters? If I print a sequence containing a large number of items, I have to scroll right to see the whole thing. Thanks, Ralph --

Which git version for cells?

2010-05-16 Thread Steven Devijver
I'm experimenting with cells in clojure and am currently using the lazy branch for this. However, I'm getting some strange behavior. So my question is: which branch should I be using if I want to test- drive the watcher feature? Thanks -- You received this message because you are subscribed to

Re: how do I clojurize this java ?

2010-05-16 Thread ataggart
Works fine for me: $ java -cp clojure.jar:twitter4j-core-2.1.2.jar clojure.main Clojure 1.2.0-master-SNAPSHOT user= (import 'twitter4j.TwitterStreamFactory) twitter4j.TwitterStreamFactory user= (.getInstance (TwitterStreamFactory.) foo bar) [Sun May 16 17:09:37 PDT 2010]Using class

Re: Actors not good for concurrency model

2010-05-16 Thread patrickdlogan
Nice diatribe against actors by someone who's apparently never... actually... used... actors. Clojure is really nice, but that doesn't mean I'm going to buy into weak arguments against features it doesn't have in its core. On May 16, 12:19 pm, Fabio Kaminski fabiokamin...@gmail.com wrote: Sorry

Re: ANN: try clojure

2010-05-16 Thread Rayne
Pretty enough for you now, David? You can thank Lau Jensen for tons of help making it pretty. Since I didn't know Heinz had already decided to throw my stuff out to the world, I'll go ahead and point out my plans now, since it still isn't finished. Right now, I'm working on making it a bit of a

Re: new Clojure Compiler...

2010-05-16 Thread Rob Lachlan
for the persistent data.. well all this laziness and dinamic types, and on top of that immutability should not perform well in pure clojure Why? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to