Re: Leiningen capabilities (was Re: A newbie's summary - what worked, what didn't)

2011-03-30 Thread Mike Meyer
On Tue, 29 Mar 2011 16:49:48 -0700 (PDT) Phil Hagelberg p...@hagelb.org wrote: On Mar 28, 10:24 pm, Andy Fingerhut andy.finger...@gmail.com wrote: And I should have known about this before, but had not used it.  It adds to Leiningen the capability to search, and I'm not sure, but perhaps

Re: A newbie's summary - what worked, what didn't

2011-03-29 Thread Jon Seltzer
I use JEdit exclusively as described by David and adding external libraries to the classpath on my own when I launch the REPL. Really, setting the classpath isn't that hard and if you're really planning on using Clojure long term then you'll have to deal with it eventually. So why not just spend

Re: A newbie's summary - what worked, what didn't

2011-03-29 Thread Jon Seltzer
This is exactly what I use and it works perfectly. On Mar 28, 10:48 am, David Nolen dnolen.li...@gmail.com wrote: On Mon, Mar 28, 2011 at 12:39 PM, Lee Spector lspec...@hampshire.eduwrote: On Mar 28, 2011, at 12:19 PM, Luc Prefontaine wrote: But with any other language I've ever used, at

Re: Leiningen capabilities (was Re: A newbie's summary - what worked, what didn't)

