2010/7/9 Lee Spector
>
> On Jul 8, 2010, at 7:49 PM, Laurent PETIT wrote:
> >
> >> 2010/7/9 Lee Spector
> >>
> >> How is the Clojure version set in Eclipse/Counterclockwise projects? I'm
> still wanting to work in 1.1.0, and while my older projects are using 1.1.0
> my newer ones -- I guess mayb
Hi
On 9 July 2010 08:53, Laurent PETIT wrote:
[...]
>> > 2010/7/8 Lee Spector
[...]
>> >> Aha! It is now working for me on a mac and with control-space, getting
^
>> >> a
>> >> popup menu exactly as you say and as I want!
>> >>
>> >> Perhaps I never actually tried this c
2010/7/9 Michael Wood
> Hi
>
> On 9 July 2010 08:53, Laurent PETIT wrote:
> [...]
> >> > 2010/7/8 Lee Spector
> [...]
> >> >> Aha! It is now working for me on a mac and with control-space,
> getting
>
> ^
> >> >> a
> >> >> popup menu exactly as you say and as I want!
> >
Hi Stuart,
I agree that the main problem here should be solved at the
merge(-with) level. A couple of thoughts on this issue:
On 8 July 2010 21:16, Stuart Halloway wrote:
> Useful? Am I crazy? (Not mutually exclusive.)
I'm inclined to think both. :-)
I think that a "merge-reduce" function woul
Hi Dave,
thanks for pointing out the containsKey bug! I had it fixed locally
and the (comment ...) at the top was written & tested with the fix in
place, but for some reason I left the old version in the Gist... fixed
now.
If merge & merge-with were to coexist with a new "merge-with*" /
"merge-re
I've asked myself this same question 50 times now. My best experience
so far with a community that had packages was Ruby, and it was
incredibly simple. Everyone can choose whatever name they like for
their package as long as it isn't up on rubygems yet. I am strongly
in favor of dropping these r
Like some people mentioned, you can use a parsing library, but often
times I don't think that's necessary if you are just creating a DSL.
There are a couple of other strategies.
One is you can use a series of nested macros that expand into a data
structure. In this way your DSL will sort of auto-
On 9 July 2010 11:17, Laurent PETIT wrote:
[...]
> Isn't it formidable that I automatically overlook the typos :-)
It can be a blessing or a curse :)
--
Michael Wood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send emai
And does anyone has tried to use parser combinators on the result of the
reader, within a macro?
On Fri, Jul 9, 2010 at 11:23 AM, Jeff Rose wrote:
> Like some people mentioned, you can use a parsing library, but often
> times I don't think that's necessary if you are just creating a DSL.
> There
On Wed, Jul 7, 2010 at 11:15 AM, Zach Tellman wrote:
> At the Bay Area user group meeting in June, there was a very
> interesting discussion about how to best use Clojure's concurrency
> primitives to field large numbers of concurrent requests, especially
> in a long-poll/push type application. W
On Fri, Jul 9, 2010 at 8:44 AM, Anders Rune Jensen <
anders.rune.jen...@gmail.com> wrote:
> Very interesting!
>
> I've been following the thread with great interest and did a quick
> performance test today comparing standard compojure with jetty against
> aleph and netty. I get around 4500 req/s w
On Jul 8, 2:26 pm, Antoni Batchelli wrote:
> Also, in some instances with NIO you can even work directly
> with kernel buffers, and so the network data doesn't even need
> to be copied from the kernel space into the user space.
I assume that you are referring to NIO direct byte buffers. A
thread
Maybe what I said makes less sense in the case of NIO vs blocking with
threads - I've mainly been working with Intel Threading Building Blocks
lately, where the cost of cache cooling is very real. For that reason (and
the others mentioned - context switches and lock preemption), Intel
Threading Bui
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 me a better,
happier developer, and I wanted to give something back.
One of the pain points that I encountered when learning the langua
Hi!
I try to use clojure, and get problems with understanding what's-
going-on with this awful backtraces. Is there any way to make this
traces useful?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@goog
Scriptjure will do just perfectly.
Thanks.
Tim
On Jul 8, 2:00 pm, Scott Jaderholm wrote:
> Clojurescript is the only thing I know of like scheme2js. There are a
> couple parenscript like programs, the best
> beinghttp://github.com/arohner/scriptjure
>
> Scott
>
>
>
> On Thu, Jul 8, 2010 at 1:17
On Jul 9, 5:58 am, Mike Meyer wrote:
> The other non- project requirement (a page linking the project to the domain
> name) is pretty much contrary to the quote from the Java specification.
By my reading, they are talking about something different - the
"groupId" which identifies the project i
I've created a basic project to show how to create a voltdb database,
and then to create java and clojure clients for this database:
http://github.com/ToddG/clojure-voltdb
Any feedback would be most welcome. There's a tutorial and ant tasks for
each step.
-Todd
--
You received this message
On Fri, Jul 9, 2010 at 3:09 PM, David Nolen wrote:
> On Fri, Jul 9, 2010 at 8:44 AM, Anders Rune Jensen
> wrote:
>>
>> Very interesting!
>>
>> I've been following the thread with great interest and did a quick
>> performance test today comparing standard compojure with jetty against
>> aleph and
On 9 July 2010 14:09, David Nolen wrote:
> I'm curious how you ran that test. With ab running 10 clients for 1 second I
> see ~4000-5000 req/s using Compojure 0.4.0. With aleph I see ~8000-9000
> req/s. I also had a quick chat with Zach Tellman and it sounds like he
> hasn't done much in the way o
Sorry for the typo -- I did indeed mean control-space throughout, and CCW is
doing what everyone seems to think is right on this (control-space for symbol
completion).
-Lee
On Jul 9, 2010, at 7:00 AM, Michael Wood wrote:
> On 9 July 2010 11:17, Laurent PETIT wrote:
> [...]
>> Isn't it formi
On Fri, Jul 9, 2010 at 9:44 AM, Anders Rune Jensen <
anders.rune.jen...@gmail.com> wrote:
> On Fri, Jul 9, 2010 at 3:09 PM, David Nolen
> wrote:
> > On Fri, Jul 9, 2010 at 8:44 AM, Anders Rune Jensen
> > wrote:
> >>
> >> Very interesting!
> >>
> >> I've been following the thread with great inter
> Maybe what I said makes less sense in the case of NIO vs blocking with
> threads - I've mainly been working with Intel Threading Building Blocks
> lately, where the cost of cache cooling is very real. For that reason (and
> the others mentioned - context switches and lock preemption), Intel
> Thr
There are some utilities in clojure.stacktrace that are helpful with
gnarly stacktraces (http://richhickey.github.com/clojure/clojure.stacktrace-api.html
). Various people have tinkered with more sophisticated "stacktrace
interpreters" of late; clj-stacktrace is the most notable that I've
h
Hey Todd,
It's great to see you working on this! Added your project to the list of
projects I'm watching. :-)
I'm very interested in benchmarking VoltDB against PostgreSQL, so this is good
to see.
I'm not yet at the database point in my project, so I'm not fully aware yet of
all the Clojure r
I took a first look and I have to say that the idea is genius and I love
what you put up together this far.
It is difficult to keep up with what's happening in the Clojure world, and
this kind of central place to keep track of things was needed. The examples
are also a strong point.
I hope the site
> In either case, I think it would be great if something along the lines of
> clj-stacktrace (or even clojure.stacktrace, as a first step) were baked into
> the REPL in the next version of Clojure. This is a universal pain point.
Seconded.
On Jul 9, 2010, at 11:50 AM, Chas Emerick wrote:
> Th
On Fri, Jul 9, 2010 at 2:32 AM, zkim wrote:
> Hi All,
>
> Questions / thoughts?
>
> -Zack
Hi Zack,
First off, I think it looks great, and it definitely seems useful when
trying to find an example of a particular API call.
Few suggestions:
1. The headers for each section (Doc, Source, Example(s))
On Fri, Jul 9, 2010 at 4:32 AM, zkim wrote:
>
> Questions / thoughts?
>
> -Zack
This is great. I think the main thing is not duplicating effort. This and
clojure-examples.appspot.com should really join forces.
David
--
You received this message because you are subscribed to the Google
Groups
On Fri, 9 Jul 2010 03:01:01 -0700 (PDT)
Jeff Rose wrote:
> I've asked myself this same question 50 times now. My best experience
> so far with a community that had packages was Ruby, and it was
> incredibly simple. Everyone can choose whatever name they like for
> their package as long as it is
On Jul 8, 8:38 pm, Laurent PETIT wrote:
> My opinion: no need to create problems when there already are accepted
> solutions.
>
> In the java world, there are conventions for naming things. Stick with them.
>
I do see your point and if this is the way the consensus moves I'll
follow it. However,
Hello,
2010/7/9 Saul Hazledine
> On Jul 8, 8:38 pm, Laurent PETIT wrote:
> > My opinion: no need to create problems when there already are accepted
> > solutions.
> >
> > In the java world, there are conventions for naming things. Stick with
> them.
> >
>
> I do see your point and if this is th
Having contributed a lot of examples to clojure-examples.appspot.com
this week, I agree that it would be a shame to duplicate efforts.
On Jul 9, 11:21 am, David Nolen wrote:
> On Fri, Jul 9, 2010 at 4:32 AM, zkim wrote:
>
> > Questions / thoughts?
>
> > -Zack
>
> This is great. I think the main
I noticed that http://clojure-examples.appspot.com/clojure.core/max has both
(apply max [1 2 3 4]) -> 4 and (max []) -> [] (which I think is a poor
example).
However, when attempting to add another example for (apply max []) which I
expected to return nil, that instead it throws an exception.
I h
Once you walk down the path of "What should (max) return?" I think you won't
want a default behavior.
Stu
P.S. Agreed that (max []) is a bad example.
> I noticed that http://clojure-examples.appspot.com/clojure.core/max has both
> (apply max [1 2 3 4]) -> 4 and (max []) -> [] (which I think is
On Fri, Jul 9, 2010 at 8:50 AM, Chas Emerick wrote:
> In either case, I think it would be great if something along the lines of
> clj-stacktrace (or even clojure.stacktrace, as a first step) were baked into
> the REPL in the next version of Clojure. This is a universal pain point.
Agreed.
I was
On Thu, Jul 8, 2010 at 11:09 PM, j-g-faustus
wrote:
> From their FAQ on the same page:
> - I have a patched version of the foo project developed at foo.com,
> what groupId should I use?
> * When you patch / modify a third party project, that patched version
> becomes your project and therefore sho
On 8 July 2010 16:56, Chas Emerick wrote:
> Clojars is a disaster as an authoritative software artifact repository IMO,
> and nothing about how it's being used should be taken as a template for
> anything else.
Ruby and Rubygems has been using single-segment namespaces for years,
with no major pr
Proposal and patch welcome!
> On Fri, Jul 9, 2010 at 8:50 AM, Chas Emerick wrote:
>> In either case, I think it would be great if something along the lines of
>> clj-stacktrace (or even clojure.stacktrace, as a first step) were baked into
>> the REPL in the next version of Clojure. This is a un
It's a great idea, and the site looks very good.
Two suggestions:
1. Move examples section above source code section
2. Add OpenID sign in support. Personally I'm instantly repelled by
sites asking me to create another account/password. And I'm sure I'm
not alone. Stackoverflow.com is a great examp
I've actually been thinking about this exact same kind of site for a
while now and I'm thrilled that I was too lazy to do it so that you
could do it instead. :)
One idea that I have that I think would be killer would be to provide
an API to look up one your examples at the repl so I could do
somet
I've told Zack that he is free to pull any examples from the wiki for
use on his site.
I don't know about collaboration beyond that. The wiki is open source
and written in Clojure; anyone is free to contribute/fork. At least
one person has expressed interest in making code contributions.
Zack, yo
On Fri, 9 Jul 2010 13:57:05 -0400
Stuart Halloway wrote:
> Once you walk down the path of "What should (max) return?" I think you won't
> want a default behavior.
>
> Stu
>
> P.S. Agreed that (max []) is a bad example.
Given that max only works on numbers, then why doesn't (max []) throw
the
On Fri, 9 Jul 2010 19:14:00 +0100
James Reeves wrote:
> On 8 July 2010 16:56, Chas Emerick wrote:
> > Clojars is a disaster as an authoritative software artifact repository IMO,
> > and nothing about how it's being used should be taken as a template for
> > anything else.
> Ruby and Rubygems has
> Given that max only works on numbers, then why doesn't (max []) throw
> the same exception as (max [] [])? Or, for that matter, (max \a) throw
> the same exception as (max \a \b \c)?
Clojure tends not to guarantee any particular behavior for invalid
inputs. It might return an error, or it might
Quick thought: You probably don't want to include private vars.
On Jul 9, 1: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 me a better,
> happier develo
On Fri, Jul 9, 2010 at 2:32 AM, zkim wrote:
> Hi All,
>
> Questions / thoughts?
>
> -Zack
Hi Zack,
First off, I think it looks great, and it definitely seems useful when
trying to find an example of a particular API call.
Few suggestions:
1. The headers for each section (Doc, Source, Example(s))
I'm very excited to see how quickly the Clojure community is taking up the
charge of improving the documentation!
Within a few *days* of my "Clojure n00b problem" post, several solutions have
emerged to take up the cause of providing proper documentation and examples for
Clojure's API, and thir
On 9 July 2010 17:30, Laurent PETIT wrote:
> Indeed, foo.api sounds better than foo.core to me, now than I'm exposed to
> that (core sounds more like 'internals'). 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
Thanks all for your kind words. As to the specifics:
> The headers for each section (Doc, Source, Example(s)) don't
> differentiate themselves from the regular doc text enough, maybe
> bold/underline/color them to make them show up more?
I'd agree, I think the visual styling of the page will cha
Is there anything we can do to improve the speed with which replies are sent to
the list, and the order in which they're approved?
I've observed several times my replies being approved after others, despite
them obviously being sent before (based on content and timestamps).
It's rather jarring
I've put these suggestions up on the UserVoice page, I believe I got
all of them, but if I missed yours please add it yourself or let me
know.
Dimitri: I share your frustrations with having to remember yet another
login / password. Other than minor cosmetic fixes, improving the user
signup / login
Hi Justin, thanks again for the go-ahead to pull examples from
http://clojure-examples.appspot.com.
> Zack, you had mentioned you planned to keep the source of your site
> proprietary -- is that set in stone?
Definitely not set in stone. As far as the site goes there's not much
Clojure going on
On 9 July 2010 09:32, zkim wrote:
>
> Questions / thoughts?
>
>
Looks really good to me. Could you display the version numbers for Clojure
and the libraries that the site covers?
Gavin
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
On Jul 9, 8:14 pm, James Reeves wrote:
> Ruby and Rubygems has been using single-segment namespaces for years,
> with no major problems. I don't think name clashes are a problem in
> practise, because projects tend to have original names.
It works up to a point. It is claimed that university-leve
Hi,
I am a Technical Recruiter in Boston. I have a client in the Boston
area who is looking for Software Engineers - Java & Clojure/Lisp
skills. Please find the job description listed below. If anyone is
interested in this role, please feel free to contact me directly at
617-951-1886 to further
Beautiful. I think this should become the official community place for
Clojure docs. Now who wants to integrate my :examples defn attribute
code :)
-John
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 learni
Tom-
I kind of went back and forth on this. Originally I only parsed out
public vars, but in a couple of instances I found that when tracing
through some code I would hit on private vars.
Perhaps a solution where private vars are hidden from normal flow
(browsing and searching) unless explicitly
Hi Greg,
I thought that the approval process was supposed to auto-approve people after a
certain number of approved messages, but that doesn't seem to have happened (at
least in your case).
Your messages are no longer moderated. Sorry for the delays.
Stu
> Is there anything we can do to impro
On Wed, Jul 7, 2010 at 11:15 AM, Zach Tellman wrote:
> At the Bay Area user group meeting in June, there was a very
> interesting discussion about how to best use Clojure's concurrency
> primitives to field large numbers of concurrent requests, especially
> in a long-poll/push type application. W
An "examples" function for the REPL that pulls from the wiki:
http://gist.github.com/470031
I'm sure something like it could be made for ClojureDocs.org once the
API is in place.
General comments on ClojureDocs.org: I think an important aspect of a
collaborative tool like this is quality control
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 owner of mired.org, but not of mired.com (and I don't know the
registered owner) or .net, or of that domain
Because of an moderation problem with my email
(https://groups.google.com/group/clojure/browse_frm/thread/90c0a82153e08c9c)
this thread is a bit outdated already.
Perhaps it should be merged with the ClojureDocs.org thread now, as Tim and
Justin apparently already seem to agree on collaboration
*argh*. well at least my email is now finally on the whitelist.
What do you guys think of some of the ideas presented in the "Solving Clojure's
Documentation Problem Without Fragmentation" thread? (Which I sent shortly
after this thread started, but ended up being posted several hours later).
h
Thanks Stuart!
Wow. It's like a breath of fresh air. My responses are actually arriving on
time.
Really, it felt weird previously, sort of like I was stuck in a timewarp. :-p
- Greg
On Jul 9, 2010, at 6:58 PM, Stuart Halloway wrote:
> Hi Greg,
>
> I thought that the approval process was supp
Some benchmarks thoughts on various databases + aleph.
http://dosync.posterous.com/22516635
Cheers,
David
--
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
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 believe. In the case of MongoDB, the driver provides a
connection pool
The last successful build was on June 23rd.
- Dmitry
--
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 pos
Hi,
Am 09.07.2010 um 23:47 schrieb zkim:
> I kind of went back and forth on this. Originally I only parsed out
> public vars, but in a couple of instances I found that when tracing
> through some code I would hit on private vars.
I'm suspicious of showing source code to the reader with everythi
On Jul 10, 12:16 am, Mike Meyer 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 owner of mired.org, but not of mired.com (and I don't
70 matches
Mail list logo