Re: Best practices for protocols

2010-10-17 Thread Shantanu Kumar
These strangeloop slides [PDF] by Chouser may help: http://strangeloop2010.com/talk/presentation_file/14491/Houser-ClojureExpressionProblem.pdf Regards, Shantanu On Oct 16, 11:45 pm, Zach Tellman ztell...@gmail.com wrote: I've dealt with a similar problem when creating Penumbra [1].  An 'app'

Re: Is this bug in Google AppEngine, appengine-clj or Clojure itself?

2010-10-17 Thread Mike Hinchey
I think it is caused by those 2 clojure bugs (which seem to be the same thing). You may be able to work around that problem by patching appengine-clj to hint the method call to be on the public interface: DatastoreService. (defn current-transaction Returns the current datastore transaction, or

Re: sql and cursors

2010-10-17 Thread Saul Hazledine
On Oct 17, 1:04 am, Kyle R. Burton kyle.bur...@gmail.com wrote: As far as I can tell, contrib.sql's functions do not use database cursors (at least for PostgreSQL, again as far as I can tell).  For result sets that are larger than you'd like to load into the running process, but rather step

Re: Traffic junctions as a metaphor for understanding the STM?

2010-10-17 Thread michele
Well, there are intelligent beings with the ability to make decisions entering the traffic junction, not exactly the same as with the STM. On Oct 16, 11:07 am, Sam Aaron samaa...@gmail.com wrote: This might be slightly off the wall, but I recently watched a tiny documentary about an

[ANN] rinzelight 0.0.2

2010-10-17 Thread Sergio Arbeo
Hi there, I've just released rinzelight 0.0.2, an image library for Clojure. It is my first clojure library, so please, comment, report bugs and ask for features. More info in the README and in here: http://www.serabe.com/2010/10/17/introducing-rinzelight-0-0-2/

Re: Traffic junctions as a metaphor for understanding the STM?

2010-10-17 Thread Sam Aaron
On 17 Oct 2010, at 8.54 am, michele wrote: Well, there are intelligent beings with the ability to make decisions entering the traffic junction, not exactly the same as with the STM. Of course, all analogies have their limitations; I wasn't proposing this as a perfect model, just something

Re: [ANN] rinzelight 0.0.2

2010-10-17 Thread Moritz Ulrich
Hello Sergio, this library looks very good! Many times better than working with images directly. I'll try if I have a use for it in my project. If so, you can be sure that I'll send you some pull requests on Github (I need some other effects, blitting and other stuff) Best Regards, Moritz Ulrich

Re: ANN: Emacs auto-complete plugin for slime users

2010-10-17 Thread Preecha P
Same here. It seems like auto-complete-mode doesn't fire up correctly. I tried to hook it using (add-hook 'slime-repl-mode-hook (lambda () (auto-complete-mode t) but it doesn't seems to do anything. I have to open the mode manually. On Oct 16, 11:27 am, Jarl Haggerty fictivela...@gmail.com

Re: Is this bug in Google AppEngine, appengine-clj or Clojure itself?

2010-10-17 Thread Darren Clarke
Adding that type hint fixed the problem. Thanks. On Oct 17, 3:18 am, Mike Hinchey hinche...@gmail.com wrote: I think it is caused by those 2 clojure bugs (which seem to be the same thing).  You may be able to work around that problem by patching appengine-clj to hint the method call to be on

ClojureCLR now on VS2010/.NET4 + easier to get started

2010-10-17 Thread dmiller
ClojureCLR can now be compiled to run under either .NET 3.5 or .NET 4.0. To support this, development is now under Visual Studio 2010. The build process has been improved (thanks to Kurt Schelfthout). Among other improvements, it will be easier for those wanting to play to get started. To get

Re: generator in Clojure

2010-10-17 Thread clwham...@gmail.com
I don't actually 'know' that I need a function that relies on mutable state, I'm really just trying to understand how to do what I want using the functional paradigm. I'm writing a data generator which creates CSV files to be uploaded to a test database. I'm simulating the behavior of some