Re: date serialization in clojure-contrib json

2010-09-04 Thread Dmitri
So I made a change which allows passing a map of deserializers instead of having them initialized globally, it's more or less the same as the previous version otherwise, let me know if you feel it makes the reader too complex http://gist.github.com/565764 here's sample usage with that approach (

Re: A secretly Clojure web framework?

2010-09-04 Thread Martin DeMello
On Sat, Sep 4, 2010 at 11:23 PM, Abhishek Reddy wrote: > More generally, the fragmented state of support -- too many separate and > underused mailing lists, IRC channels, websites, each for small, composable > components. This is an endemic problem, though, not one confined to clojure. I've seen

Re: A secretly Clojure web framework?

2010-09-04 Thread Brenton
Here are some resources to get you started with Ring/Compojure web development. http://mmcgrana.github.com/2010/03/clojure-web-development-ring.html http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html http://mmcgrana.github.com/2010/08/clojure-rest-api.html http://weave

Re: A secretly Clojure web framework?

2010-09-04 Thread HB
Thank you all guys, I'm really happy and proud to be around. Shantanu, Stuart, Abhishek and Brenton said every thing I was thinking about and much more: Lack of coherent design, sometimes it is really hard to get help, documentation is rare. I don't know even how to getting started with Compojure

Re: clojure-conj registration is now open!

2010-09-04 Thread lprefontaine
Booked... for technical reasons (bought a package flight + hotel through expedia.ca), I'll be a staying at the nearby Hyatt hotel. I had no other choice to be there since I argued loudly for a "central" location for this event :))) See you there all. Luc P. -- You received this message because

Re: Typical usage of Compojure

2010-09-04 Thread Aaron Bedra
On 9/4/10 11:44 AM, HB wrote: Hey, If Compojure is micro web framework like Sinatra, does this means it is not suitable for large web applications? (since Sinatra isn't suitable for large applications, it is mainly used for very small applications and particularly to create some kind of an API).

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-04 Thread Rayne
I did try that. It doesn't appear to have any effect whatsoever. On Sep 4, 12:48 pm, Stuart Sierra wrote: > Reloading code does use memory. But the old, "dead" code will be > garbage collected eventually. > > You could try to clear out stale references by calling "remove-ns" > before "require". >

Obsolete statement at "Datatypes - deftype, defrecord and reify"?

2010-09-04 Thread Jacek Laskowski
Hi, Just noticed that the page Datatypes - deftype, defrecord and reify (http://clojure.org/datatypes) starts with the following statement: "This page describes work in progress in the master branch of Clojure, targeted for release in version 1.2. All features are subject to change - feedback is

Re: clojure-conj registration is now open!

2010-09-04 Thread David Cabana
Yesterday I paid for my ticket, and scheduled a vacation day for Oct 22. Looking forward to it. -- 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 moderate

Re: A secretly Clojure web framework?

2010-09-04 Thread Brenton
> The best thing we can do for Clojure web development right now is > start developing web applications in Clojure, find the pieces that are > missing, and fill them in. This is the best advise I have heard in a while. We need to just start doing it. If something that we need is missing then there

Re: A secretly Clojure web framework?

2010-09-04 Thread Shantanu Kumar
On Sep 5, 12:25 am, Sean Corfield wrote: > On Sat, Sep 4, 2010 at 10:26 AM, Shantanu Kumar > > wrote: > > 2. Enlive, Hiccup, Gulliver, Clj-StringTemplate, Cfmljure etc for web > > template stuff > > Since cfmljure got a mention... > > Would folks be interested in a ready-to-run Jetty-based down

Re: A secretly Clojure web framework?

2010-09-04 Thread Sean Corfield
On Sat, Sep 4, 2010 at 10:26 AM, Shantanu Kumar wrote: > 2. Enlive, Hiccup, Gulliver, Clj-StringTemplate, Cfmljure etc for web > template stuff Since cfmljure got a mention... Would folks be interested in a ready-to-run Jetty-based download that ran CFML and Clojure out-of-the-box? It would be

Re: Blogs/Twitter accounts about Clojure

2010-09-04 Thread Toni Batchelli
Shameless plug: You should checkout disclojure.org and maybe subscribe to the RSS feeds. Every day I publish a list of the most relevant tweets of the day that relate to Clojure, usually with a brief summary or some comment. You might also discover awesome clojure bloggers and tweeters there. Toni

clojure.repl/apropos

2010-09-04 Thread Michał Marczyk
Hi Group, does anybody else think that clojure.repl/apropos should indicate which namespaces the Vars whose names it returns reside in? In other words, should (apropos "ref") return (swank.commands.inspector/ref-pop swank.commands.inspector/ns-refers-by-ns ...) rather than the current (

Re: Typical usage of Compojure

2010-09-04 Thread Brenton
HB, Welcome to Clojure. I come from the same background as you and can tell by the questions that you are asking that you are going through all of the same phases that I went through. As someone once said "It is better to be at the bottom of a ladder that you want to climb than at the top of one y

Re: A secretly Clojure web framework?

2010-09-04 Thread Saul Hazledine
26 pm, Shantanu Kumar wrote: > I am interested to know what deficiencies do you see in present state > of affairs in Clojure web development space. It would be something > useful to discuss. I think the packages that exist are exciting and that some of them represent a step forwards even when com

Re: A secretly Clojure web framework?

2010-09-04 Thread Abhishek Reddy
On Sun, Sep 5, 2010 at 5:26 AM, Shantanu Kumar wrote: > > I am interested to know what deficiencies do you see in present state > of affairs in Clojure web development space. It would be something > useful to discuss. There are libraries, such as: > > 1. Ring+Clout+Compojure, Ring+Conjure, Ring+

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-04 Thread Stuart Sierra
Reloading code does use memory. But the old, "dead" code will be garbage collected eventually. You could try to clear out stale references by calling "remove-ns" before "require". -S On Sep 2, 7:47 pm, Rayne wrote: > I've got a curious little bit of a memory leak of sorts that I'm > trying to

Re: A secretly Clojure web framework?

2010-09-04 Thread Stuart Sierra
What's missing, frankly, is a coherent design. Lots of pieces are there, but they don't always fit together well. As one trivial example, we discovered this week that Sandbar's user authentication doesn't work with Ring's keyword-parameter-names middleware. But these problems will be ironed out o

Re: Blogs/Twitter accounts about Clojure

2010-09-04 Thread Daniel Glauser
@danielglauser I Tweet a bit about Clojure. I've created and given two presentations on Clojure although I still feel pretty green with the language. I'm also the co-organizer of the Denver Clojure Meetup: http://www.meetup.com/Denver-Clojure-Meetup/ Cheers, Daniel On Sep 4, 8:30 am, Shantan

Re: A secretly Clojure web framework?

2010-09-04 Thread Shantanu Kumar
On Sep 4, 8:51 pm, HB wrote: > My wish is vanquished :) > But I really wish if Relevance will work on a web framework since it > is in a unique position to achieve this (having the brightest Clojure > folks). > I read that Relevance embracing the "20%" principle like Google, this > is also will

Re: Shootout "fannkuch"

2010-09-04 Thread Isaac Gouy
On Sep 3, 4:24 pm, Miki wrote: > > Fannkuch has required the permutations to be generated in a particular > > order for years because too many programmers contributed programs that > > did not generate some of the permutations or used faster algorithms to > > generate the permutations. > > I've

Re: A secretly Clojure web framework?

2010-09-04 Thread HB
My wish is vanquished :) But I really wish if Relevance will work on a web framework since it is in a unique position to achieve this (having the brightest Clojure folks). I read that Relevance embracing the "20%" principle like Google, this is also will help you Relevance folks. Have a nice day al

Typical usage of Compojure

2010-09-04 Thread HB
Hey, If Compojure is micro web framework like Sinatra, does this means it is not suitable for large web applications? (since Sinatra isn't suitable for large applications, it is mainly used for very small applications and particularly to create some kind of an API). Thanks for help and time. -- Y

Re: clojure-conj registration is now open!

2010-09-04 Thread Brian Marick
Well, I'll be there even though they've inexplicably scheduled the birthday party for the day before my birthday. - Brian Marick, independent consultant Mostly on agile methods with a testing slant Author of /Programming Cocoa with Ruby/ www.exampler.com, www.exampler.com/blog, www.twitter.c

Re: Why so?

2010-09-04 Thread vishy
thanks for the link!!! On Sep 3, 8:54 pm, David Nolen wrote: > On Fri, Sep 3, 2010 at 11:50 AM, fin wrote: > > It is better to have 100 functions in one category than 10 functions > > in 10 categories? > > > I don't think so. See: > >http://clojure.github.com/clojure/clojure.core-api.html > > Cl

Re: Blogs/Twitter accounts about Clojure

2010-09-04 Thread Shantanu Kumar
On Sep 4, 2:10 am, Christian Guimarães wrote: > Everybody here has a common interest. Clojure. And I think that all people > here can contribute with relevant informations. So, why not follow the guys > from this list. > > Interested? Add your twitter account bellow. @kumarshantanu I tweet a

Re: [Weekend Chat] A secretly Clojure web framework?

2010-09-04 Thread Aaron Bedra
On 9/3/10 11:45 PM, HB wrote: Hey, Since Relevance is heavily investing in Clojure, do you think they are working on a Clojure web framework? Personally, I wish. We aren't currently working on creating a new web framework, but I am working to make the web development experience a little better

Re: Question about `binding'

2010-09-04 Thread CuppoJava
Your original understanding is correct. Your first example is not working the way you expect it because Clojure is inlining "inc" for speed purposes. Hope that helps -Patrick On Sep 3, 11:21 pm, Yang Dong wrote: > (binding [inc dec] >   (println (inc 1))) > > ;=> 2 > > If I put a declare on top

Re: Blogs/Twitter accounts about Clojure

2010-09-04 Thread Bruce Durling
2010/9/3 Christian Guimarães : > > Everybody here has a common interest. Clojure. And I think that all people > here can contribute with relevant informations. So, why not follow the guys > from this list. > > Interested? Add your twitter account bellow. As you probably could have guessed from m

Question about `binding'

2010-09-04 Thread Yang Dong
(binding [inc dec] (println (inc 1))) ;=> 2 If I put a declare on top of it, (declare inc) (binding [inc dec] (println (inc 1))) ;=> 0 Originally I thought binding is equal to thread local dynamic binding. Seems I was wrong. It seems like it has something to do with namespaces. Right? --

Re: Lisp/Scheme Style Guide

2010-09-04 Thread sitkack
In an effort to paint the shed until it crumbles I will stoke the engine of discourse with starter fluid. I see a couple issues that probably *should* be resolved within the community and once resolved can be pointed to as Canon of Clojure Conventional Conformity (). bla bla wadler's law .

Re: Blogs/Twitter accounts about Clojure

2010-09-04 Thread Steve Purcell
Christian Guimarães writes: > Everybody here has a common interest. Clojure. And I think that all people > here can contribute with relevant informations. So, why not follow the guys > from this list. > > Interested? Add your twitter account bellow. > > Cheers. > > @csgui (Christian Guimaraes)

Re: Blogs/Twitter accounts about Clojure

2010-09-04 Thread Laurent PETIT
almost only twitting 'bout ccw / counterclockwise releases : @petitlaurent (low level traffic) 2010/9/4 Sean Corfield : > On Thu, Sep 2, 2010 at 9:33 AM, Sean Allen > wrote: >> @stuartholloway > > @stuarthalloway > > Note the 'a'. With an 'o' it's a British soccer coach :) > -- > Sean A Corfield

Re: clojure-conj registration is now open!

2010-09-04 Thread Rayne
Unfortunately, I'll not be able to attend. The price of admission + the price of gas = too much green for my poor soul to handle. -- 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 p

Re: Does 'require' with the :reload option have a tendency to build up memory?

2010-09-04 Thread Rayne
Indeed. I'm assuming you're a little familiar with yourkit, right? Anyway, here are some snapshots I took. The first snapshot is the application before any reloads are done. The typical state. The second one (it has a -1 at the end of the name) is a snapshot of it after about 6 reloads. I'm very in

Re: A secretly Clojure web framework?

2010-09-04 Thread Saul Hazledine
On Sep 4, 5:45 am, HB wrote: > Hey, > Since Relevance is heavily investing in Clojure, do you think they are > working on a Clojure web framework? > Personally, I wish. Its also worth looking at Conjure if you're interested in a web framework: http://github.com/macourtney/Conjure Saul -- You r