Re: Why I have chosen not to employ clojure

2010-03-22 Thread Baishampayan Ghose
Tim Johnson wrote: I have evaluated clojure for the last couple of days, and it is both my own professional decision and my recommendation to the professional organizations that I belong to and report to that clojure is not ready for prime time. [snip] I agree that Tim was a bit over-reacting;

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Vagif Verdi
I'm happy that this guy self eliminated himself from clojure community. But experience tells me not to be so sure. His kind tends to come back and unfortunately is very persistent. If downloading couple of jar files and dropping them into the classpath is too much for him, then he is definitelly

Re: Printing promises

2010-03-22 Thread Per Vognsen
On Mon, Mar 22, 2010 at 1:43 PM, Meikel Brandmeyer wrote: > Hi, > > On Mar 22, 7:13 am, Per Vognsen wrote: > >> As a solution, I factored the reify out into a deftype: >> >> http://gist.github.com/339834 > > A short note: you don't have to use :keyword notation in the methods. > The attributes of

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Joel Westerberg
I love clojure but I think it's unnecessary it doesn't ship with a simple clj and a clj.bat script out of the box, yeah it's easy to run it with jvm, but who want to type java -server -Djava.ext.dirs=./lib:/opt/bin/lib -cp ~/.emacs.d/lisp-packages/swank-clojure jline.ConsoleRunner clojure.lang.Rep

Re: Question about overriding print-method for deftypes

2010-03-22 Thread Konrad Hinsen
On 21 Mar 2010, at 20:34, Fogus wrote: (defmethod clojure.core/print-method ::Piece [piece writer] ???what goes here???) (defmethod clojure.core/print-method ::Piece [piece writer] (.write writer (str (:number piece) (:letter piece)) 0 2)) Extending Piece to provide a str method can repla

[patch] Re: Sequential vs. "divide and conquer" algorithm

2010-03-22 Thread Andrzej
On Mon, Mar 22, 2010 at 5:39 AM, Michał Marczyk wrote: > > Not sure if I want to draw any particular conclusion from this... > Probably not, since I'm not yet done wondering to which degree I might > be correct in thinking it. :-) I do want to stress once again the need > for benchmarking with exp

Re: Printing promises

