Re: Clj on OSX

2010-07-01 Thread Michael Kohl
On Tue, Jun 29, 2010 at 6:22 PM, Glenn, Jacob jkgl...@umich.edu wrote: I've been using the clj script provided by ClojureX, As you mentioned I decided to stop working on ClojureX, since David's current approach looks more sensible to me. I hope to eventually set aside some free time to get

ClojureX

2010-06-26 Thread Michael Kohl
Please not that ClojureX is now discontinued. There are enough viable alternatives like David's clj [1] by now, so I don't see the need for this project anymore. If you do however, feel free to fork away :-) Michael [1] http://github.com/liebke/clj -- You received this message because you are

Re: Easier way to run Clojure from command line?

2010-05-08 Thread Michael Kohl
On Fri, May 7, 2010 at 10:43 PM, Jason Smith ja...@lilypepper.com wrote: How about adding *clojure.bat* to the distribution for us Windows people.  A shell script for Unix would be nice too... http://bitbucket.org/kasim/clojurew/ http://github.com/citizen428/ClojureX HTH Michael -- You

Clojure 1.2 slides anyone?

2010-05-05 Thread Michael Kohl
Hi all, just wondering if someone has a ready presentation on Clojure 1.2 lying around that I can (partly) use at the next meeting of our functional programming user group? If not I'll probably whip something up myself based on Assembla [1], but I'd rather save myself the trouble... Thanks,

Re: removing parethesis

2010-04-13 Thread Michael Kohl
On Tue, Apr 13, 2010 at 4:48 AM, Glen Rubin rubing...@gmail.com wrote: I want to create an average sequence such that all of the first elements are averaged, all of the second elements, etc Sounds like you want a traspose function. Here you go: (defn transpose [m] (apply map list m))

Re: removing parethesis

2010-04-13 Thread Michael Kohl
On Tue, Apr 13, 2010 at 10:09 AM, Michael Kohl citizen...@gmail.com wrote: Disclaimer: I have not had my morning coffee yet And I apparently missed a mail in this thread, (apply map +) was already posted an is a lot more straightforward. -- You received this message because you are subscribed

Re: Why I have chosen not to employ clojure

2010-03-23 Thread Michael Kohl
On Tue, Mar 23, 2010 at 12:03 AM, cageface milese...@gmail.com wrote: Perhaps it would be useful to at least included a ready-to-go clj shell/batch script in the default distribution? Thanks to some awesome work by contributors, I think the one in ClojureX became fairly good over time:

Re: ANN: labrepl, making Clojure more accessible

2010-03-23 Thread Michael Kohl
First off, great work on labrepl! I told people about it last night at our functional programming user group and they seemed to like the concept a lot :-) On Tue, Mar 23, 2010 at 3:13 PM, Stuart Halloway stuart.hallo...@gmail.com wrote: (5) Out-of-box experience audit. Is the leiningen-based

Re: Why I have chosen not to employ clojure

2010-03-23 Thread Michael Kohl
On Tue, Mar 23, 2010 at 4:07 PM, cageface milese...@gmail.com wrote: So perhaps it would be worthwhile to create, like jruby, a single zip/ tgz file containing clojure, clojure-contrib, and a reasonable bin/clj file that will find at least the core clojure jar files on its own?

Re: Would it be possible to make a dumped clojure, a la dumped emacs?

2010-03-23 Thread Michael Kohl
On Tue, Mar 23, 2010 at 8:57 PM, Alex Coventry coven...@gmail.com wrote: I am considering developing for Android using clojure, but I gather it's slow to start up. I thought there are some issues re the Dalvik VM and Clojure? Does anyone have experience with this? -- You received this message

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

Re: Simple functional programming lexicon?

2010-03-18 Thread Michael Kohl
On Wed, Mar 17, 2010 at 1:28 PM, Ben Armstrong synerg...@gmail.com wrote: What I would like to have is some sort of lexicon to at least help explain the terminology in a way that doesn't require three years of academic exposure to functional programming to read.  Is there such a reference?  Or

Re: Montreal Clojure User Group

2010-03-18 Thread Michael Kohl
Don't want to start my own thread, so here goes: we are starting a functional programming user group in Vienna that - judging by the people who showed interest so far - will probably be quite heavy on all things Lisp, so it'd be nice if you could include that too:

Re: [ANN] German Clojure Book

2010-03-12 Thread Michael Kohl
Congratulations! If you ever need any German language proof-reading let me know, I worked as a freelance IT journalist for German and Austrian publications for 4 years. :-) On Thu, Mar 11, 2010 at 10:39 PM, Stefan Kamphausen ska2...@googlemail.com wrote: Fellow Clojurians, please let me

Re: Interested in creating a Clojure course

2010-03-08 Thread Michael Kohl
The new Clojure course on RubyLearning has now officially been announced with a tentative starting date of mid to late April: http://rubylearning.com/blog/2010/03/09/clojure-101-a-new-course/ On Tue, Mar 2, 2010 at 12:54 PM, Michael Kohl citizen...@gmail.com wrote: *) decide on a 8 curriculum

Re: Newbie suggestion for an implementation - rosettacode pythagorean means

