Re: using sqlite3

2011-11-11 Thread loonster
On Nov 8, 12:47 pm, loonster tbur...@acm.org wrote: After searching long and hard, there really isn't any good documentation for using sqlite3 with clojure 1.3.  Any help connecting to an existing sqlite3 db and performing selects and updates greatly appreciated.   Tim Thanks all

using sqlite3

2011-11-08 Thread loonster
After searching long and hard, there really isn't any good documentation for using sqlite3 with clojure 1.3. Any help connecting to an existing sqlite3 db and performing selects and updates greatly appreciated. Tim -- You received this message because you are subscribed to the Google Groups

Re: including sound or image files with Leiningen uberjar command

2011-09-17 Thread loonster
of the main class/namespace in project.clj? that would cause the behavior you're seeing. Dave On Saturday, September 17, 2011, loonster tbur...@acm.org wrote: On Sep 16, 1:24 am, Joost jo...@zeekat.nl wrote: On Sep 16, 7:20 am, loonster tbur...@acm.org wrote: Sound or image

Re: including sound or image files with Leiningen uberjar command

2011-09-17 Thread loonster
]. Maybe converting to depExp.core would help. Dave [1]http://stackoverflow.com/questions/3390268/how-to-setup-the-classpath... On Sat, Sep 17, 2011 at 10:57 AM, loonster tbur...@acm.org wrote: Nope.  The project.clj is: (defproject depExp 1.0.0-SNAPSHOT  :description FIXME: write

Re: including sound or image files with Leiningen uberjar command

2011-09-17 Thread loonster
I found the problem. It turns out that uberjar doesn't like .au files; when I converted the audio file into a .wav, the standalone jar works fine. Weird. On Sep 17, 8:51 am, loonster tbur...@acm.org wrote: Dave: I tried adding .core, but to no avail.  Still get null pointer exception

Re: including sound or image files with Leiningen uberjar command

2011-09-16 Thread loonster
On Sep 16, 1:24 am, Joost jo...@zeekat.nl wrote: On Sep 16, 7:20 am, loonster tbur...@acm.org wrote: Sound or image files will show up in the resulting uberjar if they reside in a /resources subdirectory of a Leiningen home project directory.  I can't find any documentation for how

passing a list as a ref bombs

2011-08-31 Thread loonster
I'm converting a newLisp application I wrote, in production for several years, into clojure, and got stuck immediately. (def input-list (ref '(OR,CA,CO,ID,WA))) (defn list-ploop accepts a ref and returns a list's first and alters the rest [in-list] (do (dosync (ref-set input-list

Re: passing a list as a ref bombs

2011-08-31 Thread loonster
Ken: yup, that's what was needed. Thanks. The immutability business is gonna take some time to learn; very different than newLisp, which is a wonderful dialect. On Aug 31, 12:41 pm, Ken Wesson kwess...@gmail.com wrote: On Wed, Aug 31, 2011 at 3:14 PM, loonster tbur...@acm.org wrote: I'm