English

Synchronize data mirror with BitTorrent

Assuming that you are a part of large-scale international collaboration. In this collaboration, you are focusing on analyzing large amount of data. To read the data efficiently, the data should be stored as near as your computer. By the way, parties locate on different network and different country. As a result, the data must be mirrored from the origin server to each party dedicated server. There are so many options to satisfy this requirement. For example, rsync and mirror. Anyway, both tools do not scale well for big network. We are talking about content distribution problem that initially there are only one complete source. BitTorrent fits in this situation perfectly.

Access trackers in BTQueue by wget and wpost

I developed BTQueue especially for running in pure text mode without any graphical interface to make it easy to run on any machines (mostly Linux). So you are able to add new metadata by given URL. However, there are so many private trackers around this world. BTQueue can’t access to the given URL of private trackers directly due to unauthentication problem. As a result I added wget and wpost commands for a year.

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