Re: clojure.java.jmx 0.1 - problem getiing java.lang:type=Threading :AllThreadIds attribute

2012-02-23 Thread Pierre-Yves Ritschard
MBeans will let you store serialized java objects, so you can also find hashmaps, or arbitrary arrays. When you encounter cases like this one, you can extend clojure.data.json's functionnality to get the appropriate behavior (see http://spootnik.org/blog/2011/08/12/a-bit-of-protocol/ for hints)

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread Jason Jackson
But this exposes a bigger problem: when doing interactive development, you will end up with old definitions sticking around. You are debugging one case of your function, and change the pattern a little. Personally, I suffer from interactive development problems even with merely using def/defn.

ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Raju Bitter
Looking at the project website, there doesn't seem to be any information on the required Java or Leiningen version for ClojureScript One. Here's what I found on the project pages for the required software: Clojure.org / Java 1.5 Shouldn't that be Java 6? Does Clojure 1.3 still work with Java 1.5?

Re: ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Raju Bitter
One addition: The browser-connected REPL does not work in IE9, and exiting the Clojure/ClojureScript REPL usind Ctrl-d keeps the Jetty server running in memory. - Raju -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Chas Emerick
On Feb 23, 2012, at 8:19 AM, Raju Bitter wrote: Here's what I found on the project pages for the required software: Clojure.org / Java 1.5 Shouldn't that be Java 6? Does Clojure 1.3 still work with Java 1.5? I remember that I read that ClojureScript 1.3 requires Java6.

Re: ClojureScript One: System requirements, Java and Leiningen version

2012-02-23 Thread Raju Bitter
Thanks for the clarification, Chas. -- 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 - please be patient with your first post. To unsubscribe

Re: [ANN] Clojure Android mailing list

2012-02-23 Thread Raju Bitter
Good idea, Daniel. I joined the group. - Raju -- 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 - please be patient with your first post. To

Browser-connected REPL works with Android 4.0

2012-02-23 Thread Raju Bitter
Here's a screenshot of the browser-connected REPL connected to an instance of ClojureScript One running inside the Android 4.0 emulator. That's going to be a killer feature for developing Android HTML5 apps with ClojureScript! http://www.flickr.com/photos/semanticmemories/6923250197/in/photostream

Re: Browser-connected REPL works with Android 4.0

2012-02-23 Thread Raju Bitter
If someone has an Android 4 tablet, it would be good to test if that works with a real device as well. - Raju -- 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

Re: [ANN] Clojure Android mailing list

2012-02-23 Thread Vinzent
Corrected url (without whitespace) is http://groups.google.com/group/clojure-android -- 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 - please

Re: How to be lazy…

2012-02-23 Thread Wolodja Wentland
On Thu, Feb 16, 2012 at 14:06 -0600, Michael Gardner wrote: On Feb 16, 2012, at 11:08 AM, Wolodja Wentland wrote: Thanks for the explanation. What would be a good way to ensure that the subseqeuence are lazy too? I can't think of a good way to do this with higher-order functions, so

Re: options for a function

2012-02-23 Thread Michael
Jonas, Thanks for pushing this out so quickly. We're using it now and it works fine. On Feb 23, 12:32 am, Jonas jonas.enl...@gmail.com wrote: * Quote only when necessary (this is the default) This default is very handy. Michael -- You received this message because you are subscribed to

Re: clojure.java.jmx 0.1 - problem getiing java.lang:type=Threading :AllThreadIds attribute

2012-02-23 Thread Nick Bailey
I'm not sure that java.jmx should be attempting to do any conversion of the values returned over jmx. I think it should be the application's responsibility to convert types appropriately for how they are needed. On Wed, Feb 22, 2012 at 7:47 PM, zoka ztomi...@gmail.com wrote: I was trying to

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread kovas boguta
In general the way repl's handle state is pretty busted. Ever create a piece of data and then later wonder, how the heck did I make this? On Wed, Feb 22, 2012 at 11:29 PM, Jason Jackson jasonj...@gmail.com wrote: But this exposes a bigger problem: when doing interactive development, you will

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread Cedric Greevey
On Thu, Feb 23, 2012 at 2:41 PM, kovas boguta kovas.bog...@gmail.com wrote: In general the way repl's handle state is pretty busted. Ever create a piece of data and then later wonder, how the heck did I make this? One simple thing would be if the repl logged sessions to sequentially-numbered

Meaningless Poll Time: Which JVM Language Is On Top?

2012-02-23 Thread Brian
http://java.dzone.com/polls/which-jvm-language-top-0 -- 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 - please be patient with your first post.

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread Linus Ericsson
2012/2/23 Cedric Greevey cgree...@gmail.com On Thu, Feb 23, 2012 at 2:41 PM, kovas boguta kovas.bog...@gmail.com wrote: In general the way repl's handle state is pretty busted. Ever create a piece of data and then later wonder, how the heck did I make this? One simple thing would be if

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread kovas boguta
You could also have 1 file for inputs, and 1 file for outputs. One of the most useless things about repl's is when you go back to the saved sessions, the input and output are mixed together in an indistinguishable mess. On Thu, Feb 23, 2012 at 3:28 PM, Linus Ericsson

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread kovas boguta
Is it possible to have something like this as a lein plugin? On Thu, Feb 23, 2012 at 3:45 PM, kovas boguta kovas.bog...@gmail.com wrote: You could also have 1 file for inputs, and 1 file for outputs. One of the most useless things about repl's is when you go back to the saved sessions, the

ANN Simple demo how to add JMX data monitoring to Noir web app.

2012-02-23 Thread zoka
Just by adding couple of files to a Noir web application, you can add JMX data monitoring admin page. Code at https://github.com/zoka/noirMon Demo at http://noirmon.herokuapp.com Regards Zoka -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

ANN Simple demo how to add JMX data monitoring to Noir web app.

2012-02-23 Thread zoka
Just by adding couple of files to a Noir web application, you can add JMX data monitoring admin page. Code at https://github.com/zoka/noirMon Demo at http://noirmon.herokuapp.com Regards Zoka -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread Phil Hagelberg
kovas boguta kovas.bog...@gmail.com writes: Is it possible to have something like this as a lein plugin? Sure, you could write an alternate repl that did this fairly easily, though doing it in Swank would be more work. Your best bet would be to build it on reply:

Re: Compilation model

2012-02-23 Thread Andreas Kostler
Bump...I'm interested in this, too... On 21 February 2012 12:29, T.Y Chew senatorzergl...@gmail.com wrote: Hi all, I had a question about clojure's compilation model, which my co-worker suggest to redirect here :-) I wonder what clojure does during compilation of a file? Can

Re: Compilation model

2012-02-23 Thread Cedric Greevey
On Thu, Feb 23, 2012 at 8:23 PM, Andreas Kostler andreas.koest...@leica-geosystems.com wrote: Bump...I'm interested in this, too... On 21 February 2012 12:29, T.Y Chew senatorzergl...@gmail.com wrote: Hi all, I had a question about clojure's compilation model, which my co-worker suggest to

Re: ClojureScript + Overtone

2012-02-23 Thread Despite
This is great. I'm amazed at how easy you're projects have made it to create web interfaces. One note for anybody else trying to go along with this -- skip the piano portions. It seems we've knocked out the site where Overtone grabs the samples. Now every time I do lein run overtone tries and

Re: Compilation model

2012-02-23 Thread Meikel Brandmeyer (kotarak)
Hi, Clojure reads a file toplevel expression after toplevel expression and compiles and executes them separately (exception: toplevel do is split into its sub-expressions). The fact that things are stored in a file is just a coincidence. You can just as well type everything into the repl