Clojure web framework

2012-09-28 Thread goracio
Hi So i'd like to point to the problem here. Clojure web framework in google get these results, at least for me 1. noir 2. stackoverflow question 2008 year 3. stackoverflow question 2010 year 4. joodo ( outdated thing developed by one person) 5. Compojure ( routing dsl) So there is no popular

Re: Clojure web framework

2012-09-28 Thread Sven Johansson
On Fri, Sep 28, 2012 at 9:36 AM, goracio felix...@gmail.com wrote: So what i suggest : Take 1 platform for web development in Clojure (for example noir as most mature framework) . Form working core group from 5-6 people. Decide about name of the project ( or take Noir) Make good site about

Re: Clojure web framework

2012-09-28 Thread goracio
No i don't. Project page for now https://github.com/noir-clojure/noir and it's updated 3 months ago. I guess project maintained by one person https://github.com/Raynes and i guess he does not have much time to do the work. Usage info still outdated If you want to include Noir in an already

Re: Clojure web framework

2012-09-28 Thread Michael Wood
On 28 September 2012 10:22, goracio felix...@gmail.com wrote: No i don't. Project page for now https://github.com/noir-clojure/noir and it's updated 3 months ago. I guess project maintained by one person https://github.com/Raynes and i guess he does not have much time to do the work. Usage

how to securely store parameters in config files

2012-09-28 Thread Murtaza Husain
Hi, I am using a config file to store passwords / keys for DB and connection to other services like AWS. I am using Travis CI for build, and running my tests, and then deploying it to live server. I would like to encrypt the variables in my config file and only the application should be

Re: CLR Reflection Laziness

2012-09-28 Thread Stephen Compall
On Sep 27, 2012, at 8:23 PM, James Ashley james.ash...@gmail.com wrote: Typing this in at a REPL worked fine (well, a reasonable Null exception). Running it from a script resulted in an unhandled NullArgumentException (or something along those lines Based on this statement, I assume you're

Re: Clojure web framework

2012-09-28 Thread Chas Emerick
If I may offer a couple of counterpoints: Compojure is slightly more popular than noir, at least based on the (perhaps faulty) measures of stars and forks on github, and used by count on http://clojuresphere.herokuapp.com. There are good reasons why a Rails-esque framework has not yet caught

Re: Clojure web framework

2012-09-28 Thread Mark Rathwell
Documentation around libraries (and elsewhere) is recognized as a primary weakness, but starting a new, larger web Framework project isn't an obvious solution to that very distributed problem. Agree 100% with this. I think the various libraries are mostly at the right level, and are mostly

Re: Clojure web framework

2012-09-28 Thread Sean Corfield
The lein-noir plugin works with lein2 so you can just say: lein new noir my-app cd my-app lein run The webnoir.org website seems to provide reasonable documentation on getting started. If you have suggestions to improve the documentation, I'm sure Chris would be happy to receive them (I suspect

Re: Clojure web framework

2012-09-28 Thread goracio
lein new noir my-app cd my-app lein run Yes i already made pull request to update README file with this. Well there are many usefull libs for web development you can choose this and that combine them and get something. But from newbie perspective it's kind of a difficult question where to

More Concise or Idiomatic Max Sub-Array?

2012-09-28 Thread noahlz
I've implemented the following two versions of the Max Sub-Array problem (http://en.wikipedia.org/wiki/Maximum_subarray_problem) in Clojure, using the Kadane algorithm. First with `loop` / `recur` (defn max-sub-array [A] (loop [x (first A) a (rest A)

ClojureScript: catching all javascript exceptions

2012-09-28 Thread Dima B
Hi, I came to the point where I need to be able to catch all javascript exceptions, log them down and swallow. I've been trying to achieve this by (try ... (catch Exception e ...)) (try ... (catch nil e ...)) (try ... (catch js/object e ...)) and nothing seems to do the trick. Could you

google-closure-library 2029

2012-09-28 Thread henry clifford
Hey everyone, I'm trying to find a .jar of the the latest google-closure-library I'm currently using org.clojure for 0.0-1376 http://mvnrepository.com/artifact/org.clojure/google-closure-library But havn't been able to find a jar for 0.0-2029 Any help would be greatly appreciated! Thanks --

Re: google-closure-library 2029

2012-09-28 Thread Stuart Sierra
I made the G.Closure library artifacts and manually uploaded them to Maven Central. I haven't had time to do the latest G.Closure library release. Can somebody confirm that ClojureScript works 100% with the rev. 2029 release of the Closure Library? -S -- You received this message because you

Re: Clojure web framework

2012-09-28 Thread Mark Rathwell
Well there are many usefull libs for web development you can choose this and that combine them and get something. But from newbie perspective it's kind of a difficult question where to start from, what to use, what good practice is. What lib to use for persistance with Mysql, Postgre, for

Re: how to securely store parameters in config files

2012-09-28 Thread Kevin Downey
if you use a password to encrypt your config, you will need config2 for the password, and of course you do not want people to have access to config2, so you should encrypt that, and put the password in config3, and ... I recommend using lein test selectors to split out tests that hit external

Starting a new ClojureScript project, where to start?

2012-09-28 Thread Daniel Glauser
Hi folks, Where would you point someone if they wanted guidance starting a new ClojureScript project? I friend who's big into CoffeeScript/Backbone/Require and is looking to kick off a side project with ClojureScript. He's sold on Clojure but looking for some guidance. We checked out Pinot

Is Slick feasible in Clojure?

2012-09-28 Thread Manuel Paccagnella
Hi! I'm participating in a discussion in the progfun course on Coursera (Scala based). Interesting discussions are going on there, especially when Clojure is involved. I was wondering if something like Slickhttp://slick.typesafe.com/would be doable in Clojure. I've no experience with Slick

Simon Peyton Jones - Haskell is useless

2012-09-28 Thread Rich Morin
This conversation never mentions Clojure, but I think folks here may find it quite interesting and relevant: Simon Peyton Jones - Haskell is useless http://www.youtube.com/watch?v=iSmkqocn0oQfeature=related -r -- http://www.cfcl.com/rdmRich Morin

Re: Clojure web framework

2012-09-28 Thread Matt
There is already a rails like Clojure web framework which has been around for a while called Conjure: https://github.com/macourtney/Conjure Here is the wiki to get started: https://github.com/macourtney/Conjure/wiki The most recent release is out of date, but I have been working on an update.

Maven error - Java returned: 1

2012-09-28 Thread Timothy Baldridge
For some reason, maven builds clojure just fine, but then dies with a really odd error. I've enabled the verbose logs, but nothing besides Java returned 1 is displayed: Ideas? Thanks, Timothy [INFO] Scanning for projects... [INFO] [INFO]