Re: After waiting for agents, something still hanging around?

2010-06-10 Thread Jim Menard
lojure-agent-thread-pools/ > > IMHO, using agents should not prevent your JVM from exiting or require > the use of (shutdown-agents). Jim -- Jim Menard, http://www.io.com/~jimm/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To po

After waiting for agents, something still hanging around?

2010-06-10 Thread Jim Menard
e"))) (run-example) Output: hello (# # # # #) sending do-something to agents something! something! something! something! something! waiting all done [Here, the app hangs. Why it it hanging?] Jim -- Jim Menard, http://www.io.com/~jimm/ -- You received this message because you are subscribed

Re: After waiting for agents, something still hanging around?

2010-06-10 Thread Jim Menard
wait like my little app does? Jim -- Jim Menard, http://www.io.com/~jimm/ -- 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 Note that posts from new members are moderated - pleas

Re: Problem seeing fn metadata unless I eval or load a file

2010-05-27 Thread Jim Menard
Christophe, Thank you for your research and for opening the ticket. Jim On Thu, May 27, 2010 at 9:59 AM, Christophe Grand wrote: > Hi, > > On Thu, May 27, 2010 at 3:28 PM, Jim Menard wrote: >> >> I've given some functions metadata that I want to use elsewhere. My

Problem seeing fn metadata unless I eval or load a file

2010-05-27 Thread Jim Menard
metadata I defined now. WHY?? user=> (meta ctest.funcs/f1) {:ns #, :name f1, :file "ctest/funcs.clj", :line 3, :arglists ([]), :wadl {:url "/f1", :method "GET", :doc "The f1 function."}} Jim -- Jim Menard, http://www.io.com/~jimm/ -- You received t

Re: Conjure 0.2 released.

2009-09-14 Thread Jim Menard
eatures yet to add, and would appreciate any help. > > I hope you enjoy this release, > > Matt Courtney > > > -- Jim Menard, j...@io.com, jim.men...@gmail.com http://www.io.com/~jimm/ --~--~-~--~~~---~--~~ You received this message beca

Re: clojure-mode survey

2009-09-12 Thread Jim Menard
On Sat, Sep 12, 2009 at 4:30 PM, Phil Hagelberg wrote: > > Jim Menard writes: > >> A few comments and questions about the setup process: >> >> At the end of the process, the mini-buffer says, "You must specify >> either a `swank-clojure-binary' or

Re: clojure-mode survey

2009-09-12 Thread Jim Menard
Phil, > Jim Menard writes: > >> I do something similar to Brenton. I use clojure-mode, and vote for >> keeping it as-is, making SLIME integration optional or ancillary. > > Could you guys give SLIME another shot via M-x clojure-install? If you > haven't been usin

Re: clojure-mode survey

2009-09-11 Thread Jim Menard
know if the built-in subprocess features are >> worth keeping around any more. Personally I have never used them or >> heard of anyone using them; I wonder if they are just legacy baggage. >> >> Would anyone be opposed to their removal? >> >> thanks, >>

Re: Mnesia like?

2009-06-16 Thread Jim Menard
torial See also Geir Magnusson Jr.'s MongoDB Java driver, which comes with a Clojure example that I wrote for him last year: http://github.com/geir/mongo-java-driver/tree/master http://github.com/geir/mongo-java-driver/blob/ca5b3ab3c2ab1caf8918cc84902abb7b476ba52b/src/examples/clojure/

Re: Ants and agents

2008-10-30 Thread Jim Menard
bother the group with this question. Jim -- Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.io.com/~jimm/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

Re: Ants and agents

2008-10-29 Thread Jim Menard
sent immediately, the sleep happens after the evaporate and, more confusingly, happens after the next request is sent. Naively, it looks like you'd get an infinite number of send-off messages before the evaporate and the sleep happened. What am I misunderstanding? Jim -- Jim Menard, [EMAIL PROTECTE

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

2008-10-17 Thread Jim Menard
On Fri, Oct 17, 2008 at 5:27 AM, Rastislav Kassak <[EMAIL PROTECTED]> wrote: > So wherever are you come from, be proud and say it. > > I'm from Slovakia. :) Connecticut, USA Jim -- Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED] htt

Re: Can't use Java class in default package. Bug?

2008-10-16 Thread Jim Menard
On Thu, Oct 16, 2008 at 10:54 AM, Randall R Schulz <[EMAIL PROTECTED]> wrote: > > On Thursday 16 October 2008 07:22, Jim Menard wrote: >> On Thu, Oct 16, 2008 at 9:59 AM, Rich Hickey <[EMAIL PROTECTED]> > wrote: >> > Clojure doesn't support classes not

Re: Can't use Java class in default package. Bug?

2008-10-16 Thread Jim Menard
On Thu, Oct 16, 2008 at 9:59 AM, Rich Hickey <[EMAIL PROTECTED]> wrote: > > Clojure doesn't support classes not in packages. Why not? Please don't take this question as a criticism. I'd really like to know the reasoning. Was the choice technical or philosophical?

Can't use Java class in default package. Bug?

2008-10-16 Thread Jim Menard
I tried using a class in the default package, but kept seeing (new Foo) java.lang.IllegalArgumentException: Unable to resolve classname: Foo ... As soon as I put Foo into a package, everything worked fine. (new bar.Foo) [EMAIL PROTECTED] Is this a bug? Jim -- Jim Menard, [EMAIL

Re: (map f coll) using memfn

2008-10-15 Thread Jim Menard
On Wed, Oct 15, 2008 at 1:09 PM, Graham Fawcett <[EMAIL PROTECTED]> wrote: > > On Wed, Oct 15, 2008 at 8:21 AM, Jim Menard <[EMAIL PROTECTED]> wrote: >> >> On Wed, Oct 15, 2008 at 7:46 AM, Timothy Pratley >> <[EMAIL PROTECTED]> wrote: >>> >&g

Re: (map f coll) using memfn

2008-10-15 Thread Jim Menard
the same number of elements M. It calls f M times with N arguments each time, using the i'th element of each of the collections. (Darn, I'm wordy :-) Jim -- Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.io.com/~jimm/ --~--~-~--~~~---~--~~

Re: (map f coll) using memfn

2008-10-15 Thread Jim Menard
; > The intention being that points is a list of x,y coordinates > I construct a LineArray which is the size of points > then for every point I need to call setCoordinate(index, Point3f(x,y)) > The LineArray then makes a Shape3D which can be added to the scene > graph. > > > R

Re: REPL does not print stack trace in some cases

2008-10-11 Thread Jim Menard
unhappy about the long stack trace. I see them all the time. I'm using the 20080906 download. Are you all using the latest git/svn builds? Jim > > --Chouser > > > > -- Jim Menard, [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.io.com/~jimm/ --~--~-~--~~

Re: Hex literals

2008-10-06 Thread Jim Menard
he latest version, all is well. Thank you for your help. > I don't know how you tell what version of clojure you're using, but if you > run: > > jar tvf clojure.jar > > all the files should have timestamps in September (mostly the 16th.) Perhaps a "--version"

Re: Hex literals

2008-10-05 Thread Jim Menard
ne with me: > > user=> 0xff > 255 > user=> (+ 0xff 45) > 300 > > > On Oct 5, 4:52 pm, "Jim Menard" <[EMAIL PROTECTED]> wrote: >> In the section on literals athttp://clojure.org/reader, it says, >> "Numbers - as per Java, plus ..."

Hex literals

2008-10-05 Thread Jim Menard
In the section on literals at http://clojure.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 my part? Jim -- Jim Menard, [EMAIL PROTECTE