Re: [ANN] Optimus - a Ring middleware for frontend performance optimization.

2013-11-25 Thread Jason Bennett
Magnar, could you talk a little about how your project is better than/different from Stefon/dieter and cornet? I feel like we have a lot of these projects now, all doing mostly the same thing. I also don't totally understand why they're all done as Ring middleware instead of lein/maven

Re: [ANN] Optimus - a Ring middleware for frontend performance optimization.

2013-11-25 Thread Jason Bennett
Ok, thanks for the reply. Cornet is at https://github.com/cosmi/cornet, it's similar to stefon. I believe there are some existing middlewares for ring that do similar things (like wrap-not-modified). Do you replace this or work with it? jason On Monday, November 25, 2013 11:10:54 AM UTC-8,

Re: Running Leiningen inside Jenkins CI server

2013-11-01 Thread Jason Bennett
Assuming you installed this plugin: https://wiki.jenkins-ci.org/display/JENKINS/leiningen+plugin you need to configure it. Make sure that lein is installed in a place that Jenkins can get to. You should probably log into the box, su to jenkins, and run the lein install procedure. Then, go to

Re: logback.xml being picked up twice in project (how do I surpess the inheritted projects logback.xml)?

2013-08-15 Thread Jason Bennett
You shouldn't include the logback.xml in the generated jar file. Only the ultimately generated artifact should have a logback.xml file, best loaded from the file system (possibly through -D). It doesn't matter what settings base has for logging, derive should set all logging parameters. jason

Re: logback.xml being picked up twice in project (how do I surpess the inheritted projects logback.xml)?

2013-08-15 Thread Jason Bennett
UTC-7, Jason Bennett wrote: You shouldn't include the logback.xml in the generated jar file. Only the ultimately generated artifact should have a logback.xml file, best loaded from the file system (possibly through -D). It doesn't matter what settings base has for logging, derive should set

Re: How to log a precondition in clojure 1.3

2012-12-06 Thread Jason Bennett
I hate to resurrect a dead thread, but I've been dealing with the same problem. Pre/postconditions throw an Error, not an exception, meaning you have to catch Throwable instead. This would violate most all good practice in Java/JVM programming. Are pre/postconditions just not designed for

Documenting clojure data structures

2012-10-31 Thread Jason Bennett
Over the last month, I've been learning clojure for my new job, and taking Odersky's scala course on coursera. I've been enjoying my time with clojure much more, but the one thing I miss from scala is the ability to document a data structure. It's really nice in Java/Scala to type in an object

Re: let in the middle of thread-first

2012-10-26 Thread Jason Bennett
On Fri, Oct 26, 2012 at 4:43 AM, Ben Mabey b...@benmabey.comjavascript: wrote: On 10/25/12 6:24 PM, Jason Bennett wrote: Let's say I have a set of thread-first calls: (- url a b c d e) And let's say that I need to process and save the result of function b

let in the middle of thread-first

2012-10-25 Thread Jason Bennett
Let's say I have a set of thread-first calls: (- url a b c d e) And let's say that I need to process and save the result of function b as a second parameter to function e (function b returns a file, and function e needs the extention of that file). How would I drop a