Categories
Apache Tomcat

Deploy Application via Apache Tomcat Context

Apache Tomcat is a Java web application server that provides possibility to deploy your Servlet application. There are two ways to configure your different web application to deploy in tomcat: server.xml via Context file Most of the case, it’s discouraged to configure the deployment on server.xml so here I propose for deploying application using context…

Categories
Google App

Blogger Error 500 While Mapped to Adsense Account

While trying to connect to the existing Adsense of google.com and at the accepting association button, after click got following error without clear explanation and only debugging code appears: We're sorry. An error occurred during the sign-in process. 500 Internal Server Error { "code" : 500, "errors" : [ { "debugInfo" : "com.google.api.server.core.Fault: ImmutableErrorDefinition{base=null, category=BACKEND_ERROR,…

Categories
MySQL

MySQL Workbench 6.x Preview

MySQL Workbench, a visual editor for MySQL database, one of the free and popular tool to manage database and modeling. MySQL Workbench version 6.x has been release since July 2013 after a long running of version 5.x. Here are some screenshot of MySQL Workbench 6.0.8 that I just installed: Learn more.

Categories
PostgreSQL

A recommandation or a Free GUI Tool for ER Diagram for PostgreSQL

pgAdmin3 which is coming by default when we install PostgreSQL but there is no GUI data modeling. Found from following list, there are some GUI tool but don’t know which one should be taking into account. – http://wiki.postgresql.org/wiki/GUI_Database_Design_Tools – http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools Is there any recommended tool for GUI database modeling with ER Diagram like we have…

Categories
Android

How to Embed Khmer Unicode to AppYet Mobile App

Appyet.com is a good template app for creating Android app based on your website contents but it faces difficulty to make Khmer Unicode readable after build on some phone. By default AppYet App using browser feature which is able to view Khmer only for rooted device that have placed well the Khmer font (as my…

Categories
Windows

អ្វី​ទៅ​ជា 32-bit និង 64-bit?

32-bit និង64-bit គឺ​ជា​កុំព្យូទ័រ architecture  (ធាតុ​​ដែល​អាច​​​​បង្កើត​ជា​​ប្រព័ន្ធ​កុំព្យូទ័រ​មួយ​)​ ដែល​ផ្ដោត​សំខាន់​ទៅ​លើ​ប្រវែង (​ល្បឿន​បញ្ជូន​ទិន្នន័យ) និង​ទំហំ​នៃ​ប្រភេទ​ទិន្នន័យ​  និង​ទីតាំង addresses ដែល​អាច​បម្រុង​ទុក ។ និយាយ​ដល់ 32-64bit ត្រូវ​គិត​ទៅ​លើ​ប្រព័ន្ធ​កុំព្យូទ័រ​ដែល​ត្រូវ​មាន ៣ផ្នែក​យ៉ាង​សំខាន់​ចាំបាច់​​​គឺ៖ ១. Hardware ២. ប្រព័ន្ធ​ប្រតិបត្តិការ (OS) និង​ទី៣ គឺ កម្មវិធី​ (Application) សម្រាប់​ប្រើប្រាស់​ជា​មួយ​ ឱ្យ​ដំណើរការ​បាន ។ គេ​និយាយ​ថា 32-bit និង 64-bit គឺ​សំដៅ​លើ​របៀប​នៃ​ការ​គ្រប់​គ្រង​ព័ត៌មាន​ (handle information)។ កំណែ 64-bit អាច​ធ្វើ​ឱ្យ​សមត្ថភាព​ដំណើរការ​របស់ Random Access Memory (RAM) ប្រើ​អស់​លទ្ធភាព និង​ទំហំ​ធំ​ជាង ហើយ​ដំណើរការ​បាន​ល្អ​ប្រសើរ​ជាង​ប្រព័ន្ធ 32-bit។ កម្មវិធី​ទំនើបៗ​មួយ​ចំនួន​សព្វ​ថ្ងៃ​ត្រូវ​ការ​ប្រើ RAM ទំហំ​ធំ​ជាង 4GB ដើម្បី​បំពេញ​កិច្ចការ​របស់​គេ​បាន​រលូន។ ចាប់​តាំង​ពី​ឆ្នាំ ១៩៩៥ នៅ​ពេល Windows 95…

Categories
Java

Create Openoffice document with template in Java Solution

POI is not supported well to create open office document (calc, spreadsheet), it’s working fine for MS Excel (only). I would clarify my point with POI, it’s not working to set Khmer Unicode font to Openoffice document that could block us to use it well in JODConverter. So another solution should be applied for manipulate…

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
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…