Re: [ANN] mixfix syntax for clojure 0.2.0

2015-09-24 Thread Vitaliy Vlasov
Thank you for an awesome library! Just a couple of days ago i've posted a question (https://groups.google.com/forum/#!topic/clojure/AVqx5Tbn8K8) and it was recommended to me. A miraculous coincidence:) Vitaliy. On Monday, September 14, 2015 at 8:40:55 PM UTC+3, Vitaliy Akimov wrote: > > The mai

Re: [ANN] Leiningen 2.5.3

2015-09-24 Thread James Elliott
Awesome! I got the Homebrew recipe updated to include this (there were some additional changes needed to accommodate their new sandbox mechanism on their Continuous Integration server), so now everyone using Homebrew is past the GPG issue, and I can be back on their mainline release. On Monday,

Immediate streaming of shell cmd stdout to a browser

2015-09-24 Thread Karel Miarka
Hi, I want to run a long running bash script from a webapp and see it's continuous results on the page. I use conch to get the process' output stream and use this simple ring handler: (defn handler [req] (response/response (let [p (sh/proc "/home/xyz/build.sh")] (rin

defprotocol/deftype namespacing

2015-09-24 Thread Gregg Reynolds
Is there some compelling reason why deftype and defprotocol do not allow specification of a namespace? They install their products in the current namespace, in contrast to gen-class and gen-interface. Thanks Gregg -- You received this message because you are subscribed to the Google Groups "Clo

Core.matrix protocols for ND4J

2015-09-24 Thread Chris V. Nicholson
Hey folks - Just wanted to flag these core.matrix protocols for ND4J, which supports n-dimensional arrays and scientific computing more generally on the JVM. https://github.com/whilo/clj-nd4j https://github.com/deeplearning4j/nd4j If you have any questions, please let us know on Gitter: http

Re: Immediate streaming of shell cmd stdout to a browser

2015-09-24 Thread Gary Verhaegen
Are you sure that the script itself is streaming its results? Shells sometimes batch things when they detect they are not connected to a tty. On 24 September 2015 at 16:45, Karel Miarka wrote: > Hi, > > I want to run a long running bash script from a webapp and see it's > continuous results on th

core.typed and cider

2015-09-24 Thread JvJ
Hi, Maybe this topic has already been addressed, but if it has been, I couldn't find it. When using cider, I tend to user C-c C-l a lot to reload my namespaces as I'm writing them. Is there an easy way to incorporate type-checking into this process? A load-file-and-typecheck command? I've a

How to email PDF attachments

2015-09-24 Thread Jonathon McKitrick
I'm using clj-pdf to great success to stream a generated PDF when requested by URL, and postal to send email. I now need to output the PDF to an attachment in the email itself, and this needs to be Heroku-capable (no local filesystem). Has anyone done something similar, or any of the pieces? -

Re: How to email PDF attachments

2015-09-24 Thread Carlo Zancanaro
I don't know anything about your PDF/email problem, but I was under the impression that you could use the local filesystem in Heroku, but that you can't rely on it for persistance. https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem So, if you had a solution that was "write to disk,

cl-format bug?

2015-09-24 Thread jongwon . choi
(clojure.pprint/cl-format false "~A" :a) => ":a" ;; instead of "a" This happens in both Clojure 1.6 and 1.7. It is a bug, isn't it? -- Sydney, Australia

Re: cl-format bug?

2015-09-24 Thread Andy Fingerhut
It is definitely the case that this behavior of cl-format you demonstrate does not match the behavior of Common Lisp's format when given the same arguments. It doesn't capitalize the keyword name, either, but I think leaving it lower case is more in keeping with Clojure's case-sensitive symbol nat