Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-25 Thread Gaofeng Zeng
gorilla-repl and session is very cool, I can use it in our log data statistics. thank your! On Monday, March 24, 2014 8:12:48 PM UTC+8, kovasb wrote: Session is a live coding environment, built on Datomic and Om. repo: https://github.com/kovasb/session video: https://vimeo.com/89899023

Re: [ANN] avi: A lively vi. 0.1.0

2014-03-01 Thread Gaofeng Zeng
Hi Jason, Angela It is cool, but it not support linux. I modify the avi.install to make it support linux. On Sunday, March 2, 2014 12:25:50 PM UTC+8, Jason Felice wrote: From https://github.com/maitria/avi Avi is a vi written in Clojure. It's currently very basic and read-only, but has

Re: How can i typecast a JavaObject?

2014-01-20 Thread Gaofeng Zeng
(cast SourceDataLine a-instance) On Monday, January 20, 2014 4:46:23 PM UTC+8, Fabian Page wrote: Hi I want to output some sound with javax.sound.sampled. But from AudioSystem.getSourceDataLine i get a AbstractDataLine which i need to typecast to a SourceDataLine. How can i make this

Re: use lein compile a Java project

2013-10-14 Thread Gaofeng Zeng
in project.clj. You need not have these JARs in resources/lib folder. Shantanu On Saturday, 12 October 2013 07:56:47 UTC+5:30, Gaofeng Zeng wrote: . ├── doc │ └── intro.md ├── java │ ├── LIBS │ └── NetSpider │ ├── bin │ ├── build.xml │ ├── invalid.src │ └── src

use lein compile a Java project

2013-10-11 Thread Gaofeng Zeng
How use lein compile a Java project? I know the java-source-paths can specify the src path. But I don't know is there any option can specify the lib path that contains dependencies of Java source. (defproject crawler 0.1.0-SNAPSHOT :description FIXME: write description :url

Re: How to type hint a String array?

2013-10-11 Thread Gaofeng Zeng
user= (definterface MyInterface #_= (^java.lang.String method1 [])) user.MyInterface user= (.method1 (reify MyInterface (^java.lang.String method1 [this] ))) On Wednesday, October 9, 2013 8:55:06 PM UTC+8, Qiu Xiafei wrote: Clojure provide built-in type hint for primitive types such as:

Re: use lein compile a Java project

2013-10-11 Thread Gaofeng Zeng
]), but not effect. On Friday, October 11, 2013 10:20:41 PM UTC+8, John Hume wrote: I believe :dependencies and :resource-paths will be used for the classpath at both build and run time. Does that meet your needs? On Fri, Oct 11, 2013 at 8:00 AM, Gaofeng Zeng ndtm...@gmail.comjavascript: wrote