Hadoop cluster ;)
>
> On Wednesday, September 4, 2013 9:45:11 PM UTC+2, Tom Emerson wrote:
>>
>> 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
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
ommon Lisp, 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
ing I 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/
--~--~-~--~~~---~--~
me with SLIME 2009-07-15,
> clojure-mode 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,
> Da
t confused 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
n though I
know 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,
gt;
> Stu
>
>> 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
make changes to clojure-mode and swank-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/
--~--~-~--~---
while? SF -> GC ->
GitHub/Assembla -> ?
Thanks 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 "Clo
this isn't (explicitly) 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
n 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/
--~--~-~--~~~---~--
ot;
"C:\\classes\\*"))
; VM args that allows JSwat to connect to the REPL
(setq swank-clojure-extra-vm-args '("-Xdebug"
"-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address="))
(eval-after-load "slime"
'(p
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 Groups
ribute
binary packages, so it is up 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
--~--~-
ssword"
})
Failing that, send along a connection string that you would use from
Java and we can figure out how to break it apart into its pieces for
the SQL library.
-tree
--
Tom Emerson
tremer...@gmail.com
http://www.dreamersrealm.net/~tree
--~--~-~--~~~---
rebinds the selector shortcut for switching to the most recent
lisp-mode buffer to switch to the most recent Clojure mode buffer.
This lets me switch back and forth between the REPL and the file I'm
editing easily with C-c s r and C-c s l.
-tree
--
Tom Emerson
[EMAIL PROTECTED]
"Read the API docs
you git!" 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 t
rmat "%03d" (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
--
ate type code for the type of the v"
[v]
(cond (integer? v) "I"
(string? v) "S"
(boolean? v) "B"))
assuming that the predicate boolean? exists. In my view having this
would make the API more orthogonal, e
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!
-t
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 yo
index value)
(.addBatch stmt))
(.executeBatch stmt)))
The problem, such as it is, is that the Derby embedded driver works
fine. I haven't looked at the Derby code, but I think this is an
accident.
Comments?
Thanks.
-tree
--
Tom Emerson
[EMAIL PROTECTED]
http://www.dream
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 PROTE
nt of 'clj' looks like (with
classpath noise 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.dreamersreal
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
[E
e a global that is used for the collection.
Thanks in advance for your wisdom.
-tree
--
Tom Emerson
[EMAIL PROTECTED]
http://www.dreamersrealm.net/~tree
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clo
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 | m
m 23:36 schrieb Tom Emerson:
>
>> I'd like to solicit comments on better ways I could have written it:
>>
>> (defn- split-line
>> [line]
>> (let [parts (seq (.split line ":"))]
>> (loop [mills (drop 1 parts)
>> result (list (first
(let [parts (seq (.split line ":"))]
(loop [mills (drop 1 parts)
result (list (first parts))]
(if (nil? mills)
(reverse result)
(recur (drop 2 mills) (conj result (take 2 mills)))
Thanks in advance for your time,
> On Oct 8, 2:07 pm, Mitch <[EMAIL PROTECTED]> wrote:
>>> I'm interested in doing a GUI program in clojure, but the functional
>>> style of clojure doesn't seem to blend too well with the normal Java
>>> GUI libraries. Does anybody have any advice on using
jure.org/reader, it says,
>>> "Numbers - as per Java, plus ..."
>>>
>>> This implies to me that hex numbers like 0xff should be accepted by
>>> the reader, but they are not. Is this a bug or a misunderstanding on
>>>
th-connection
"Evaluates body in the context of a connection to a database. Any updates
If you want to integrate this into contrib, I have a CA ready to go in
the mail to Rich.
Thanks,
-tree
--
Tom Emerson
[EMAIL PROTECTED]
http://www.dreamersrealm.net/~tree
--~--~-~--~~
ot; or whatever your
browser uses for saving the destination of a link.
Do this for both 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://w
ngs and trying to look things up when reading other people's
code but not having luck picking apart some of the reader shortcuts.
-tree
--
Tom Emerson
[EMAIL PROTECTED]
http://www.dreamersrealm.net/~tree
--~--~-~--~~~---~--~~
You received this message be
ut it into a simple shell script that lets you invoke
Clojure on the named script and arguments, couldn't you?
% clojure foo.clj bar baz qux
would run foo.clj and pass the arguments. Seems to me this is easier
(and cleaner) than coming up with some way of support shebang.
-tree
--
T
-
> processs or an external process.
>
> Start out simple, with just a b-tree library and a serializing data
> structures library. Clojure already supports transactions and thread
> isolation. In the future, build a query language (lisp DSL of course!)
> and add support for remote
PM, Shawn Hoover <[EMAIL PROTECTED]> wrote:
>
> On Sun, Sep 7, 2008 at 2:55 PM, Tom Emerson <[EMAIL PROTECTED]> wrote:
>
>> Hi folks,
>> I'm trying to use the proxy support to provide a filter to
>> java.io.File#listFiles and am not having any luck: I
ompiler$InstanceMethodExpr.eval(Compiler.java:1087)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:2568)
at clojure.lang.Compiler.eval(Compiler.java:3780)
at clojure.lang.Repl.main(Repl.java:75)
If I don't include the filter in the call to the listFiles method, then it
works fine.
39 matches
Mail list logo