Re: Leiningen Survey

2014-03-26 Thread Hoàng Minh Thắng
Hey Phil, What do you mean "unmanaged jars" in the question "What annoys you about Leiningen?" -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderate

Re: Socket.IO and Clojure?

2013-07-18 Thread Hoàng Minh Thắng
I had the same concern and have searched for solutions. IMO sockjs is well designed and perfectly fits my needs*.* You can use sockjs with Clojure, though we'll need more tweaks to make it pass all the sockjs specs: https://github.com/jenshaase/methojure/tree/master/methojure-sockjs If you really

Re: Making things go faster

2013-06-04 Thread Hoàng Minh Thắng
> > * Is there a faster cycle than to change code, change tests and type "lein > test" to see the results? > my favourite workflow is with lein-midje (you can run both midje tests and clojure tests!) https://github.com/marick/lein-midje > * Is there a way to keep everything in a hot JVM (I've d

Re: [ANN] - purnam "0.0.10" - angular.js language extensions

2013-05-29 Thread Hoàng Minh Thắng
On Tue, 28 May 2013 23:45:56 -0700 (PDT) zcaudate wrote: > oh cool! > > did you write your own compiler? > well, it's a fork from Ram Krishnan's clojurejs with more practical stuff. The compiler (named Chloric) is distributed via nodejs NPM, but it's written in Clojure so don't be lied :) sig

Re: [ANN] - purnam "0.0.10" - angular.js language extensions

2013-05-28 Thread Hoàng Minh Thắng
> You can give ChlorineJS a try: > http://plnkr.co/edit/gist:5469561?p=preview > Please note there's currently a bug with Plunker and some versions of Firefox so in the mean time you should check it with other browsers. -- -- You received this message because you are subscribed to the Google

Re: [ANN] - purnam "0.0.10" - angular.js language extensions

2013-05-28 Thread Hoàng Minh Thắng
On Saturday, May 18, 2013 11:54:55 AM UTC+7, Murtaza Husain wrote: > > Hi, > > Thanks for the project , the language extensions are fantastic ! > > One of the problems I have had in working with cljs is the compatibility > and awkward syntax in working with external js libs. This goes a long lon

Re: Has anyone here played with Wisp?

2013-05-27 Thread Hoàng Minh Thắng
Hi all, I've spent several months working on Krishnan's Clojurejs and added a lot of things I could to make it more practical. I named the fork ChlorineJs and lots about it can be found here: https://github.com/chlorinejs/chlorine/wiki Compared to wisp, ChlorineJS is a bit "ahead", especially wit

Re: [ANN] http-kit 2.0.0 released

2013-05-04 Thread Hoàng Minh Thắng
On Friday, March 29, 2013 1:03:38 PM UTC+7, Feng Shen wrote: > > Hello folks. > > I just released version 2.0.0 of http-kit. > Looks great, Feng Shen. I couldn't find a road-map so I ask here. Will there be a client-side for browsers in ClojureScript or Javascript? I mean something similar to so

Re: Failed to import java.text.Normalizer.Form

2013-04-29 Thread Hoàng Minh Thắng
On Monday, April 29, 2013 6:04:41 PM UTC+7, Meikel Brandmeyer (kotarak) wrote: > > Subclasses are accessed with $. java.text.Normalizer$Form/NFD Should do > the trick. Or (import 'java.text.Normalizer$Form) and Normalizer$Form/NFD. > > Kind regards > Meikel > > Great help. Thanks a lot -- -- Y

Failed to import java.text.Normalizer.Form

2013-04-29 Thread Hoàng Minh Thắng
I want to work with `java.text.Normalizer/normalize` which require some constansts named NFD, NFC etc. I could import java.text.Normalizer with this: ``` (import java.text.Normalizer) ``` but couldn't figure how to import and use the constansts from http://docs.oracle.com/javase/6/docs/api/java/tex

Re: Customize clojure-mode (emacs) question

2013-04-24 Thread Hoàng Minh Thắng
On Wed, 24 Apr 2013 12:03:29 +0200 Tassilo Horn wrote: > You could create an clj-.el. Thank you so much Tassilo. signature.asc Description: PGP signature

Customize clojure-mode (emacs) question

2013-04-23 Thread Hoàng Minh Thắng
I have a macro, let's say `look-like-case`. When trying to indent with Emacs, the result is: ``` (look-like-case a b c) ``` which is not what I want. How can I make Emacs to indent it like this: ``` (look-like-case a b c) ``` I tried to read some emacs lisp but..

Re: Clojure to Haskell Compiler

2012-11-18 Thread Hoàng Minh Thắng
On Sunday, November 18, 2012 1:31:47 AM UTC+7, Ahmed Shafeeq Bin Mohd Shariff wrote: > > Hi guys, > > I've been frustrated with Clojure's slow speed on the JVM. I've been > thinking of how it can be compiled to native and I feel that compiling > Clojure to Haskell and then using ghc to convert

lein-midje-lazytest

2012-11-10 Thread Hoàng Minh Thắng
I've just notice that running Midje on top of lazytest is much faster compared to start leiningen each time. But adding lazytest takes some time, too. So I re-packaging lazytest and then make a meta-package for both Midje and lazytest. Now all we have to do is: Add [lein-midje-lazytest "0.1.0"]

Re: Clojurejs: a lightweight clojure to javascript compiler

2012-10-09 Thread Hoàng Minh Thắng
On Monday, October 8, 2012 9:09:49 PM UTC+7, Jim foo.bar wrote: > > On 08/10/12 14:47, Mark Rathwell wrote: > > ClojureScript is a Clojure implementation that targets Javascript > > (meaning that Clojure core, et al, is also necessarily converted to > > Javascript in the build process and a pa

Clojurejs: a lightweight clojure to javascript compiler

2012-10-08 Thread Hoàng Minh Thắng
Hi all, Clojurejs started by [kriyative](https://github.com/kriyative) is an amazing project that compile clojure to javascript. I've just made it available in clojure 1.4.0, rewrite tests with [evaljs](https://github.com/weavejester/evaljs/) and add macros like ., .., -> and ->>. Github repo: