Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-18 Thread Borkdude
+1 for the feature to connect to an external nREPL session!

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-02 Thread Beau Fabry
A client library may be another option, I haven't looked into it. Off the 
top of my head I doubt the cascalog code distribution for the m/r jobs 
would work with any clients. This is akin to deploying new code to run on 
the cluster, in this case via a repl, so I don't think any existing API is 
going to support it. You could certainly connect a client that runs PIG 
jobs or something, but that's a lot less powerful than being able to 
distribute just-defined clojure functions out to the cluster as map 
operations on the fly :-)

Sort've like the difference between being able to connect to postgres via 
odbc and run sql, and spinning up a repl inside of postgres that can 
dynamically define functions that play with the raw data

On Wednesday, September 3, 2014 12:08:52 AM UTC+10, Jony Hudson wrote:
>
> On Tuesday, 2 September 2014 01:36:49 UTC+1, Beau Fabry wrote:
>
>> Just a little bit of showing off of the previous post :-) 
>> http://i.imgur.com/zpfP9Ja.png
>>
>
> Nice! Would love to hear more about how you use it. I've only tinkered 
> with Hadoop locally, so I'm very fuzzy on the concepts - you need to run 
> Gorilla in-process on one of the hadoop nodes, rather than connecting to 
> hadoop with a "client" library?
>
>
> Jony
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-02 Thread Jony Hudson
On Tuesday, 2 September 2014 01:36:49 UTC+1, Beau Fabry wrote:

> Just a little bit of showing off of the previous post :-) 
> http://i.imgur.com/zpfP9Ja.png
>

Nice! Would love to hear more about how you use it. I've only tinkered with 
Hadoop locally, so I'm very fuzzy on the concepts - you need to run Gorilla 
in-process on one of the hadoop nodes, rather than connecting to hadoop 
with a "client" library?


Jony

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Beau Fabry
Just a little bit of showing off of the previous post 
:-) http://i.imgur.com/zpfP9Ja.png

On Tuesday, September 2, 2014 9:36:50 AM UTC+10, Beau Fabry wrote:
>
> For what it's worth we're using Gorilla *after* leiningen. Leiningen is 
> used to make an uberjar, but then we start the gorilla server in our own 
> main. This is because we're running gorilla inside of our hadoop 
> environment. This way we have a gorilla instance that can issue live 
> cascalog queries to the cluster :-)
>
> On Tuesday, September 2, 2014 7:26:51 AM UTC+10, stuart@gmail.com 
> wrote:
>>
>> Hi Jony,
>>
>> I sent you a pull request.  I believe adding those items is correct and 
>> necessary for producing a usable JAR, and that the build works so long as 
>> you have a recent version of leiningen.
>>
>> Stu
>>
>>
>> On Mon, Sep 1, 2014 at 5:04 PM, Jony Hudson  wrote:
>>
>>> Ahh, nice, yes that's a simple way to do it if you can manage to add the 
>>> code somewhere.
>>>
>>> Regarding the dependencies - Leiningen adds both of the dependencies you 
>>> list. I did declare them explicitly at one point, but I recall having some 
>>> odd error, so I decided to take them back out rather than debug it! It's 
>>> possibly related to this, but like I say I didn't put any time into 
>>> investigating it, so could be a red herring: 
>>> https://github.com/technomancy/leiningen/issues/1569
>>>
>>>
>>> Jony
>>>
>>>
>>> On Monday, 1 September 2014 21:57:07 UTC+1, stuart@gmail.com wrote:

 And now, answering part of my own question.  It appears the following 
 almost "just works" from a maven project that references gorilla:

   (require '[gorilla-repl.core :as gorilla])
   (gorilla/run-gorilla-server {:port 8990})

 The only problem is that gorilla's declaration of its own dependencies 
 appears incomplete.  When I try to run the snippet above, I fail for lack 
 of org.clojure/tools.nrepl and clojure-complete.  Adding them as explicit 
 dependencies in my own project fixes the problem.  My quick guess is that 
 these two libs need to be added to gorilla's own dependencies.  (One 
 wonders why it works inside of lein...)

 Stu

  -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with 
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to clojure+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Beau Fabry
For what it's worth we're using Gorilla *after* leiningen. Leiningen is 
used to make an uberjar, but then we start the gorilla server in our own 
main. This is because we're running gorilla inside of our hadoop 
environment. This way we have a gorilla instance that can issue live 
cascalog queries to the cluster :-)

