Re: Using Clojure To Debug Java Apps

2011-07-14 Thread Johan Wirde
Yet another way you can get a repl into an existing process running on the
JVM:
https://github.com/wirde/swank-inject

Disclaimer:
It's a hack
It uses JDI to connect to the process (requires remote debugging on the
target, but no other modifications)
Won't work well for some classloader hierarchies
The Swank repl *doesn't* work well (yet), uses
clojure.contrib.server-socket/create-repl-server
instead

But:
You do get a (remote) repl injected into the application
You can get hooks into any (singleton) instances in the target process

Johan

On Thu, Jul 14, 2011 at 1:06 AM, David Powell  wrote:

>
> I wrote a tool called liverepl a while ago:
>
> https://github.com/djpowell/liverepl
>
> It effectively lets you get a repl into a Java or Clojure process, but it
> has the nice feature that it works with any Java processes without requiring
> any modifications to the code.  It uses the Java Attach API, which jvisualvm
> and jconsole use to inject the repl server into the process, and then it
> connects the console to that server.  It has some special support for Tomcat
> servers too, so that you can repl into a specific webapp.
>
> --
> Dave
>
>  --
> 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 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

Re: setting a xml value and save the root to a file

2011-07-14 Thread Marco Wulf
Hay,
sorry for the late reply. I was on vacation the last 2 weeks.
But now I' ll test your "easy looking" code snippet.
Thanks for this


On 26 Jun., 17:30, Ken Wesson  wrote:
> On Sat, Jun 25, 2011 at 3:23 AM, dive_mw  wrote:
> > Hi all,
> > can anybody help me, how to fix the following problem? I have a
> > function like this:
>
> > (defn set-config-value
> >  "sets a new value programatically to a config key"
> >  [value & tags]
> >  ;; set the new value and save the config file?
> >  ;;(zip/edit tags (zip/xml-zip(load-config)) value )
>
> >  ;; Save this config xml file with the changed xml content
> >  (ds/spit "./config/config-tst.xml"
> >    (with-out-str (lxml/emit (zip/root @config) :pad true)))
>
> >  )
> > How can I set a new  value to the element
> > => (set-config-value 5 :test)                       ?
>
> Why not just nest the expressions:
>
> (ds/spit "./config/config-tst.xml"
>   (with-out-str
>     (lxml/emit
>       (zip/root
>         (zip/edit tags (zip/xml-zip (load-config)) value)) :pad true)))
>
> Now it will load the config (innermost ()), alter the value, then
> emit. Since you use with-out-str it's not going to be lazily reading
> the file at the same time it tries to write it, either; everything in
> with-out-str will evaluate, loading the config and changing it and
> generating the new XML in a string, and then the string will be
> returned, and ds/spit called at that point, overwriting the file.
>
> --
> Protege: What is this seething mass of parentheses?!
> Master: Your father's Lisp REPL. This is the language of a true
> hacker. Not as clumsy or random as C++; a language for a more
> civilized age.

-- 
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


Re: BDD - Given When Then

2011-07-14 Thread Max Weber
Thank you for your responses. I wrote a prototype for a BDD / "Given
When Then" extension for Lazytest yesterday. Today I'm going to write
some integration tests with it. Along the way I'm going to try to
improve the API. If the extension is useful afterwards, I'm going to
make this stuff available as open source project on GitHub.

Best regards

Max

On 13 Jul., 02:39, ckirkendall  wrote:
> I did just recently port Jim Weirich's ruby based rspec-given to
> Clojure.  It is a very simple BDD framework build on top of
> clojure.test as a set of macros.  You can find the link here.
>
> https://github.com/ckirkendall/ClojureGiven
>
> Creighton Kirkendall
>
> On Jul 11, 2:12 pm, Max Weber  wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I like to write some integration/acceptance tests in Clojure. At the moment
> > I'm using cuke4duke (cucumber), but I'm not satisfied with it. For my unit
> > tests I'm already using lazytest. In the acceptance tests I like to apply
> > the typical Given When Then template (like cucumber do). So are there any
> > nice alternatives to cucumber/cuke4duke?
>
> > I know circumspec , but the
> > project makes no progress anymore? What is the relationship between
> > circumspec and lazytest ? How can
> > acceptance tests be written with lazytest, which follow the Given When Then
> > template (like 
> > thiscircumspec
> > example)?
>
> > Best regards
>
> > Max

-- 
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