2011-03-29 Thread Jon Seltzer
comments directed to me Fair enough. It would be great if Clojure tools were as mature as Java's Eclipse or IntelliJ, but hey, Java's been around for 15 years. Probably unrealistic to expect more. Perhaps we can look forward to tools created by you. On Mar 28, 10:32 pm, ultranewb

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Mike Meyer
On Sun, 27 Mar 2011 21:30:54 -0700 (PDT) ultranewb pineapple.l...@yahoo.com wrote: But with any other language I've ever used, at most I include a library I need in a directive at the top, or I include my own code in a similar directive. Question: how did you find the library you were going

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Luc Prefontaine
Given the huge number of libraries/projects available these days and the diverse profile of library maintainers, a totally automated/transparent dependency manager is not for today. It would require a crystal ball to cope with a number of situations. That garbage has to be dealt with in day to

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 5:16 AM, Luc Prefontaine wrote: Given the huge number of libraries/projects available these days and the diverse profile of library maintainers, a totally automated/transparent dependency manager is not for today. It would require a crystal ball to cope with a number of

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Ken Wesson
On Mon, Mar 28, 2011 at 8:51 AM, Lee Spector lspec...@hampshire.edu wrote: On Mar 28, 2011, at 5:16 AM, Luc Prefontaine wrote: Given the huge number of libraries/projects available these days and the diverse profile of library maintainers, a totally automated/transparent dependency manager

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Tim Webster
On Mar 28, 9:18 am, Ken Wesson kwess...@gmail.com wrote: On the other hand, there's a definite contingent that do hold newbs in low esteem and are deliberately rude to them, regarding them as low-status individuals on the techno totem pole. Why does this type bother to reply to newbie

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 12:19 PM, Luc Prefontaine wrote: But with any other language I've ever used, at most I include a library I need in a directive at the top, or I include my own code in a similar directive. For instance, with Erlang you just say module(whatever) at the top. I mean, that's

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread David Nolen
On Mon, Mar 28, 2011 at 12:39 PM, Lee Spector lspec...@hampshire.eduwrote: On Mar 28, 2011, at 12:19 PM, Luc Prefontaine wrote: But with any other language I've ever used, at most I include a library I need in a directive at the top, or I include my own code in a similar directive. For

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread ultranewb
On Mar 28, 11:39 pm, Lee Spector lspec...@hampshire.edu wrote: There's some ambiguity here about what kind of libraries we're talking about and where they come from. I think the poster is asking for a totally transparent way to do the stuff at the simple end of the spectrum (e.g. for

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread ultranewb
On Mar 28, 11:19 pm, Luc Prefontaine lprefonta...@softaddicts.ca wrote: The simple answer (your # 1) was already provided by Shantanu. Install Eclipse and CCW and you can start simple Clojure projects. No immediate dependency issues until you need something from Clojar. Oh, there have been

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Larry Travis
Kasim: I just discovered ClojureW, and it looks promising. I will report my reaction after I get time to thoroughly test it for the kinds of things I am doing. In the meantime, a request: When you work 'on a Just Works emacs setup' for Mac Os X consider whether you can create such a setup

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Ken Wesson
On Mon, Mar 28, 2011 at 2:27 PM, Larry Travis tra...@cs.wisc.edu wrote: Kasim: I just discovered ClojureW, and it looks promising. I will report my reaction after I get time to thoroughly test it for the kinds of things I am doing. In the meantime, a request: When you work 'on a Just Works

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 1:48 PM, David Nolen wrote: 1) Install JEdit for your platform, start JEdit 2) Install Clojure and Clojure Shell plugins via Plugins menu 3) Start the Clojure Shell from the Plugins menu. 4) Write some Clojure source in a file, save it. 5) Send file to Clojure Shell I've

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 2:27 PM, Larry Travis wrote: When you work 'on a Just Works emacs setup' for Mac Os X consider whether you can create such a setup for the Aquamacs version of emacs that many of us Mac Os X users prefer (because it gives us the power and versatility of emacs without

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Timothy Baldridge
Either way, I said that I would download and try this Eclipse thing in the next few days, and I will. I don't have high hopes for it, because I've already been there, done that with these other big, glamorous IDEs, but I'll do my due diligence and give it a shot. If I'm a betting in Vegas,

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread David Nolen
On Mon, Mar 28, 2011 at 2:53 PM, Lee Spector lspec...@hampshire.edu wrote: On Mar 28, 2011, at 1:48 PM, David Nolen wrote: 1) Install JEdit for your platform, start JEdit 2) Install Clojure and Clojure Shell plugins via Plugins menu 3) Start the Clojure Shell from the Plugins menu. 4)

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 3:02 PM, David Nolen wrote: Auto-indenting is achieved via the JEdit Clojure mode. You just need to drop it into your JEdit modes folder (platform dependent location). https://github.com/djspiewak/jedit-modes/blob/master/clojure.xml. I don't consider it critical for

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Sean Corfield
On Sun, Mar 27, 2011 at 11:31 PM, Mark Engelberg mark.engelb...@gmail.com wrote: (require (planet dherman/memoize:3:1)) If the library's not already on the system, when you run the program, Racket automatically downloads it for you and puts it in the right place (and even installs the

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread David Nolen
On Mon, Mar 28, 2011 at 3:31 PM, Lee Spector lspec...@hampshire.edu wrote: I do consider this critical, especially for newcomers. I already had the Clojure edit mode that could be installed from the Plugins menu, and my buffers say clojure at the bottom so I assume it is working. (And I can

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread daly
On Mon, 2011-03-28 at 13:01 -0700, Sean Corfield wrote: On Sun, Mar 27, 2011 at 11:31 PM, Mark Engelberg mark.engelb...@gmail.com wrote: (require (planet dherman/memoize:3:1)) If the library's not already on the system, when you run the program, Racket automatically downloads it for you

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 4:37 PM, David Nolen wrote: Using that clojure.xml, auto-indent works just fine for me. Hmmm. Not for me. I guess this is another instance of the issue that the OP raised. Not sure what to try next to make it work. FWIW one reason I think auto-indentation is critical for

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread David Nolen
On Mon, Mar 28, 2011 at 4:52 PM, Lee Spector lspec...@hampshire.edu wrote: On Mar 28, 2011, at 4:37 PM, David Nolen wrote: Using that clojure.xml, auto-indent works just fine for me. Hmmm. Not for me. I guess this is another instance of the issue that the OP raised. Not sure what to try

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Stefan Kamphausen
Hi, please let me humbly add my 2ct to this discussion... If you want to learn something new, you'll just have to jump through some hoops. As soon as you do a little more than the basics you'll have to learn the specific way to do it. Somewhere in this thread it says, that in some language

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Chas Emerick
On Mar 28, 2011, at 4:48 PM, daly wrote: If you're going to really be a lisper and use Clojure for more than a Java scripting language then you might want to invest effort in using emacs. You don't even need slime. Just use a *shell* buffer. Lisp and emacs are made for each other and you'll

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Jon Seltzer
While I agree that clear steps should be provided to assist newcomers, I don't have sympathy for newcomers more interested in bashing other languages and people than in actually learning something. I started learning clojure over a year ago and I don't recall any issues getting started. I fired

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 5:08 PM, David Nolen wrote: http://dev.clojure.org/display/doc/Getting+Started+with+JEdit Hope that helps. Thanks. That taught me some things -- e.g. I had guessed the wrong location for the mode file, and I hadn't guessed about editing that catalog file at all, and

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Lee Spector
On Mar 28, 2011, at 9:07 AM, Jon Seltzer wrote: Frankly, I'm a little annoyed by people who want to blame everyone else if something new is not immediately obvious to them. I don't know if you intend this to apply to me but for the record I'm not trying to blame anyone for anything, just

Leiningen capabilities (was Re: A newbie's summary - what worked, what didn't)

2011-03-28 Thread Andy Fingerhut
Changing subject line for this one. On Mar 28, 2011, at 5:38 PM, Mike Meyer wrote: Consider this a features request for cake/leiningen: 1) A task to search clojars. 2) A task take a name from #1 and add the appropriate data to project.clj. 3) Extend the deps task to install libraries

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Jon Seltzer
Sorry, Lee. Not you. You're posts have been sincere. On Mar 28, 4:22 pm, Lee Spector lspec...@hampshire.edu wrote: On Mar 28, 2011, at 9:07 AM, Jon Seltzer wrote: Frankly, I'm a little annoyed by people who want to blame everyone else if something new is not immediately obvious to them.

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread ultranewb
On Mar 27, 6:40 am, Mark Engelberg mark.engelb...@gmail.com wrote: Make sure the pane with your code is the active pane when you type Ctrl-c Ctrl-k.  It won't work if the focus is on the REPL. Nope, it doesn't work, no matter where the focus is. -- You received this message because you are

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Shantanu Kumar
On Mar 27, 11:21 am, ultranewb pineapple.l...@yahoo.com wrote: On Mar 27, 6:40 am, Mark Engelberg mark.engelb...@gmail.com wrote: Make sure the pane with your code is the active pane when you type Ctrl-c Ctrl-k.  It won't work if the focus is on the REPL. Nope, it doesn't work, no matter

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread ultranewb
On Mar 27, 2:29 pm, Shantanu Kumar kumar.shant...@gmail.com wrote: I'm curious - did/could you give Eclipse and Counter-ClockWise plugin a try? I did not try Eclipse. I had a bad experience before with it. It seems to be the worst to deal with as far as all the project and dependency garbage,

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread ultranewb
For newbs, I did not see this anywhere, but just discovered it, and it is of immense value. In a REPL, you can just (load-file path/to/ filename) to load the code you typed into an editor. On Mar 27, 12:24 am, ultranewb pineapple.l...@yahoo.com wrote: NetBeans w/ Enclosure - Could get a REPL,

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Shantanu Kumar
On Mar 27, 1:45 pm, ultranewb pineapple.l...@yahoo.com wrote: On Mar 27, 2:29 pm, Shantanu Kumar kumar.shant...@gmail.com wrote: I'm curious - did/could you give Eclipse and Counter-ClockWise plugin a try? I did not try Eclipse.  I had a bad experience before with it.  It seems to be

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Luc Prefontaine
On Sun, 27 Mar 2011 01:45:37 -0700 (PDT) ultranewb pineapple.l...@yahoo.com wrote: On Mar 27, 2:29 pm, Shantanu Kumar kumar.shant...@gmail.com wrote: I'm curious - did/could you give Eclipse and Counter-ClockWise plugin a try? I did not try Eclipse. I had a bad experience before with it.

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread ultranewb
On Mar 27, 11:09 pm, Luc Prefontaine lprefonta...@softaddicts.ca wrote: You cannot expect a tool to guess your project dependencies. Dependencies are a fact of life and cannot be avoided in any significant project. It's not gargage... Anything I have to do besides what I should be doing is

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Laurent PETIT
2011/3/27 ultranewb pineapple.l...@yahoo.com On Mar 27, 11:09 pm, Luc Prefontaine lprefonta...@softaddicts.ca wrote: You cannot expect a tool to guess your project dependencies. Dependencies are a fact of life and cannot be avoided in any significant project. It's not gargage...

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Shantanu Kumar
On Mar 27, 11:52 pm, ultranewb pineapple.l...@yahoo.com wrote: On Mar 27, 11:09 pm, Luc Prefontaine lprefonta...@softaddicts.ca wrote: You cannot expect a tool to guess your project dependencies. Dependencies are a fact of life and cannot be avoided in any significant project. It's

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Chas Emerick
On Mar 27, 2011, at 2:52 PM, ultranewb wrote: On Mar 27, 11:09 pm, Luc Prefontaine lprefonta...@softaddicts.ca wrote: You cannot expect a tool to guess your project dependencies. Dependencies are a fact of life and cannot be avoided in any significant project. It's not gargage...

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Lee Spector
On Mar 27, 2011, at 8:12 PM, Chas Emerick wrote: Dependency management and other garbage are definitely garbage, but I know of no nontrivial programming language that doesn't have its share of it. If you know of any magical environments that eliminate such administrivia, do share. A lot

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread ultranewb
On Mar 28, 7:51 am, Lee Spector lspec...@hampshire.edu wrote: Dependency management and other garbage are definitely garbage, but I know of no nontrivial programming language that doesn't have its share of it.   If you know of any magical environments that eliminate such administrivia,