On Tuesday, September 2, 2014 7:26:51 AM UTC+10, stuart@gmail.com wrote:
>
> Hi Jony,
>
> I sent you a pull request.  I believe adding those items is correct and 
> necessary for producing a usable JAR, and that the build works so long as 
> you have a recent version of leiningen.
>
> Stu
>
>
> On Mon, Sep 1, 2014 at 5:04 PM, Jony Hudson  > wrote:
>
>> Ahh, nice, yes that's a simple way to do it if you can manage to add the 
>> code somewhere.
>>
>> Regarding the dependencies - Leiningen adds both of the dependencies you 
>> list. I did declare them explicitly at one point, but I recall having some 
>> odd error, so I decided to take them back out rather than debug it! It's 
>> possibly related to this, but like I say I didn't put any time into 
>> investigating it, so could be a red herring: 
>> https://github.com/technomancy/leiningen/issues/1569
>>
>>
>> Jony
>>
>>
>> On Monday, 1 September 2014 21:57:07 UTC+1, stuart@gmail.com wrote:
>>>
>>> And now, answering part of my own question.  It appears the following 
>>> almost "just works" from a maven project that references gorilla:
>>>
>>>   (require '[gorilla-repl.core :as gorilla])
>>>   (gorilla/run-gorilla-server {:port 8990})
>>>
>>> The only problem is that gorilla's declaration of its own dependencies 
>>> appears incomplete.  When I try to run the snippet above, I fail for lack 
>>> of org.clojure/tools.nrepl and clojure-complete.  Adding them as explicit 
>>> dependencies in my own project fixes the problem.  My quick guess is that 
>>> these two libs need to be added to gorilla's own dependencies.  (One 
>>> wonders why it works inside of lein...)
>>>
>>> Stu
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
Hi Jony,

I sent you a pull request.  I believe adding those items is correct and
necessary for producing a usable JAR, and that the build works so long as
you have a recent version of leiningen.

Stu


On Mon, Sep 1, 2014 at 5:04 PM, Jony Hudson  wrote:

> Ahh, nice, yes that's a simple way to do it if you can manage to add the
> code somewhere.
>
> Regarding the dependencies - Leiningen adds both of the dependencies you
> list. I did declare them explicitly at one point, but I recall having some
> odd error, so I decided to take them back out rather than debug it! It's
> possibly related to this, but like I say I didn't put any time into
> investigating it, so could be a red herring:
> https://github.com/technomancy/leiningen/issues/1569
>
>
> Jony
>
>
> On Monday, 1 September 2014 21:57:07 UTC+1, stuart@gmail.com wrote:
>>
>> And now, answering part of my own question.  It appears the following
>> almost "just works" from a maven project that references gorilla:
>>
>>   (require '[gorilla-repl.core :as gorilla])
>>   (gorilla/run-gorilla-server {:port 8990})
>>
>> The only problem is that gorilla's declaration of its own dependencies
>> appears incomplete.  When I try to run the snippet above, I fail for lack
>> of org.clojure/tools.nrepl and clojure-complete.  Adding them as explicit
>> dependencies in my own project fixes the problem.  My quick guess is that
>> these two libs need to be added to gorilla's own dependencies.  (One
>> wonders why it works inside of lein...)
>>
>> Stu
>>
>>  --
> 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 from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Jony Hudson
Ahh, nice, yes that's a simple way to do it if you can manage to add the 
code somewhere.

Regarding the dependencies - Leiningen adds both of the dependencies you 
list. I did declare them explicitly at one point, but I recall having some 
odd error, so I decided to take them back out rather than debug it! It's 
possibly related to this, but like I say I didn't put any time into 
investigating it, so could be a red 
herring: https://github.com/technomancy/leiningen/issues/1569


Jony


On Monday, 1 September 2014 21:57:07 UTC+1, stuart@gmail.com wrote:
>
> And now, answering part of my own question.  It appears the following 
> almost "just works" from a maven project that references gorilla:
>
>   (require '[gorilla-repl.core :as gorilla])
>   (gorilla/run-gorilla-server {:port 8990})
>
> The only problem is that gorilla's declaration of its own dependencies 
> appears incomplete.  When I try to run the snippet above, I fail for lack 
> of org.clojure/tools.nrepl and clojure-complete.  Adding them as explicit 
> dependencies in my own project fixes the problem.  My quick guess is that 
> these two libs need to be added to gorilla's own dependencies.  (One 
> wonders why it works inside of lein...)
>
> Stu
>
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Gary Trakhman
It works inside of lein because lein adds REPL-y to the classpath of the
project, which adds clojure-complete.  Cider used to be coupled to this
before we gutted it.


On Mon, Sep 1, 2014 at 4:56 PM, Stuart Halloway 
wrote:

