Finding latest versions of clojars

2013-01-13 Thread Omer Iqbal
Hey guys, I recently decided to shift to clojure, and am loving the experience so far. However is there a method to find the latest versions of dependencies in lein2? It is rather inconvenient to search for them manually. Cheers, Omer -- You received this message because you are subscribed to

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-13 Thread Marko Topolnik
Great points. Also take RoR as an example: ruby, dynamic as it may be, still relies on the notion of a class as code owner which means that the class is the namespacing unit for all code that wants to participate in operating on a specific data structure, such as a hash or array. After 20-30

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-13 Thread Softaddicts
+1, excellent summary of the key points. We got rid of Spring, Hibernate et cie for the same reasons. They were somewhat needed in Java but in Clojure we found that they were cumbersome to use and brought little value. We realized along the way that some generated Java code (Hibernate is a good

Friend 0.1.3 released

2013-01-13 Thread Chas Emerick
I released [com.cemerick/friend 0.1.3] to Clojars this afternoon. Friend is an extensible authentication and authorization library for Clojure Ring web applications and services: https://github.com/cemerick/friend This release has a mix of fixes and minor enhancements; the changelog is

Re: Friend 0.1.3 released

2013-01-13 Thread faenvie
Guice that was only available via a now-404 Maven repo hosted on Google Code. i was bitten by that, when i wanted to give friend a try. i like your rational for friend. It is 100 Percent true: Securing Ring applications and services is (charitably speaking) a PITA right now, with everyone

Better ways of documenting functions with type information?

2013-01-13 Thread Marcel Möhring
Hello, is there a better way to document a function if I want to include type information and parameters for in/out? Currently I am using this approach but it feels rather clumsy: Takes a screen and a pixel coordinate and returns a map of maps with pixel colors and adjusted pixel

Re: Finding latest versions of clojars

2013-01-13 Thread John Gabriele
On Sunday, January 13, 2013 8:46:59 AM UTC-5, Omer Iqbal wrote: Hey guys, I recently decided to shift to clojure, and am loving the experience so far. However is there a method to find the latest versions of dependencies in lein2? It is rather inconvenient to search for them manually. Hi

Re: Better ways of documenting functions with type information?

2013-01-13 Thread John Gabriele
On Sunday, January 13, 2013 1:03:35 PM UTC-5, Marcel Möhring wrote: Hello, is there a better way to document a function if I want to include type information and parameters for in/out? Currently I am using this approach but it feels rather clumsy: Takes a screen and a pixel

Re: Finding latest versions of clojars

2013-01-13 Thread John Gabriele
On Sunday, January 13, 2013 1:32:40 PM UTC-5, John Gabriele wrote: On Sunday, January 13, 2013 8:46:59 AM UTC-5, Omer Iqbal wrote: Hey guys, I recently decided to shift to clojure, and am loving the experience so far. However is there a method to find the latest versions of dependencies in

Re: ANN: bouncer, validation library for clojure

2013-01-13 Thread Leonardo Borges
I just pushed [bouncer 0.2.2-RC1] - would appreciate if you could give that a go. You can check the changelog to see what's new: https://github.com/leonardoborges/bouncer/blob/master/CHANGELOG.md#022-unreleased But the big changes include: - a qualified keyword for the errors entry and; - a

Re: ANN: bouncer, validation library for clojure

2013-01-13 Thread Leonardo Borges
Thanks, really appreciate the kind words. I just pushed [bouncer 0.2.2-RC1] so feel free to give that a go :) Cheers, Leo Leonardo Borges www.leonardoborges.com On Fri, Jan 11, 2013 at 3:44 PM, faenvie fanny.aen...@gmx.de wrote: i took a look at it. bouncers DSL seems smart inside and out.

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-13 Thread kovas boguta
I think there is value, but we as a community are not yet ready for it. The problem is that the full stack endgoal is itself shifting in definition, towards single-page apps. There is not much appetite for the creation of a RoR clone, when the landscape in which RoR was created has shifted so

Re: Better ways of documenting functions with type information?

2013-01-13 Thread Brandon Bloom
You could use type hints and pre/post conditions: (defn foo Gets adjusted pixels or whatever [^BufferedImage screen ^Number x ^Number y] {:post [(foo-map? %)]} ...) (defn foo-map? True if x is a map of maps with pixel colors ... [x] ...) That said, it would be nice if