Re: A newbie's summary - what worked, what didn't

2011-03-27 Thread Kasim
Hi, I am the guy who did ClojureW. I just updated the instruction to get a REPL with Jline. Thank you for reporting. I am also working on a Just Works emacs setup for all platforms and would be happy to hear your opinion. I really want to make it as simple as ClojureW. Have fun, Kasim --

A newbie's summary - what worked, what didn't

2011-03-26 Thread ultranewb
NetBeans w/ Enclosure - Could get a REPL, couldn't figure out how to do anything else. Result - uninstalled. IntelliJ w/ La Clojure - Could get a REPL, couldn't figure out how to do anything else. In particular, I followed some specific instructions from somewhere (can't remember where) for how

Re: A newbie's summary - what worked, what didn't

2011-03-26 Thread Mark Engelberg
On Sat, Mar 26, 2011 at 10:24 AM, ultranewb pineapple.l...@yahoo.com wrote: Clojure Box - Could get a REPL, couldn't figure out how to do anything else (i.e. Leinegen blah blah).  Result - kept the install, as this was the 2nd most promising solution tried thus far. If you don't care about

Re: A newbie's summary - what worked, what didn't

2011-03-26 Thread ultranewb
On Mar 27, 12:35 am, Mark Engelberg mark.engelb...@gmail.com wrote: Type some Clojure code into the file you created.  Save periodically with Ctrl-x Ctrl-s.  When you want to try out your code, type Ctrl-c ctrl-k and all your code will be evaluated and those definitions will now be available

Re: A newbie's summary - what worked, what didn't

2011-03-26 Thread Mark Engelberg
On Sat, Mar 26, 2011 at 4:29 PM, ultranewb pineapple.l...@yahoo.com wrote: On Mar 27, 12:35 am, Mark Engelberg mark.engelb...@gmail.com wrote: Type some Clojure code into the file you created.  Save periodically with Ctrl-x Ctrl-s.  When you want to try out your code, type Ctrl-c ctrl-k and

Re: A newbie's summary - what worked, what didn't

2011-03-26 Thread Daniel Bell
I'm sure you're sick of how-to's by now (I was), but I took the trouble to write down EXACTLY what I did for an Ubuntu/emacs/swank/ SLIME/leiningen set-up. On Mar 26, 5:40 pm, Mark Engelberg mark.engelb...@gmail.com wrote: On Sat, Mar 26, 2011 at 4:29 PM, ultranewb pineapple.l...@yahoo.com