Re: awful performance on Windows 7 compared to anything else

2015-07-03 Thread Shantanu Kumar
Hi Colin, If you know that the delay is happening in the server-side Clojure code, maybe you can give https://github.com/kumarshantanu/espejito a try to determine where in the call stack is the latency happening? Shantanu On Friday, 3 July 2015 22:20:23 UTC+5:30, Colin Yates wrote: > > Hi all,

Re: awful performance on Windows 7 compared to anything else

2015-07-03 Thread Timothy Baldridge
Yourkit has free trials, give it a try. Timothy On Fri, Jul 3, 2015 at 2:23 PM, Alex Miller wrote: > Take thread dumps with ctrl-break and see what it's doing? Could be > something with the filesystem? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure

awful performance on Windows 7 compared to anything else

2015-07-03 Thread Alex Miller
Take thread dumps with ctrl-break and see what it's doing? Could be something with the filesystem? -- 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 mode

Re: cider-error go to line

2015-07-03 Thread Ritchie Cai
Ah, ha, good to know I'm not crazy. For sure I'm join the voices to push the changes on nrepl side. Thanks On Friday, July 3, 2015 at 12:52:20 AM UTC-5, Bozhidar Batsov wrote: > > This is a problem on nREPL, not CIDER. See > http://dev.clojure.org/jira/browse/NREPL-59 for details. > > There are

awful performance on Windows 7 compared to anything else

2015-07-03 Thread Colin Yates
Hi all, I have a Clojure/ClojureScript app using http-kit. When deployed on Windows 7 it is a insanely slow. For example, loading the first screen loads immediately but then takes minutes to populate. The exact same jar on Windows XP, OS X, Linux, Windows 2008 server etc. take a handful of seco

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread Thomas Heller
That article makes it sound like an OOP beast, it is really much simpler than that. -- 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

Re: cider-error go to line

2015-07-03 Thread James Elliott
Yes, please comment in support of merging that patch! On Friday, July 3, 2015 at 12:52:20 AM UTC-5, Bozhidar Batsov wrote: > > This is a problem on nREPL, not CIDER. See > http://dev.clojure.org/jira/browse/NREPL-59 for details. > > There aren't any real solutions to this, other than fixing nREPL

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread Atamert Ölçgen
On Fri, Jul 3, 2015 at 2:19 PM, Thomas Heller wrote: > Hey James, > > "the webserver being a client" is really very simple. Basically instead of > starting one "app" you start two. Your actual "app" and the "web-app" that > depends on "app". One contains your business logic and the other everythi

Re: Different macro definitions via reader conditionals?

2015-07-03 Thread Mike Fikes
Great suggestion Leon! I’ve updated the post. > On Jul 2, 2015, at 10:19 AM, Leon Grapenthin wrote: > > @Mike: Great post. I think you should make it more explicit that the :cljs > branch of the macro is never used on Clojure and CLJS/JVM. > > Kind regards, Leon. -- You received this message

http-kit and context root?

2015-07-03 Thread Colin Yates
My google-fu is letting me down - how can you configure a context path (or context root depending on your preferred vocab ;)) with http-kit? -- 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] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread Thomas Heller
Hey James, "the webserver being a client" is really very simple. Basically instead of starting one "app" you start two. Your actual "app" and the "web-app" that depends on "app". One contains your business logic and the other everything related to translating HTTP to app API calls. "app" doesn'

Re: Creating jar specific defaults

2015-07-03 Thread Gary Verhaegen
You're probably using clojure.java.io/file (looks for files on the filesytem) instead of clojure.java.io/resource (looks for files in the classpath). On 20 June 2015 at 16:41, Timur wrote: > Hi everyone, > > I want to specify some defaults for a library that I pack as a jar, for > instance standa

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread James Henderson
Hey Thomas, thanks for your e-mail :) On Monday, 29 June 2015 11:25:44 UTC+1, Thomas Heller wrote: > > Hey, > > interesting approach but I don't like the nesting and "manual" wiring of > dependencies. > I've found people at both ends of that particular spectrum - some that won't live with DI,

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread James Henderson
Hi Timothy - firstly, thank you for taking the time to read through and reply. I understand it would have been very easy to read them and move on thinking 'just a nutter on the mailing list who doesn't really understand what he's talking about', but I do really appreciate your feedback - thanks