2010-02-22 Thread Michael Kohl
On Mon, Feb 22, 2010 at 11:43 AM, Johnny Kwan johnny.c.k...@gmail.com wrote: Whichever is faster depends on the size of the argument list I see, thanks for clarifying. I'd then change my version to this since I still like map with an anonymous function more than the for-comprehension in this

Major changes in ClojureX

2010-02-21 Thread Michael Kohl
I hope these mails don't annoy people, but from mails and Twitter I know that quite a few people actually seem to be using ClojureX, so I also wanted to post the information here: http://citizen428.net/archives/415-Major-changes-in-ClojureX.html Cheers, Michael -- You received this message

Re: Newbie suggestion for an implementation - rosettacode pythagorean means

2010-02-21 Thread Michael Kohl
On Sun, Feb 21, 2010 at 9:41 PM, Aviad Reich avi@gmail.com wrote: ANY comments will be great (including: this is all wrong - don't post it). FWIW since I'm not exactly an expert on idiomatic Clojure either, I'd write h-mean like this: (defn h-mean [coll] (/ (count coll) (apply + (map

Re: Newbie suggestion for an implementation - rosettacode pythagorean means

2010-02-21 Thread Michael Kohl
On Mon, Feb 22, 2010 at 12:18 AM, Johnny Kwan johnny.c.k...@gmail.com wrote: I'm really new to Clojure, but I'm under the impression that reduce would be better than apply, since I assume that apply would reify the entire sequence at once, whereas reduce would consume the sequence one by one.

Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-12 Thread Michael Kohl
On Thu, Feb 11, 2010 at 7:59 PM, Paul Mooser taron...@gmail.com wrote: are a few things that seem to try to make this easier (like clojure- mode's install-clojure, or ClojureX) but they also seem unable to keep up with the speed of some of the changes that are happening (or, quite possibly,

Re: Clojure Jobs in White Plains, NY

2010-02-07 Thread Michael Kohl
On Thu, Feb 4, 2010 at 10:29 PM, Eric Thorsen ethor...@enclojure.org wrote: ThorTech Solutions care...@thotech-solutions.com Is the missing 'r' in the mail address a kind of pre-selection of applicants? ;-) Michael -- You received this message because you are subscribed to the Google Groups

Interested in creating a Clojure course

2010-01-18 Thread Michael Kohl
Hi all, I'm one of the assistant teachers at RubyLearning (http://rubylearning.org), a site offering free/cheap Ruby courses which are generally quite well-received and we all do this as volunteers without any monetary interest (the paid courses are there to finance the site). More info can be

Re: ClojureX now supporting Windows (Cygwin) too

2010-01-17 Thread Michael Kohl
On Sat, Dec 12, 2009 at 4:30 PM, Michael Kohl citizen...@gmail.com wrote: So if you have something you want to share with the wider Clojure community, just fork away and send me a pull request on GitHub. Scott Haug did just that and the help text of the clj wrapper script gives you a pretty

ClojureX now supporting Windows (Cygwin) too

2009-12-12 Thread Michael Kohl
Hi all, I can't remember if I ever mentioned ClojureX (see signature for link) on this list, but it's a sort of installer for Clojure (and clojure-contrib, clojure-mode, swank-clojure, slime, jline and the TextMate bundle). I originally created it to install everything on my Mac (and on Linux),

Re: Is knowing Java a prerequisite for using Clojure?

2009-09-17 Thread Michael Kohl
On Thu, Sep 17, 2009 at 4:46 AM, Hugh Aguilar hugoagui...@rosycrew.com wrote: My concern right now is that I don't know Java. Is this a prerequisite for learning Clojure? Can I program in Clojure without delving into Java, or are there certain things that will require Java? I for example am

Re: clojure-mode survey

2009-09-09 Thread Michael Kohl
On Wed, Sep 9, 2009 at 3:08 AM, Phil Hagelberg p...@hagelb.org wrote: This just resets the classpath to include target/dependency/ as well as any jars in the lib/ directory of your project. I've included this in the Emacs Starter Kit but haven't included it in clojure-mode yet since I haven't

Blog post: Using Java libraries from Clojure

2009-09-06 Thread Michael Kohl
Hi all, after reading Charles Oliver Nutter's article Scripting Java Libraries With JRuby [1] I decided to translate his two example programs to Clojure. The result can be found on my blog: http://citizen428.net/archives/396-Using-Java-libraries-from-Clojure.html Since I'm pretty new to

Re: duck-streams example?

2009-08-26 Thread Michael Kohl
On Tue, Aug 25, 2009 at 5:51 PM, Michael Kohlcitizen...@gmail.com wrote: The main problem is that I can't seem to figure out how to use duck-streams to achieve what I want... #clojure for the rescue. replaca pointed me to the documentation of clojure.contrib.http.agent which has a nice example

duck-streams example?

2009-08-25 Thread Michael Kohl
Hi all, after having heard about Clojure for a bit, I started playing around with it a couple of days ago (which led to this: http://github.com/citizen428/ClojureX in case anyone is interested). Anyway, I'm now trying to write a small program which extracts the enclosure URLs out of an RSS 2.0