Re: where do you put clojure.java.jdbc?????
jayvandal: If you don't use Leiningen, make sure that the pathname for clojure.java.jdbc jar file exists in classpath. On Oct 25, 1:39 pm, Sean Corfield wrote: > On Mon, Oct 24, 2011 at 8:36 PM, jayvandal wrote: > > I am running Vista. I installed Clojure as c:\clojure. > > You don't need to "install" Clojure if you're using Leiningen (and I'd > recommend you use Leiningen for managing project dependencies). > > > Where and how do you put the file > > > [org.clojure/java.jdbc "0.0.3-SNAPSHOT"]] > > In project.clj (see Leiningen above) - and "0.1.0" is the current > version of c.j.jdbc. > -- > 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: Please help me on submitting the Contributor Agreement
Stu: Thanks a lot. On Oct 16, 7:24 pm, Stuart Halloway wrote: > > I want to submit the Contributor Agreement. > > > One question is whether the following mail address on > >http://clojure.org/contributingis still valid: > > > Rich Hickey > > 514 South Duke Street > > Durham, NC 27701 > > > The other question is whether the above address is in USA. I live in > > Beijing. I need to fill the country name in mail address. > > Yes, that is a valid address, and it is in the USA. > > Cheers, > 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
Please help me on submitting the Contributor Agreement
I want to submit the Contributor Agreement. One question is whether the following mail address on http://clojure.org/contributing is still valid: Rich Hickey 514 South Duke Street Durham, NC 27701 The other question is whether the above address is in USA. I live in Beijing. I need to fill the country name in mail address. -- 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: tools.logging vs clojure.contrib.logging
Sean: The links give me a clear answer. On Oct 13, 2:30 am, peta wrote: > On clojure.org the libraries link at the bottom of the left bar should > take you Clojure+Contrib because thats about as close to official > libraries as clojure gets. > The Clojure+Contrib page can reference the community/libraries page if > it wants. > > Also I find heading "Where Did Clojure.Contrib Go". Why not the same > as the link in Clojure+Contrib -- "Coljure.Contrib Migration Guide". -- 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
Is it possible to make a mirror of clojure.org?
When programming in Clojure, I use the Reference documentation on clojure.org a lot. But my network condition is horrible. So I want to make a off-line copy. I have tried "wget -x -m -k http://clojure.org"; to make a mirror of clojure.org. But it does not work. Can anybody help me on this? 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
Re: tools.logging vs clojure.contrib.logging
Jonathan: Thanks. On Oct 12, 11:15 pm, Jonathan Fischer Friberg wrote: > As I understand it, tools.logging was created from clojure.contrib.logging > (but has been updated since). > > In any case; if there exists a library in clojure/, which can perform the > same things as some part of contrib, use the clojure/ one. > > > > > > > > On Wed, Oct 12, 2011 at 5:06 PM, jingguo wrote: > > Is tools.logging is a replacement of clojure.contrib.logging? > > Which one should I use? > > > -- > > 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
tools.logging vs clojure.contrib.logging
Is tools.logging is a replacement of clojure.contrib.logging? Which one should I use? -- 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: The Website / Wikispaces
I do with the use of Chrome browser. On Oct 12, 10:30 pm, Chas Emerick wrote: > Wikispaces does some strange https redirects through its own domain for > session handling. If your agent doesn't react as it expects, you can end up > in all sorts of strange places (including having no way to get to clojure.org > at all if your internet connection disallows https entirely, i.e. some less > reputable free mobile phone tethering apps). > > - Chas > > On Oct 12, 2011, at 8:54 AM, Stuart Sierra wrote: > > > > > > > > > I saw this effect when using wget onhttp://clojure.org/but I can't explain > > it either. > > > -S > > > -- > > 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: Is there a clojure counterpart for java.lang.String indexOf method?
Thanks for your clarification. On Oct 9, 11:47 pm, Stephen Compall wrote: > On Sun, 2011-10-09 at 07:36 -0700, jingguo wrote: > > Does clojure has a API for this? I have checked clojure.core and > > clojure.string. > > It seems that clojure does not have a counterpart for indexOf. > > No, it doesn't. > > There's usually a way to do string operations that you traditionally do > with indexOf using other tools like regular expressions; these also have > the benefit of helping you avoid fencepost errors. > > For example, if you wanted all the text before and after "12" in a > string, you could match #"(?s)(.*?)12(.*)". > > That aside, while the lack of a Clojure-level facility should give you a > nudge to consider such alternatives, it's perfectly fine to call Java > when needed. > > -- > Stephen Compall > ^aCollection allSatisfy: [:each|aCondition]: less is better -- 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
Is there a clojure counterpart for java.lang.String indexOf method?
java.lang.String has a method called indexOf(String str). We can use it with clojure in the following way: (.indexOf "012" "12") Does clojure has a API for this? I have checked clojure.core and clojure.string. It seems that clojure does not have a counterpart for indexOf. -- 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: why expressions in macro are not evaluated?
Michael, thanks for your explanation. I have used dorun to solve my problem following your suggestion. -- 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
why expressions in macro are not evaluated?
I write a simple macro and an invocation of the macro. Here is the code: (defmacro my-macro [& body] `(for [cur-date# ["2011-09-04" "2011-09-05"]] (do ~@body) ) ) (my-macro (printf "a_message\n") ) I get a_message printed twice if I paste the code in a clojure REPL. But I save the code into a file called foo.clj and use "clj foo.clj" to run it. I get nothing in stdout. It seems that (printf "a_message \n") is not evaluated. Can anybody explain this behavior? 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