Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Andreas Liljeqvist
One week ago on windows. install latest stable Emacs. install Emacs starter kit. M-x package-install clojure-mode lein plugin install swank-clojure 1.3.1 Be sure to remove any old swank-clojure from your plugin dir. invoke M-x clojure-jack-in from a project Works for me atleast. Phil - Thanks

Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Mark Engelberg
Andreas, can you clarify exactly where you got emacs from? I got it from here: http://ftp.gnu.org/gnu/emacs/windows/ Is there another/better source? On Thu, Jun 9, 2011 at 1:18 AM, Andreas Liljeqvist bon...@gmail.com wrote: One week ago on windows. install latest stable Emacs. install Emacs

Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Andreas Liljeqvist
http://ftp.gnu.org/gnu/emacs/windows/emacs-23.3-bin-i386.zip Just tested a clean installation at work. No problems. Remove your .emacs.d/ just to be sure. Is there anything more to your error message than cannot find the path specified? I am using windows 7 btw. 2011/6/9 Mark Engelberg

RE: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Bhinderwala, Shoeb
Thanks Phil for the good work. Emacs v23 didn't work for me in either Windows XP or Windows 7. So, I searched and found Emacs 24 at: http://code.google.com/p/emacs-for-windows/updates/list clojure-jack-in with Emacs 24 worked seamlessly with Windows 7 (64 bit). With Windows XP,

Re: New to Clojure

2011-06-09 Thread Jonathan Fischer Friberg
If you are coming from java, I think that a book on (common) lisp would be far better. Especially since practical clojure is essentially a reference (and a good one). I would recommend 'practical common lisp' and 'land of lisp'. http://www.gigamonkeys.com/book/ http://landoflisp.com/ Jonathan On

RE: New to Clojure

2011-06-09 Thread Bhinderwala, Shoeb
To start thinking functionally, I would also highly recommend reading the book Structure and Interpretation of Computer Programs: http://mitpress.mit.edu/sicp/ http://en.wikipedia.org/wiki/Structure_and_Interpretation_of_Computer_Programs This book is available freely at the above sites. A

Re: Announcement: stockings clojure library for easy access to financial data

2011-06-09 Thread fxt
Exactly which example did you try? Did you try running it from a simple REPL outside of Eclipse? fxt On Jun 8, 10:06 pm, jaime xiejianm...@gmail.com wrote: I tried to run the example behind a proxy but the connection failed. Anyone who knows how to resolve this?? I'm using Eclipse and

Re: New to Clojure

2011-06-09 Thread Paudi Moriarty
And don't forget 'How to Design Programs' - http://www.htdp.org Paudi On 9 June 2011 11:04, Bhinderwala, Shoeb sabhinderw...@wellington.comwrote: To start thinking functionally, I would also highly recommend reading the book Structure and Interpretation of Computer Programs:

hammock driven development...

2011-06-09 Thread Jules
I'm a bit late watching this : http://blip.tv/clojure/hammock-driven-development-4475586 but thought I would comment anyway : I enjoyed it and identified with most of it - Having worked in commercial and open source programming I can say that from experience that the latter gives you the most

Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Jeff Dik
On Wed, Jun 8, 2011 at 8:36 PM, Mark Engelberg mark.engelb...@gmail.com wrote: It's been a couple of weeks, so I thought I'd check in and see whether anyone has yet been successful at using the new clojure-jack-in process on Windows.  Did the 1.9.2 release successfully resolve the cannot find

New home for clojure.contrib.combinatorics?

2011-06-09 Thread Chris
With the deprecation of contrib, are there plans to migrate clojure.contrib.combinatorics to a new stand-alone module? I wasn't able to find anything on this on either the wiki or mailing list, and was curious. Thanks, Chris -- You received this message because you are subscribed to the Google

Re: New to Clojure

2011-06-09 Thread Jeff Heon
As you're coming in from Java, I think Clojure in Action is a good way to start. On Jun 9, 12:15 am, Santosh M santoshvmadhyas...@gmail.com wrote: I just found out three books on closure, please tell me which is the best one to start with? 1 - The Joy of Clojure 2 - Programming Clojure 3 -

Re: New to Clojure

2011-06-09 Thread Santosh M
Yes I'm from a java background only, not worked with LISP. Will do that. Thank you all for the help. Just wrote the Hello World clojure program. :) On Jun 9, 9:10 am, Jeff Heon jfh...@gmail.com wrote: As you're coming in from Java, I think Clojure in Action is a good way to start. On Jun 9,

Re: hammock driven development...

2011-06-09 Thread Brian Marick
On Jun 9, 2011, at 3:27 PM, Jules wrote: I'd also like to say this - TAKE THE HAMMOCK BIT SERIOUSLY - there is a growing body or research that indicates that you can problem solve better lying down. This may stem from the release of certain hormones, increased blood supply, maybe simply