Namespace Docstrings?

2011-07-14 Thread OGINO Masanori
Hello.

What is the right way to display namespace docstrings?

One day, as usual, I typed:

(doc 'clojure.core) ; or other namespace

Then the REPL said "clojure.lang.Cons cannot be cast to clojure.lang.Symbol."
I thought "Ah, I know, the message means "(quote clojure.core) cannot
be cast to the symbol clojure.core." I'm wrong." and typed:

(doc clojure.core)

Then the REPL said "ClassNotFoundException clojure.core."
I thought "Indeed, clojure.core seems to be an class name...
Precisely, can (doc) display namespace docstrings?" and typed:

(source doc)

Oh, (doc) uses (find-ns), so (doc) should display namespace docstrings. But how?
Finally I wrote (:doc (meta (the-ns 'clojure.core))) but I know this
is a wrong way.
When I forget this ad-hoc solution, I'll repeat above.

I determined to ask it because I have repeated again just now and I'm annoyed.
Any thought?

Thanks.

-- 
Name:  OGINO Masanori (荻野 雅紀)
E-mail: masanori.og...@gmail.com

-- 
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


Noobie needs help

2011-07-14 Thread Tuba Lambanog
Hello,
Total noobie here. I'm trying to create a sort of a string maker
function. Something like:

(defn string-maker [string-name the-string]
  (def string-name (str the-string)))

so that I can call the function like so:

(string-maker "friend" "Peter")

which I expect to give me the variable:   friend
with the value: Peter

But alas, no luck. Can anybody point me in the right direction?
Thanks!
tuba

-- 
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


Re: Noobie needs help

2011-07-14 Thread Giancarlo Angulo
Please look at this:
http://clojure.org/data_structures
see maps.

   Giancarlo Angulo

-|-^_^X@^_^,=|+^_^X~_~@-




On Thu, Jul 14, 2011 at 2:41 PM, Tuba Lambanog wrote:

> Hello,
> Total noobie here. I'm trying to create a sort of a string maker
> function. Something like:
>
> (defn string-maker [string-name the-string]
>  (def string-name (str the-string)))
>
> so that I can call the function like so:
>
> (string-maker "friend" "Peter")
>
> which I expect to give me the variable:   friend
> with the value: Peter
>
> But alas, no luck. Can anybody point me in the right direction?
> Thanks!
> tuba
>
> --
> 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 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

Re: Noobie needs help

2011-07-14 Thread Jonathan Fischer Friberg
def defines a global binding (i.e. you can reach the symbol from
everywhere).
defn does the same thing, but always binds the symbol to a function.

Therefore, you only need either def OR defn.

(defn string-maker [the-string]
  (str the-string))

OR

(def string-maker (fn [the-string] (str the-string)))

Jonathan

On Thu, Jul 14, 2011 at 8:41 AM, Tuba Lambanog wrote:

> Hello,
> Total noobie here. I'm trying to create a sort of a string maker
> function. Something like:
>
> (defn string-maker [string-name the-string]
>  (def string-name (str the-string)))
>
> so that I can call the function like so:
>
> (string-maker "friend" "Peter")
>
> which I expect to give me the variable:   friend
> with the value: Peter
>
> But alas, no luck. Can anybody point me in the right direction?
> Thanks!
> tuba
>
> --
> 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 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

Re: Noobie needs help

2011-07-14 Thread Jonathan Fischer Friberg
I see I misunderstood the question, sorry about that.

What you want is a macro:

(defmacro string-maker [string-name the-string]
  `(def ~(symbol string-name) ~the-string))

Jonathan

On Thu, Jul 14, 2011 at 1:13 PM, Giancarlo Angulo wrote:

> Please look at this:
> http://clojure.org/data_structures
> see maps.
> 
>Giancarlo Angulo
> 
> -|-^_^X@^_^,=|+^_^X~_~@-
> 
>
>
>
>
> On Thu, Jul 14, 2011 at 2:41 PM, Tuba Lambanog wrote:
>
>> Hello,
>> Total noobie here. I'm trying to create a sort of a string maker
>> function. Something like:
>>
>> (defn string-maker [string-name the-string]
>>  (def string-name (str the-string)))
>>
>> so that I can call the function like so:
>>
>> (string-maker "friend" "Peter")
>>
>> which I expect to give me the variable:   friend
>> with the value: Peter
>>
>> But alas, no luck. Can anybody point me in the right direction?
>> Thanks!
>> tuba
>>
>> --
>> 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 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 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

Re: Namespace Docstrings?

2011-07-14 Thread MHOOO
I'd say that is a bug.
On clojure 1.3 "resolve" throws an error when passed a symbol naming a
namespace. That is why clojure.repl/doc throws an exception already
during macro invocation & the last cond within it, which checks for
namespaces, never gets evaluated.
So your work-around is what I'd use: or write a patch :?)

On Jul 14, 11:46 am, OGINO Masanori  wrote:
> Hello.
>
> What is the right way to display namespace docstrings?
>
> One day, as usual, I typed:
>
> (doc 'clojure.core) ; or other namespace
>
> Then the REPL said "clojure.lang.Cons cannot be cast to clojure.lang.Symbol."
> I thought "Ah, I know, the message means "(quote clojure.core) cannot
> be cast to the symbol clojure.core." I'm wrong." and typed:
>
> (doc clojure.core)
>
> Then the REPL said "ClassNotFoundException clojure.core."
> I thought "Indeed, clojure.core seems to be an class name...
> Precisely, can (doc) display namespace docstrings?" and typed:
>
> (source doc)
>
> Oh, (doc) uses (find-ns), so (doc) should display namespace docstrings. But 
> how?
> Finally I wrote (:doc (meta (the-ns 'clojure.core))) but I know this
> is a wrong way.
> When I forget this ad-hoc solution, I'll repeat above.
>
> I determined to ask it because I have repeated again just now and I'm annoyed.
> Any thought?
>
> Thanks.
>
> --
> Name:  OGINO Masanori (荻野 雅紀)
> E-mail: masanori.og...@gmail.com

-- 
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


Re: Noobie needs help

2011-07-14 Thread Resty Cena
That works! Awesome!

On Thu, Jul 14, 2011 at 5:17 AM, Jonathan Fischer Friberg <
odysso...@gmail.com> wrote:

> I see I misunderstood the question, sorry about that.
>
> What you want is a macro:
>
> (defmacro string-maker [string-name the-string]
>   `(def ~(symbol string-name) ~the-string))
>
> Jonathan
>
>
> On Thu, Jul 14, 2011 at 1:13 PM, Giancarlo Angulo wrote:
>
>> Please look at this:
>> http://clojure.org/data_structures
>> see maps.
>> 
>>Giancarlo Angulo
>> 
>> -|-^_^X@^_^,=|+^_^X~_~@-
>> 
>>
>>
>>
>>
>> On Thu, Jul 14, 2011 at 2:41 PM, Tuba Lambanog 
>> wrote:
>>
>>> Hello,
>>> Total noobie here. I'm trying to create a sort of a string maker
>>> function. Something like:
>>>
>>> (defn string-maker [string-name the-string]
>>>  (def string-name (str the-string)))
>>>
>>> so that I can call the function like so:
>>>
>>> (string-maker "friend" "Peter")
>>>
>>> which I expect to give me the variable:   friend
>>> with the value: Peter
>>>
>>> But alas, no luck. Can anybody point me in the right direction?
>>> Thanks!
>>> tuba
>>>
>>> --
>>> 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 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 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 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

Re: Noobie needs help

2011-07-14 Thread Alan Malloy
For what it's worth, Giancarlo makes a good (though vague) point when
recommending maps. You rarely (but not never!) want to def something
programmatically: defs are for things you as the programmer want to
give names to and have access to directly in source code. Often, this
sort of "define a bunch of similar named things" task is better
accomplished with one top-level def, holding a map. For example, you
might have

(defmacro string-maker [string-name the-string]
  `(def ~(symbol string-name) ~the-string))

(string-maker "friend" "Peter")
(string-maker "test" "everything")

but simpler in many cases would be

(def strings (into {} (for [[k v] {"friend" "Peter"
   "test" "everything"}]
[(keyword k) v])))

Of course, if you're just writing literals anyway, you might as well
make them keywords instead of strings to begin with:

(def strings {:friend "Peter"
  :test "everything"})

Then you can look up strings with (:friend strings), which is easier
to understand than a top-level def of "friend" - you don't have to
remember what kind of thing friend is, since it says right here that
it's a string! And the code is obviously simpler as well.

Anyway, all that said, sometimes macros that create defs are good
ideas, so feel free to use them, but most of the time there's a better
approach.

On Jul 14, 7:57 am, Resty Cena  wrote:
> That works! Awesome!
>
> On Thu, Jul 14, 2011 at 5:17 AM, Jonathan Fischer Friberg <
>
>
>
>
>
>
>
> odysso...@gmail.com> wrote:
> > I see I misunderstood the question, sorry about that.
>
> > What you want is a macro:
>
> > (defmacro string-maker [string-name the-string]
> >   `(def ~(symbol string-name) ~the-string))
>
> > Jonathan
>
> > On Thu, Jul 14, 2011 at 1:13 PM, Giancarlo Angulo 
> > wrote:
>
> >> Please look at this:
> >>http://clojure.org/data_structures
> >> see maps.
> >> 
> >>                    Giancarlo Angulo
> >> 
> >> -|-^_^X@^_^,=|+^_^X~_~@-
> >> 
>
> >> On Thu, Jul 14, 2011 at 2:41 PM, Tuba Lambanog 
> >> wrote:
>
> >>> Hello,
> >>> Total noobie here. I'm trying to create a sort of a string maker
> >>> function. Something like:
>
> >>> (defn string-maker [string-name the-string]
> >>>  (def string-name (str the-string)))
>
> >>> so that I can call the function like so:
>
> >>> (string-maker "friend" "Peter")
>
> >>> which I expect to give me the variable:   friend
> >>> with the value: Peter
>
> >>> But alas, no luck. Can anybody point me in the right direction?
> >>> Thanks!
> >>> tuba
>
> >>> --
> >>> 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 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 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 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


Anyone on Google+ yet?

2011-07-14 Thread Claudia Doppioslash
My Clojure circle is all set up but empty.
My g+ is: http://gplus.to/gattoclaudia

Please add link to your profile below.

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Joop Kiefte
http://profiles.google.com/ikojba

2011/7/14 Claudia Doppioslash 

> My Clojure circle is all set up but empty.
> My g+ is: http://gplus.to/gattoclaudia
>
> Please add link to your profile below.
>
> --
> 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 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

Re: Anyone on Google+ yet?

2011-07-14 Thread Adam Burry
The man himself:
https://plus.google.com/101598622654270873929/posts

On Jul 14, 3:12 pm, Claudia Doppioslash
 wrote:
> My Clojure circle is all set up but empty.
> My g+ is:http://gplus.to/gattoclaudia
>
> Please add link to your profile below.

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Allen Johnson
> Please add link to your profile below.

https://plus.google.com/101461247790324463561/posts

>
> --
> 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 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


Re: Anyone on Google+ yet?

2011-07-14 Thread Vivek Khurana
On Thu, Jul 14, 2011 at 10:42 PM, Claudia Doppioslash
 wrote:
> My Clojure circle is all set up but empty.
> My g+ is: http://gplus.to/gattoclaudia
>
> Please add link to your profile below.

gplus.to/vivekk

regards
Vivek

-- 
The hidden harmony is better than the obvious!!

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Tuba Lambanog
http://profiles.google.com/tuba.lambanog

On Thu, Jul 14, 2011 at 11:12 AM, Claudia Doppioslash <
claudia.doppiosl...@gmail.com> wrote:

> My Clojure circle is all set up but empty.
> My g+ is: http://gplus.to/gattoclaudia
>
> Please add link to your profile below.
>
> --
> 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 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

Re: Anyone on Google+ yet?

2011-07-14 Thread Adam
https://plus.google.com/u/0/115627632525564353062/posts

~Adam~


On Thu, Jul 14, 2011 at 13:42, Tuba Lambanog wrote:

> http://profiles.google.com/tuba.lambanog
>
>
> On Thu, Jul 14, 2011 at 11:12 AM, Claudia Doppioslash <
> claudia.doppiosl...@gmail.com> wrote:
>
>> My Clojure circle is all set up but empty.
>> My g+ is: http://gplus.to/gattoclaudia
>>
>> Please add link to your profile below.
>>
>> --
>> 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 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 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

Re: Anyone on Google+ yet?

2011-07-14 Thread Jonathan Cardoso
https://plus.google.com/115729535012467854741

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread .Bill Smith
https://plus.google.com/118394169108343238158

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread Brian
https://plus.google.com/100763770877733610336/posts


On Thu, Jul 14, 2011 at 3:15 PM, Jonathan Cardoso
wrote:

> https://plus.google.com/115729535012467854741
>
>  --
> 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 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

Re: Anyone on Google+ yet?

2011-07-14 Thread Charlie Griefer
On Thu, Jul 14, 2011 at 10:12 AM, Claudia Doppioslash
 wrote:
> My Clojure circle is all set up but empty.
> My g+ is: http://gplus.to/gattoclaudia
>
> Please add link to your profile below.

https://plus.google.com/115906367193916269897/

-- 
Charlie Griefer
http://charlie.griefer.com/

I have failed as much as I have succeeded. But I love my life. I love
my wife. And I wish you my kind of success.

-- 
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


Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)

2011-07-14 Thread Tuba Lambanog
Hello,

I'm getting an unresolved var error when I do (doc subset?), thus:


Interactive Clojure console.
Starting...
Clojure 1.2.0
user=> (doc subset?)
java.lang.Exception: Unable to resolve var: subset? in this context
(NO_SOURCE_FILE:1)

I'm able to do doc on other forms.

My clojure and clojure-contrib directories are in the root of my
username directory.
I am running repl.sh under another directory.

Something perhaps in my clojure development environment (Mac OSX
10.6)?

Thanks.

-- 
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


Odp: Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)

2011-07-14 Thread Daniel Janus
subset? is in the clojure.set namespace, so you must (use 'clojure.set) 
before you can
use subset? unqualified.

-- 
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

Re: How to add jar files to leiningen projects?

2011-07-14 Thread Shantanu Kumar


On Jul 14, 7:55 am, Mark Rathwell  wrote:
> The listing is nice...maybe would be nice to be able to limit the listing to
> one artifact, or a match of artifacts with wildcards, not sure if the
> feature would be used enough to justify the work though, but something like:
>
> lein localrepo list "*ring*"
>
> would output:
>
> [ring]
>   ring-core (0.2.0, 0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
>   ring-devel (0.3.5, 0.3.7, 0.3.8)
>   ring-jetty-adapter (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
>   ring-servlet (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
>
> [lein-ring]
>   lein-ring (0.3.2, 0.4.0, 0.4.3)

Hmm, personally I think `grep` would fit this kind of usage nicely but
I can see why that won't work. How about doing a lein-search's style
of display?

$ lein localrepo list | grep ring

ring/ring-core (0.2.0, 0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
ring/ring-devel (0.3.5, 0.3.7, 0.3.8)
ring/ring-jetty-adapter (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
ring/ring-servlet (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
lein-ring/lein-ring (0.3.2, 0.4.0, 0.4.3)

Does that look palatable?

Regards,
Shantanu

-- 
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


Re: Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)

2011-07-14 Thread Tuba Lambanog
Thank you!
Tuba

On Thu, Jul 14, 2011 at 2:24 PM, Daniel Janus  wrote:

> subset? is in the clojure.set namespace, so you must (use 'clojure.set)
> before you can
> use subset? unqualified.
>
> --
> 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 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

Re: How to add jar files to leiningen projects?

2011-07-14 Thread Mark Rathwell
Looks good to me ;)

On Thu, Jul 14, 2011 at 4:31 PM, Shantanu Kumar wrote:

>
>
> On Jul 14, 7:55 am, Mark Rathwell  wrote:
> > The listing is nice...maybe would be nice to be able to limit the listing
> to
> > one artifact, or a match of artifacts with wildcards, not sure if the
> > feature would be used enough to justify the work though, but something
> like:
> >
> > lein localrepo list "*ring*"
> >
> > would output:
> >
> > [ring]
> >   ring-core (0.2.0, 0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
> >   ring-devel (0.3.5, 0.3.7, 0.3.8)
> >   ring-jetty-adapter (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
> >   ring-servlet (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
> >
> > [lein-ring]
> >   lein-ring (0.3.2, 0.4.0, 0.4.3)
>
> Hmm, personally I think `grep` would fit this kind of usage nicely but
> I can see why that won't work. How about doing a lein-search's style
> of display?
>
> $ lein localrepo list | grep ring
>
> ring/ring-core (0.2.0, 0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
> ring/ring-devel (0.3.5, 0.3.7, 0.3.8)
> ring/ring-jetty-adapter (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
> ring/ring-servlet (0.2.0-RC2, 0.3.5, 0.3.7, 0.3.8)
> lein-ring/lein-ring (0.3.2, 0.4.0, 0.4.3)
>
> Does that look palatable?
>
> Regards,
> Shantanu
>
> --
> 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 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

Re: Anyone on Google+ yet?

2011-07-14 Thread Sergey Didenko
IMHO, it's worth to add "Clojure" to your Sparks.

Mine:
https://profiles.google.com/109116565377929735698

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread Sergey Didenko
I wrote on Google+, but I feel it can left unnoticed with the current
message pace.

Let's not post our common messages to the Clojure Circle to make it more
useful.

P.S. Posting to "Public" also posts to "Clojure".

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread Justin Lilly
http://gplus.to/justinlilly

On Jul 14, 10:12 am, Claudia Doppioslash
 wrote:
> My Clojure circle is all set up but empty.
> My g+ is:http://gplus.to/gattoclaudia
>
> Please add link to your profile below.

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread ianp
Ian 

Looks like G+ is pretty popular with the Clojure crowd :-)

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread Devin Walters
http://gplus.to/devn

-- 
Devin Walters


On Thursday, July 14, 2011 at 6:00 PM, ianp wrote:

> Ian (https://plus.google.com/110915919730271680589)
> 
> Looks like G+ is pretty popular with the Clojure crowd :-) 
> 
>  -- 
>  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 
> (mailto: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 
> (mailto: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 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


Re: Anyone on Google+ yet?

2011-07-14 Thread Sean Corfield
On Thu, Jul 14, 2011 at 4:00 PM, ianp  wrote:
> Looks like G+ is pretty popular with the Clojure crowd :-)

I've been using it for a while and I don't see the point. With
Facebook for *friends* and Twitter for tech talk (and LinkedIn for
professional networking), what purpose does G+ have?

I just found it annoying. I recently turned off all email
notifications and deleted everyone from my circles and disabled most
of the features and now, apart from the occasional annoying red
notification icon in Gmail, I can completely ignore it.

Is it just a case of "ooh, shiny! Google released a new toy!" or is
there actually some tangible useful benefit to a developer being on
G+?
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Islon Scherer
http://gplus.to/islonscherer

On Jul 14, 8:55 pm, Sean Corfield  wrote:
> On Thu, Jul 14, 2011 at 4:00 PM, ianp  wrote:
> > Looks like G+ is pretty popular with the Clojure crowd :-)
>
> I've been using it for a while and I don't see the point. With
> Facebook for *friends* and Twitter for tech talk (and LinkedIn for
> professional networking), what purpose does G+ have?
>
> I just found it annoying. I recently turned off all email
> notifications and deleted everyone from my circles and disabled most
> of the features and now, apart from the occasional annoying red
> notification icon in Gmail, I can completely ignore it.
>
> Is it just a case of "ooh, shiny! Google released a new toy!" or is
> there actually some tangible useful benefit to a developer being on
> G+?
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View --http://corfield.org/
> World Singles, LLC. --http://worldsingles.com/
> Railo Technologies, Inc. --http://www.getrailo.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Luc Prefontaine
G+ stands for what ? Gräfenberg zone + ?


On Thu, 14 Jul 2011 16:55:21 -0700
Sean Corfield  wrote:

> On Thu, Jul 14, 2011 at 4:00 PM, ianp  wrote:
> > Looks like G+ is pretty popular with the Clojure crowd :-)
> 
> I've been using it for a while and I don't see the point. With
> Facebook for *friends* and Twitter for tech talk (and LinkedIn for
> professional networking), what purpose does G+ have?
> 
> I just found it annoying. I recently turned off all email
> notifications and deleted everyone from my circles and disabled most
> of the features and now, apart from the occasional annoying red
> notification icon in Gmail, I can completely ignore it.
> 
> Is it just a case of "ooh, shiny! Google released a new toy!" or is
> there actually some tangible useful benefit to a developer being on
> G+?



-- 
Luc P.


The rabid Muppet

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread tonyl
http://tonylara.net/+

On Jul 14, 6:09 pm, Devin Walters  wrote:
> http://gplus.to/devn
>
> --
> Devin Walters
>
>
>
>
>
>
>
> On Thursday, July 14, 2011 at 6:00 PM, ianp wrote:
> > Ian (https://plus.google.com/110915919730271680589)
>
> > Looks like G+ is pretty popular with the Clojure crowd :-)
>
> >  --
> >  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 
> > (mailto: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 
> > (mailto: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 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


Re: Namespace Docstrings?

2011-07-14 Thread OGINO Masanori
Hello.

MHOOO, thank you.
Sorry, for long time I haven't used 1.2, so I forgot checking 1.2.1!
Yes, I use 1.3b1.  Sorry for my unkindness.

Since I haven't sent a CA yet, maybe it's not time to send a patch.
However, IMO it's not an issue of (resolve), because (resolve) throws
even if 1.2.1 and (resolve) can resolve classes.

(resolve 'String)

So all we should do is put (find-ns) pair before (resolve) pair, I think.
Could any developer review? Or already fixed in master?

Thanks.

-- 
Name:  OGINO Masanori (荻野 雅紀)
E-mail: masanori.og...@gmail.com

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Charlie Griefer
On Thu, Jul 14, 2011 at 4:55 PM, Sean Corfield  wrote:
> Is it just a case of "ooh, shiny! Google released a new toy!" or is
> there actually some tangible useful benefit to a developer being on
> G+?

Not to get too far OT here, but I think there's definitely _potential_.

I organize my social networks the same way you do: twitter for the
programming community at large, and Facebook for family/friends (I
have LinkedIn as well, but rarely bother with that).

G+ could potentially eliminate the need for two separate networks, and
consolidate the "programming community" and "personal" into one single
network organized by circles.

Even within Facebook... there may be something that I want to share
with friends, but I don't necessarily want my Mom to see. G+ would
handle that nicely, by letting me share something with everybody in
the circle that's called, "People who are not my Mom".

Obviously the big question is going to be whether or not everybody
else migrates over to it... and I do agree that right now there's the
shiny novelty factor, but I do think it has potential to be a
legitimate and efficient one-stop-shop for social networking amongst a
variety of social groups.

-- 
Charlie Griefer
http://charlie.griefer.com/

I have failed as much as I have succeeded. But I love my life. I love
my wife. And I wish you my kind of success.

-- 
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


Re: Namespace Docstrings?

2011-07-14 Thread OGINO Masanori
Well, with my solution, namespace's docstring is shown when the same
name exists both in vars and namespaces.

So it seems better to remain (doc) and wrap the body of (ns-resolve) by

(try
  ...
  (catch Exception e nil))

because (ns-resolve) docstring says "else nil", though it actually
throws an exception!

Thanks.

-- 
Name:  OGINO Masanori (荻野 雅紀)
E-mail: masanori.og...@gmail.com

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Dave Ray
http://profiles.google.com/daveray

maybe this is a dumb question, but am I supposed to manually add
everyone on this thread in G+? Seems a little unwieldy.

dave

On Thu, Jul 14, 2011 at 8:56 PM, Charlie Griefer
 wrote:
> On Thu, Jul 14, 2011 at 4:55 PM, Sean Corfield  wrote:
>> Is it just a case of "ooh, shiny! Google released a new toy!" or is
>> there actually some tangible useful benefit to a developer being on
>> G+?
>
> Not to get too far OT here, but I think there's definitely _potential_.
>
> I organize my social networks the same way you do: twitter for the
> programming community at large, and Facebook for family/friends (I
> have LinkedIn as well, but rarely bother with that).
>
> G+ could potentially eliminate the need for two separate networks, and
> consolidate the "programming community" and "personal" into one single
> network organized by circles.
>
> Even within Facebook... there may be something that I want to share
> with friends, but I don't necessarily want my Mom to see. G+ would
> handle that nicely, by letting me share something with everybody in
> the circle that's called, "People who are not my Mom".
>
> Obviously the big question is going to be whether or not everybody
> else migrates over to it... and I do agree that right now there's the
> shiny novelty factor, but I do think it has potential to be a
> legitimate and efficient one-stop-shop for social networking amongst a
> variety of social groups.
>
> --
> Charlie Griefer
> http://charlie.griefer.com/
>
> I have failed as much as I have succeeded. But I love my life. I love
> my wife. And I wish you my kind of success.
>
> --
> 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 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


Re: Anyone on Google+ yet?

2011-07-14 Thread Neal Jansons
https://plus.google.com/u/0/102817588588027389796/

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread rberger
https://plus.google.com/102970635728322017075/posts

-- 
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

Re: Anyone on Google+ yet?

2011-07-14 Thread Kyle Root
gplus.to/Kylert

On Thu, Jul 14, 2011 at 7:00 PM, ianp  wrote:
> Ian
>
> Looks like G+ is pretty popular with the Clojure crowd :-)
>
> --
> 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 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


Re: Anyone on Google+ yet?

2011-07-14 Thread Claudia Doppioslash
Yep, you're supposed to add everyone by hand and yes, it is totally unwieldy.
That's the way it is right now.
Circles are private and every user is supposed to make their own.

cla

2011/7/15 Dave Ray :
> http://profiles.google.com/daveray
>
> maybe this is a dumb question, but am I supposed to manually add
> everyone on this thread in G+? Seems a little unwieldy.
>
> dave

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Nick Brown
It looks to me like it will have decent potential once all Google's
services get integrated it in.  So you can post stories from Google
News and Google Reader, share Google Docs with a circle, create a
circle based on a Google Group and all its members automatically get
added...
Oh well, until then, we can just indulge in the "Ooh Shiny!" mindset.
http://gplus.to/nwbrown

On Jul 14, 8:56 pm, Charlie Griefer  wrote:
> On Thu, Jul 14, 2011 at 4:55 PM, Sean Corfield  wrote:
> > Is it just a case of "ooh, shiny! Google released a new toy!" or is
> > there actually some tangible useful benefit to a developer being on
> > G+?
>
> Not to get too far OT here, but I think there's definitely _potential_.
>
> I organize my social networks the same way you do: twitter for the
> programming community at large, and Facebook for family/friends (I
> have LinkedIn as well, but rarely bother with that).
>
> G+ could potentially eliminate the need for two separate networks, and
> consolidate the "programming community" and "personal" into one single
> network organized by circles.
>
> Even within Facebook... there may be something that I want to share
> with friends, but I don't necessarily want my Mom to see. G+ would
> handle that nicely, by letting me share something with everybody in
> the circle that's called, "People who are not my Mom".
>
> Obviously the big question is going to be whether or not everybody
> else migrates over to it... and I do agree that right now there's the
> shiny novelty factor, but I do think it has potential to be a
> legitimate and efficient one-stop-shop for social networking amongst a
> variety of social groups.
>
> --
> Charlie Grieferhttp://charlie.griefer.com/
>
> I have failed as much as I have succeeded. But I love my life. I love
> my wife. And I wish you my kind of success.

-- 
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


Re: Anyone on Google+ yet?

2011-07-14 Thread Allen Johnson
> Yep, you're supposed to add everyone by hand and yes, it is totally unwieldy.
> That's the way it is right now.
> Circles are private and every user is supposed to make their own.

I'm definitely liking it so far. Although I do find myself avoiding
public posts to avoid spamming everyone in the Clojure circle but
maybe I'm thinking about it too much. Because of this experiment I'm
following lots of interesting people that I otherwise might not have
found.

We all share a common interest in clojure -- this is a fun way to see
what other interests we all share.

Allen

>
> cla
>
> 2011/7/15 Dave Ray :
>> http://profiles.google.com/daveray
>>
>> maybe this is a dumb question, but am I supposed to manually add
>> everyone on this thread in G+? Seems a little unwieldy.
>>
>> dave
>
> --
> 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 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


can't set up Clojure 1.2.1

2011-07-14 Thread Larry Travis
I need to upgrade from the older version of Clojure I have been using so 
I downloaded Version 1.2.1 and followed these instructions from 
http://clojure.org/getting_started:


In the directory in which you expanded clojure.zip, run:

java -cp clojure.jar clojure.main

This will bring up a simple read-eval-print loop (REPL).

==
But this is what I get:

bash-3.2$ java -cp clojure.jar clojure.main
Exception in thread "main" java.lang.NoClassDefFoundError: clojure/main
Caused by: java.lang.ClassNotFoundException: clojure.main
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)



I don't know how to find my way around in the Java world. What should I 
do differently?


Thanks for your help.

  --Larry

--
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


Re: can't set up Clojure 1.2.1

2011-07-14 Thread Jonathan Cardoso
Weird =S. 

That only happens when you're not on the folder containing the clojure.jar 
or when you try to call clojure from a different folder without setting the 
classpath.

-- 
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

Re: can't set up Clojure 1.2.1

2011-07-14 Thread Larry Travis

Jonathan:
Thanks.  When the instructions said "the directory in which you expanded 
clojure.zip" I took that to mean the directory I was in when I expanded 
clojure.zip, not the directory that was created to hold the zip-file 
contents.

  --Larry

On 7/14/11 10:05 PM, Jonathan Cardoso wrote:

Weird =S.

That only happens when you're not on the folder containing the 
clojure.jar or when you try to call clojure from a different folder 
without setting the classpath.

--
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 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