Re: doseq vs dorun

2013-10-17 Thread Cedric Greevey
Ideally, you wouldn't be using a side effect at all, but something like reducers to return a single computed result after going over the sequence. (If the input's too big for main memory, you'd also need to partition the input seq into reducible-collection chunks small enough to fit in memory.)

Re: doseq vs dorun

2013-10-17 Thread Stefan Kamphausen
Hi, What is the idiomatic way of parallelizing a computation on a lazy seq? keep in mind, that pmap lazily processes the seq with a moving window the size of which depends on the available cores on your machine. If the processing of one element takes a long time, the parallel work will wait

Re: doseq vs dorun

2013-10-17 Thread Mikera
On Thursday, 17 October 2013 10:34:18 UTC+8, Pradeep Gollakota wrote: Hi All, I’m (very) new to clojure (and loving it)… and I’m trying to wrap my head around how to correctly choose doseq vs dorun for my particular use case. I’ve read this earlier post

Re: [ANN] Counterclockwise - Clojure plugin for Eclipse

2013-10-17 Thread Chris Gill
wow this is really polished! really great how this is standalone, and so small! I enjoyed using CCW in eclipse, but this is even better :D great work Laurent! On Thursday, October 10, 2013 9:36:01 AM UTC-4, Laurent PETIT wrote: Hi, a new version of Counterclockwise, the Clojure plugin for

Are there any GUI based Clojure apps out there?

2013-10-17 Thread Jonathon McKitrick
I'd be interested in seeing some client-side apps with a GUI, if there are any. 'Ants' is a good demo, but I'm looking for something a little more. ;-) -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Josh Kamau
you mean something like this https://github.com/arthuredelstein/clooj On Thu, Oct 17, 2013 at 4:31 PM, Jonathon McKitrick jmckitr...@gmail.comwrote: I'd be interested in seeing some client-side apps with a GUI, if there are any. 'Ants' is a good demo, but I'm looking for something a little

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Arie van Wingerden
Seesaw? https://github.com/daveray/seesaw 2013/10/17 Jonathon McKitrick jmckitr...@gmail.com I'd be interested in seeing some client-side apps with a GUI, if there are any. 'Ants' is a good demo, but I'm looking for something a little more. ;-) -- -- You received this message because

Re: is PG's imperative outside-in advice any good?

2013-10-17 Thread Benny Tsai
For those who use clojure.tools.logging, there's also the handy spy function. On Tuesday, October 15, 2013 6:41:38 PM UTC-7, dgrnbrg wrote: If this is something you do often, spyscope is a library I wrote to simplify this sort of investigation. You can print an expression by writing #spy/d

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Andy Fingerhut
The Clojure namespace browser was developed using the Seesaw library: https://github.com/franks42/clj-ns-browser On Thu, Oct 17, 2013 at 6:33 AM, Arie van Wingerden xapw...@gmail.comwrote: Seesaw? https://github.com/daveray/seesaw 2013/10/17 Jonathon McKitrick jmckitr...@gmail.com

Re: [ANN] Counterclockwise - Clojure plugin for Eclipse

2013-10-17 Thread Niels van Klaveren
Window Preferences General Editors Text Editor Displayed Tab Width change 4 to 2 On Saturday, October 12, 2013 7:21:39 PM UTC+2, Gary Zhao wrote: Great. But I have one thing confusing. Auto indent uses two spaces, but tab uses four spaces. How can I make them consistent? Either 2 or 4

Re: Dependency management

2013-10-17 Thread Ben Mabey
On 10/17/13 9:38 AM, Andrei Serdeliuc wrote: Hi, I was wondering how people handle dependencies that aren't on clojars. We have a couple of clojure libs which are hosted on an internal github enterprise. So far I've been using lein's checkouts feature, but this seems fairly difficult when

Dependency management

2013-10-17 Thread Andrei Serdeliuc
Hi, I was wondering how people handle dependencies that aren't on clojars. We have a couple of clojure libs which are hosted on an internal github enterprise. So far I've been using lein's checkouts feature, but this seems fairly difficult when trying to setup continuous integration. As far

Re: Dependency management

2013-10-17 Thread Jozef Wagner
We are using apache archiva. Access through https, custom certificate and username/password, all work flawlessly in lein. JW On Thu, Oct 17, 2013 at 5:56 PM, Ben Mabey b...@benmabey.com wrote: On 10/17/13 9:38 AM, Andrei Serdeliuc wrote: Hi, I was wondering how people handle dependencies

Re: Dependency management

