Re: org-mode Clojure babel

2015-12-21 Thread martin_clausen
I found that Org-mode version 8.3.2 and CIDER 0.11.0 snapshot (package: 20151212.1044) works great and can be easily be installed from repos. On Sunday, December 20, 2015 at 6:16:15 PM UTC+1, Johannes wrote: > > Thanks, for the explanations. I hope for the best, that there will be an > working

Re: [ANN] Time-Bombed Open License - thoughts?

2015-06-06 Thread martin_clausen
Just to be clear the GPL (version 2 and 3) does not contain the defer clause you mention. The link you provide is to a draft additional permission which can be used to amend the GPL. On Friday, June 5, 2015 at 2:11:53 PM UTC+2, Fergal Byrne wrote: > > Hi Frank, > > That's a great post (and the

Re: [ANN] closp - leiningen template combining luminus and chestnut + some more features

2015-02-11 Thread martin_clausen
Link: https://github.com/sveri/closp On Wednesday, February 11, 2015 at 11:59:20 AM UTC+1, Sven Richter wrote: > > Hi, > > I took some time to put together a leiningen template which combines the > awesome proecjts luminus and chestnut and adds some more features to start > development sideproje

Re: Java API is copyright protected?

2014-05-12 Thread martin_clausen
Tim, Judge Alsup did not conflate patent and copyright law. With regards to asserting copyright in the Java API he concludes: "To repeat, Section 102(b) states that “in no case does copyright protection for an original work of authorship extend to any idea, procedure, process, system, method o

Re: David Nolen's sudoku solver not compatible with Peter Norvig's generator?

