Re: ANN: Clojure Libraries

2011-02-27 Thread Shantanu Kumar
I noticed it last when the new CSS theme wasn't applied - looks way better now. Well done, and looking forward to the features you mentioned. Regards, Shantanu On Feb 28, 4:56 am, Glen Stampoultzis wrote: > Hi everyone, > > I'd like to announce the availability of Clojure Libraries > (http://clo

Project/repo name change (Re: [ANN] Openar, a Clojure environment)

2011-02-27 Thread Kei Suzuki
Hi again, Well, I made a mistake when I pushed the original repo on GitHub. There is already a well-known and respected project and my project/repo name is so close to it and confusing. So I fixed it; the new project/repo name is now Sevenri, https://github.com/ksuzuki/Sevenri. It's based on t

Re: ANN: Clojure Libraries

2011-02-27 Thread Mark
Cool! I'd like to suggest a tagging feature rather-than/in-addition- to the categorization feature. On Feb 27, 5:56 pm, Glen Stampoultzis wrote: > Hi everyone, > > I'd like to announce the availability of Clojure Libraries > (http://clojure-libraries.appspot.com/).  Clojure Libraries is a > data

Re: ANN: Clojure Libraries

2011-02-27 Thread Glen Stampoultzis
On 28 February 2011 12:01, James Reeves wrote: > On 27 February 2011 23:56, Glen Stampoultzis wrote: >> PS. This overlaps somewhat with Clojure Toolbox which, via an >> unfortunate coincidence, came out about the same time. There are some >> important differences however, so I thought it best to

Re: ANN: Clojure Libraries

2011-02-27 Thread James Reeves
On 27 February 2011 23:56, Glen Stampoultzis wrote: > PS. This overlaps somewhat with Clojure Toolbox which, via an > unfortunate coincidence, came out about the same time. There are some > important differences however, so I thought it best to continue with > this release. I'd definitely encoura

ANN: Clojure Libraries

2011-02-27 Thread Glen Stampoultzis
Hi everyone, I'd like to announce the availability of Clojure Libraries (http://clojure-libraries.appspot.com/). Clojure Libraries is a database for keeping track of Clojure libraries and tools. Clojure Libraries can be edited by end users (by logging in with a Google account). Edits are tracke

Re: type hinting record types?

2011-02-27 Thread Seth
Maybe records shouldnt be redefined if their definition hasnt changed? -- 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 wit

Re: better error messages > smaller stack traces

2011-02-27 Thread Mark
With a fresh brain (and a fresh cup of coffee), I realized this message is probably caused (somehow) by my misuse of the midje library. No doubt it does fancy macro stuff under-the-hood. At the core of this problem is that I'm a naive client of this macro library and by an innocent misuse, I am s

Re: better error messages > smaller stack traces

2011-02-27 Thread Daniel Werner
On 27 February 2011 20:50, Mark wrote: > I wrote that up quickly without thinking much about it.  Yes, the > invocation is definitely a macro and not a function.  Still, I think > it would be helpful to see the symbol's value and, if possible, the > macro's arity. Is calling symbols as a function

Re: ANN: Clojure Toolbox (Early Beta)

2011-02-27 Thread James Reeves
On 25 February 2011 21:06, Wilson MacGyver wrote: > I like to suggest > > clj-json https://github.com/mmcgrana/clj-json > a fast JSON encoder/decoder that uses jackson. > > clojuresque https://bitbucket.org/kotarak/clojuresque/src > clojure plugin for gradle (a very good build system) > > clj-time

Re: better error messages > smaller stack traces

2011-02-27 Thread Mark
I wrote that up quickly without thinking much about it. Yes, the invocation is definitely a macro and not a function. Still, I think it would be helpful to see the symbol's value and, if possible, the macro's arity. On Feb 27, 1:13 pm, Ken Wesson wrote: > On Sun, Feb 27, 2011 at 2:10 PM, Ken We

Re: Problem establishing jdbc connection in la clojure REPL

2011-02-27 Thread Ken Wesson
According to MSDN: WSAEPROVIDERFAILEDINIT 10106 Service provider failed to initialize. The requested service provider could not be loaded or initialized. This error is returned if either a service provider's DLL could not be loaded (LoadLibrary failed) or the provider's WSPStartup or NSPStartup fu

Re: better error messages > smaller stack traces

2011-02-27 Thread Ken Wesson
On Sun, Feb 27, 2011 at 2:10 PM, Ken Wesson wrote: > On Sat, Feb 26, 2011 at 8:14 PM, Mark wrote: >> I get this: >> #> of args (3) passed to: Symbol (C:\Users\addma03\workspace\test\src\main >> \clojure:1)> >> >> A few suggestions: >> 1)  An improved line number >> 2) I'd like to see the value of

Re: better error messages > smaller stack traces

2011-02-27 Thread Ken Wesson
On Sat, Feb 26, 2011 at 8:14 PM, Mark wrote: > I get this: > # of args (3) passed to: Symbol (C:\Users\addma03\workspace\test\src\main > \clojure:1)> > > A few suggestions: > 1)  An improved line number > 2) I'd like to see the value of the Symbol > 3) I'd like to see the three args applies to the

Re: better error messages > smaller stack traces

2011-02-27 Thread Mark
I get this: # A few suggestions: 1) An improved line number 2) I'd like to see the value of the Symbol 3) I'd like to see the three args applies to the symbol and, if the symbol resolves to a function, I'd like to see the arity of the function. Something like: Wrong number of args (3) passed to

Problem establishing jdbc connection in la clojure REPL

2011-02-27 Thread finbeu
Hi! I'm trying to run the code snippet (see at the end) from "la clojure"'s (IntelliJ 10.0.2) REPL but it fails with the error: "java.sql.SQLException: JZ006: Caught IOException: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create (test.clj:3)." The driver's library (jCon

Re: Anyone using the sdb library?

2011-02-27 Thread Mark Rathwell
Forgot the link: https://gist.github.com/846363 > If you have time, I posted a gist containing a data access library I built > on top of Rich's sdb library (data.clj), and the modifications I made to his > sdb library (sdb.clj) for consistent reads, etc. This is some of the first > real clojure

Re: Anyone using the sdb library?

2011-02-27 Thread Mark Rathwell
If you have time, I posted a gist containing a data access library I built on top of Rich's sdb library (data.clj), and the modifications I made to his sdb library (sdb.clj) for consistent reads, etc. This is some of the first real clojure code I wrote, so not the prettiest, but maybe you can see

CLR classpath

2011-02-27 Thread Timothy Pratley
Hi there, I want to use ClojureCLR in a C# project I am working on and need some guidance. 1) How do I correctly add ClojureCLR as a project reference in Visual Studio (2010)? I tried adding the Clojure.dll and that allowed my code to compile fine referencing a Clojure datastructure, but at run

unchecked-divide etc being replaced in 1.3 - no more support for longs?

2011-02-27 Thread Joost
Hi, I just noticed that in 1.3 alpha 4, unchecked-divide (which seemed to support longs as well as ints) has been replaced by unchecked-divide- int. But there's no unchecked-divide-long, as far as I can see. This also seems to apply to the other unchecked-* math functions. Given that one of the m

Re: Anyone using the sdb library?

2011-02-27 Thread Gijs S.
Yes, my suggestion without type indicators in SDB would look something like this: (def config {:sdb-client (AmazonSimpleDBClient. ...) :mapping {"Link" {"url" {:encode encode-string :decode decode-string} "points" sdb/integer-encoding

Re: Anyone using the sdb library?

2011-02-27 Thread Chas Emerick
Thanks very much for the feedback! On Feb 27, 2011, at 5:59 AM, Gijs S. wrote: > To talk in terms of entities is perhaps too much structure for the > simpledb. I would agree -- although if the data one is storing in SDB is regular enough, you should be able to build ORM-esque functionality on t

Re: Anyone using the sdb library?

2011-02-27 Thread Gijs S.
Hi, I have dabbled a bit with both AWS SimpleDB and the sdb library as well as with the similar Google App Engine Datastore and related Clojure libraries. These two parts are indeed no-brainers: - Support for consistent reads - Support for literal string queries Re: numeric formatting I