Re: VimClojure 2.0.0 released (merged with Gorilla)

2009-03-10 Thread Mark Feeney
I've got it up and running on Windows and it looks great. Thanks Meikel! On Mar 10, 7:36 pm, Meikel Brandmeyer wrote: > Dear vimming Clojurians, > > I'm proud to announce VimClojure 2.0! > > I want to thank durka42 on #clojure for being a > patient guinea pig - eh - beta tester, finding the > b

Re: VimClojure 2

2009-03-12 Thread Mark Feeney
I've had this one. For me it was failure to have vimclojure.jar in the classpath of the nailgun server. Here's how I start the server on Windows: @echo off set VIMCLOJURE_JAR=c:\vim\vimfiles\vimclojure.jar set CLOJURE_JAR=c:\java\clojure-read-only\clojure.jar set CONTRIB_JAR=c:\java\clojure-con

Re: VimClojure 2

2009-03-13 Thread Mark Feeney
I've been struggling with the same issues (on Windows, not that it appears to matter). The "line 23" in the error means the 23rd line of the function vimclojure#ExecuteNailWithInput(nail, input, ...) in vimfiles/autoload/ vimclojure.vim. It's unrelated to the code you're trying to execute. I du

Re: VimClojure 2

2009-03-13 Thread Mark Feeney
messages, but I failed to notice this little detail! Anyway, user error, as you predicted above :) Things are working much better now. On Mar 13, 11:18 am, Meikel Brandmeyer wrote: > Hi, > > Am 13.03.2009 um 15:02 schrieb Mark Feeney: > > > > > So you could try \rf, but for me

Re: Which Java book(s) to order

2009-03-16 Thread Mark Feeney
I hate "+1" emails, but this is essentially just that. "Java Concurrency in Practice" gets my vote as the most important book to read about Java. I always keep it and "Effective Java" close at hand. Both of these are references for when you "know some java"; they're not really tutorials. I hav

Re: offtopic - where are you come from? (poll)

2008-10-17 Thread Mark Feeney
(What an easy way for a luker to get his first post!) Waterloo, ON, Canada. On Oct 17, 8:40 am, Rich Hickey <[EMAIL PROTECTED]> wrote: > On Oct 17, 5:27 am, "Rastislav Kassak" <[EMAIL PROTECTED]> wrote: > > > Hello Clojurians, > > > I think after 1st year of Clojure life it's good to check how f

Re: Release of Gorilla v1.0.0

2008-11-10 Thread Mark Feeney
Report from the field: I got this working on Windows XP with gvim 7.2 and Ruby 1.8.6-26. No special hacking required, the default Windows binary installs of Vim and Ruby seem to "just work" together. I've only done trivial tests so far, but the basic Clojure integration is working. I'm sure we'

Re: Getting Started question

2008-11-29 Thread Mark Feeney
If you want a dead easy way to get up and messing around with Clojure on Windows, I'd definitely recommend "Clojure Box". It's a relatively recent build of Clojure integrated with Emacs, SLIME, and everything else you need. Pretty much click on it and go. "Clojure Box, alpha" thread: http://gro

Re: Clojure Code Analysis Tools

2008-12-01 Thread Mark Feeney
I'm a long time vim user reluctantly using Emacs (via Clojure Box) for Clojure dev. SLIME and friends are just too convenient to pass up at the moment. I look forward to leaving Emacs though. It's not that it's bad (at all), I've just maxed out the amount of my brain I'm willing to devote to ob

Re: Can't get clojure or clojure.contrib via SVN over https

2009-01-14 Thread Mark Feeney
I did the same thing after the switch. Then I read the directions more carefully: http://code.google.com/p/clojure-contrib/source/checkout. --- # Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://clojure-contrib.googlecode.com/svn/trunk/ clojure- cont

Re: Can't get clojure or clojure.contrib via SVN over https

2009-01-14 Thread Mark Feeney
ore clojure-contrib) I just tried the above command and it's good for me, so if it doesn't work for you, then this is more than a typo thing (maybe network as you suggest) and my "expertise" is probably at its end :) On Jan 14, 8:15 am, "Paul Drummond" wrote: >

Gorilla issue with recent builds?

2009-01-21 Thread Mark Feeney
Hi all, Anyone else having issues with Gorilla with "recent" SVN builds of clojure and clojure-contrib? What I'm seeing is that the main commands (es, et, eb, ef, etc.) work as usual, but the in-Vim Repl, doesn't seem to display any evaluation output. No errors on stdout of the gorilla server.

Re: Gorilla issue with recent builds?

2009-01-22 Thread Mark Feeney
Hi Meikel, On Jan 21, 3:01 pm, Meikel Brandmeyer wrote: > There was a breakage some time ago, which made it necessary > to release a bug fix release. The revisions are named on the > vim.org page, where you can download Gorilla. Please check > there if this solves your problem. If not, please se

Trying to understand performance of two simple functions

2011-08-02 Thread Mark Feeney
Hi, all. A while ago I came across this SO question: Best way to lazily collapse multiple contiguous items of a sequence into a single item Long story short, I posted an

Re: Trying to understand performance of two simple functions

2011-08-03 Thread Mark Feeney
As a test, I replaced the mapcat with a plain map in the slow version: (defn collapse-slow [col pred rep] (let [f (fn [[x & more :as xs]] (if (pred x) [rep] xs))] (map f (partition-by #(if (pred %) true) col Is that the concat you were thinking of? Ignoring that the functions aren't eq