Re: ANN: Full, continuously updated documentation for clojure.contrib

2009-05-24 Thread Tom Faulhaber
Max, Sorry that the code for the robot is such a stew. The way it should work is to build all the doc data and then format that data for the wiki, but that's not how it happened. I'll probably do that when Rich moves contrib to a different wiki :-). A lot of the code in there is just to deal wit

Re: ANN: Full, continuously updated documentation for clojure.contrib

2009-05-24 Thread Tom Faulhaber
Good thought, Steve. Option 1 is now done. On May 23, 5:06 pm, "Stephen C. Gilardi" wrote: > Hi Tom, > > I like the docs a lot. Thanks for making the robot! > > I have a suggestion for a refinement. > > We've received an issue for clojure-contrib noting that the doc for   > zip-filter at: > >  

Re: off topic - sending and receiving raw Ethernet frames from clojure/java

2009-05-24 Thread Chouser
On Sun, May 24, 2009 at 3:49 PM, prhlava wrote: > > Hello Mark, > >> Can't be done using the standard Java library.  You'll have to write >> some JNI code or find a JNI library. > > Thanks for the confirmation, after long search and asking around, the > conclusion was the same - not possible with

Re: RDF in Clojure - best practise?

2009-05-24 Thread Richard Newman
Generally, the sequence approach would be slow: you need indices to make querying RDF reasonable. I'd love to see a Clojure-native RDF library that used laziness and sequences for query output. Until that time, I'd probably just use AllegroGraph through one of its Java interfaces. --~--~-

Re: add-classpath stopped working with ns:import?

2009-05-24 Thread Meikel Brandmeyer
Hi, Am 24.05.2009 um 19:12 schrieb Steffen Glückselig: Did something break or was there a chance on purpose - or am I doing something wrong? There are changes in the latest SVN which cause problems with add-classpath. The official fix is: use the release. A second comment: The setup you desc

Re: off topic - sending and receiving raw Ethernet frames from clojure/java

2009-05-24 Thread prhlava
Hello Mark, > Can't be done using the standard Java library. You'll have to write > some JNI code or find a JNI library. Thanks for the confirmation, after long search and asking around, the conclusion was the same - not possible without JNI or using jpcap... Kind regards, Vlad --~--~---

Re: ANN: Full, continuously updated documentation for clojure.contrib

2009-05-24 Thread Max Suica
Hey, is there such a wiki/doc for core clojure? The wiki for clojure- contrib's project page is so nice, but clojure's wiki has very little. Heh, I've been using clj-doc to make my own reference for it, but the wiki is a lot prettier. It would be nice to generate one for core. I've looked at the r

RDF in Clojure - best practise?

2009-05-24 Thread Jim Downing
Hi all, I was wondering whether anyone had any advice about handling in RDF (or directed graphs in general) in clojure. Depending on what the problem is, I could see benefits in handling graphs as sequences of statements, or in placing a Jena model in STM. Is there a better way? Best regards,

Re: Question about indentation in emacs.

2009-05-24 Thread jonrock
The way to add this to the specific .clj file would be by putting these lines at the end: ;; Local Variables: ;; eval: (put 'with-session 'clojure-indent-function 4) ;; eval: (put 'with-open-db 'clojure-indent-function 3) ;; eval: (put 'with-search-results 'clojure-indent-function 3) ;; End: exc

add-classpath stopped working with ns:import?

2009-05-24 Thread Steffen Glückselig
I just updated from SVN resulting in some code of mine no longer working: (add-classpath "file:///C:/clojure/scripts/metadata- extractor-2.3.1.jar") (ns images.date-sorter (:import (javax.swing JFileChooser)) (:import (java.io File FilenameFilter)) (:import (java.text SimpleDateFormat))

Re: Clojure for high-end game development

2009-05-24 Thread tmountain
This is true, but there are a few projects that are branching beyond the industry standard and seeing big wins as a result. Eve Online is one example. It's a MMO space exploration and colonization game, and a big chunk of the code is written in Stackless Python. I believe similar benefits could be