Categories
Java

Using libsvm with Java, Compiling, Training, Predicting – Test

I try to understand and learn to use libsvm to training, classify and recognize thing but first time, it’s hard to understand it without reading well about SVM. Then I face again the issue understanding the libsvm that I’m going to use, here the way I go: I choose Java to use with libsvm so…

Categories
Source Control

Git Beginner – What should I know about git to shart working?

Git is one popular source control nowadays. I have worked with CVS, SVN and just now get to know git. Things I have done so far: Installation I install it on my Windows 8 & Windows XP (32 bits): Download the Git for Windows installer package. I installed Git-1.8.3-preview20130601.exe I used all default installation instruction…

Categories
MySQL

MySQL issue & Solution: Illegal mix of collations for operation ‘=’

MySQL Error Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' Overview I have two databases in mysql, I have written a sql to compare two table (dbA.contact & dbB.actor). Example: SELECT dbB.* FROM dbA.contact co, dbB.actor ac WHERE co.name = ac.name When I execute the request, I will get above error, why it…

Categories
Java

When do we use maven-compiler-plugin ?

Overview The Compiler Plugin is used to compile the sources of your project. Setup Place following the maven pom structure, please add following lines to plugins block: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>UTF-8</encoding> </configuration> </plugin> The version, you need to define according to the maven2 version you installed. All versions, you can find…

Categories
Java

iText supports Khmer Unicode issue

About Last iText opensource license is in version 4.2.0 5.5.1 which is until now we can not find the way to make it work with Khmer Unicode yet. After the free version, iText now goes to commercial and I don’t find any test with Khmer Unicode with it yet as well. So iText is not…