> And now, answering part of my own question.  It appears the following
> almost "just works" from a maven project that references gorilla:
>
>   (require '[gorilla-repl.core :as gorilla])
>   (gorilla/run-gorilla-server {:port 8990})
>
> The only problem is that gorilla's declaration of its own dependencies
> appears incomplete.  When I try to run the snippet above, I fail for lack
> of org.clojure/tools.nrepl and clojure-complete.  Adding them as explicit
> dependencies in my own project fixes the problem.  My quick guess is that
> these two libs need to be added to gorilla's own dependencies.  (One
> wonders why it works inside of lein...)
>
> Stu
>
>
>
> On Mon, Sep 1, 2014 at 12:55 PM, Jony Hudson 
> wrote:
>
>> Beau, Lee - thanks for the kind words - glad you're enjoying it!
>>
>> Stu - I've no experience of running Clojure under either maven or gradle,
>> but my guess is that it won't work out-of-the-box yet. Currently, Gorilla
>> launches by using Leiningen to run its own server process in the classpath
>> of the project. The Gorilla server starts up an nREPL server in process and
>> connects to that. I've been planning to add the feature to connect to an
>> external nREPL server (and also, probably, for "local" connections to
>> launch the nREPL server as a separate process). It would then be
>> straightforward, I'd imagine, to run an nREPL server from maven/gradle -
>> which would take care of the classpath - and have maven/gradle start up the
>> gorilla server and connect to nREPL.
>>
>> I guess a workaroundy way to do it would be if maven/gradle can output
>> the classpath for a project, then it might possibly work to run the Gorilla
>> jar with the appropriate classpath. I'm not sure about this though as, in
>> truth, I don't know exactly what nREPL does when it starts up!
>>
>>
>> Jony
>>
>>
>> On Monday, 1 September 2014 17:33:50 UTC+1, stuart@gmail.com wrote:
>>>
>>> Hi Jony,
>>>
>>> Is there a path for using Gorilla REPL from a maven or gradle project?
>>>
>>> Thanks,
>>> Stu
>>>
>>>
>>>  --
>> 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 from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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 from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
And now, answering part of my own question.  It appears the following
almost "just works" from a maven project that references gorilla:

  (require '[gorilla-repl.core :as gorilla])
  (gorilla/run-gorilla-server {:port 8990})

The only problem is that gorilla's declaration of its own dependencies
appears incomplete.  When I try to run the snippet above, I fail for lack
of org.clojure/tools.nrepl and clojure-complete.  Adding them as explicit
dependencies in my own project fixes the problem.  My quick guess is that
these two libs need to be added to gorilla's own dependencies.  (One
wonders why it works inside of lein...)

Stu



On Mon, Sep 1, 2014 at 12:55 PM, Jony Hudson  wrote:

> Beau, Lee - thanks for the kind words - glad you're enjoying it!
>
> Stu - I've no experience of running Clojure under either maven or gradle,
> but my guess is that it won't work out-of-the-box yet. Currently, Gorilla
> launches by using Leiningen to run its own server process in the classpath
> of the project. The Gorilla server starts up an nREPL server in process and
> connects to that. I've been planning to add the feature to connect to an
> external nREPL server (and also, probably, for "local" connections to
> launch the nREPL server as a separate process). It would then be
> straightforward, I'd imagine, to run an nREPL server from maven/gradle -
> which would take care of the classpath - and have maven/gradle start up the
> gorilla server and connect to nREPL.
>
> I guess a workaroundy way to do it would be if maven/gradle can output the
> classpath for a project, then it might possibly work to run the Gorilla jar
> with the appropriate classpath. I'm not sure about this though as, in
> truth, I don't know exactly what nREPL does when it starts up!
>
>
> Jony
>
>
> On Monday, 1 September 2014 17:33:50 UTC+1, stuart@gmail.com wrote:
>>
>> Hi Jony,
>>
>> Is there a path for using Gorilla REPL from a maven or gradle project?
>>
>> Thanks,
>> Stu
>>
>>
>>  --
> 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 from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
Hi Jony,

A feature allowing connection to an external nREPL server would be great,
and totally usable by anyone who can make a CLASSPATH.  Having to install a
particular build system (whether gradle, lein, or maven) in order to use a
tool is a non-starter for 90% of the projects I am involved with.

Regards,
Stu


On Mon, Sep 1, 2014 at 12:55 PM, Jony Hudson  wrote:

