Re: Recompiling a Java class

2014-01-09 Thread henry w
Take a look at this: http://z.caudate.me/dynamic-reloading-of-java-code-in-emacsnrepl/ I havent gotten around to looking into it myself yet but it sounds like what you are after. On Thursday, January 9, 2014 4:43:07 AM UTC, Jacob Goodson wrote: I created a Java object which I called from a

Re: New release of Light Table (which is now open source!)

2014-01-09 Thread Freddy Potargent
Hi everybody, after lurking around for quite a while it's time for some active involvement. :-) First, I have absolutely no interest in having executable test-out-this-code snippets interspersed with the actual program code, unless it is a formal test that is intended to stick around and

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Laurent PETIT
Hello, In line 9, you retain the head in a var. Transform it into a function: (defn xml [] (- large-file java.io/input-stream clojure.data.xml/source-seq)) HTH, Laurent 2014/1/9 Peter Ullah peterul...@gmail.com Hi Everyone, I am trying to write some Clojure to process a

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Peter Ullah
Thanks Laurent, but still behaving the same after change. On Thursday, January 9, 2014 10:59:26 AM UTC, Laurent PETIT wrote: Hello, In line 9, you retain the head in a var. Transform it into a function: (defn xml [] (- large-file java.io/input-stream

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Peter Ullah
Actually, forget my last reply. On Thursday, January 9, 2014 10:59:26 AM UTC, Laurent PETIT wrote: Hello, In line 9, you retain the head in a var. Transform it into a function: (defn xml [] (- large-file java.io/input-stream clojure.data.xml/source-seq)) HTH, Laurent

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Peter Ullah
I now get Don't know how to create ISeq from: xml_example.core$xml clojure.lang.RT.seqFrom (RT.java:505) -- -- 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: Processing a lazy sequence consuming the heap

2014-01-09 Thread Peter Ullah
My bad, was passing a reference to the function, rather than the response from the function Doh! On Thursday, January 9, 2014 11:38:44 AM UTC, Peter Ullah wrote: I now get Don't know how to create ISeq from: xml_example.core$xml clojure.lang.RT.seqFrom (RT.java:505) -- -- You

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Laurent PETIT
That's a rite of passage, you're on the right track ;-) 2014/1/9 Peter Ullah peterul...@gmail.com My bad, was passing a reference to the function, rather than the response from the function Doh! On Thursday, January 9, 2014 11:38:44 AM UTC, Peter Ullah wrote: I now get Don't know how

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Jim - FooBar();
that is obviously because you still use the Var `xml` somewhere...change it to a function call`(xml)` and try again :) Jim On 09/01/14 11:38, Peter Ullah wrote: I now get Don't know how to create ISeq from: xml_example.core$xml clojure.lang.RT.seqFrom (RT.java:505) -- -- You received this

Re: Processing a lazy sequence consuming the heap

2014-01-09 Thread Jim - FooBar();
oops, ny bad it seems you figured it out :) Jim On 09/01/14 11:42, Peter Ullah wrote: My bad, was passing a reference to the function, rather than the response from the function Doh! On Thursday, January 9, 2014 11:38:44 AM UTC, Peter Ullah wrote: I now get Don't know how to create

Re: New release of Light Table (which is now open source!)

2014-01-09 Thread Jozef Wagner
Congratulations on releasing it to the community!. What surprises me is that there are no docstrings and very few comments. I wonder how you manage such codebase within a team. JW On Wednesday, January 8, 2014 7:19:59 PM UTC+1, Chris Granger wrote: Hey Folks, We did a big release today

Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-09 Thread Xfeep Zhang
[image: Alt text]https://github.com/xfeep/nginx-clojure/blob/master/logo.pngNginx-Clojure is a Nginx http://nginx.org/ module for embedding Clojure or Java programs, typically those Ringhttps://github.com/ring-clojure/ring/blob/master/SPECbased handlers. There are some core features :

Re: Recompiling a Java class

2014-01-09 Thread Jacob Goodson
Wow, what amazing timing! This is exactly what I was looking for, thank you very much! On Thursday, January 9, 2014 3:50:11 AM UTC-5, henry w wrote: Take a look at this: http://z.caudate.me/dynamic-reloading-of-java-code-in-emacsnrepl/ I havent gotten around to looking into it myself yet

[ANN] Counterclockwise 0.21.0

2014-01-09 Thread Laurent PETIT
Hello, Counterclockwise is an Eclipse Plugin for developing Clojure code. I just released Counterclockwise 0.21.0 Featuring: - General Purpose Leiningen Launcher - User Plugins - Simplified New Clojure Project Wizard - Editor Responsiveness Install = Installation instructions are in the

[ANN]: prismatic/schema and /plumbing 0.2.0

