sugree's blog

Data Format or Service

I have just read about OpenCARE project to convert any data format to EDXL. This is a good idea to integrate incompatible data formats that conceptually indicate to the same meaning. For example, organization A may store people database in MySQL, organization B stores people database in MS Access with totally different schema, and organization C stores people database in MS Excel. It is also impossible to force all organizations to use the same data format so OpenCARE is designed to convert any data format to XML-based format like EDXL which is an oasis standard.

How to install bzr on RPM-based distribution

I have used Bazaar-NG aka bzr for a month. It works well and I like it so much because I don’t need to have network to commit my change. The installer for win32-based system works perfectly on my laptop. Unfortunately, there is no official bzr distributed in RPM. I have to build it myself. This action is terrible for me because bzr requires at least Python 2.4. Below are my step to successfully install bzr on Fedora Core 1 i386 and CentOS 4.2 x86_64.

GWT Hello World in Python

Eventually, pyjamas has reached the first milestone to write Hello World example in Python and then translate them to JavaScript and HTML. Note that it also supports event handling. Let’s see how it looks like in action.

from ui import Button, RootPanel  

Installing OpenVPN on RedHat 7.2

In addition to how to install OpenVPN on Fedora Core2, RedHat 7.2 needs more step to make OpenVPN works properly. The missing device in RedHat 7.2 will make OpenVPN unable to create TAP/TUN devices automatically. So the trick is to create a device for TUN.

mknod /dev/net/tun c 10 200
chmod go-r /dev/net/tun

pyjamas: GWT clone in Python

Since  has been  for a week, Google was  its new version yesterday. GWT is now so popular. Anyway, I don’t like to program in Java. Now, there is a serious effort to reverse engineer GWT to make a clone in Python for Python fans like me. In beginning, it named as py-gwt but now it has been changed to pyjamas and it’s alive. Let’s see how it looks like at the real code in subversion repository.

Upgrade to Drupal 4.7.1

According to announcement, I have upgraded all drupal sites in my control to 4.7.1 with just one command as follow. Fortunately, I checked out Drupal source from the CVS repository directly so I can synchronize so easy.

cvs update

It’s time to upgrade to fix vulnerabilities. In addition, don’t forget to limit access in files directory to prevent intrusion by uploading malicious codes. To do so, please make sure you have .htaccess in files directory with below content.

SetHandler This_is_a_Drupal_security_line_do_not_remove