2010-03-22 Thread Konrad Hinsen
On 22 Mar 2010, at 07:43, Meikel Brandmeyer wrote: No. The "problem" is, that for each type there is a unique print- method installed by deftype. You have to re-define this method and call the method for clojure.lang.IDeref directly. (See also above paste.) It may be easier to do a (r

Re: General question: Petri nets and STM in clojure

2010-03-22 Thread alux
Hi Andrzej, I'm not a Petri net specialist too, but I dont see how one could simulate the view of a Clojure programmer onto STM, without simulation too the stuff programmers doesnt see: Richs under-the-hood-magic. Regards, alux Andrzej schrieb: > On Mon, Mar 22, 2010 at 4:36 AM, alux wrote: > >

Re: Maven clojure:repl

2010-03-22 Thread alux
Thank you Stuart, this closes some of my thinking loops. Greetings from Europe, alux Stuart Sierra schrieb: > Maven has a default search path, but it only works for the standard > plugins distributed by Apache. > > To use the Clojure plugin (any of the clojure:* commands) the pom.xml > must cont

Re: General question: Petri nets and STM in clojure

2010-03-22 Thread Per Vognsen
Indeed. Petri nets are based on the idea of synchronization via localized token passing; STM tries to create an illusion of synchronization-free serial execution which explicitly supports non-local 'spooky action at a distance' for references. Petri nets are not a very useful modeling tool here.

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Alyssa Kwan
This is definitely flamebait. However, he has a point. Perhaps we should make it clear on the Getting Started page that deploying Java is a prerequisite to deploying Clojure, and include links to resources on how to do that for the platform you are on. It's presently unclear to anyone without a

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Michael Richter
To add the perspective of a true newbie to this dogpile, I'm going to have to say that the OP was just plain wrong. He made a major mistake -- wanting to compile clojure for himself on a platform that's not exactly friendly to Java development in the first place (Slackware, not Linux in general) -

Re: Clojure and JMS - Sample program

2010-03-22 Thread jsrodrigues
This is the follow-up code I wrote to help me understand JMS-Topic (javax.jms.Topic). Regards, John (ns jms.jms-topic (:use [jms.jms-test :only (get-initial-context get-message-text)]) (:import (javax.jms Session MessageListener))) (defn publish-term-message-to-

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Douglas Philips
On 2010 Mar 21, at 11:52 PM, Cosmin Stejerean wrote: On Sun, Mar 21, 2010 at 10:20 PM, Luc Préfontaine > wrote: Yes we could have a complete package to run Clojure from the shell command line but how far could someone go with this to build a workable system without an IDE ? [...] Comments any

Re: General question: Petri nets and STM in clojure

2010-03-22 Thread Ryan Teo
Hi alux, Andrej, Thanks! I'm still trying to understand how STM works in Clojure, so I would be happy if someone could tell me what's the relationship between Petri nets and the STM model. Is Petri nets analogous to the STM? If you have any good online resource, I would be very grateful if yo

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Martin DeMello
On Mon, Mar 22, 2010 at 2:19 PM, Joel Westerberg wrote: > > Every time I've started up with a clojure project I've had to spend a few > hours fiddling with the environment, not that I don't do that with other > languages, but it would be nice with an officially sanctioned solution for > setting up

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Luc Préfontaine
Is my first impression right or wrong ? Is Clojure harder to setup from Windows for beginners ? Would an installer (.msi) help by hiding Java related details and providing some basic scripts to run it ? Luc P. On Mon, 2010-03-22 at 16:48 +0530, Martin DeMello wrote: > On Mon, Mar 22, 2010 at 2

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Martin DeMello
Haven't tried setting it up on windows, but an msi that hid the java details would be a nice plus, provided hat the abstraction never leaked (i.e. that you could do all the basic clojure operations without having to stop and edit or bypass the scripts). martin On Mon, Mar 22, 2010 at 5:01 PM, Luc

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Per Vognsen
I use OS X and had only minor trouble getting Clojure to run the first time. But even minor trouble still has a disproportionate effect on someone's first impression. The out-of-box experience matters for everything and programming languages are no exception. Eclipse is a good example of a Java dev

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Edmund Jackson
I'd agree with that, I've setup Clojure on Linux, Mac and Windows and I found Windows the most difficult. Granted, I virtually never use Windows, but it felt like I was fighting it by being at the command line, but had no choice but to be there. On 22 Mar 2010, at 11:31, Luc Préfontaine wrote:

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Luc Préfontaine
Don't twist my post away from it's purpose... I am not making an IDE a pre-requisite for learning purposes. The original poster was talking about getting Clojure usable by corporations... he was not talking about academic learning. Too bad he was not aware that there are other IDEs available othe

java vector canvas

2010-03-22 Thread Martin DeMello
A bit off topic, but I'm hoping someone here will know - is there a vector canvas available for the jvm? I mean something like tk's canvas, where you can draw vector objects that retain their own identity, and can independently respond to mouse clicks. martin -- You received this message because

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Ramakrishnan Muthukrishnan
On Mon, Mar 22, 2010 at 5:13 PM, Per Vognsen wrote: > good example of a Java developer-oriented application with a good > out-of-box experience on all platforms. Shell scripts for UNIX and > installers for Windows and OS X would go a long way towards improving > that for Clojure. In my opinion, a

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Per Vognsen
Note that I didn't propose an installer except for OS X and Windows. Only a DWIM shell script. -Per On Mon, Mar 22, 2010 at 7:04 PM, Ramakrishnan Muthukrishnan wrote: > On Mon, Mar 22, 2010 at 5:13 PM, Per Vognsen wrote: >> good example of a Java developer-oriented application with a good >> ou

Re: java vector canvas

2010-03-22 Thread Andrzej
On Mon, Mar 22, 2010 at 8:59 PM, Martin DeMello wrote: > A bit off topic, but I'm hoping someone here will know - is there a > vector canvas available for the jvm? I mean something like tk's > canvas, where you can draw vector objects that retain their own > identity, and can independently respond

Setting Compiler.LOADER or USE_CONTEXT_CLASSLOADER before initialization

2010-03-22 Thread Paul Ingles
Hi, I'm attempting to write some Clojure code to work on the 80legs crawling service. The current code is available at http://github.com/pingles/crawly/ (note there's not much to it so far). 80legs impose some security restrictions to ensure you can't do anything too dangerous when it's running

Re: clojure naming convention for accessors vs. local variables

2010-03-22 Thread Rich Hickey
On Mar 20, 2010, at 2:50 PM, cageface wrote: So will deftype/protocol be the recommended, idiomatic way to implement ADTs in Clojure 1.2? Yes. Will the current map/struct based approaches essentially be deprecated? These are two different things. deftypes will work fine with map-based

Re: questions on extending protocols

2010-03-22 Thread Rich Hickey
On Mar 20, 2010, at 3:56 AM, Stuart Halloway wrote: The questions below refer to the gist at https://gist.github.com/336674/9ab832a86d203731c6379404d20afded79fe5f5b and to protocols in general: (1) Clojure automatically types hints the first argument when extending a protocol to an interfa

Re: Sequential vs. "divide and conquer" algorithm

2010-03-22 Thread Rich Hickey
On Mar 21, 2010, at 8:29 AM, Andrzej wrote: On Sun, Mar 21, 2010 at 6:37 PM, Jarkko Oranen wrote: Rich has done some work on using the JDK7 ForkJoin Library to parallelise map and reduce over vectors, since they are already internally structured as trees. It hasn't been touched in a while,

Re: Why I have chosen not to employ clojure

2010-03-22 Thread eyeris
> I agree with Stuart that the user experience should be friendly on all > supported platforms. I also agree. The best setup experience I've had so far is using NetBeans with the Enclojure plugin. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

Re: Why I have chosen not to employ clojure

2010-03-22 Thread David Powell
On Mon 22/03/10 11:31 , "LucPréfontaine" lprefonta...@softaddicts.ca sent: > Is my first impression right or wrong ? > Is Clojure harder to setup from Windows for beginners ? > Would an installer (.msi) help by hiding Java related details and > providing some basic scripts to run it ? I think the

Re: questions on extending protocols

2010-03-22 Thread Per Vognsen
On Mon, Mar 22, 2010 at 7:20 PM, Rich Hickey wrote: > > On Mar 20, 2010, at 3:56 AM, Stuart Halloway wrote: > >> The questions below refer to the gist at >> https://gist.github.com/336674/9ab832a86d203731c6379404d20afded79fe5f5b and >> to protocols in general: >> >> (1) Clojure automatically types

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Michael Kohl
> In my opinion, atleast in the GNU/Linux world, it should be left to > distributors to do this job. On Debian for instance, one just need to > do `apt-get install clojure clojure-contrib' to get clojure installed. It's equally simple on the Mac with Homebrew [1]: $ brew install clojure clojure-c

Re: java vector canvas

2010-03-22 Thread David Nolen
On Mon, Mar 22, 2010 at 7:59 AM, Martin DeMello wrote: > A bit off topic, but I'm hoping someone here will know - is there a > vector canvas available for the jvm? I mean something like tk's > canvas, where you can draw vector objects that retain their own > identity, and can independently respond

Re: Setting Compiler.LOADER or USE_CONTEXT_CLASSLOADER before initialization

2010-03-22 Thread J. McConnell
On Mon, Mar 22, 2010 at 7:42 AM, Paul Ingles wrote: > > I'm trying to find a way of ensuring that when the Clojure runtime > kicks in the class loader can be bound to something provided from the > Java adapter side (see > > http://github.com/pingles/crawly/blob/master/src/com/eightylegs/customer/

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Sean Devlin
Luc, Windows users should be good to go. Clojurebox, Enclojure & CCW are ready for use for any Java dev with some experience. As for the installation process, pick you poison: http://vimeo.com/tag:install_clojure Sorry to self-post, Sean On Mar 22, 7:31 am, Luc Préfontaine wrote: > Is my firs

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Lee Spector
FWIW Michael it was your ClojureX was what got me going best in the beginning, but on Mac OS X, not Windows. Getting a minimal clojure-aware editing setup was a little harder -- the emacs-setup stuff you had in an earlier version of ClojureX got me started there too, but I had to do some other

Re: General question: Petri nets and STM in clojure

2010-03-22 Thread alux
Hi Ryan, well, to describe in the terms of Petri nets how the Clojure STM is built? Thats a good topic for a thesis, but rather hard to do in news group articles. If you try to understand how to use the STM in Clojure, Petri nets probably will not help you. STM rather asks you to forget the stuff

mvn clojujure:repl - no keyboard echo

2010-03-22 Thread alux
Hello, I try to get comfortable with the maven clojure plugin, but am still fighting. Precondition: I'm bound to use M$ Windows (XP currently) at my job, so I want to get stuff running there. The clojure:repl Is running now. But when I start typing, I dont see stuff. The characters I type are ec

Re: java vector canvas

2010-03-22 Thread Martin DeMello
On Mon, Mar 22, 2010 at 6:05 PM, Andrzej wrote: > On Mon, Mar 22, 2010 at 8:59 PM, Martin DeMello > wrote: >> A bit off topic, but I'm hoping someone here will know - is there a >> vector canvas available for the jvm? I mean something like tk's >> canvas, where you can draw vector objects that r

Re: Why I have chosen not to employ clojure

2010-03-22 Thread e
think about the difference between putting flash or python on a machine compared to clojure. there's more of a system-level "path" feel to those things (even though each user can have their own environment). I mean, you can add a clj script to your path and get the same effect, but that's what's

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Rich Hickey
On Mar 21, 2010, at 8:50 PM, Stuart Sierra wrote: No, but you can change the configs and recompile. Clojure itself uses Ant, so "ant" on a machine with only Java 1.5 should do the trick. To install that custom JAR in your local Maven repository, download the "Maven Ant Tasks" JAR and run: ant

Re: Why I have chosen not to employ clojure

2010-03-22 Thread e
On Mon, Mar 22, 2010 at 1:26 AM, cej38 wrote: > I am a physicist by training and practice, this means that I am an > expert on Fortran 95. To say my exposure to Java is minimal would be > generous. And until last year when I heard about Clojure from a > friend, I thought LISP was a speech imped

Re: questions on extending protocols

2010-03-22 Thread Stuart Halloway
The questions below refer to the gist at https://gist.github.com/336674/9ab832a86d203731c6379404d20afded79fe5f5b and to protocols in general: (1) Clojure automatically types hints the first argument when extending a protocol to an interface or class, which is great. But you cannot override

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Russ Olsen
I have to say that while I'm sorry that we didn't snag the original poster as a Clojure user, he has actually done us a real favor. The most important customer is the pissed off customer who tells you why he is pissed off. You don't have to take everything he says to heart, but it is always worth l

Re: Sequential vs. "divide and conquer" algorithm

2010-03-22 Thread Andrzej
On Mon, Mar 22, 2010 at 9:40 PM, Rich Hickey wrote: > > You really do need to look at par, and fork/join as well. In particular, > your desire for even partitioning and balancing is obviated by work > stealing. If you think about it, you'll see that that would become > immediately necessary as soo

Re: questions on extending protocols

2010-03-22 Thread Konrad Hinsen
On 22 Mar 2010, at 14:12, Per Vognsen wrote: Even if the functions can be written in terms of the core protocol, putting them in the protocol makes it possible to implement higher-performance specialized versions for some containers while supplying default implementations in terms of the core pr

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Stuart Sierra
Actually, this is more complicated than I thought. The build processes will use whatever default version of Java is installed locally. Maven has config options for the Java *compiler* version to use, but that will only work for .java source files (of which there are non in contrib). The version

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Stuart Sierra
By the way, Ant has the same problem: you can specify a target JDK version in the "javac" task, but not the "java" task. So the Clojure compiler runs with the default "java" executable on the local machine. -SS On Mar 22, 11:54 am, Stuart Sierra wrote: > Actually, this is more complicated than

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Luc Préfontaine
I looked at these videos and they are a very good starting point. Then do we have a communication problem getting these things known ? Are these videos listed on the "Getting started" page ? What about using contrib ? That would be the first "classpath" problem a newcomer would face. It looks to

Re: questions on extending protocols

2010-03-22 Thread Per Vognsen
>>> lookup (find-protocol-method) over the method invocation itself. Is that the >>> right way to summarize the performance implications? >> >> No, since the result is cached. The real every-call overhead is having to >> go through the var to detect changes to the protocol, vs the inline-defined >>

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Lee Spector
Yes, yes and yes: The videos are great, and all of the information is out there, but it was hard for me to find as I first waded in. And getting contrib to work was one of my first problems. BTW I'd also like to reinforce that although full IDEs aren't necessary to begin -- and besides they're

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Sean Devlin
Hmm... maybe something like this? http://hackage.haskell.org/platform/ Or this? http://www.openoffice.org/ Sean On Mar 22, 12:39 pm, Lee Spector wrote: > Yes, yes and yes: The videos are great, and all of the information is out > there, but it was hard for me to find as I first waded in. And

Re: questions on extending protocols

2010-03-22 Thread Per Vognsen
Before someone dings me on the race condition, imagine I had factored those repeated @cache calls into a (let [value# @cache] ...) expression. The other thing I'm missing is a check for whether the protocol has been changed since the cache entry was created; this would be done by also maintaining a

Nailgun, swank & lein

2010-03-22 Thread Bradbev
Hi guys, I am running Clojure on OS X Snow Leopard, 64bit, Java 1.6. I've been developing a little app using Lein, Swank and Emacs, and now I am having trouble getting Nailgun to work properly. I'm not in front of my usual PC right now so I may get a few things wrong; but here is what I know. - M

clojure.contrib.json.write.print-json type coverage

2010-03-22 Thread Jieren Chen
Hey everyone I've come across a few situations where the print-json multi-method does not cover certain types that may be desirable to have (ex. java.math.BigDecimal and java.util.Date) It's really easy to hack your way around this, but I was just wondering if there's any demand for a change to t

Re: questions on extending protocols

2010-03-22 Thread Rich Hickey
On Mar 22, 10:54 am, Stuart Halloway wrote: > >> The questions below refer to the gist > >> athttps://gist.github.com/336674/9ab832a86d203731c6379404d20afded79fe5f5b > >>  and to protocols in general: > > >> (1) Clojure automatically types hints the first argument when   > >> extending a protoc

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Rich Hickey
Do we really care what they are built with, or only that they target 1.5? (i.e. javac's -target option) On Mar 22, 2010, at 11:54 AM, Stuart Sierra wrote: Actually, this is more complicated than I thought. The build processes will use whatever default version of Java is installed locally.

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Rich Hickey
On Mar 22, 2010, at 12:13 PM, Luc Préfontaine wrote: I looked at these videos and they are a very good starting point. Then do we have a communication problem getting these things known ? Are these videos listed on the "Getting started" page ? They are now: http://clojure.org/getting_started

JColorChooser

2010-03-22 Thread WoodHacker
When I try to use JColorChooser in Clojure I get the followinf error: Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: No matching method found: showDialog for class javax.swing.JColorChooser Shouldn't showDioalog be there? What and I doing wrong. Here's the code: (

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Eric Thorsen
I'll try this out since I'm stuck and wanted to get out of the business of building my own versions of clojure/-contrib (hence the move to maven). What do other projects do that have maven repos with similar contraints? Are there separate entries in the repo? On Mar 22, 3:53 pm, Rich Hickey wrot

Re: clojure and clojure-contrib jars built with the 1.5 jdk

2010-03-22 Thread Mark Derricutt
The new version of the maven-clojure-compiler plugin now supports the toolchains API to solve this ( running maven under 1.6, compiling with 1.5) but that won't help clojure itself: You can read more about this at: http://maven.apache.org/guides/mini/guide-using-toolchains.html I really need t

Re: JColorChooser

2010-03-22 Thread Allen Johnson
`showDialog` is a static method. Maybe something like below would work? (JColorChooser/showDialog parent "Choose Color" bisque) Allen -- 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

Re: JColorChooser

2010-03-22 Thread Sean Devlin
I think the problem is that you are try to use a static method lake an instance method. I was able to get the following to work: (import javax.swing.JColorChooser) (JColorChooser/showDialog nil "Test" java.awt.Color/BLACK) Sean On Mar 22, 4:51 pm, WoodHacker wrote: > When I try to use JColorC

Re: Why I have chosen not to employ clojure

2010-03-22 Thread cageface
I'll certainly agree that it should be as easy as possible to get started in Clojure, but I really don't think that the kind of people that can't use anything without a windows installer are going to get very far with Clojure in any case. I mean, if it's too much to install java, unzip a file and

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Sean Devlin
There are a ton of people who are ready for dabbling with Clojure but aren't ready for production systems. You'd be surprised how linearly independent system administration skills and software development skills really are. They aren't quite orthogonal, but it's amazingly close. On Mar 22, 5:36 

Re: mvn clojujure:repl - no keyboard echo

2010-03-22 Thread alux
Really no ideas? Hm. I dont know what to do too. Reagrds, alux -- 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 moderated - please be patient with your

Re: clojure-mode-like syntax highlighting for the SLIME REPL

2010-03-22 Thread Michał Marczyk
Phil, I've sent you a pull request with the refactoring of clojure-mode. If it looks ok to you, I was wondering if you might perhaps like a second one to include instructions to setup Clojure highlighting in swank-clojure's readme? Sincerely, Michał -- You received this message because you are

Re: Why I have chosen not to employ clojure

2010-03-22 Thread cageface
On Mar 22, 2:48 pm, Sean Devlin wrote: > There are a ton of people who are ready for dabbling with Clojure but > aren't ready for production systems.  You'd be surprised how linearly > independent system administration skills and software development > skills really are.  They aren't quite orthogo

Re: Why I have chosen not to employ clojure

2010-03-22 Thread jonathan.watmo...@gmail.com
On Mar 22, 1:10 am, Luc Préfontaine wrote: > An IDE becomes a necessity as the complexity of your software is > increasing. > > Now what's a complex piece of software ? > > Presently we have 12 components in production some being several > thousand lines covering three languages (Java, Ruby and Cl

Bug: contains? doesn't work on transient maps or sets

2010-03-22 Thread Mark Engelberg
Disturbingly, it doesn't error, it just always returns false. This is in version 1.1. Can someone check and see if this is still a problem on the latest version? Thanks, Mark -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, se

RE: mvn clojujure:repl - no keyboard echo

2010-03-22 Thread Kevin
> Subject: Re: mvn clojure:repl - no keyboard echo > > Really no ideas? > Hm. > I dont know what to do too. Several ongoing threads related to bootstrap issues; if I'm tracking right you're trying to run Incanter (Clojure front-end with several java stats and graph libraries) on XP. I'm on XP a

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Mark J. Reed
On Mon, Mar 22, 2010 at 7:03 PM, cageface wrote: > > On the other hand, if you go to the "getting started" pages of Jruby, > Groovy they're actually far more daunting (IMO) than Clojure's: > http://groovy.codehaus.org/Tutorial+1+-+Getting+started > http://kenai.com/projects/jruby/pages/GettingStar

Re: mvn clojujure:repl - no keyboard echo

2010-03-22 Thread Mark Derricutt
If jline is a problem, does removing it from the pom's dependencies "solve" the problem? -- Pull me down under... On Tue, Mar 23, 2010 at 12:07 PM, Kevin wrote: > There's an issue floating around here about jline problems under windows... > seems some setups use jline to give extra terminal

Re: Why I have chosen not to employ clojure

2010-03-22 Thread Lee Spector
I agree with Sean on the near-orthogonality of sysadmin skills and the skills needed to get a lot of Clojure as a language. I have precious few of the former but not of the latter. And just today I had a very capable undergrad student with programming experience in a couple of languages (but

Re: questions on extending protocols

2010-03-22 Thread Stuart Halloway
Very helpful, thanks! Stu On Mar 22, 10:54 am, Stuart Halloway wrote: The questions below refer to the gist athttps://gist.github.com/ 336674/9ab832a86d203731c6379404d20afded79fe5f5b and to protocols in general: (1) Clojure automatically types hints the first argument when extending a pr

Re: Nailgun, swank & lein

2010-03-22 Thread Bradbev
I've traced my hang issue down to these lines in NGServer synchronized(System.in) { if (!(System.in instanceof ThreadLocalInputStream)) { System.setIn(new ThreadLocalInputStream(in)); System.setO

Re: Nailgun, swank & lein

2010-03-22 Thread Bradbev
Apparently starting the server with swank-clojure-project does not work, but starting it with "lein swank" and then connecting from Emacs works. Perhaps this is a problem with launching from inside Emacs. Either way, I now have something of a work around. Brad -- You received this message becau