Re: [ANN] Leiningen 2.5.1 released

2015-01-15 Thread Mike Thompson
Reported here: https://github.com/technomancy/leiningen/issues/1800 The workaround is to remove any "wget" or "curl" in your PATH, which will force lein.bat to use powershell (when downloading from github). On Monday, January 12, 2015 at 9:25:26 PM UTC+11, Jean Niklas L'orange wrote: > Hi t

Re: remote nrepl/gorilla + port forwarding

2015-01-15 Thread Jony Hudson
Hi Sam, I think `lein gorilla :ip 0.0.0.0 :port 5` should work (it works on my machine). And if your router is forwarding 5 to that machine correctly then it should be accessible from outside. `lein gorilla :ip ROUTER_IP :port 5` shouldn't work because ROUTER_IP isn't an IP address

Re: [ANN] Clojure/West 2015 Call for Presentations

2015-01-15 Thread Alex Miller
Just to be clear, "Clojure" should be read in a big tent way here to include ClojureScript and anything Clojure-related of course. ClojureScript talks desired!! Alex -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: remote nrepl/gorilla + port forwarding

2015-01-15 Thread Sam Raker
Oh genius. Thanks! (Also thanks for pointing out the MASSIVE security hole I was trying to create for myself.) On Thursday, January 15, 2015 at 6:19:04 AM UTC-5, Jony Hudson wrote: > > Hi Sam, > > I think `lein gorilla :ip 0.0.0.0 :port 5` should work (it works on > my machine). And if your

Re: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-15 Thread Steve Miner
Alpha5 works for me. I noticed that the doc-string for *unchecked-math* doesn't mention the :warn-on-boxed behavior. Suggestion: "While bound to true, compilations of +, -, *, inc, dec and the coercions will be done without overflow checks. While bound to :warn-on-boxed, a warning will

Re: [ANN] dformat 0.1.0

2015-01-15 Thread David Sargeant
Looks really useful. I would recommend using (fn [] ...) instead of #(...) here: https://github.com/zirkonit/dformat/blob/master/src/dformat/core.clj#L115. Makes the code more readable. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Luc Préfontaine
Euuh ? I was expecting to find %5 and above and a bunch of embedded forms -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Steve Miner
Clever. The doc-strings for dformatter and dformat could use a little work. Remember, people will use (doc whatever) in the REPL so “same as above” isn’t very useful. Also, the dformatter doc implies more arguments than it actually takes. The order of arguments to dformat seems backwards to

Re: Clojurescript to target JVM?

2015-01-15 Thread Adam Clements
I've been looking at getting my startup time down on my Clojure on android app (it needs to be at least an order of magnitude smaller before I can ship), and revisited this as a potential candidate. The biggest friction point was that I would have to change which libraries I use and revisit all the

Properly parse clojure source code?

2015-01-15 Thread zirkonit
I'm thoroughly confused. If I want to parse clojure code from string without evaluating or caring a lot about its context, I'm out of luck. EDN tools choke on reader macros ( #(blah % blah) is not valid EDN ), yet more context-aware tools like read-string with *read-eval* set to false choke on

Re: Properly parse clojure source code?

2015-01-15 Thread Thomas Heller
https://github.com/clojure/tools.reader is probably your best bet. On Friday, January 16, 2015 at 12:13:22 AM UTC+1, zirkonit wrote: > > I'm thoroughly confused. If I want to parse clojure code from string > without evaluating or caring a lot about its context, I'm out of luck. > > EDN tools chok

Re: Properly parse clojure source code?

2015-01-15 Thread Andy Fingerhut
I agree that tools.reader is probably the best way to go. The following note is off the top of my head without double-checking the details, so please take it with a bit of "needs verification of details" thought. Even with tools.reader, I believe you either need to eval ns forms, or do your own p

Re: Properly parse clojure source code?

2015-01-15 Thread Reid McKenzie
If what you want is a parser not a reader, I reworked this [1] recently and to the limits of my testing it's "correct" in that it parses every reader construct I thought of to throw at it. You could improve it, I believe that #() nesting is supported by this grammar, but I was trying not to com

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Mike Haney
I completely agree that the order of arguments is backwards - precludes the use of 'partial'. Other than that, good job. Very clever idea. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com

Re: [ANN] dformat 0.1.0

2015-01-15 Thread Carl Cotner
Exactly my first reaction! :-) Great idea, zirkonit! Carl On Mon, Jan 12, 2015 at 4:52 PM, wrote: > It seems so obvious in retrospect... :) Good job. > > On Monday, January 12, 2015 at 4:43:08 PM UTC-5, zirkonit wrote: >> >> A tiny library, my first open-source Clojure release. Removes some >