Re: Clojurescript long polling questions

2012-05-04 Thread Dusan Miloradovic
Thanks for great answers Daniel and Zach Dusan On Fri, May 4, 2012 at 3:28 PM, Zach Tellman wrote: > That documentation is for the Lamina library, and describes how > full-duplex client connections are represented. If you created a TCP > client, all that would be true. > > However, you are wri

Re: Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Larry Travis
Phil: Thanks. I obviously need to start doing my Clojure programming with a Slime cheatsheet in front of me! --Larry On 5/4/12 4:00 PM, Phil Hagelberg wrote: Another way to do it is just use C-c C-d C-d for docs lookup. -Phil -- You received this message because you are subscribed to th

Re: Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Larry Travis
Roberto: This indeed looks like it will be useful. Thanks. Your require-all-snippet.clj script loaded OK except for: Attempting to require clojure.parallel : couldn't require clojure.parallel Exception #java.lang.ClassNotFoundException: jsr166y.forkjoin.ParallelArray> --Larry On 5/4/1

Re: Article on HTTP-based REPL

2012-05-04 Thread John Szakmeister
On Fri, May 4, 2012 at 2:30 PM, Phil Hagelberg wrote: > Hello folks. > > I just posted an article yesterday on using cemerick's drawbridge > library for live-debugging a Ring application over HTTP: > >    https://devcenter.heroku.com/articles/debugging-clojure > > You may find it interesting if yo

Re: Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Phil Hagelberg
On Fri, May 4, 2012 at 12:32 PM, Roberto Mannai wrote: > You should "use" it: > > user> (use 'clojure.repl) > nil > user> (doc doc) > ... Another way to do it is just use C-c C-d C-d for docs lookup. -Phil -- You received this message because you are subscribed to the Google Groups "Clojure" g

error in classloading because not converting hyphen to underscore

2012-05-04 Thread Andrew Xue
hi all -- i am running a clojure based library (cascalog) on top of hadoop. i started getting errors on loading a class with the follow stack trace: Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: views.visit-facts, compiling:(views/ visit_facts

Re: Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Roberto Mannai
If you are studying the doc maybe you could find useful this bunch of scripts: http://pastebin.com/cXL1wNVC They are an updated version of what posted here: http://www.learningclojure.com/2010/03/conditioning-repl.html On Fri, May 4, 2012 at 9:44 PM, Larry Travis wrote: > Thank you, Roberto. W

Re: Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Larry Travis
Thank you, Roberto. Works like a charm. --Larry On 5/4/12 2:32 PM, Roberto Mannai wrote: You should "use" it: user> (use 'clojure.repl) nil user> (doc doc) ... On Fri, May 4, 2012 at 9:27 PM, Larry Travis > wrote: A command like user> (doc hash-map)

Re: Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Roberto Mannai
You should "use" it: user> (use 'clojure.repl) nil user> (doc doc) ... On Fri, May 4, 2012 at 9:27 PM, Larry Travis wrote: > A command like > > user> (doc hash-map) > > in the slime-repl created by clojure-jack-in > > results in > > Unable to resolve symbol: doc in this context > [Thrown clas

Why doesn't doc work in clojure-jack-in slime-repl?

2012-05-04 Thread Larry Travis
A command like user> (doc hash-map) in the slime-repl created by clojure-jack-in results in Unable to resolve symbol: doc in this context [Thrown class java.lang.RuntimeException] Can this be fixed or do I have to do my doc requests someplace else? --Larry -- You received this message

Article on HTTP-based REPL

2012-05-04 Thread Phil Hagelberg
Hello folks. I just posted an article yesterday on using cemerick's drawbridge library for live-debugging a Ring application over HTTP: https://devcenter.heroku.com/articles/debugging-clojure You may find it interesting if you need to connect to deployed nodes but can't open a new socket con

Re: Clojurescript long polling questions

2012-05-04 Thread Zach Tellman
That documentation is for the Lamina library, and describes how full-duplex client connections are represented. If you created a TCP client, all that would be true. However, you are writing a server, and using HTTP, which is a much more structured protocol. Each request takes only a single re