`defrecord` produces warning in CLJS 0.0-1503 (lein-cljsbuild 0.2.8)

2012-10-14 Thread Shantanu Kumar
Hi, I noticed every instance of using `defrecord` with CLJS 0.0.1503/lein-cljsbuild 0.2.8 is emitting the following warning during compilation: WARNING: Protocol IPrintable is deprecated at line ## filename What is the recommended way to use `defrecord` as of the new CLJS version? When I try

Re: pmap performance degradation after 30-40 min of work?

2012-10-14 Thread Jim - FooBar();
On 14/10/12 00:17, Ben Mabey wrote: I switched from pmap to (r/fold n (r/monoid into vector) conj coll)) and the same thing happened again! after approximately 50 minutes cpu utilisation dropped from 4/4 to 1/4...I don't understand! Jim Are you holding on to the head of the collection?

problem with extern file using cljsbuild

2012-10-14 Thread Wei Hsu
I'm using the Google Maps API in my Clojurescript project, which worked fine until I compiled in advanced mode. The compiler doesn't seem to pick up the extern filehttp://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3.jsthat I specified. Could someone point

[ANN] neurotic-0.2.1 and blind-0.2.2

2012-10-14 Thread Bronsa
Neurotic is a library that implements a `deftrait` macro and support for implementing those traits in `deftype`/`defrecod` The purpose of this library is to provide a mechanism of code-reuse for those occasions when using a map and `extend` is not fast enough, or, in the case of java

Re: problem with extern file using cljsbuild

2012-10-14 Thread Pierre Henry
Following the link to the extern file it seems the *google.map *lib is not found when the VM loader try to load your code... Le dimanche 14 octobre 2012 13:14:33 UTC+2, Wei Hsu a écrit : I'm using the Google Maps API in my Clojurescript project, which worked fine until I compiled in

Re: Expanding the Community Through Online Courses

2012-10-14 Thread Andreas Scheinert
Well the scala course basically follows SICP for its lectures, examples and assignments. So the funny(or sad?) thing is scala will get a complete translation of SICP before clojure. On 7 Sep., 16:54, Armando Blancas abm221...@gmail.com wrote: This is a story from the trenches of your every day

Re: `defrecord` produces warning in CLJS 0.0-1503 (lein-cljsbuild 0.2.8)

2012-10-14 Thread Pierre Henry
Protocol IWriter is not loaded at creation time Le dimanche 14 octobre 2012 09:29:40 UTC+2, Shantanu Kumar a écrit : Hi, I noticed every instance of using `defrecord` with CLJS 0.0.1503/lein-cljsbuild 0.2.8 is emitting the following warning during compilation: WARNING: Protocol

Re: `defrecord` produces warning in CLJS 0.0-1503 (lein-cljsbuild 0.2.8)

2012-10-14 Thread David Nolen
On Sun, Oct 14, 2012 at 3:29 AM, Shantanu Kumar kumar.shant...@gmail.com wrote: Hi, I noticed every instance of using `defrecord` with CLJS 0.0.1503/lein-cljsbuild 0.2.8 is emitting the following warning during compilation: WARNING: Protocol IPrintable is deprecated at line ## filename We

Re: core.match and AOT

2012-10-14 Thread David Nolen
On Sat, Oct 13, 2012 at 6:43 PM, Michael michael-a...@db.com wrote: core.match is alpha and has the following documentation note: if your project depends on AOT do not use core.match at this time Can somebody outline what the aot issues are? It seems that deploying a web app to heroku with

ANN dj documentation

2012-10-14 Thread Brent Millare
https://github.com/bmillare/dj I've updated the motivation section. Now its a little bit more clear what dj is trying to accomplish, to increase the dynamism and integration of our runtime, especially with regards to managing our projects. With tools like

ANN: core.logic 0.8.0 beta1

2012-10-14 Thread David Nolen
This release is a long time coming. I've done some major reworking of the constraint portion of the system since the last alpha. If you are using core.logic 0.7.5 please consider trying this release out - feedback welcome! Enhancements * Improve performance of fd constraints * eqfd sugar for

Re: [ANN] neurotic-0.2.1 and blind-0.2.2

