Re: clojure.java.shell hanging issues

2011-01-06 Thread Miki
> Looking at the source code I'm not sure if the patches were applied. > Maybe there was a "regression". The symptoms seem consistent with what > was supposed to have been fixed. > > Following the clojure.org api docs, I clicked through on the source code > link on > > http://richhickey.github.c

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
In retrospect it probably wasn't clojure.org, but an adjacent tab I opened from a google search. richhickey.github.com has really high pagerank :) which can confuse things; also all these branches have nearly the same visual identity which makes it easy to forget what is going on. On Wed, Jan 5, 2

Re: clojure.java.shell hanging issues

2011-01-05 Thread Sean Corfield
On Wed, Jan 5, 2011 at 4:41 PM, kovas boguta wrote: > Following the clojure.org api docs, I clicked through on the source code link > on > > http://richhickey.github.com/clojure-contrib/shell-api.html I'm curious as to how you got here? I went to clojure.org, clicked API, clicked clojure.java.sh

Re: clojure.java.shell hanging issues

2011-01-05 Thread Ken Wesson
On Wed, Jan 5, 2011 at 9:40 PM, Stuart Halloway wrote: >> On Wed, Jan 5, 2011 at 8:00 PM, Stuart Halloway >> wrote: >>> All the code you are referring to is in clojure.contrib. Note the comment >>> at the top of the files: >>> >>> ;; DEPRECATED in 1.2: Promoted to clojure.java.shell >> >> At the

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
One effective way to do it is to change the background color of either the whole page, or of the title (eg API for shell - clojure-contrib v1.2 (stable)) An analogous case that is handled well I think: http://reference.wolfram.com/mathematica/NonlinearRegression/ref/NonlinearRegress.html On Wed

Re: clojure.java.shell hanging issues

2011-01-05 Thread Stuart Halloway
> On Wed, Jan 5, 2011 at 8:00 PM, Stuart Halloway > wrote: >> All the code you are referring to is in clojure.contrib. Note the comment at >> the top of the files: >> >> ;; DEPRECATED in 1.2: Promoted to clojure.java.shell > > At the top of which files? If you mean the library's source code, it

Re: clojure.java.shell hanging issues

2011-01-05 Thread Stuart Halloway
If you send me a pointer to the link that still pointed to richhic...@github I will fix it. Thanks, Stu > Actually I did look at the source, but was just looking for the > relevant bits of code rather than perusing the frontmatter. > > The main "problem" was just that there are a lot of referen

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Actually I did look at the source, but was just looking for the relevant bits of code rather than perusing the frontmatter. The main "problem" was just that there are a lot of references to the old lib lying around in various forms of documentation that seemed current. On Wed, Jan 5, 2011 at 5:

Re: clojure.java.shell hanging issues

2011-01-05 Thread Ken Wesson
On Wed, Jan 5, 2011 at 8:00 PM, Stuart Halloway wrote: > All the code you are referring to is in clojure.contrib. Note the comment at > the top of the files: > > ;; DEPRECATED in 1.2: Promoted to clojure.java.shell At the top of which files? If you mean the library's source code, it's very likel

Re: clojure.java.shell hanging issues

2011-01-05 Thread Stuart Halloway
All the code you are referring to is in clojure.contrib. Note the comment at the top of the files: ;; DEPRECATED in 1.2: Promoted to clojure.java.shell clojure.java.shell is clojure itself, you should not need contrib at all. Cheers, Stu > Stumbled on another branch of documentation, the code

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Stumbled on another branch of documentation, the code described at https://github.com/clojure/clojure-contrib/blob/6e721ff777dd52801cafe693868d8118a62076de/src/main/clojure/clojure/contrib/shell.clj#L86 is also without the patches. On Wed, Jan 5, 2011 at 4:41 PM, kovas boguta wrote: > Hi, thank

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Hi, thanks for the quick response. Looking at the source code I'm not sure if the patches were applied. Maybe there was a "regression". The symptoms seem consistent with what was supposed to have been fixed. Following the clojure.org api docs, I clicked through on the source code link on http://

Re: clojure.java.shell hanging issues

2011-01-05 Thread Stuart Halloway
(1) The ticket you reference is marked completed and the patches went in last July. Is it possible you are seeing a different problem? (2) Clojure does not depend on anything in the clojure.contrib namespace. (3) Running inside a pmap should be ok, but make sure you understand the interleaving

clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Hello everyone, A while back there was some discussion on the fact that clojure.java.shell can hang under various circumstances, and some patches were submitted: http://dev.clojure.org/jira/browse/CLJ-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel But doesn't seem to h