Re: using sqlite3

2011-11-11 Thread loonster
On Nov 8, 12:47 pm, loonster 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 "C

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 wrote: > Dave: I tried adding .core, but to no avail.  Still get null pointer > exception.  T

Re: including sound or image files with Leiningen uberjar command

2011-09-17 Thread loonster
erting 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 wrote: > > Nope.  The project.clj is: > > > (defpro

Re: including sound or image files with Leiningen uberjar command

2011-09-17 Thread loonster
> Did you forget to set the name of the main class/namespace in project.clj? > that would cause the behavior you're seeing. > > Dave > > > > > > > > > > On Saturday, September 17, 2011, loonster wrote: > > > On Sep 16, 1:24 am, Joost wr

Re: including sound or image files with Leiningen uberjar command

2011-09-16 Thread loonster
On Sep 16, 1:24 am, Joost wrote: > On Sep 16, 7:20 am, loonster 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

including sound or image files with Leiningen uberjar command

2011-09-15 Thread loonster
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 to refer to and load such resource files within a project.clj and/or a source clj file so that that the resources can

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 wrote: > On Wed, Aug 31, 2011 at 3:14 PM, loonster wrote: > > I'm converting a ne

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-lis