Shantanu-
> One suggestion -- consider providing a downloadable
> bundle for offline use as well.
I believe there's an item up on the UserVoice page (http://
clojuredocs.uservoice.com/) keep an eye out for updates and comments
there.
-Zack
On Jul 10, 3:29 am, Shantanu Kumar wrote:
> This is g
how many men have we killed in our life..we're not europeans
On Sat, Jul 10, 2010 at 6:47 PM, wrote:
> Today's Topic Summary
>
> Group: http://groups.google.com/group/clojure/topics
>
> bigint discrepency [1 Update]
> CCW zombie error markers [1 Update]
> Proposal: Digest [1 Update]
> Idiomat
Heinz-
> first of all, great effort there :) having a place for clojure docs is
> awesome.
Thanks, appreciated.
> 1) http://github.com/defn/walton - have a look at it, it might be a
> good way to fetch examples for functions where none are provided yet.
I'll take a look.
> 2) Will it be po
Greg-
I'd like to take the time to look over the post you linked in-depth
before responding.
> but what do you think about using Justin's codebase, or an Aleph-based server
> to
> host the thing instead of Ruby/Rails? (see the link above for more details)
I'm inclined to move forward with the R
> http://gist.github.com/470031
>
> I'm sure something like it could be made for ClojureDocs.org once the
> API is in place.
Nice, looks pretty straightforward.
> I think an important aspect of a
> collaborative tool like this is quality control. To that end, a
> complete list of recent updates
> Since 1.5 coerces to 1, shouldn't "1.5" also coerce to 1?
The doc says "Coerce to BigInteger", but that doesn't include double-
quoted numbers. If (bigint) can't make up what you give it, it'll try
BigInteger(byte[] val) or BigInteger(String val). Java calls can
create inconsistencies but in thi
> To test with pooled DB connections I thought I'd mention Apache Commons
> dbcp. Its a generic connection pool library that could be used for any jdbc
> connection.
There's also the lighter-weight MiniCollectionPoolManager. See
http://www.source-code.biz/snippets/java/8.htm
-Regards, Adrian.
--
> The current build.clojure.org is about to be replaced. We have a new build
> box that we should be pointing the DNS to, hopefully this weekend.
Maybe clojurebot can announce build results in #clojure?
Miki
--
You received this message because you are subscribed to the Google
Groups "Clojure"
Hello David,
> http://dosync.posterous.com/22516635
I'm interested to see what will be CouchDB numbers when there are
indexes on the data.
In my experience, this is a speed killer.
All the best,
--
Miki
--
You received this message because you are subscribed to the Google
Groups "Clojure" group
Hello Bill,
> user=> (bigint "1")
> 1
> user=> (bigint "1.5")
> java.lang.NumberFormatException: For input string:
> "1.5" (NO_SOURCE_FILE:0)
>
> Since 1.5 coerces to 1, shouldn't "1.5" also coerce to 1?
This comes from Java's implementation of BigInteger
user=> (new BigInteger "1.5")
java.lang.Nu
I ran across this while editing http://clojure-examples.appspot.com:
user=> (bigint 1)
1
user=> (bigint 1.5)
1
user=> (bigint "1")
1
user=> (bigint "1.5")
java.lang.NumberFormatException: For input string:
"1.5" (NO_SOURCE_FILE:0)
Since 1.5 coerces to 1, shouldn't "1.5" also coerce to 1?
user=>
I'm using Eclipse/Counterclockwise and on a couple of occasions have had errors
(e.g. once with a java.lang.IllegalArgumentException) that produce an error
marker (a red circle with a white "x" in the left margin) that won't go away
when the error is fixed, or even when closing/reopening the do
Hi,
I want to propose a wrapper around MessageDigest to provide a simple way
to generate digests.
The following proposal includes a multimethods digest, which operates either
on strings or on arrays of bytes.
I think digests are usuall used with strings. To expose the byte array api
from java's
On Sat, 10 Jul 2010 03:42:16 -0700 (PDT)
Jeff Rose wrote:
> On Jul 9, 6:22 pm, Mike Meyer 620...@mired.org> wrote:
> > How have you managed to miss the second half of "that's the way they
> > do it in Java", which is "and we need to interoperate with other JVM
> > languages." Like it or not, one
On Sat, Jul 10, 2010 at 3:42 AM, Jeff Rose wrote:
> Luckily for us, I think the tide is already rising on this
> conversation. Most prominent Clojure libraries are adopting the same
> packaging scheme as clojure.core, and we are uploading our libraries
> to the wild and crazy, totally uncensored
Let's say I have a table called :table, and a column called :col, and
I want to go through all the records in the table and set the :col
value to 0. I had been doing it like this:
(defn update-db! []
(doseq [entry (fetch :table)]
(update! :table entry (assoc entry :col 0
but the other d
Zack if you need help with this Rail
app let us now. We can give you a
hand, the wish list keeps growing :)))
Luc P.
Sent from my iPod
On 2010-07-09, at 15:07, zkim wrote:
Hi Justin, thanks again for the go-ahead to pull examples from
http://clojure-examples.appspot.com.
Zack, you had me
On 10 июл, 14:42, Jeff Rose wrote:
> I also disagree with this concept of putting the language in the
> package name. One of the benefits of compiling down to a common
> runtime is that we don't need to care what language something was
> written in. I think this kind of meta-data, along with the
Does anyone use Redcar editor with Clojure? I am thinking about
writing a Clojure REPL plugin, but wanted to make sure no one else has
already done this. Would anyone find this useful, or is there no need
for it with the plethora of other options (emacs/slime/swank,
counterclockwise, etc.)?
--
Y
Here are my examples for mysql and postgres using commons-dbcp. They
are exactly the same except for the connection info. Might want to
play around with the initial,min,max size properties.
[MySQL]
http://gist.github.com/470901
[PostgreSQL]
http://gist.github.com/470904
Just download and include
On 10 July 2010 15:06, Stuart Halloway wrote:
> (6) Because docstrings are designed for consumption at a REPL, they may in
> some cases presume a fixed font. Worth considering for display on the site.
What about giving function documentation the same "wiki" behaviour
that the examples have? Star
To test with pooled DB connections I thought I'd mention Apache Commons
dbcp. Its a generic connection pool library that could be used for any jdbc
connection.
I'd post a example clojure usage but I'm afk atm. The lib's BasicDataSource
is probably all you'd need.
Depends on Commons pool. Just pla
I think what you're doing is great. I understand you're using ab for
these tests, right? What are the actual settings that you are using?
Also, I'd like to mention that what these tests are showing is the
behavior of the server under constant load (constant frequency in the
arrival times of the re
On Fri, Jul 9, 2010 at 11:08 PM, tbatchelli wrote:
> Hi David,
>
> Out of curiosity, how are these tests connecting to the database,
> especially in the cases of MongoDB and CouchDB? In the case of CouchDB
> you're clearly using HTTP in a way that it creates one connection per
> request, I believ
On Sat, Jul 10, 2010 at 2:56 PM, Mike Meyer
wrote:
>>As another suggestion how about clj.handle.library e.g
>>clj.mired.proclog
>>clj.weavejester.compojure
>>clj.acme-corp.dynamite
>
> Why should I prefer clj.mired, shared with gods knows who over org.mired,
> shared with nobody?
You wouldn't; s
On Sat, Jul 10, 2010 at 12:06 PM, Saul Hazledine wrote:
>
> As another suggestion how about clj.handle.library e.g
> clj.mired.proclog
> clj.weavejester.compojure
> clj.acme-corp.dynamite
+1
martin
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To
Very cool. Let me start by saying thanks to everyone who has been involved in
the various threads on improving documentation, especially those who, like
Zack, have taken substantial action.
Here are a bunch of ideas, in no particular order:
(1) Ease of contribution is huge, and http://clojuredo
On 9 July 2010 21:06, Tom Faulhaber wrote:
> Quick thought: You probably don't want to include private vars.
Seconded. It's a little confusing seeing private vars and macros in
the API docs!
Other than that, this looks excellent. I'm signing up as I write this.
- James
--
You received this me
You are looking at the wrong build box. The master branch is at
http://github.com/clojure/clojure, now that GitHub offers organization support.
The current build.clojure.org is about to be replaced. We have a new build box
that we should be pointing the DNS to, hopefully this weekend.
Stu
> I
On 10 July 2010 09:06, James Reeves wrote:
> On 9 July 2010 17:46, Paul Moore wrote:
>> Is there any benefit to using a name like foo.core (or foo.api) rather
>> than simply foo (beyond sytlistic considerations, that is)?
>
> Clojure compiles "foo" to a package-less class called "foo".
> "foo.cio
This is GREAT!!! I love the way you have opened it up for community
participation.
Robert
On Jul 9, 4:32 am, zkim wrote:
> Hi All,
>
> I'll try to keep this short.
>
> I've gotten a lot out of Clojure: I can honestly say that learning
> this language, and being part of this community has made m
I think it is because the last commit of the master branch is on June
24, 2010:
http://github.com/richhickey/clojure/commits/master
On Jul 10, 12:24 pm, Dmitry Kakurin wrote:
> The last successful build was on June 23rd.
>
> - Dmitry
--
You received this message because you are subscribed to t
Now version 0.4.0 is out,
it fixes a evil bug that had problems with forms like (. obj (meth arg)) and
also introduces a pretty cool new feature: It allows a somewhat save use of def
and defn, this is by far not perfect sadly but it is a step towards the
direction of having a sandbox that allows
On Jul 9, 6:22 pm, Mike Meyer wrote:
> How have you managed to miss the second half of "that's the way they
> do it in Java", which is "and we need to interoperate with other JVM
> languages." Like it or not, one of the biggest draws of Clojure is
> that it interoperates with Java.
Nothing abou
This is great. One suggestion -- consider providing a downloadable
bundle for offline use as well.
Regards,
Shantanu
On Jul 10, 2:11 pm, "Heinz N. Gies" wrote:
> Hi Zack,
> first of all, great effort there :) having a place for clojure docs is
> awesome. Two things come to mind:
>
> 1)http://gi
"Saul Hazledine" wrote:
>On Jul 10, 12:16 am, Mike Meyer 620...@mired.org> wrote:
>> On Fri, 9 Jul 2010 12:49:05 -0700 (PDT)
>>
>> j-g-faustus wrote:
>> > That said, I would leap at a chance to shorten Java names, even if it
>> > were just to chop off the leading "com" or "org".
>>
>> As the ow
Hi Zack,
first of all, great effort there :) having a place for clojure docs is awesome.
Two things come to mind:
1) http://github.com/defn/walton - have a look at it, it might be a good way to
fetch examples for functions where none are provided yet.
2) Will it be possible to put other 3rd par
2010/7/10 Meikel Brandmeyer
> Hello Laurent,
>
> Am 09.07.2010 um 18:30 schrieb Laurent PETIT:
>
> > But still I prefer to have the library name at the end of the namespace,
> it's easier to spot than in the middle (e.g. I prefer net.cgrand.parsley to
> paredit.core)
>
> Now that is a strange arg
Hello Laurent,
Am 09.07.2010 um 18:30 schrieb Laurent PETIT:
> But still I prefer to have the library name at the end of the namespace, it's
> easier to spot than in the middle (e.g. I prefer net.cgrand.parsley to
> paredit.core)
Now that is a strange argument. net.cgrand.parsley vs. parsley.a
On 9 July 2010 17:46, Paul Moore wrote:
> Is there any benefit to using a name like foo.core (or foo.api) rather
> than simply foo (beyond sytlistic considerations, that is)?
Clojure compiles "foo" to a package-less class called "foo".
"foo.ciore" is compiled to a class called "core" in the packa
40 matches
Mail list logo