Re: lein autodoc failed in clojure.java.jdbc

2017-07-13 Thread Xiangtao Zhou
her, to be honest), so I have no >>> expectation about which projects autodoc works on an which it doesn’t, but >>> *if >>> it can’t read valid Clojure source code, that’s a bug in autodoc as far as >>> I’m concerned.* >>> >>> >>>

Re: lein autodoc failed in clojure.java.jdbc

2017-07-13 Thread Xiangtao Zhou
(904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > > > *From: *Xiangtao Zhou > *Sent: *Thursday, July 13, 2017 7:43 PM > *To: *Clojure > *Subject: *Re: lein autod

Re: lein autodoc failed in clojure.java.jdbc

2017-07-13 Thread Xiangtao Zhou
d.* > > > > Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > > > *From: *Xiangtao Zhou > *Sent: *Wednesday, July

lein autodoc failed in clojure.java.jdbc

2017-07-12 Thread Xiangtao Zhou
hi clojure.java.jdbc's contributor, I checkout master, and run lein autodoc failed with following errors. And there is no error for version java.jdbc-0.6.1. Any detailed infomation about this is appreciated. Joe Exception in thread "main" java.lang.RuntimeException: EOF while reading at

Re: can clojure java.jdbc function 'result-set-seq' add option to supportcustom 'result-set-read-column' ?

2016-08-07 Thread Xiangtao Zhou
s View -- http://corfield.org > > > > *From: *Xiangtao Zhou > *Sent: *Saturday, August 6, 2016 7:15 PM > *To: *Clojure > *Subject: *can clojure java.jdbc function 'result-set-seq' add option to > supportcustom 'result-set-read-column' ? > > > > Hell

can clojure java.jdbc function 'result-set-seq' add option to support custom 'result-set-read-column' ?

2016-08-06 Thread Xiangtao Zhou
Hello the contributor of jdbc, Using java.jdbc with postgres composite type, the common way is extend the IResultSetReadColumn protocol. When there are multiple databases in use, every database should specify it's own column reader. Add option to 'result-set-seq' support custom function to

Re: can clojure have es7 async await

2016-05-23 Thread Xiangtao Zhou
Regards. > Andrey > > On Mon, May 23, 2016 at 4:07 PM, Xiangtao Zhou <tao...@gmail.com > > wrote: > >> hi Everyone, >> >> es7 async/await makes javascript easily understandable, and avoid the >> callback hell. can clojure have one library like t

can clojure have es7 async await

2016-05-23 Thread Xiangtao Zhou
hi Everyone, es7 async/await makes javascript easily understandable, and avoid the callback hell. can clojure have one library like this? scala version is here https://github.com/scala/async. Thanks. Joe. -- You received this message because you are subscribed to the Google Groups

Re: stuartsierra/component is oop, can clojure namespace self init to solve the dependencies?

2015-06-18 Thread Xiangtao Zhou
. On Thursday, June 18, 2015 at 5:21:46 PM UTC+8, Atamert Ölçgen wrote: How is stuartsierra/component OOP when it is building an immutable object graph? (Contrast that to Guava etc.) On Thu, Jun 18, 2015 at 5:15 AM, Xiangtao Zhou tao...@gmail.com javascript: wrote: hi guys, Constructing

stuartsierra/component is oop, can clojure namespace self init to solve the dependencies?

2015-06-17 Thread Xiangtao Zhou
hi guys, Constructing simple clojure project is trival, just make functions. if the project grows large, with more datasources, message queue, and other storages, dependencies problem is on the table. One solution is stuartsierra/component, using system to configure dependencies graph, make

Re: clojure map to java instance of pojo class

2015-03-05 Thread Xiangtao Zhou
thanks, i test with defrecord. On Thursday, March 5, 2015 at 4:39:03 PM UTC+8, Colin Yates wrote: Isn't this exactly what defrecord does? On 5 March 2015 at 07:42, Xiangtao Zhou tao...@gmail.com javascript: wrote: hi all, is there some library or simple way to do it like

clojure map to java instance of pojo class

2015-03-04 Thread Xiangtao Zhou
hi all, is there some library or simple way to do it like the function map-to-pojo in the following code ? java code class A{ public int a; public String b; } clojure code (def a {:a 1 :b 2}) (def b (map-to-pojo a A)) (instance? b A) any solution is good. Joe -- You received this

emacs-cider company-mode no match found

2014-09-21 Thread Xiangtao Zhou
hi every, I have upgrade the latest emacs-cider, the document suggest me to use company for auto completion, but it doesn't work, anyone know what should I do. here is the part of .emacs (require 'cider) (require 'smartparens) (require 'icomplete) (require 'company) (add-hook

Re: emacs-cider company-mode no match found

2014-09-21 Thread Xiangtao Zhou
hi Tassilo, i'm pretty sure, because I also want to have company working with repl. both cider cider-repl not working. Joe On Sunday, September 21, 2014 3:59:59 PM UTC+8, Tassilo Horn wrote: Xiangtao Zhou tao...@gmail.com javascript: writes: Hi! I have upgrade the latest emacs-cider

howto use reify in defmacro

2013-12-18 Thread Xiangtao Zhou
hi all, I want to use reify in macro, but the namespace is the problem. the following code shows what have done. is there a way to make it right? (defmacro def-site-entity [ent body] `(let [e# (create-e)] (def ~ent (reify clojure.lang.ILookup (valAt [key not-found]

howto use reify in defmacro

2013-12-18 Thread Xiangtao Zhou
hi all, I want to use reify in macro, but the namespace is the problem. the following code shows what have done. is there a way to make it right? (defmacro def-site-entity [ent body] `(let [e# (create-e)] (def ~ent (reify clojure.lang.ILookup (valAt [key not-found]

IE compatibility of clojurescript, Element undefined problem

2013-12-16 Thread Xiangtao Zhou
hi all, I'm new for clojurescript. I found there is compatibility problem under IE6, closurescript use Element which IE 6 dos not have. Line 34266, Element.prototype.clojure$browser$event$EventType$ = true; Is clojurescript give up IE6? Joe -- -- You received this message because you

Re: IE compatibility of clojurescript, Element undefined problem

2013-12-16 Thread Xiangtao Zhou
manipulation, or Google Closure, then things should work in IE6. On Mon, Dec 16, 2013 at 12:59 PM, Xiangtao Zhou tao...@gmail.comjavascript: wrote: hi all, I'm new for clojurescript. I found there is compatibility problem under IE6, closurescript use Element which IE 6 dos not have

Re: IE compatibility of clojurescript, Element undefined problem

2013-12-16 Thread Xiangtao Zhou
dommy in order to get thing working in IE6, _please_ file a bug report. I like dommy a lot and finding everywhere that it breaks compatibility with older browsers is crucial for its success. On Mon, Dec 16, 2013 at 8:28 AM, Xiangtao Zhou tao...@gmail.comjavascript: wrote: hi David