Building with Java 7 but running on Java 6?

2013-09-04 Thread Tom Emerson
Greetings, I develop with JDK 7 but have coworkers who (for reasons I don't want to get into) run Java 6, and they cannot run the uberjars I create because of the version mismatch. Is it possible for Clojure/Leiningen to generate compatible class files? Or do I need to setup a VM that has Java

Re: Building with Java 7 but running on Java 6?

2013-09-04 Thread Tom Emerson
This is brilliant, many thanks! On Wednesday, September 4, 2013 3:52:20 PM UTC-4, r0man wrote: Hi Tom, add this to your project.clj :javac-options [-target 1.6 -source 1.6] I have the same problem with our Hadoop cluster ;) On Wednesday, September 4, 2013 9:45:11 PM UTC+2, Tom Emerson

Dan Weinreb Google Tech Talk

2009-08-18 Thread Tom Emerson
, Scheme, and Clojure. Definitely worth watching. -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Processing elements in a lazy seq in parallel

2009-08-10 Thread Tom Emerson
want bounded parallelism (such as pmap gives you, 2 + number of cores) how would you approach this problem in Clojure? Thanks in advance for your insights, -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com/ --~--~-~--~~~---~--~~ You

Re: Confusion with namespaces and SLIME

2009-07-28 Thread Tom Emerson
by it. Does this make more sense now? -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Confusion with namespaces and SLIME

2009-07-28 Thread Tom Emerson
8c333628bf507749dd78b312333130b00e6ec06f, swank-clojure 6cd3057d48e00da485cdf43b2b170816e5187c40, Emacs 22.2.1 (on Ubuntu 9.04), and both Clojure 1.0.0 and current git.  Perhaps you should try upgrading your setup? Best, Daniel Janus -- Tom Emerson tremer...@gmail.com http

Confusion with namespaces and SLIME

2009-07-27 Thread Tom Emerson
they're in the namespace that is current in the SLIME repl). However, if I use C-c C-e to evaluate the ns call and the subsequent calls that set the values being referred to, all is fine. Anyway, tips are appreciate for working with namespaces with SLIME. Thanks in advance, -tree -- Tom

Confusion on Clojure 1.0, compatible clojure-contrib, git-hub, svn, ...

2009-07-06 Thread Tom Emerson
for your help (and patience), -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Confusion on Clojure 1.0, compatible clojure-contrib, git-hub, svn, ...

2009-07-06 Thread Tom Emerson
-clojure, we'll be sure to tag the last versions that work with 1.0. Until then you can just use the master branch. Cool, will do. Thanks again! -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com/ --~--~-~--~~~---~--~~ You received

Re: Confusion on Clojure 1.0, compatible clojure-contrib, git-hub, svn, ...

2009-07-06 Thread Tom Emerson
So I guess my unstated question is this: what is the GIT incantation to get a particular branch of a repository (or whatever the GIT terminology is for it)? The documentation for git-clone doesn't help much, and none of the tutorials I've read seem to talk about this. -- Tom Emerson

Namespace confusion using clojure.contrib.zip-filter

2009-03-24 Thread Tom Emerson
) documented. Thanks for any clarification. -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: My SLIME installation diary

2009-02-05 Thread Tom Emerson
on Windows with the latest snaps of everything, just as I was a couple of weeks ago. Haven't tried installing on my Ubuntu box yet to see if this is indeed windows specific. -tree -- Tom Emerson tremer...@gmail.com http://treerex.blogspot.com

More SLIME woes

2009-01-23 Thread Tom Emerson
appreciate any thoughts people may have. Thanks. -tree -- Tom Emerson tremer...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Microsoft SQL Server and the sql contrib

2008-12-19 Thread Tom Emerson
-- Tom Emerson tremer...@gmail.com http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from

Re: CLI launcher (was: Superficial barriers to entry)

2008-12-19 Thread Tom Emerson
to the user to go out and download it, get and build/install APR, and Windows users are stuck. I agree that hashdot is a good solution, but it isn't optimal IMHO. -tree -- Tom Emerson tremer...@gmail.com http://www.dreamersrealm.net/~tree

