How to call XML-RPC in PHP

This is a brief tutorial for calling XML-RPC function in PHP. There are so many XML-RPC implementation in PHP but I will use XML-RPC for PHP 2.0 because it is purely written in PHP.

Let's go to the point. First of all, you have to create an XML-RPC client instance using xmlrpc_client().

$c = new xmlrpc_client('http://192.168.0.1:12345/RPC2');

Gaim 2.0 beta 3 is amature on Ubuntu Dapper

I have heard that Gaim 2.0 beta 3 has been improved a lots so I would like to try it out on my Ubuntu laptop. Anyway, I'm too lazy to compile it myself because I found [a helpful thread][2]. Well, it is still beta. Don't expect too much. After installing for a few hours, I have downgraded back to 1.5.0. Below is my procedures to install 2.0 beta 3 and to install 1.5 back then.

How to install Pure Xfce on Ubuntu Server

Since I would like to have a complete system for developing Java application using Eclipse, I initially selected Debian. Anyway, Debian is not as good as I want. Since it should have the latest version of Xserver. Anyway, the default one in Debian is XFree86 but the world moved to X.Org for so long. Then I turned back to Ubuntu. Moreover, I selected Xubuntu because of it seems to have smaller memory footprint. So I install Xubuntu desktop with no doubt. Interestingly, it took me 2 GB for standard installation. I have to remove unused packages manually. Well, it was not easy to slim down so I reinstalled it with Xubuntu Alternative CD and Server profile. The server profile took me 485 MB, not bad. Then I have to install Xfce manually.

How to install Sun Java on Debian

Installing java on Debian is a kind of tricky steps. It is not necessary to follow below procedures if you don't care about what Sun will do on your linux box and you don't care about unknown files after uninstallation. You should create a deb package for each Java package for easily management later.

Why do you need Virtual Appliances?

I'm interesting in virtualization idea, especially Virtual Appliances proposed by VMWare. Why? I'm too lazy to install some softwares myself. I can but I don't want to waste my time. It would be extremely easy by just downloading virtual machine image, turning it on, customizing a bit, and it rocks in a right way.

How to convert AVI to DPG in Linux

In fact, I don't have Nintendo DS aka NDS but my friend has one. It looks very impressive when playing game. Not only playing game, NDS is capable to play movie too. The secret weapon is Moonshell DS and its DPG tools. If I'm not wrong, you need 2 files: Moonshell DS 1.1 and Moonshell 1.1 DPG Tools. So, as I expect, I have to convert movie files into .DPG to play in NDS. I have heard about dpgenc which seemed to bundle with the DPG tools but I do want to know how it works. Actually, I would like to use my linux box at night. And I found BatchDPG which is an open source DPG conversion tool relying on Avisynth and mencoder. Eventually, I know what is DPG actually.