Re: jdbc timestamp automatic timezone

2013-10-23 Thread Vincent Liard
> > I ended up using a workaround: formatting the timestamps using the > timezone offset. However I'm sure there is a better way. > Thank you Manuel, I didn't find a better way either. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

jdbc timestamp automatic timezone

2013-10-21 Thread Vincent Liard
Hello, I'm having a hard time figuring out a timestamp problem with clojure 1.5.1, clojure/java.jdbc 0.3.0-alpha5 and clojure/postgresql 9.1-901.jdbc4 (with postgresql 9.1.9). With the same timestamp I get different results from PostgreSQL client and from clojure. PSQL answers what I expect :

Re: "clojure.lang.PersistentVector cannot be cast to java.lang.String"

2011-05-20 Thread Vincent Liard
At Fri, 20 May 2011 09:59:35 -0400, Ken Wesson wrote: > > On Fri, May 20, 2011 at 9:22 AM, Vincent Liard wrote: > > (defn retailer-stock-update [] > >  (wrap-multipart-params > >   (fn [req] > >     (let [xls (get (:params req) "stock-xls")]

Re: "clojure.lang.PersistentVector cannot be cast to java.lang.String"

2011-05-20 Thread Vincent Liard
At Fri, 20 May 2011 09:55:22 -0400, David Nolen wrote: > On Fri, May 20, 2011 at 9:22 AM, Vincent Liard wrote: > [...] >       (with-in-str [str (:bytes xls)] >         (read-xls-stream str)) > > You usage of with-in-str is not correct, you're passing a vecto

"clojure.lang.PersistentVector cannot be cast to java.lang.String"

2011-05-20 Thread Vincent Liard
Hello, I would like to open an excel file from multipart data without saving it (forbidden by Google Appengine). I have adapted the incanter's read-xls which reads from actual files to read-xls-stream which takes an object of the same kind that with-open provides. I wanted to write something like

Re: Emacs 23 issues.

2011-04-21 Thread Vincent Liard
Hi Manoj, > "unreadable message: (:emacs-rex (swank:autodoc (quote ("d" swank:: > %cursor-marker%)) :print-right-margin 132) "user" :repl-thread 4) > exception in read loop > java.lang.RuntimeException: java.lang.Exception: Invalid token: > swank::" I have experienced a similar (or the same) prob

Re: clojure.org

2011-04-05 Thread Vincent Liard
At Tue, 5 Apr 2011 18:31:15 +0530, Baishampayan Ghose wrote: > > On Tue, Apr 5, 2011 at 3:39 PM, alsor wrote: > > What's with http://clojure.org/ website? Is it expired? > > Works for me. $ whois clojure.org ... Created On:03-Apr-2005 14:24:30 UTC Last Updated On:05-Apr-2011 09:34:35 UTC ... T