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

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 haven't

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 dug

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

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 m...@kotka.de 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

Re: Gorilla issue with recent builds?

2009-01-22 Thread Mark Feeney
Hi Meikel, On Jan 21, 3:01 pm, Meikel Brandmeyer m...@kotka.de 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,

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: Can't get clojure or clojure.contrib via SVN over https

2009-01-14 Thread Mark Feeney
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 paul.drumm...@iode.co.uk wrote: 2009/1/14 Mark Feeney

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