[ANN] Debug: clojure port of node debug

2014-07-05 Thread Sun Ning
Hi all, I just ported node debug[1] library to clojure, hoping it could be helpful in clojure world. The debug library is widely used in node projects. The usage is very simple: print debug message when certain namespace is enabled via environment variable DEBUG.

Re: [ANN] Debug: clojure port of node debug

2014-07-05 Thread Atamert Ölçgen
Awesome! Thanks for sharing. For those who are wondering what debug does exactly, I suggest checking out the screenshots in the node port's GitHub page. (Any chance you can borrowsteal them?) There's also flatland.useful.debug/? for inspecting forms. (

Re: reloading enlive templates

2014-07-05 Thread Sven Richter
Hi Curtis, this solution works as expected, thank you very much. Best Regards, Sven Am Donnerstag, 3. Juli 2014 18:30:03 UTC+2 schrieb Curtis Summers: I'm using ring.middleware.force-reload to always reload the namespaces that reference my enlive templates. (only in dev, of course)

Re: is their a Clojure framework for handling form validation?

2014-07-05 Thread Asim Jalis
For validation check out Bouncer [1][2]. It is elegant and minimal, and also lets you chain together validators using the threading macro. [1] https://github.com/leonardoborges/bouncer [2] http://www.leonardoborges.com/writings/2013/01/04/bouncer-validation-lib-for-clojure/ Asim On Sunday,

Having a package visible in the environment in which generated code is compiled?

2014-07-05 Thread Simon Brooke
I am trying to write a domain-specific production rule language which is compiled down at run-time into Clojure code. It's intended that the rule language should be usable by primary school children with little help. So far it's going extremely well, except for one problem. If I run it in the

Re: Deploying to Clojars no longer works

2014-07-05 Thread Nelson Morris
Peer not authenticated sounds like an ssl issue. Could you try adding :certificates [clojars.pem] to your :user profile and seeing if it authenticates? On Fri, Jul 4, 2014 at 3:11 PM, Jacob Goodson submissionfight...@gmx.com wrote: I tried updating to the latest version and it still keeps

Re: Deploying to Clojars no longer works

2014-07-05 Thread Nelson Morris
Read timed out sounds like the artifact might be too large, but if future tries succeed then that's not the case. Could you send me the group/artifact/versions that failed? On Thu, Jul 3, 2014 at 9:02 AM, Zach Oakes zsoa...@gmail.com wrote: Even on the latest version (2.4.0), I've experienced

Re: Deploying to Clojars no longer works

2014-07-05 Thread Zach Oakes
Regarding Read timed out, I made an issue https://github.com/ato/clojars-web/issues/219 for it. It happened with play-clj/lein-template 0.3.7, as well as nightcode/nightcode 0.3.7. And yes, they are quite large because they contain native binaries, but after a few tries they did eventually

Re: Deploying to Clojars no longer works

2014-07-05 Thread Zach Oakes
One thing worth noting is that I don't have a home internet connection, so all my deployments happen over a tethered 3G connection. I suppose that a large upload combined with a slow link to the net is the problem. On Saturday, July 5, 2014 12:24:20 PM UTC-4, Zach Oakes wrote: Regarding Read

Re: What does :resource-paths in leiningen do?

2014-07-05 Thread Chris Kuttruff
So if you have an arbitrary number of files in said resources directory, is there a good way to find all files underneath a certain resource path? if I have resources/foo.txt and resources/bar.txt, what function would I use to exact both names of the txt files I have? Thanks in advance, -Chris

Re: Deploying to Clojars no longer works

2014-07-05 Thread Colin Fleming
A few Cursive users have experience peer not authenticated errors - there's some info and some debugging steps here: https://github.com/cursiveclojure/cursive/issues/285. It seems to be caused by a problem with the certificates in your JVM, but it's not clear to me why it suddenly starts happening

[ANN] Nginx-Clojure v0.2.3 released

2014-07-05 Thread Xfeep Zhang
Nginx-Clojure https://github.com/nginx-clojure/nginx-clojure is a Nginx module for embedding Clojure or Java programs, typically those Ring based handlers. Release 0.2.3 contains four important updates 1. Fix issue - After invoking on coroutine based socket nginx worker will exit and