Re: Natively Compiled Clojure

2013-01-25 Thread Tony Pitluga
There are a couple projects that might be worth looking at although it seems both have not been updated in a few months. ClojureC: https://github.com/schani/clojurec Clojure-Scheme: https://github.com/takeoutweight/clojure-scheme On Fri, Jan 25, 2013 at 10:35 AM, Nahuel Greco wrote: > Check th

Re: Is keyword-params middleware safe?

2013-01-17 Thread Tony Pitluga
(weak) references make the keywords themselves eligible > for GC. > > > On Wednesday, January 16, 2013 9:51:59 AM UTC-8, Tony Pitluga wrote: >> >> From what I have read about keywords in Clojure, it does not seem like >> they are garbage collected. The keyword params middle

Is keyword-params middleware safe?

2013-01-16 Thread Tony Pitluga
>From what I have read about keywords in Clojure, it does not seem like they are garbage collected. The keyword params middleware seems to convert user input into keywords. Putting two and two together, it seems like you could DoS any server using this middleware by sending large amounts of random

Re: deploying clojure/compojure web apps

2013-01-09 Thread Tony Pitluga
I found this example: https://gist.github.com/raw/887596/d5804f1e7c550cd4c25e1194c58190e816ceadb0/core.clj here: http://www.myclojureadventure.com/2011/03/getting-started-with-ring-and-compojure.html Just substitute your app-routes for handler and put the (run-jetty) form in your -main method. T

Re: Unit testing

2013-01-08 Thread Tony Pitluga
If you are coming from Ruby, there is speclj which has an RSpec feel. https://github.com/slagyr/speclj On Tue, Jan 8, 2013 at 1:57 PM, Sean Corfield wrote: > On Mon, Jan 7, 2013 at 11:50 PM, Eric MacAdie wrote: > > Is there a common unit testing framework for Clojure? I did some > googling, >