2014-01-30 Thread martin_clausen
Hi Jim Using this version of Davids solver and and the random puzzle generator you refer to the below works for me: (sudokufd (vec (map #(if (= % \.) 0 (Integer. (str %))) (random-puzzle I did adapt David's solver to work with core.logic 0.8.5,

Re: clojure.zip branch? and next behaviour

2013-12-03 Thread martin_clausen
I believe the documentation is imprecise as you point out. The "loc" returned by next at the :end, is not a location as it lacks meta data. I don't think this is intentional, but clearly I could be wrong. I don't see any immediate issues in patching next like below so it returns a real loc, and

Re: Working with zippers and trees

2013-11-26 Thread martin_clausen
(do (println (z/node loc)) > (recur (z/next loc) > [1 2 [3 4 5]] > > 1 > > 2 > > [3 4 5] > > 3 > > 4 > > 5 > > [1 2 [3 4 5]] > > > On Tuesday, November 26, 2013 11:56:45 PM UTC, martin_clausen wrote: >> >> With a nested ve

Re: Working with zippers and trees

2013-11-26 Thread martin_clausen
With a nested vector tree you can use the built in vector-zip function to create your zipper. As to the editing, the source code contains a very similar use-case, which can be adapted to something like the following: (le

Re: [ANN] Introducing VDD Core - Visualization Driven Development in Clojure

2013-09-11 Thread martin_clausen
Looks very interesting. While the examples are easy to get up and running you should consider including a few screenshots in the the wiki and main github page. I think that would give a really good sense of the potential of this project. Martin On Wednesday, September 11, 2013 2:13:26 AM UTC+2

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-18 Thread martin_clausen
Excellent job Christopher. The examples look great and so does the rest of the documentation. A tutorial or walk-through of one of the examples would be great. Cheers Martin On Tuesday, June 18, 2013 5:29:52 PM UTC+2, Christopher Martin wrote: > > Hi all, > I've been working on a WebSocket pr

Re: Fixing a broken Java library

2012-08-15 Thread martin_clausen
/2010/02/gen-class_how_it_works_and_how_to_use_it.html > > http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/gen-class > > (see :exposes in the second for protected access). > > Jonathan > > On Mon, Aug 13, 2012 at 8:53 PM, martin_clausen > > > wrote: > >&g

Fixing a broken Java library

2012-08-13 Thread martin_clausen
I am using the otherwise nice java-libpst (http://code.google.com/p/java-libpst/) library to extract data from .pst files produced by Outlook for further processing in Clojure. Unfortunately the method (http://code.google.com/p/java-libpst/source/browse/trunk/com/pff/PSTMessage.java#860) that

Re: interval trees..

2012-03-22 Thread martin_clausen
Christophe Grand recently did a blog post on interval trees: http://clj-me.cgrand.net/2012/03/16/a-poor-mans-interval-tree/ On Monday, June 6, 2011 1:43:15 PM UTC+2, Sunil Nandihalli wrote: > > A simple googling revealed that interval trees can b

Re: Literate programming in emacs - any experience?

2012-03-21 Thread martin_clausen
Nurullah did an excellent post on org-mode, Clojure and inferior-lisp from Emacs a while back: http://nakkaya.com/2010/12/12/using-clojure-with-org-babel-and-inferior-lisp/ On Tuesday, March 20, 2012 8:27:23 PM UTC+1, Tim Dysinger wrote: > > I'm using org-mode, org-babel & swank for a "living" d

Re: ANN: Gantry system administration and deploy tool written in clojure

2011-07-08 Thread martin_clausen
Looks very nice. You should consider supporting rsync for the upload command. On Jul 6, 10:36 pm, Damon Snyder wrote: > Hello, > I wanted to let everyone know about a tool I have been working on. I'm > calling it gantry (a type of crane that I see every day on my commute > on BART to SF and inspi

Re: Literate Clojure - a good lead ...

2010-07-21 Thread martin_clausen
A good example of this for a non-trivial app is here: http://genprog.adaptive.cs.unm.edu/asm/instructions.html /mac On Jul 21, 8:54 am, Tassilo Horn wrote: > On Wednesday 21 July 2010 06:32:02 Mark Engelberg wrote: > > Hi Mark, > > > I would definitely welcome a literate Clojure tool. > > You m

Re: State of Clojure web development

2010-06-25 Thread martin_clausen
Regarding deployment leiningen-war might prove useful http://github.com/alienscience/leiningen-war. On Jun 24, 7:17 pm, Brenton wrote: > 1. Have you written, or are you writing, a web application that uses > Clojure? What does it do? > > I am an independent contractor and do a lot of corporate in

Re: Aquamacs Preferences.el

2009-11-10 Thread martin_clausen
If it is only on directory and you are using a recent version of Java / * will pick up all jars in the directory. /mac On Nov 10, 5:08 am, Sean Devlin wrote: > Hello all, > I'm trying to add a directory to my classpath in Aquamacs.  How do I > do this recusively?  Here's what I've got right now

Re: Confusion with namespaces and SLIME

2009-07-29 Thread martin_clausen
I have had the same experience. I solved it by using (ns ...) and (use separately). /mac On Jul 27, 9:41 pm, Tom Emerson wrote: > Hi all, > > I'm working with a Clojure file that creates a namespace to include > all of its functions: > > (ns foobar) > > I load slime and then compile/load the fi

Re: Algorithm help

2009-07-17 Thread martin_clausen
y (dec j))) >         (set (map #(str % (get x (dec i))) >                   (backtrack-all c x y (dec i) (dec j > >         (>= (get-in c [i (dec j)]) >             (get-in c [(dec i) j])) >         (recur c x y i (dec j)) > >         (>= (get-in c [(dec i) j]) >

Algorithm help

2009-07-16 Thread martin_clausen
Can anybody give me some hints on how to translate this: http://bit.ly/lcs_py (the backTrackAll function) from Python into Clojure? I have a pasted my attempt here: http://paste.lisp.org/+1SL7, but it doesn't work. For completeness I have included the functions required to test the traceback-all-l

Re: Weird Clojure Box - library issue

2009-05-20 Thread martin_clausen
x27;t think my issues are related to other software. On May 20, 9:32 am, hoeck wrote: > On 19 Mai, 12:25, martin_clausen wrote: > > > > > I am trying to use the JACOB library with Clojure using Clojure Box. > > > I have added this to my .emacs: > > > (setq swank

Weird Clojure Box - library issue

2009-05-19 Thread martin_clausen
I am trying to use the JACOB library with Clojure using Clojure Box. I have added this to my .emacs: (setq swank-clojure-library-paths (list "c:/dev/dlls")) c:/dev/dlls/ contains the jacob-1.14.3-x86.dll I have added a .clojure dir to my ~/ dir and that contains the jacob.jar At the Clojure B

Re: Clojure Users Group - Denmark

2009-03-31 Thread martin_clausen
I am in Copenhagen. JAOO is definitely a possibility. /mac On Mar 31, 2:26 pm, Krukow wrote: > On Mar 31, 1:00 pm, martin_clausen wrote: > > > I would certainly be interested. Lau are you out there ? > > So far one user in Cph, one in Aarhus. Where are you from? And how &

Re: Clojure Users Group - Denmark

2009-03-31 Thread martin_clausen
I would certainly be interested. Lau are you out there ? /mac On Mar 30, 9:35 pm, Krukow wrote: > On Mar 30, 3:40 pm, Christian Vest Hansen > wrote: > > > Great. Now we are at least 3 danes who know Clojure - I have a feeling > > that there is at least one other guy out there :) > > We have to