Re: Google AI winner uses lisp

2010-12-10 Thread Jon Seltzer
CL On Dec 9, 7:09 pm, Ken Wesson kwess...@gmail.com wrote: On Thu, Dec 9, 2010 at 8:53 PM, Alec Battles alec.batt...@gmail.com wrote: I'm sure a few people have read this news already. It's been up for a week, though strangely ZDnet -- which, on principle, I refuse to link to Why? --

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Steve Purcell
javajosh javaj...@gmail.com writes: failing to load in the error message and all, I'd try that. I would still like to see slime in action, however. I have two emacs installed, GNU and Aquamacs. macports is still not able to do anything - I'm actually rather concerned about it's health. $

Re: Null-safe threading macro?

2010-12-10 Thread Daniel Werner
On Dec 10, 6:35 am, Alex Baranosky alexander.barano...@gmail.com wrote: Thanks, it is so hard to google symbols. Use the search bar on ClojureDocs: http://clojuredocs.org/ -- Daniel -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: Getting strange behavior when stubbing

2010-12-10 Thread Brian Marick
Shameless Self-promotion Dept: Here's how I'd write your three tests in Midje. https://github.com/marick/Midje (fact chains of locations are handled (distances Boston,MA Albany,NY LosAngeles,CA) = [2.0, 2.0] (provided (dist-in-miles anything anything) = 2.0)) (fact can convert distances from

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread javajosh
(conflicting advice snipped) If we can reach consensus on best (easiest, least error-prone) path to getting a working emacs clojure environment up on OSX I'll happily execute and even write up my experience. -- You received this message because you are subscribed to the Google Groups Clojure

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Steve Purcell
javajosh javaj...@gmail.com writes: (conflicting advice snipped) If we can reach consensus on best (easiest, least error-prone) path to getting a working emacs clojure environment up on OSX I'll happily execute and even write up my experience. I think there is consensus; the respondents to

Posted the Bowling Game Kata in Clojure w/ Video. Thoughts welcome. EOM

2010-12-10 Thread Tim Visher
-- 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 be patient with your first post. To unsubscribe from this group, send email to

Re: Posted the Bowling Game Kata in Clojure w/ Video. Thoughts welcome. EOM

2010-12-10 Thread Tim Visher
Because posting the link would make some modicum of sense… http://blog.twonegatives.com/post/2168030248/kata ^_^ -- 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

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Phil Hagelberg
On Fri, Dec 10, 2010 at 11:20 AM, javajosh javaj...@gmail.com wrote: (conflicting advice snipped) If we can reach consensus on best (easiest, least error-prone) path to getting a working emacs clojure environment up on OSX I'll happily execute and even write up my experience. I don't use OS

Re: Null-safe threading macro?

2010-12-10 Thread Alex Baranosky
Daniel, I actually did use that search and a search of -? doesn't come find -? -- 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 be

Re: Null-safe threading macro?

2010-12-10 Thread Daniel Werner
On 10 December 2010 22:08, Alex Baranosky alexander.barano...@gmail.com wrote: I actually did use that search and a search of -? doesn't come find -? The incremental search feature actually suggests -? while you're still typing, and clicking on the suggestion will take you to the correct docs

Re: Google AI winner uses lisp

2010-12-10 Thread javajosh
What is FFI? On Dec 9, 10:47 pm, Ken Wesson kwess...@gmail.com wrote: On Fri, Dec 10, 2010 at 12:43 AM, javajosh javaj...@gmail.com wrote: It does beg the question, though: what is a reasonable bare minimum function set that a real-life lisp would require? I think different people might

Re: Google AI winner uses lisp

2010-12-10 Thread Wilson MacGyver
Foreign function interface. To call C/C++ libs. On Dec 10, 2010, at 6:52 PM, javajosh javaj...@gmail.com wrote: What is FFI? On Dec 9, 10:47 pm, Ken Wesson kwess...@gmail.com wrote: On Fri, Dec 10, 2010 at 12:43 AM, javajosh javaj...@gmail.com wrote: It does beg the question, though: what

Re: Null-safe threading macro?

2010-12-10 Thread Alex Baranosky
On Chrome, the Javascript search popup extends off the top of the page... Hence I can not see all of the entries in it. -- 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: Getting strange behavior when stubbing