> Beau, Lee - thanks for the kind words - glad you're enjoying it!
>
> Stu - I've no experience of running Clojure under either maven or gradle,
> but my guess is that it won't work out-of-the-box yet. Currently, Gorilla
> launches by using Leiningen to run its own server process in the classpath
> of the project. The Gorilla server starts up an nREPL server in process and
> connects to that. I've been planning to add the feature to connect to an
> external nREPL server (and also, probably, for "local" connections to
> launch the nREPL server as a separate process). It would then be
> straightforward, I'd imagine, to run an nREPL server from maven/gradle -
> which would take care of the classpath - and have maven/gradle start up the
> gorilla server and connect to nREPL.
>
> I guess a workaroundy way to do it would be if maven/gradle can output the
> classpath for a project, then it might possibly work to run the Gorilla jar
> with the appropriate classpath. I'm not sure about this though as, in
> truth, I don't know exactly what nREPL does when it starts up!
>
>
> Jony
>
>
> On Monday, 1 September 2014 17:33:50 UTC+1, stuart@gmail.com wrote:
>>
>> Hi Jony,
>>
>> Is there a path for using Gorilla REPL from a maven or gradle project?
>>
>> Thanks,
>> Stu
>>
>>
>>  --
> 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 from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Jony Hudson
Beau, Lee - thanks for the kind words - glad you're enjoying it!

Stu - I've no experience of running Clojure under either maven or gradle, 
but my guess is that it won't work out-of-the-box yet. Currently, Gorilla 
launches by using Leiningen to run its own server process in the classpath 
of the project. The Gorilla server starts up an nREPL server in process and 
connects to that. I've been planning to add the feature to connect to an 
external nREPL server (and also, probably, for "local" connections to 
launch the nREPL server as a separate process). It would then be 
straightforward, I'd imagine, to run an nREPL server from maven/gradle - 
which would take care of the classpath - and have maven/gradle start up the 
gorilla server and connect to nREPL.

I guess a workaroundy way to do it would be if maven/gradle can output the 
classpath for a project, then it might possibly work to run the Gorilla jar 
with the appropriate classpath. I'm not sure about this though as, in 
truth, I don't know exactly what nREPL does when it starts up!


Jony

On Monday, 1 September 2014 17:33:50 UTC+1, stuart@gmail.com wrote:
>
> Hi Jony,
>
> Is there a path for using Gorilla REPL from a maven or gradle project?
>
> Thanks,
> Stu
>
>
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Stuart Halloway
Hi Jony,

Is there a path for using Gorilla REPL from a maven or gradle project?

Thanks,
Stu


On Mon, Sep 1, 2014 at 7:11 AM, Jony Hudson  wrote:

> Hi all,
>
>  there's a new version of Gorilla REPL out :-) The headline feature is
> that the autocomplete UI now shows the docs for the function you're
> typing/lets you browse the docs. It's really handy! Autocomplete itself is
> also much improved, courtesy of the compliment library.
>
> This version also adds compatibility with the latest version of CIDER, and
> a number of other smaller fixes and features (see changelog below).
>
> I must give credit here to the CIDER team, who have done a great job of
> writing CIDER's back-end code in a way that it can be re-used by other
> editors. It must have taken some work to do that, and it's a very useful
> contribution to Clojure tooling. Gorilla now uses CIDER's back-end for
> autocompletion and documentation. Hats off to them!
>
> From the changelog:
>
> ## Version 0.3.3
>
> - Look up symbol in ClojureDocs.
> - Inline documentation in auto-complete.
> - Much better auto-complete, thanks to compliment and cider-nrepl.
> - Autoselects a free port by default.
> - Upgrade to CodeMirror 4.5.
> - Interoperable with Emacs/CIDER > v.0.7.0 i.e. auto-adds cider-nrepl
> middleware.
> - Hopefully fix an odd intermittent dependency bug (thanks to @jococo).
> - App routes now a var for easier hacking on the server (thanks to
> @ticking).
> - Write out web-app port to file on startup to enable other tools to
> interoperate.
> - Fix version range warning.
>
>
>
> Jony
>
> --
> 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 from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Lee Spector


On Sep 1, 2014, at 7:15 AM, Beau Fabry  wrote:

> Started looking into Gorilla for use at work today. Even prior to this 
> release I was incredibly impressed. Amazing work everyone involved.
>  

inc

The new docs feature is a thing of beauty.

 -Lee

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Jony Hudson
On Monday, 1 September 2014 13:16:36 UTC+1, Bozhidar Batsov wrote:
 

> Thanks! :-) You might also find the var-info middleware quite useful - 
> cider and fireplace use it for code navigation and enhanced documentation 
> (eldoc and a replacement for (doc something) that works for both 
> Clojure(Script) and Java symbols).
>

