Best Markdown Editors for Windoes, Linux, and the web
As Markdown becomes more popular, new tools have been developed to cater to writing. This post won’t enumerate all or most tools at hand. Instead, I will just list a couple of my personally favorite...
View ArticleThe best way to place figures side-by-side in Latex
There are different way of placing figures side by side in Latex, subcaption, subfig, subfigure, or even minipage. This post will tell you which one is the best.
View ArticleHow to Install Gnuplot 4.6 with PDF on Ubuntu
It is always hard to install gnuplot manually on Ubuntu, especially if you want to plot diagram in PDF, JPEG, or PNG formats. This short 101 article describes one way to install gnuplot with PDF on...
View ArticleTikz example – SVM trained with samples from two classes
This figure was drawn for maximum-margin hyperplane and margins for an SVM trained with samples from two classes.
View ArticleSplit a string into pairs of words
Given a string such as “aa bb cc dd ee ff“, is there a regex that works with String.split() to extract two words at a time? The expected result is: [aa bb, cc dd, ee ff]
View ArticleRecommend a paper: Empirical Analysis of Programming Language Adoption
Some programming languages become widely popular while others fail to grow beyond their niche or disappear altogether. This paper uses survey methodology to identify the factors that lead to language...
View ArticleLoad Penn Treebank with offsets
When I am doing relation extraction based on parsing trees, it is always very helpful to map the leaves of parsing trees back to the original text. So the question will be: How to load trees with...
View ArticleHow to use Opennlp to do part-of-speech tagging
The Apache OpenNLP library is a machine learning based toolkit for the processing of natural language text. Among others, part-os-speech tagging (POS tagging) is one of the most common NLP tasks....
View ArticleYet another Java tree structure
There are a couple of toy codes of java tree, but none of them are sufficient yet small enough for general purpose. This project attempts to provide another general-purpose tree data structure in Java....
View ArticleA Java Implementation of Fibonacci Heap
This project provides a Java implementation of Fibonacci Heap. Fibonacci Heap is a heap data structure consisting a collection of min-heap-ordered trees. It is an advanced amortized data structure,...
View ArticleWhen to post technology blogs?
When to post is another important aspect for a successful blog. Are certain times better than others? The answer is absolutely Yes, but it depends on the industry and the nature of your group...
View ArticleHow to extend enum in Java
In Java feature, it is not possible to have one enum extend another. But occasionally, you may still want to make an enum class extensible. The solution we came up with was to use an enum and a...
View ArticleRecommend: A Course in Machine Learning
This book is for the use of anyone anywhere at no cost and with almost no restrictions whatsoever. It is a set of introductory materials that covers most major aspects of modern machine learning. A...
View ArticleHow To Run Android 4.0 In Virtualbox
You may need to test new apps on main Android devices available on the market. Of course you don’t want to install them on your working cellphone. Under such circumstances, installing a virtual machine...
View ArticleRecommend: Rule-based Information Extraction is Dead! Long Live Rule-based...
This paper discusses the disconnect between industry and academia: while rule-based IE dominates the commercial world, it is widely regarded as dead-end technology by the academia.
View ArticleMost efficient way to increment a Map value in Java -- Only search the key once
This question may be considered too basic, but is frequently asked in the forums. In this post, I will discuss one way that only searches the key in Map ONCE. Also I create a class called Counter and...
View ArticleHow to draw Kernel trick using Tikz
In Support Vector Machines, the learning algorithms can only solve linearly separable problems. However, this isn’t strictly true. This figure was drawn for “kernel trick” with samples from two...
View ArticleHow to set terminal title dynamically to the current working directory?
It is sometimes helpful to set a terminal window title from a script, so that you can put a couple of reminders of how to do things there. This post will tell you how to do so if you are using Zsh or Bash
View ArticleC++11 reading list
C++11 (formerly known as C++0x) is the most recent version of the standard of the C++ programming language. After it was approved by ISO in 2011, many books have been published to embrace the updates....
View ArticleMy Google-themed resume
Inspired by the resume of Eric Gandhi, I created this Google-themed resume for summer intern hunting 2014. I also shared my resume on Google Drive, in order for others to apply the theme on their...
View Article