2013-10-17 Thread Shantanu Kumar
There are also Archiva[1] and Artifactory[2]. [1] http://archiva.apache.org/index.cgi [2] http://www.jfrog.com/home/v_artifactory_opensource_overview Shantanu On Thursday, 17 October 2013 21:26:09 UTC+5:30, Ben Mabey wrote: On 10/17/13 9:38 AM, Andrei Serdeliuc wrote: Hi, I was

Re: Dependency management

2013-10-17 Thread Gary Trakhman
I've used an old version of Archiva, and we currently use Nexus. Nexus was the better experience. On Thu, Oct 17, 2013 at 12:05 PM, Shantanu Kumar kumar.shant...@gmail.comwrote: There are also Archiva[1] and Artifactory[2]. [1] http://archiva.apache.org/index.cgi [2]

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Dave Ray
Nightcode is also client-side and all Clojure: https://nightcode.info/ Dave On Thu, Oct 17, 2013 at 7:02 AM, Andy Fingerhut andy.finger...@gmail.comwrote: The Clojure namespace browser was developed using the Seesaw library: https://github.com/franks42/clj-ns-browser On Thu, Oct

Re: Dependency management

2013-10-17 Thread Sean Corfield
I'll +1 Archiva. It's easy to setup and pretty simple to use. For a long time I resisted the idea of running an internal Maven repo at World Singles so we relied on lein-localrepo and other somewhat hacky techniques (that Technomancy regularly ribbed me about :) and once we reached three rogue

Re: Dependency management

2013-10-17 Thread Gary Verhaegen
At work, we're using Jenkins for CI. It happens to have a maven server plugin and a leiningen plugin. I did not participate in the original setup of the Jenkins system, but I was the one who (stealthily at first) installed both plugins, which is doable by just clicking around on the Jenkins

Confusing ArityExceptions from macros

2013-10-17 Thread Alex Coventry
If you've ever had a confusing ArityExceptionhttp://clojure-log.n01se.net/date/2013-10-16.html#19:37 while working with macros, the reason may be that clojure.lang.Compiler.macroexpand1 rethrows any

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread John Gabriele
Seesaw is, of course, the GUI *toolkit* for creating GUI apps. Though, it does come with a lot of examples. Also, speaking of seesaw, it looks like ClojureSphere lists a number of projects which make use of it: http://www.clojuresphere.com/seesaw/seesaw (scroll down to Dependents). -- John

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Karsten Schmidt
If you mean examples of Clojure apps featuring a GUI, here are a couple of identity generators, both using my own GUI lib directly building on OpenGL (all controllers are VBOs). I've been meaning to release this for a long time, but haven't gotten around cutting a release writing docs...

Re: doseq vs dorun

2013-10-17 Thread Brian Craft
I have the same use case: walking a seq of an input file, and doing file/db operations for each row. pmap is working very well, but it has required a lot of attention to the data flow, to make sure that no significant compute is done in the main thread. Otherwise IO blocks the compute. I

Re: Dependency management

2013-10-17 Thread Softaddicts
We have been using archiva for a long time. Less sophisticated than nexus but a lot simpler to set up, at least that was the state of things more than 2 years ago. Luc P. I've used an old version of Archiva, and we currently use Nexus. Nexus was the better experience. On Thu, Oct 17,

Re: [ANN] Jig

2013-10-17 Thread zcaudate
Would it be possible to put up a video of a typical workflow example with pedestal. It's quite difficult for me to piece everything together just by reading the documentation. Chris -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: is PG's imperative outside-in advice any good?

2013-10-17 Thread Mars0i
In CL, `let*` works like Clojure's `let`, in that both allow you to bind later variables to valued calculated from earlier ones. (CL's `let` only allows references to things defined before entering the `let`.) A couple of years ago I was hacking on some CL code originally written by someone

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Mikera
On Thursday, 17 October 2013 21:31:12 UTC+8, Jonathon McKitrick wrote: I'd be interested in seeing some client-side apps with a GUI, if there are any. 'Ants' is a good demo, but I'm looking for something a little more. ;-) I wrote a small game Ironclad in Clojure which has a reasonably

Re: Are there any GUI based Clojure apps out there?

2013-10-17 Thread Taegyoon Kim
DrClojure https://bitbucket.org/ktg/drclojure It is a very simple Clojure IDE. 2013년 10월 17일 목요일 오후 10시 31분 12초 UTC+9, Jonathon McKitrick 님의 말: I'd be interested in seeing some client-side apps with a GUI, if there are any. 'Ants' is a good demo, but I'm looking for something a little

Using Friend with a proxy

2013-10-17 Thread Matthew Chadwick
hi, I'm using Friend, and it works very well, except now I've got things set up in production my app server has a reverse-proxy in front and the redirects no longer work for my protected routes. I tried using requires-scheme-with-proxy but without success...am playing around with it now, don't