2012-10-14 Thread AtKaaZ
Hi! What would you do about this ? https://github.com/quil/quil/commit/d0312f0f119db066a8d613dec8803571b92bea39 Would you edit the file or change the reader? Thanks. On Sun, Oct 14, 2012 at 3:14 PM, Bronsa brobro...@gmail.com wrote: Neurotic is a library that implements a `deftrait` macro and

Re: Smarter code reloading with tools.namespace 0.2.0

2012-10-14 Thread James Qiu
useful tools 在 2012年10月5日星期五,Stuart Sierra 写道: Announcing... tools.namespace 0.2.0. Just released, it will reach Maven Central in a few hours. Short summary: reload code in the REPL with greater accuracy and awareness of dependencies. Full documentation in the README:

Re: where is pvmap?

2012-10-14 Thread Stuart Sierra
pvmap never made it into the main branch. The new 'reducers' library in Clojure 1.5 takes its place. -S On Saturday, October 13, 2012 9:50:23 AM UTC-4, Jim foo.bar wrote: I am struggling to find the namespace in which 'pvmap' lives! Can anyone help? Jim -- You received this message

ANN: ClojureScript release 0.0-1503

2012-10-14 Thread Stuart Sierra
Available in the Maven Central Repositories: http://search.maven.org/#artifactdetails%7Corg.clojure%7Cclojurescript%7C0.0-1503%7Cjar Complete change log: http://build.clojure.org/job/clojurescript-release/17/ Leiningen dependency information: [org.clojure/clojurescript 0.0-1503] -S --

Re: problem with extern file using cljsbuild

2012-10-14 Thread Wei Hsu
Thanks Pierre, your comment helped me track down and remove the line (:require [google.maps :as maps]) which compiled to goog.require('google.maps'). I forgot that you couldn't require externs. So do I always have to reference external symbols by their fully qualified names? e.g.

ANN CongoMongo 0.2.0

2012-10-14 Thread Sean Corfield
I meant to post this a few days ago... CongoMongo, a Clojure wrapper for MongoDB, just released version 0.2.0 to Clojars: Version 0.2.0 - October 10th, 2012: - Added URL / license / mailing list information to project.clj so it will show up in Clojars and provide a better user experience

ritz / nrepl.el / cljsbuild auto / cljsbuild repl-listen ... in same session?

2012-10-14 Thread Timothy Washington
Hi all, I have a ritz and nrepl.el session running. I'd also like to be able to *i)* auto compile cljs (lein cljsbuild auto) and *ii)* have a browser repl (lein trampoline cljsbuild repl-listen) in the same session. I can do them in separate sessions. But it would be nice to have it all inside

ANN: Clojure 1.3 and 1.4 Cheat Sheet v7

2012-10-14 Thread Andy Fingerhut
My recent updates prompted me to go through my to do list of enhancement ideas for the Clojure cheat sheet, and I did some of them. It is now up in the usual places: http://clojure.org/cheatsheet Several other versions, including ones with tooltips containing doc strings:

Re: ANN: Clojure 1.3 and 1.4 Cheat Sheet v7

2012-10-14 Thread Frank Siebenlist
Hi Andy, Really believe you should replace the current http://clojure.org/cheatsheet with http://jafingerhut.github.com/cheatsheet-clj-1.3/cheatsheet-tiptip-no-cdocs-summary.html as the tooltips will help people to navigate the clojure ecosystem, and that's the version everyone, especially

Re: Smarter code reloading with tools.namespace 0.2.0

2012-10-14 Thread Timothy Washington
I try 2 different repl environments, and run into classpath issues: 1) *lein.2 repl * 2) Running emacs with nrepl.el. I fire up *M-x nrepl-ritz-jack-in* user= (use '[clojure.tools.namespace.repl :only (refresh)]) nil user= (refresh) :reloading (foojs.core foojs.core-test) :error-while-loading

Re: ANN: Clojure 1.3 and 1.4 Cheat Sheet v7

2012-10-14 Thread Andy Fingerhut
Well, there is now a link near the top of http://clojure.org/cheatsheet to the tooltip versions called Download other versions with tooltips, so it shouldn't be too hard to find. That said, I haven't been publishing the updated cheatsheets at http://clojure.org/cheatsheet myself. Alex Miller