[ANN] CFP - ACCU 2014 Conference, 8 - 12 April 2014, Bristol, UK

2013-10-02 Thread Giovanni Asproni
Hi All, I'm sending this on behalf of Jon Jagger, the conference Chair. The CFP for the ACCU 2014 conference is now open. The deadline for sending your proposal is the 5th of November 2013. The conference has a long tradition of high quality sessions covering many aspects of software

Re: Integration with Java dependency injection frameworks?

2013-10-02 Thread Cedric Greevey
Erm ... a MOOC? On Tue, Oct 1, 2013 at 9:14 PM, Marshall Bockrath-Vandegrift llas...@gmail.com wrote: Hi all: I was wondering – does anyone have any experience with or patterns for integrating Clojure with existing Java dependency injection frameworks? I’m working with the LensKit

Re: how to reload Clojure files while connected to Clojurescript browser repl in Emacs?

2013-10-02 Thread George Oliver
On Sunday, September 29, 2013 8:12:23 PM UTC-7, Tim Visher wrote: Now with nrepl's ability to have multiple sessions open at once (an ability I haven't taken any advantage of personally), you should be able to have a JVM nrepl open _and_ a browser repl nrepl session, both of which would

Re: RBAC/ACL using core.logic or similar

2013-10-02 Thread Dave Della Costa
Hi ronen, This doesn't address your question re: how do it in pure Clojure, but as a data point we recently implemented a wrapper for Shiro in Clojure for use in setting policies on a ring-based web app. We are using our own solution for checking the access policies on routes themselves, which

Re: Parallelising over a lazy sequence - request for help

2013-10-02 Thread Paul Butcher
Alan, Apologies for the delayed reply - I remember Iota well (there was some cross-fertilisation between it and foldable-seq a few months back IIRC :-) Having said that, I don't think that Iota will help in my particular situation (although I'd be delighted to be proven wrong)? Given that the

Re: Integration with Java dependency injection frameworks?

2013-10-02 Thread Marshall Bockrath-Vandegrift
Cedric Greevey cgree...@gmail.com writes: Erm ... a MOOC? Massive Open Online Course – e.g., Coursera, edX, Udacity, etc. This is for the Coursera-offered version of the University of Minnesota course on recommendation systems, but that didn’t seem particularly relevant to the problem at hand.

Re: Jsonify a Jdbc4Array in Clojure

2013-10-02 Thread Christian Jauvin
Ah finally, thanks John, the with-open pattern was indeed the missing piece: it works! Just to summarize, here's what works for me: (extend-type org.postgresql.jdbc4.Jdbc4Array json/JSONWriter (-write [o out] (json/-write (.getArray o) out))) ; plus any other additional required custom

Re: Jsonify a Jdbc4Array in Clojure

2013-10-02 Thread Christian Jauvin
Actually, re-reading the jdbc/query doc http://clojure.github.io/java.jdbc/#clojure.java.jdbc/query I can't find any reference to this :connection keyword param.. may I ask where you got it from? On Wednesday, October 2, 2013 9:50:13 AM UTC-4, Christian Jauvin wrote: Ah finally, thanks

Re: Jsonify a Jdbc4Array in Clojure

2013-10-02 Thread John D. Hume
I believe it was on the clojure-docs page (linked from the clojure.java.jdbc readme) where they talk about managing your own connection. The more idiomatic way may be to wrap the whole thing in some transaction fn or macro. Sorry I'm not familiar with the API. A lot of vars are deprecated, but

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-02 Thread Peter Mancini
Ok, so you did not get lein working. If it were working you would not have problems creating a new project. I know you are eager to press forward. Admirable. However, it is what we call initiative without judgement. In the world of engineering that is considered ill-advised. So, lets get back

my first clojure wat moment - misunderstanding or bug?

2013-10-02 Thread James Warren
I've been using Clojure for a couple months, so while I feel comfortable with it, I'm not certain whether some unusual behavior I encountered is a bug or a lack of understanding on my part. (I suspect the latter.) The context arose from using Clojure reflection to inspect a class generated by

Re: my first clojure wat moment - misunderstanding or bug?