Re: New to Clojure

2011-06-09 Thread Laurent PETIT
I've seen people coming from a java background quite happy to start discovering clojure via the 4clojure website. 2011/6/9 Santosh M santoshvmadhyas...@gmail.com: Yes I'm from a java background only, not worked with LISP. Will do that. Thank you all for the help. Just wrote the Hello World

Re: ANN: Emacs auto-complete plugin for slime users

2011-06-09 Thread Andreas Liljeqvist
I did state my problem wrong. The error is if I tab before the menu appears. I did some digging around.. Turns out a weird string gets passed to slime-simple-completions via ac-prefix. Suppose it's a bug in auto-complete-mode. #(mapcat 0 6 (selection-face ac-slime-selection-face popup-face

clojure-contrib.jar file

2011-06-09 Thread octopusgrabbus
1) I cloned clojure-contrib from github. git clone git://github.com/richhickey/clojure-contrib.git Completed successfully. 2) Then, I installed maven and in the clojure-contrib sub-directory entered this command mvn package. Completed without errors. 3) When I look for clojure-contrib.jar in

Re: clojure-contrib.jar file

2011-06-09 Thread Benny Tsai
I've never built contrib from source, but I believe the repository you'll want to clone from is this one: git://github.com/clojure/clojure-contrib.git -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: clojure-contrib.jar file

2011-06-09 Thread octopusgrabbus
Thanks. I went to http://clojure.org/downloads and downloaded both the latest stable Clojure and its contrib. contrib built just fine and gave me the jar file I was looking for. On Jun 9, 6:15 pm, Benny Tsai benny.t...@gmail.com wrote: I've never built contrib from source, but I believe the

Re: New to Clojure

2011-06-09 Thread Don Jackson
On Jun 9, 2011, at 11:49 AM, Laurent PETIT wrote: I've seen people coming from a java background quite happy to start discovering clojure via the 4clojure website. Hey, I've got an idea: Maybe we could get the 4clojure folks to hook their site up to Twitter to let us know how people solve

Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Mark Engelberg
OK, I just tried a totally clean install of emacs 24 (I had been using emacs 23.1), first deleting my existing .emacs.d directory and tried to do the absolute minimum that the instructions specified. I added the marmalade package repository to my .emacs file. I installed clojure-mode and

Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Mark Engelberg
On Thu, Jun 9, 2011 at 8:20 AM, Jeff Dik s45...@gmail.com wrote: With clojure-mode 1.9.2 and (GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON) (according to emacs-version), I had to change a s-exp on line 848 in clojure-mode.el from    (expand-file-name clojure-root)

last and nth are bad?

2011-06-09 Thread clojurefanxx
i'm a newbie working thru 4clojure.com's problems #19 thru #21 where i'm asked to write a function, which when given a list or vector, returns the last, penultimate, or an arbitrary nth element, respectively. for problem #19 (return last element), using the function last was not accepted as a

Re: last and nth are bad?

2011-06-09 Thread James Estes
I'm fairly new too, but I'll take a stab. I think the koan's for 19-21 are trying to make you do exactly what you are doing: consider the performance characteristics for various operations on a vector vs a list or sequence. Problem 19, for example, is highlighting that 1 - Last is slow for a

Re: last and nth are bad?

2011-06-09 Thread Sunil S Nandihalli
as long as (reversible? of-whatever-collection) is true , last is almost a constant time operation On Fri, Jun 10, 2011 at 8:20 AM, clojurefanxx neuzhou...@gmail.com wrote: i'm a newbie working thru 4clojure.com's problems #19 thru #21 where i'm asked to write a function, which when given a

Re: last and nth are bad?

2011-06-09 Thread Sean Corfield
On Thu, Jun 9, 2011 at 7:50 PM, clojurefanxx neuzhou...@gmail.com wrote: (i 'm assuming that's the reason why last, nth, and get were rejected when I tried them out as candidate solutions??) The 4clojure tests are intended to get you to write solutions without the simple, obvious function.

Re: hammock driven development...

2011-06-09 Thread Devin Walters
Two words came to mind when I saw Rich give this talk: mindfulness meditation. I've found that when I try and focus too hard on a problem I get tunnel vision and ruminate instead of thinking /about/ and /around/ the problem I'm trying to solve. I really do need to detach and let the problem

Re: clojure-contrib.jar file

2011-06-09 Thread Sean Corfield
On Thu, Jun 9, 2011 at 3:15 PM, Benny Tsai benny.t...@gmail.com wrote: I've never built contrib from source, but I believe the repository you'll want to clone from is this one: git://github.com/clojure/clojure-contrib.git The monolithic contrib library has been deprecated (and I'm not sure