Re: Beginners question - emacs & compiling tests

2013-05-30 Thread Adam Getchell
On Tuesday, March 19, 2013 4:22:59 PM UTC-7, John SJ Anderson wrote: > > > I had this same issue when working through the tutorial. The text > makes it sound like you should replace the entire contents of the test > file, but that's not the case -- you just need to replace the (deftest > ...)

Suggestions for using MPI in Clojure

2012-02-08 Thread Adam Getchell
Hello all, I have some scientific code written in Lisp (SBCL) that I'd like to convert to Clojure. However, to run efficiently on clusters, I'll need to learn use MPI. I've looked at MPJ-Express here, http://mpj-express.org/ and I understand that in theory it should be consumable in Clojure, and

Re: Literate programming

2011-12-23 Thread Adam Getchell
On Thu, Dec 22, 2011 at 11:54 AM, daly wrote: > On Tue, 2011-12-20 at 00:26 -0800, Adam Getchell wrote: > > BTW I looked at marginalia+leiningen, which seems to work for my > > purposes except I'm unclear where to put the .tex files. > > I'm not sure what this sen

Literate programming/TDD with Leiningen + midje + marginalia

2011-12-22 Thread Adam Getchell
Thanks for all the replies! I'm trying midje first (keeping expectations in mind for later) as it seems to support writing tests and then code (i.e. top down testing). (This video was useful, thanks for making it!) In generating documentati

Re: Literate programming

2011-12-22 Thread Adam Getchell
On Fri, Oct 28, 2011 at 2:45 PM, Damion Junk wrote: > I have also been using Emacs/Org-mode/Babel/R lately, mostly as a way to > have easily modifiable write up and source code for assignments in > statistics courses. I suppose this is one valid use, but I'm using it less > to communicate code me

Re: TDD with Leiningen

2011-12-01 Thread Adam Getchell
ein test Testing Newton.test.core Ran 1 tests containing 1 assertions. 0 failures, 0 errors. Okay, I paradigm down, several to go! Adam On Wed, Nov 30, 2011 at 11:36 PM, Adam Getchell wrote: > So, here's an example: > > In the file C:\Projects\CDT\Newton\src\Newton.utiliti

Re: TDD with Leiningen

2011-12-01 Thread Adam Getchell
com/technomancy/leiningen/blob/master/doc/TUTORIAL.md which > makes a passing reference to using "lein test". > > However, I haven't put together how I should setup a proper test suite to > generate tests for functions I have defined in, say, a file called > "utiliti

TDD with Leiningen

2011-12-01 Thread Adam Getchell
wever, I haven't put together how I should setup a proper test suite to generate tests for functions I have defined in, say, a file called "utilities.clj". Any pointers/hints? For example, what do I name a file such that my "deftests" get invoked by Leiningen correctly? Th