Yes, I was hoping to get an eldoc style parameter-hint going in this 
release, but realised that I'll need to (at least at some basic level) 
parse the code being edited to find the enclosing form's function symbol. 
So I decided it might be better to consider that alongside other things 
that need to understand the forms, like paredit etc.


Jony 

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Bozhidar Batsov
On September 1, 2014 at 2:11:40 PM, Jony Hudson (jonyepsi...@gmail.com) wrote:
Hi all,

 there's a new version of Gorilla REPL out :-) The headline feature is that the 
autocomplete UI now shows the docs for the function you're typing/lets you 
browse the docs. It's really handy! Autocomplete itself is also much improved, 
courtesy of the compliment library.

This version also adds compatibility with the latest version of CIDER, and a 
number of other smaller fixes and features (see changelog below).

I must give credit here to the CIDER team, who have done a great job of writing 
CIDER's back-end code in a way that it can be re-used by other editors. It must 
have taken some work to do that, and it's a very useful contribution to Clojure 
tooling. Gorilla now uses CIDER's back-end for autocompletion and 
documentation. Hats off to them!
Thanks! :-) You might also find the var-info middleware quite useful - cider 
and fireplace use it for code navigation and enhanced documentation (eldoc and 
a replacement for (doc something) that works for both Clojure(Script) and Java 
symbols).



>From the changelog:

## Version 0.3.3

- Look up symbol in ClojureDocs.
- Inline documentation in auto-complete.
- Much better auto-complete, thanks to compliment and cider-nrepl.
- Autoselects a free port by default.
- Upgrade to CodeMirror 4.5.
- Interoperable with Emacs/CIDER > v.0.7.0 i.e. auto-adds cider-nrepl 
middleware.
- Hopefully fix an odd intermittent dependency bug (thanks to @jococo).
- App routes now a var for easier hacking on the server (thanks to @ticking).
- Write out web-app port to file on startup to enable other tools to 
interoperate.
- Fix version range warning.



Jony
--
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Bozhidar Batsov
vim-fireplace uses cider-nrepl (when available, otherwise it will fallback to 
evaling inlined code) as well, so the Emacs rules should apply for it.
—
Cheers, 
Bozhidar

On September 1, 2014 at 2:12:53 PM, Jony Hudson (jonyepsi...@gmail.com) wrote:

Ohh, and there are some new docs on how to use Gorilla alongside your favourite 
editor/IDE:

http://gorilla-repl.org/editors.html


Jony
--
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Beau Fabry
Started looking into Gorilla for use at work today. Even prior to this 
release I was incredibly impressed. Amazing work everyone involved.
 

On Monday, September 1, 2014 9:12:49 PM UTC+10, Jony Hudson wrote:
>
> Ohh, and there are some new docs on how to use Gorilla alongside your 
> favourite editor/IDE:
>
> http://gorilla-repl.org/editors.html
>
>
> Jony
>

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Jony Hudson
Ohh, and there are some new docs on how to use Gorilla alongside your 
favourite editor/IDE:

http://gorilla-repl.org/editors.html


Jony

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] Gorilla REPL 0.3.3 - inline docs, CIDER compatibility

2014-09-01 Thread Jony Hudson
Hi all,

 there's a new version of Gorilla REPL out :-) The headline feature is that 
the autocomplete UI now shows the docs for the function you're typing/lets 
you browse the docs. It's really handy! Autocomplete itself is also much 
improved, courtesy of the compliment library.

This version also adds compatibility with the latest version of CIDER, and 
a number of other smaller fixes and features (see changelog below).

I must give credit here to the CIDER team, who have done a great job of 
writing CIDER's back-end code in a way that it can be re-used by other 
editors. It must have taken some work to do that, and it's a very useful 
contribution to Clojure tooling. Gorilla now uses CIDER's back-end for 
autocompletion and documentation. Hats off to them!

>From the changelog:

## Version 0.3.3

- Look up symbol in ClojureDocs.
- Inline documentation in auto-complete.
- Much better auto-complete, thanks to compliment and cider-nrepl.
- Autoselects a free port by default.
- Upgrade to CodeMirror 4.5.
- Interoperable with Emacs/CIDER > v.0.7.0 i.e. auto-adds cider-nrepl 
middleware.
- Hopefully fix an odd intermittent dependency bug (thanks to @jococo).
- App routes now a var for easier hacking on the server (thanks to 
@ticking).
- Write out web-app port to file on startup to enable other tools to 
interoperate.
- Fix version range warning.



Jony

-- 
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 from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.