About Me

  • I work on things that interests me. In the past they were speech recognition, recommender system, large scale distributed system. Now I spend my time on infra and system level including eBPF, containers orchestration but not limited to that. I am also interested into projects in either Rust or Haskell
  • I am available for hiring at this moment. I had been working for Grab since 2015
  • My email address is "bWVAcGF1bG1lLm5nCg==", base64 encoded
  • If you would like to send encrypted message to me, my gpg key id is 4224C33D012FCD22 on keyserver.ubuntu.com
  • Open Source Projects

    calljj

    An esoteric language running with SECD machine. The name was based on a pun of a popular Taiwanese music MV and lisp's callcc. It is bascially Grass language with different symbols in use. It's implemented in Haskell

    elasticsearch_dsl

    Domain specific language for elasticsearch in python. An emerging trend in recent year for software, including mongodb, elasticsearch and Chef, is to expose an JSON interface to accept complex requests. They give up the traditional SQL query and adopt JSON as the text encoding of abstract syntax tree. Therefore, whenever you are making up a request to these services, you are actually hand coding an abstract syntax tree in JSON. Although it is flexible and easy to extend, it is also error prone and hard to maintain. A common solution for this is to write a Domain Specific Language. And with python’s language design, a naive and natural solution is to use Class to denote AST node and Visitor pattern to code-generate the underlying JSON.

    solrdump

    A Clojure library designed to read raw index from Solr. Both of Solr and Elasticsearch are built on Lucene. However, when you would like to migrate from one of the technology to the other. There isn’t any tool help you do so. Nwer version of Solr has dump handler built-in, but it is just for exporting raw Lucene index and it is not in JSON format. You could use install the Lucence jar and manipulate the raw index with Java API. An naive way is to write Java, but to enjoy the feeling of dipping into new technology. We decided to write it in Clojure. The dump format would be JSON.

    hopencc

    Haskell binding for libopencc. libopencc is a library to translate between traditional Chinese and simplified Chinese. The discrepency in terminology between tranditional Chinese and simplified Chinese could not be solved by a simple mapping table, therefore the library.

    Talks

    Books

    Learn you a Haskell for Great Good Chinese Edition

    The Haskell learning resource in Chinese is very few as the time of 2011. As one of the initiators of #haskell.tw channel on freenode. I took over the unfinished first eight chapters translation from Fleuria, and continued to translate the last six chapters. The translation is licensed by CC-BY-SA-NC. The work has been viewed by thousands of people.