Re: clooj, a lightweight IDE for clojure

2011-07-18 Thread Adam Burry
> - I just created a new project and I get a user prompt in the REPL pane but I > can't type anything into that... so I can't actually try it... I click in > there but I don't get a cursor there, and typing does nothing. In case it > matters I'm running Mac OS 10.6.8 and java -version says: Re-

Re: Anyone on Google+ yet?

2011-07-14 Thread Adam Burry
The man himself: https://plus.google.com/101598622654270873929/posts On Jul 14, 3:12 pm, Claudia Doppioslash wrote: > My Clojure circle is all set up but empty. > My g+ is:http://gplus.to/gattoclaudia > > Please add link to your profile below. -- You received this message because you are subscr

Re: Results from 2011 State of Clojure survey

2011-07-12 Thread Adam Burry
On Jul 12, 7:58 am, Colin Yates wrote: > FWIW, I like clojure.org the way it is.  Without sounding like a complete > muppet, I think of Clojure as a set of surgeon's tools, all clean and layed > out on a shiny metal tray.  Minimalist, simple, clean and massively > effective once you have thought a

Re: Learning Idiomatic Clojure

2011-05-12 Thread Adam Burry
On May 12, 11:54 am, Mike Meyer wrote: > As others have said, this sounds like you need a book on > functional/LISP programming. There are some excellent books for other > LISP dialects. "Structure and Interpretation of Computer Programs" > (aka SICP) would be my recommendations, but "Practical

Re: A simulation of the Monty Hall Problem

2011-05-10 Thread Adam Burry
Ken: FYI, the best treatment of this problem I have seen is this one: http://www.cs.utoronto.ca/~hehner/PPP.pdf Adam -- 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 n

Re: Eval destroys equality

2011-05-06 Thread Adam Burry
On May 6, 3:10 pm, Andy Fingerhut wrote: > Caveat: The following fact may already be well known to those discussing this > issue, and I may not be clear on the goal of this effort. > > If the goal is to have functions compare as equal whenever they are > equivalent in some sense, then that is an

Re: Realtime Clojure program

2011-02-14 Thread Adam Burry
o > ask for specific ways to speed up but I thought I could at least ask a > general question. Have you tried: (set! *warn-on-reflection* true) Adam Burry -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send em

Re: Gosling on Clojure

2010-09-29 Thread Adam Burry
On Sep 29, 5:26 am, Stefan Kamphausen wrote: > Hi, > > anybody seen this already? > > http://www.basementcoders.com/transcripts/James_Gosling_Transcript.html > (Transcript fromhttp://basementcoders.com/?p=721) > > When being asked about other languages he says: "Clojure. Clojure's > got a lot of

Re: finding value nearest x

2010-09-27 Thread Adam Burry
On Sep 25, 11:41 am, Glen Rubin wrote: > I have a list of numbers and I want to find the one that is closest to > 136.  Is there an operator for performing this kind of operation or do > I need to to do it algorithmically? I think the normal way to do this is a k-d tree: http://en.wikipedia.org/

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-10 Thread Adam Burry
On Sep 10, 1:10 pm, lprefonta...@softaddicts.ca wrote: > Adam Burry wrote .. > > > On Sep 9, 5:06 pm, alux wrote: > > > But, @Luc > > > "pushing the advantage of Lisp > > > macros to the forefront is not obvious if the audience cannot compare > >

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-10 Thread Adam Burry
On Sep 9, 5:06 pm, alux wrote: > But, @Luc > "pushing the advantage of Lisp > macros to the forefront is not obvious if the audience cannot compare > with another (good/simple) implementation they understand well." > > Thats why I want to use a nifty metaphor ;-) Even your dumbest Java developer

Re: A difficult Metaphor for Macros (especially for Java people)

2010-09-08 Thread Adam Burry
Rich does a fine job of explaining macros here: http://channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Rich-Hickey-and-Brian-Beckman-Inside-Clojure See minutes 23 to 25. The macro concept is not complicated, it should not be hard to explain to someone. The benefits of code writing code should b

Re: trouble using nested map fn

2010-08-23 Thread Adam Burry
Benny is right. This problem is *much* easier if you break it up and do it in baby steps. You can start very simply, get it working, and then factor as you like. For example, in Scheme notation (I'm not a clojure guy yet): (map * '(1 2 3) '(1 2 3)) -> (1 4 9) (map (lambda (x) (map * '(1 2 3) x)) '

Re: What is the reason Lisp code is not written with closing parenthesis on new lines?

2010-08-19 Thread Adam Burry
On Aug 18, 3:26 pm, Nicolas Oury wrote: > There is no law. Do what is best for you. But there OUGHT to be a law. Adam -- 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

Re: Game development in Clojure

2010-08-16 Thread Adam Burry
On Aug 14, 2:39 am, Eric Lavigne wrote: > I discussed two problems. The first problem, which you addressed, was > mostly just a warm-up for discussing a related problem that is more > severe. Where can I put (def g) so that two files can "require" each > other? I would say this is not a clojure s