ANN: Clojail -- A new sandboxing library for Clojure

2010-11-11 Thread Rayne
Not totally satisfied with clj-sandbox, I've took the liberty of writing a new sandboxing library. It takes ideas from clj-sandbox and tries to implement them in a cleaner and saner way. My focuses for this project are on ease of use, simplicity, and documentation. The github page for this project

Re: Simple Neural Network DSL -- request for feedback

2010-11-11 Thread Carson
Hi! That looks interesting. I'm curious how big a network are you intending to experiment with? (ie, # of layers, size of layers?). Carson On Nov 11, 8:17 am, "Eric Schulte" wrote: > Hi Saul, > > Saul Hazledine writes: > > On Nov 10, 11:20 pm, "Eric Schulte" wrote: > >> Hi, > > >> Inspired

Re: Regarding lexical scoping and usage of 'let' in a recursive function call

2010-11-11 Thread Ken Wesson
On Thu, Nov 11, 2010 at 3:06 PM, Manoj wrote: > I am a newbie to Clojure, so have some confusion around lexical > scoping especially when "let" is used in a recursive function call. To > be more precise, I am taking the example memoize() function used for > explaining the concept of atom at clojur

Regarding lexical scoping and usage of 'let' in a recursive function call

2010-11-11 Thread Manoj
I am a newbie to Clojure, so have some confusion around lexical scoping especially when "let" is used in a recursive function call. To be more precise, I am taking the example memoize() function used for explaining the concept of atom at clojure.org. Here is how it is explained: (defn memoize [f]

Re: REQUEST for feedback on http://clojure.org

2010-11-11 Thread Rasmus Svensson
I also noticed that clojure.org/agents does not mention the *agent* var... // raek -- 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 b

Re: Simple Neural Network DSL -- request for feedback

2010-11-11 Thread Eric Schulte
Sean Grove writes: > Very elegant. From the example, it looks like it takes away a great > deal of the tedium of neural networks. > Thanks, that is certainly the goal. > > Do you have any more significant code examples than those listed on [3]? > At the bottom of [3] I link to both a perceptro

Re: Simple Neural Network DSL -- request for feedback

2010-11-11 Thread Eric Schulte
Hi Saul, Saul Hazledine writes: > On Nov 10, 11:20 pm, "Eric Schulte" wrote: >> Hi, >> >> Inspired by cgrand's regexp example [1], I've implemented a simple DSL >> for specifying neural networks using Clojure data types.   > > This is really clear. The web page documentation is awesome. > Grea

Re: Being "not Lisp" is a feature?

2010-11-11 Thread lprefontaine
Hi, You are lucky you do not work with me day to day, my sense of humor is not always "on". The last two weeks I had to interact with zombies in two different IT departments (two separate customers) and swearing mode was on for most of that period. Yesterday was particularly awful. I think you g

Re: Collapse some functions? (was Re: clojure.core function decision tree)

2010-11-11 Thread Gary Poster
On Nov 11, 2010, at 10:36 AM, Gary Poster wrote: > > To dupe, this is my really-fast definition of seq-reverse, ..."really fast" is supposed to mean "really quickly written" not "highly performance optimized"... -- You received this message because you are subscribed to the Google Groups "Cl

Re: Collapse some functions? (was Re: clojure.core function decision tree)

2010-11-11 Thread Gary Poster
On Nov 10, 2010, at 9:05 PM, Sean Corfield wrote: > On Wed, Nov 10, 2010 at 11:37 AM, Gary Poster wrote: >> In my opinion, its promise is that it reverses anything that supports the >> minimal seq interface. Its implementation can be pluggable via protocols > > Hmm, don't protocols have some

Re: Can't get started with maven

2010-11-11 Thread Saul Hazledine
On Nov 11, 4:36 am, Jarl Haggerty wrote: > Leiningen was working just fine and I was perfectly happy, and one day > I decided I'd like to wrap my head around maven.   I went through this once and, in my opinion, time is better spent reading books or writing code. > --

Re: Being "not Lisp" is a feature?

2010-11-11 Thread Mike Anderson
On Nov 10, 4:42 am, lprefonta...@softaddicts.ca wrote: > Gosu -> standard athlete on performance enhancing drugs (EPO, steroids, ...) > Clojure -> genetically modified athlete Presumably the genetically modified athlete was also born on Krypton :-) -- You received this message because you are su

Re: Being "not Lisp" is a feature?

2010-11-11 Thread Shantanu Kumar
And then comes this (Paul Stadig's tweet, RT by Stuart Sierra :) http://language-comparison.s3.amazonaws.com/comparison.html Regards, Shantanu On Nov 11, 1:33 am, lprefonta...@softaddicts.ca wrote: > Sometimes a bit of acid in a joke improves it... > > I`ll be there next year certainly :)) > > B

possible (try (finally)) bug

2010-11-11 Thread Micah Martin
Hi All, I stumbled across this strange behavior... user=> (try (finally (doseq [_ [1 2]]))) java.lang.UnsupportedOperationException: Cannot recur from catch/finally (NO_SOURCE_FILE:79) It doesn't seem right to me. Is it a bug? Micah -- You received this message because you are subscribed to

Can't get started with maven

2010-11-11 Thread Jarl Haggerty
Leiningen was working just fine and I was perfectly happy, and one day I decided I'd like to wrap my head around maven. The instructions for using the maven clojure plugin are very concise and easy to follow, but they just don't seem to work for me. My pom.xml is at the bottom of this message. 1

Re: Collapse some functions? (was Re: clojure.core function decision tree)

2010-11-11 Thread pepijn (aka fliebel)
I like this! It would be very helpful to have a type-hinted arglist(So I know it takes a seq and a number), and :similar to group things like map, pmap, amap, and :for for functions which are made for a specific thing, like swap! or deref. On Nov 11, 1:04 am, Michael Gardner wrote: > On Nov 10, 2

Re: Find all ties in a sorted list

2010-11-11 Thread nicolas.o...@gmail.com
A solution based on unfold with the last element read (or initially nil) and the rest of the list as a seed. On Thu, Nov 11, 2010 at 12:12 AM, David Jacobs wrote: > Thanks for all of the options, and Ken, thanks for the detailed comparison. > This will be extremely useful. (I'm trying to port so