2010-12-10 Thread Alex Baranosky
Hey Brian, I just got your latest version of Midje via lein, and I'm able to use it. I had been getting a stack trace previously. Midje is nice, because I can do more specialized stubbing with it than with the code I got from Amit Rathore's blog/book. Also, this is the fmap I wrote (with the

Re: Google AI winner uses lisp

2010-12-10 Thread Alec Battles
On Thu, Dec 9, 2010 at 8:53 PM, Alec Battles alec.batt...@gmail.com wrote: I'm sure a few people have read this news already. It's been up for a week, though strangely ZDnet -- which, on principle, I refuse to link to Why? Because of the website's close ties to Washington. This blog post

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Alec Battles
I don't use OS X so I can't comment on such a consensus, but while I appreciate the sentiment, it's actually harmful to some degree to have lots of blog posts scattered around everywhere that all have slightly different advice, especially since that advice usually becomes outdated within the

Re: Lisp history

2010-12-10 Thread Alec Battles
 For those who were not around when the Common Lisp standard was being debated you might find this interesting: http://lisp.geek.nz/weekly-repl/ Common Lisp Standardization: The good, the bad, and the ugly by Peter Seibel Thanks for sharing this. Anyone whose name pulls up a profile page

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Phil Hagelberg
On Fri, Dec 10, 2010 at 5:07 PM, Alec Battles alec.batt...@gmail.com wrote: I strongly suggest improving the docs on the Clojure wiki instead; that way errors can be fixed by the community. Why does the one preclude the other? Also, if people aren't going to blog about Clojure, what future

command line options parser

2010-12-10 Thread gaz jones
oh hi, i needed (well, wanted) a command line parser more like opt parser in ruby so i threw one together: https://github.com/gar3thjon3s/clargon thought i would share in case anyone else finds it useful. im aware of with-command-line but it didnt quite do what i wanted as i needed functions

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Mike Meyer
On Sat, 11 Dec 2010 01:07:51 + Alec Battles alec.batt...@gmail.com wrote: I don't use OS X so I can't comment on such a consensus, but while I appreciate the sentiment, it's actually harmful to some degree to have lots of blog posts scattered around everywhere that all have slightly

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread gaz jones
brew install emacs --cocoa worked pretty well for me. and then my fork of emacs-starter-kit if that is useful to anyone: https://github.com/gar3thjon3s/emacs-starter-kit my default-profile.el has a few settings for making the brew installed emacs work better with os x. by the way thanks for

OOM with Agents

2010-12-10 Thread Michael Ossareh
Hi, I've cobbled together some grungy code to attempt to work out the number of employees in different ranges - the code is a horrible mess of side effects: https://gist.github.com/737179 (pmap process-company (take 1500 companies)) results in: Exception in thread pool-2-thread-3905

Re: command line options parser

2010-12-10 Thread Alan
Have you considered instead providing a clojure wrapper around a well- known java command-line parser? The only one I've used is apache- commons-cli, which I found to be pretty lackluster, but http://www.freebsdsoftware.org/java/java-getopt.html is from FreeBSD and claims to be a 100% compatible

Re: OOM with Agents

2010-12-10 Thread Ken Wesson
On Sat, Dec 11, 2010 at 1:05 AM, Michael Ossareh ossa...@gmail.com wrote: I've cobbled together some grungy code to attempt to work out the number of employees in different ranges - the code is a horrible mess of side effects: https://gist.github.com/737179 ... There are 54874 companies in

Re: Getting strange behavior when stubbing

2010-12-10 Thread ka
Hi Brian, Can you explain this in more detail : I didn't have the laziness problem. I don't know if that was by accident or because Midje applies an #'eagerly function before checking. Because it seems that if code has a laziness problem, Midje will actually hide it in tests? Thanks. --

Re: Getting strange behavior when stubbing

2010-12-10 Thread Ken Wesson
On Sat, Dec 11, 2010 at 1:16 AM, ka sancha...@gmail.com wrote: Hi Brian, Can you explain this in more detail : I didn't have the laziness problem. I don't know if that was by accident or because Midje applies an #'eagerly function before checking. Because it seems that if code has a

Re: OOM with Agents

2010-12-10 Thread Alex Osborne
Michael Ossareh ossa...@gmail.com writes: There are 54874 companies in the companies var. The OOM tends to take place when there are 1000 or so companies to process. What is likely to be causing this issue? I replied on IRC but just recapping here. I think you've probably been bitten by