Re: Blogging About Clojure?

2008-12-19 Thread Tom Emerson
by Google) looks to be quite good and quite popular, and also is free. Anyway, they're the big two. -tree -- Tom Emerson tremer...@gmail.com http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Java vararg functions called from Clojure

2008-12-08 Thread Tom Emerson
(to-array '(5))) works as you would expect. I just wanted to make sure I wasn't missing something. Perhaps something along the lines of (defn format-string [fmt args] (String/format fmt (to-array args))) would be useful in string-utils. -tree -- Tom Emerson [EMAIL PROTECTED] http

Re: Java vararg functions called from Clojure

2008-12-08 Thread Tom Emerson
! I've come across. Thanks for pointing the obvious to me. :) -tree -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

PATCH: fixed issue in doPrepared

2008-12-04 Thread Tom Emerson
Here is a patch that appears to fix the issue I found in the sql library's doPrepared function, which I mentioned earlier. -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you

Re: PATCH: fixed issue in doPrepared

2008-12-04 Thread Tom Emerson
On Thu, Dec 4, 2008 at 2:44 PM, Stephen C. Gilardi [EMAIL PROTECTED] wrote: Thanks for the report. I had made an accidental checkin at svn258. I've reverted to code identical to svn257 which I believe is correct. Please give it a try. That did it, thanks! -tree -- Tom Emerson [EMAIL

Adding boolean?

2008-12-03 Thread Tom Emerson
I found myself needing the following today, and it was noticeably missing from core.clj --- any reason not to include it? (defn boolean? Returns true if b is a Boolean (i.e., true or false) [b] (instance? Boolean b)) Peace, -tree -- Tom Emerson [EMAIL PROTECTED] http

Re: printing *command-line-args*

2008-11-20 Thread Tom Emerson
removed): java clojure.lang.Script $1 -- $@ $ clojure tmp.clj foo bar baz (tmp.clj foo bar baz) Hope this helps. -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: IntelliJ Plugin

2008-10-29 Thread Tom Emerson
On Mon, Oct 27, 2008 at 11:00 AM, opus111 [EMAIL PROTECTED] wrote: Is anyone working on a Clojure plugin for IntelliJ? Not that I've seen, but there is Enclojure http://enclojure.org/ which is built on top of NetBeans. -tree -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net

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

2008-10-17 Thread Tom Emerson
Worcester, Massachusetts, USA Sent from Gmail for mobile On 10/17/08, soyrochus [EMAIL PROTECTED] wrote: So wherever are you come from, be proud and say it. Dutch expat, living in Valencia, Spain -- Sent from Gmail for mobile | mobile.google.com Tom Emerson [EMAIL PROTECTED] http

Style question

2008-10-16 Thread Tom Emerson
(list (first parts))] (if (nil? mills) (reverse result) (recur (drop 2 mills) (conj result (take 2 mills))) Thanks in advance for your time, -tree -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree

Re: Style question

2008-10-16 Thread Tom Emerson
(take 2 mills))) (defn split-line [line] (let [parts (. line split :)] (list* (first parts) (partition 2 (rest parts) Sincerely Meikel -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You

Re: Hex literals

2008-10-05 Thread Tom Emerson
Menard, [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.io.com/~jimm/ -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

Modification to clojure.contrib.sql/connection

2008-10-03 Thread Tom Emerson
to Rich. Thanks, -tree -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Clojure at Boston Lisp Meeting videos

2008-10-02 Thread Tom Emerson
and you'll get two ~250MB QuickTIme movies of Cojure goodness. I've tried this on Mac OS X and Windows XP with Safari and Firefox. Works fine. -tree -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree --~--~-~--~~~---~--~~ You received

Re: Clojure Poll 09/2008

2008-09-10 Thread Tom Emerson
transactions and thread isolation. In the future, build a query language (lisp DSL of course!) and add support for remote eval i.e. send an sexp over a socket to a remote JVM. Allen -- Tom Emerson [EMAIL PROTECTED] http://www.dreamersrealm.net/~tree