2013-10-02 Thread Marek Kubica
On Wed, 2 Oct 2013 14:19:31 -0700 (PDT) James Warren jameswarr...@gmail.com wrote: (defn foo [^Class c] ;; note: (into [] (keys (clojure.lang.Reflector/getStaticField c dummyMap works (keys (clojure.lang.Reflector/getStaticField c dummyMap))) (def m (foo DummyClass)) (println m) ;;

[Semi OT] Staples Acquires Runa to Transform Shopping Experience Through Personalization

2013-10-02 Thread Angel Java Lopez
http://online.wsj.com/article/PR-CO-20131002-904169.html The Runa facility in San Mateo will serve as the newest Staples Lab, following locations in Seattle and Cambridge. In the coming months Staples plans to increase the staff in San Mateo. Candidates with backgrounds in Clojure programming

Re: [Semi OT] Staples Acquires Runa to Transform Shopping Experience Through Personalization

2013-10-02 Thread Russell Whitaker
On Wed, Oct 2, 2013 at 3:53 PM, Angel Java Lopez ajlopez2...@gmail.com wrote: http://online.wsj.com/article/PR-CO-20131002-904169.html The Runa facility in San Mateo will serve as the newest Staples Lab, following locations in Seattle and Cambridge. In the coming months Staples plans

Re: [ANN]: ova 0.9.6 - the bestest mutable array ever! (with lots of documentation)

2013-10-02 Thread Adam Clements
Perfect timing, I just sat down to solve this exact problem, sketched out a vague idea of what I wanted and then saw this which does everything I needed but better! It's really handy for Component/Entity/System designs, as it essentially takes care of the whole entity part of the program and

Re: Problems starting with Clojure and Leiningen and Light Table

2013-10-02 Thread Zeynel
Ok. I created a project and there is core.clj file and I also ran the failing tests included in the project file. One thing I noticed the installer didn't do is that it did not put a shortcut to closure REPL on the start menu. I am just starting the windows command line from the start menu.

Re: [ANN] 美味しいClojure

2013-10-02 Thread Marek Kubica
On Tue, 1 Oct 2013 22:01:02 -0700 (PDT) Nicolas Modrzyk hellon...@gmail.com wrote: The whole text has also been written in English, so I guess there could be a chance to put it out there. But we have had no contacts with US/UK publishers so far. Did you try the usual suspects like O'Reilly

Re: [ANN] 美味しいClojure

2013-10-02 Thread Alan Busby
On Thu, Oct 3, 2013 at 9:30 AM, Marek Kubica ma...@xivilization.net wrote: On Tue, 1 Oct 2013 22:01:02 -0700 (PDT) Nicolas Modrzyk hellon...@gmail.com wrote: The whole text has also been written in English, so I guess there could be a chance to put it out there. But we have had no

Re: API management in Clojure

2013-10-02 Thread Mikera
Hi Jozef, Sounds interesting - is it open source / can you give a URL? Design question: Why are you interpreting resources as a reducible? I can see that making sense for some resources, but not for others. As for complected - be careful not to confuse this with composed. It's perfectly

Re: my first clojure wat moment - misunderstanding or bug?

2013-10-02 Thread Elias Zaretsky
Are you using Java 6 by any chance? This issue may be due to a gotcha in java.util.EnumMap. The implementation of the entry set iterator in EnumMap in Java 6 is unorthodox [1]. Its next() method always returns the same object, which is mutated to point to different entries in the map as the

Re: How to generalize these functions

2013-10-02 Thread Leif
I think functions like this become pretty clear if you pull out 'unfold' and 'fold' utilites, like: https://github.com/Prismatic/plumbing/blob/master/src/plumbing/map.clj#L42 Their 'flatten' generates a seq [path value] pairs, and 'unflatten' turns that back into a map. With these, you can

Re: [ANN] 美味しいClojure

2013-10-02 Thread Dave Della Costa
Speaking of, is there anything other than Tokyo.clj (which seems pretty infrequent based on this: http://atnd.org/event/tokyoclj) going on for Clojurians in Tokyo? I work remotely, using Clojure, and would love to get together more frequently with other Clojure developers if possible. If anyone