2014-01-09 Thread Jason Wolfe
It’s a twofer: [prismatic/schema “0.2.0”] Changes to the internal protocol for checking schemas, improving performance and enabling new applications such as schema coercion. Breaking changes: - Cross-platform leaves s/String and s/Number are now s/Str and s/Num - The Schema protocol has

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Mikera
Great stuff - thanks Laurent! On Thursday, 9 January 2014 18:00:04 UTC, Laurent PETIT wrote: Hello, Counterclockwise is an Eclipse Plugin for developing Clojure code. I just released Counterclockwise 0.21.0 Featuring: - General Purpose Leiningen Launcher - User Plugins - Simplified

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Cedric Greevey
You might like to know that PeerBlock (and therefore probably other privacy software, especially any using iblocklist.com's Level 1 bad-actor list) is false positiving on ccw-ide.org, misidentifying it as something called OVH Somethingorother. -- -- You received this message because you are

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Dima Sabanin
When I visit http://ccw-ide.org/ I see this page: http://cl.ly/image/280j3J2Q1X2m Thought for a while that domain has expired. On Thu, Jan 9, 2014 at 2:51 PM, Cedric Greevey cgree...@gmail.com wrote: You might like to know that PeerBlock (and therefore probably other privacy software,

Re: New release of Light Table (which is now open source!)

2014-01-09 Thread Chris Granger
BOT is actually quite self documenting. Cheers, Chris. On Thu, Jan 9, 2014 at 7:45 AM, Jozef Wagner jozef.wag...@gmail.com wrote: Congratulations on releasing it to the community!. What surprises me is that there are no docstrings and very few comments. I wonder how you manage such

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Cedric Greevey
That's weird. Some kind of hijack? It looks normal from here (when I disable PeerBlock), including just a few minutes ago. Maybe your DNS has been poisoned. On Thu, Jan 9, 2014 at 2:55 PM, Dima Sabanin sdmi...@gmail.com wrote: When I visit http://ccw-ide.org/ I see this page:

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Dima Sabanin
It's weird indeed. My DNS is Google's 8.8.8.8 $ host ccw-ide.org ccw-ide.org has address 213.186.33.3 $ host doc.ccw-ide.org doc.ccw-ide.org has address 213.186.33.3 doc.ccw-ide.org work properly for me while ccw-ide.org doesn't. It doesn't seem like a hijack either because the site apparently

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Laurent PETIT
There's nothing currently at the root. This is my bad, but expected atm. Only doc.ccw-ide.org , standalone.ccw-ide.org and updatesite.ccw-ide.orgare valid. Maybe I should at least point ccw-ide.org to doc.ccw-ide.org for the moment ... 2014/1/9 Dima Sabanin sdmi...@gmail.com It's weird

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Dima Sabanin
Redirect would indeed be helpful, as it was quite confusing when I was trying to help someone get up and running and we were looking in all the wrong places to download standalone CCW install. Btw, thanks for the great work Laurent! On Thu, Jan 9, 2014 at 3:07 PM, Laurent PETIT

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Laurent PETIT
OK, I did a quick dirty html redirect so that people don't see the ugly page again, thanks for the report 2014/1/9 Dima Sabanin sdmi...@gmail.com Redirect would indeed be helpful, as it was quite confusing when I was trying to help someone get up and running and we were looking in all the

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Cedric Greevey
And the iblocklist false positive? (I assume ccw-ide.org is not *actually* spying for the government, MPAA, RIAA, or any of them internet-freedom-haters?) On Thu, Jan 9, 2014 at 3:34 PM, Laurent PETIT laurent.pe...@gmail.comwrote: OK, I did a quick dirty html redirect so that people don't see

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Laurent PETIT
ccw-ide.org is hosted by OVH France. 2014/1/9 Cedric Greevey cgree...@gmail.com And the iblocklist false positive? (I assume ccw-ide.org is not *actually* spying for the government, MPAA, RIAA, or any of them internet-freedom-haters?) On Thu, Jan 9, 2014 at 3:34 PM, Laurent PETIT

recursion in clojure.walk

2014-01-09 Thread Lee Spector
Perhaps this is well known to others, but on the chance that maybe it isn't I thought I'd share. In clojure.walk both prewalk and postwalk use recursion in ways that will blow the stack for sufficiently deep nested structures. We had been using them happily until recently when things got too

Re: [ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-09 Thread Kris Jenkins
Thanks Gary - I'm glad to hear it's working well for you. And thanks for your thoughts on the v0.2.0 release - they helped shape this version. :-) Kris On Tuesday, 7 January 2014 18:30:49 UTC, Gary Johnson wrote: defqueries for the win! Excellent minimal syntax choice, Kris. I'm using yesql

Re: [ANN] Yesql 0.3.0 - Clojure SQL queries rethought.

2014-01-09 Thread Kris Jenkins
Hmm...I'll have to mull that one. I have been thinking that I'm going to leave the whole issue of namespaces to Clojure, and let the call-site of (defqueries) decide. But I'll have to think it through some more. :-) Kris On Wednesday, 8 January 2014 00:26:58 UTC, Marco Shimomoto wrote: It

Need testers for CLJS-615

2014-01-09 Thread David Nolen
http://dev.clojure.org/jira/browse/CLJS-615 Please apply the patch and verify that it works for you on your existing projects. Instructions on applying and testing patches here: http://github.com/clojure/clojurescript/wiki/Patches Thanks, David -- -- You received this message because you are

Re: recursion in clojure.walk

2014-01-09 Thread Stuart Sierra
I wrote clojure.walk, but I don't usually recommend it for anything but casual use. clojure.walk very general, so it's not going to be the most efficient approach. When you know more details about the data structure you're working with, as in this case, you can make something that will be

core.async doesn't handle metadata well in the code you give it.

2014-01-09 Thread eduardoejp
Try this at your REPL: (meta (let [x 10] ^:yolo {:val x})) = {:yolo true} (meta (!! (let [x 10] (go ^:yolo {:val x} = nil -- -- 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

Re: recursion in clojure.walk

2014-01-09 Thread Lee Spector
On Jan 9, 2014, at 6:33 PM, Stuart Sierra wrote: I wrote clojure.walk, but I don't usually recommend it for anything but casual use. clojure.walk very general, so it's not going to be the most efficient approach. When you know more details about the data structure you're working with,

Re: Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-09 Thread Julien
Impressive! Did you run some benchmark? How does it compare to ring-jetty and http-kit? Julien Le jeudi 9 janvier 2014 12:42:31 UTC-3, Xfeep Zhang a écrit : [image: Alt text]https://github.com/xfeep/nginx-clojure/blob/master/logo.pngNginx-Clojure is a Nginx http://nginx.org/ module for

Re: Clojure/Luminus memory footprint

2014-01-09 Thread gvim
Gary Pressing Perform GC reduced the Used Heap figures to 14Mb and 13Mb but I now see these climbing to new heights while the app is completely idle. JVM and main are now both using 75Mb each and climbing. This does not inspire confidence for an app which is sitting idle. gvim On

Re: Clojure/Luminus memory footprint

2014-01-09 Thread Gary Trakhman
Yes, this is exactly the behavior I was expecting. 14Mb is your actual memory footprint, the rest is waste due to the JVMs aggressive memory retention policy. See my earlier comment about trying the G1 garbage collector and these: https://twitter.com/gtrakGT/status/402569842361790464

Re: Clojure/Luminus memory footprint

2014-01-09 Thread gvim
After careful consideration I've concluded that, coming from a dynamic scripting language background, I just don't have the time or inclination to nurse-maid the JVM so Clojure isn't for me. Tuning GC and memory allocation doesn't seem to be necessary with Elixir on the Erlang VM which borrows

Re: [ANN] Counterclockwise 0.21.0

2014-01-09 Thread Cedric Greevey
On Thu, Jan 9, 2014 at 4:01 PM, Laurent PETIT laurent.pe...@gmail.comwrote: ccw-ide.org is hosted by OVH France. Of what significance is that? Unless you mean to say that they abuse their customers by sometimes using the machine hosting a customer's site to generate nefarious network activity,

Re: Clojure/Luminus memory footprint

2014-01-09 Thread Gary Trakhman
Elixir's pretty neat. Apologies for the jvm :-). On Thursday, January 9, 2014, gvim wrote: After careful consideration I've concluded that, coming from a dynamic scripting language background, I just don't have the time or inclination to nurse-maid the JVM so Clojure isn't for me. Tuning GC

[ANN]: Clojure/West 2014 - San Francisco - March 24-26

2014-01-09 Thread Alex Miller
At long last, we have finalized the plans for Clojure/West 2014! Site: http://clojurewest.org Date: March 24-25 conference, March 26 hackfest! Venue: Palace Hotel, San Francisco http://www.sfpalace.com/ https://goo.gl/maps/pBXav Call for Presentations: -

Re: Clojure/Luminus memory footprint

2014-01-09 Thread Timothy Baldridge
Just be aware, that Erlang VM doesn't even come close to the performance of the JVM. For example, Erjang (Erlang on the JVM) runs up to 6000% faster than stock Erlang: http://codemesh.io/slides/kresten-krab-thorup.pdf So it's a trade-off like most things. The JVM takes a bit more memory from the

Re: Clojure/Luminus memory footprint

2014-01-09 Thread Gary Trakhman
From the other direction, tuning a super-fast GC occasionally is way more fun than malloc/free! I just found that enabling G1 was a quick hit for me. When I run that many clojure processes, some 700MB heaps mostly wasted at steady-state tends to hurt. As far as I can tell, there's no

Re: Clojure/Luminus memory footprint

2014-01-09 Thread Sean Corfield
On Jan 9, 2014, at 8:18 PM, Gary Trakhman gary.trakh...@gmail.com wrote: From the other direction, tuning a super-fast GC occasionally is way more fun than malloc/free! I just found that enabling G1 was a quick hit for me. When I run that many clojure processes, some 700MB heaps mostly

[ANN] DACOM: A skeleton app, Leiningen template for Datomic, Compojure, and Om

2014-01-09 Thread Kevin Bell
A Leiningen template featuring all of the most popular Clojure technologies that all of the coolest kids are using: sample project repo https://github.com/bellkev/dacom or `lein new dacom my-project` -- -- You received this message because you are subscribed to the Google Groups Clojure