Corruption of Chinese Officials

China developed its own way to run the country. So far, the economic is very strong and people enjoy themselves, but there were serious corruptions within Chinese Officials. Everyone in China knows about it, but few would like to speak out in public. Recently, people increasingly use Internet as a communication channel. More and more people are likely to express their own opinions, since there is anonymousness over the Internet. Some people post dirty facts of Chinese Officials’ corrupted behaviors on public forums. It normally attracts large amount of visits, once the stories are posted, then eventually they turn into news headlines.

There is no quick solution for this kind of problem. It seems the Chinese government doesn’t put much efforts to prevent corruption occurrence (Correct me if I am wrong). It seems it is a very difficult task, since it will propagate to many peoples and areas, if investigation starts. Oh, I suddenly realize that corruption may be a culture in China, like Chinese new year.

pic1

pic2

pic3

pic4

pic5

pic6

Advertisements

Vintage computing experience

I cannot remember exactly what my first computer was, except it was equipped with Intel i486 CPU, 256MB ram and a unknown mother board. It was running Windows 95 (later Windows 98) and it was quite slow.

Today, I found some pictures of vintage computers. It reminds me that computers had gone a long way.

What was your first computer? Perhaps you can tell me more.

comp1

comp2

comp3

comp4

comp5

comp6

comp9

A simple shell script to backup file darily

This is a script to backup files (not directories) in the current directory, where files are modified in 24 hours ago. It utilizes find and tar to accomplish the task. Again, it is a simple script and should not expect too much on it. 🙂

Usage:

./backupDaily.sh

Source:

(It seems wordpress doesn't like "#". So please get rid of "\" in front of "\#!/bin/bash" and delete this comment, when you intend to use this script)
 \#!/bin/bash 

BACKUPFILENAME=backup_$(date +%d_%m_%Y)
ARCHIVE=${1:-$BACKUPFILENAME}

REDUNDANT_FILE="$BACKUPFILENAME".tar
if [ -f "$REDUNDANT_FILE" ]
then
	echo "Remove \"$REDUNDANT_FILE\"!"
	rm "$REDUNDANT_FILE"
fi

echo "Start ================"
find . -mtime 0 -type f -print0 | xargs -0 tar rvf "$ARCHIVE".tar # backup files in 24 hours ago.
echo "End =================="

Install Gentoo on VirtualBox (revisit)

I am glad I had downloaded Gentoo live CD (livecd-i686-installer-2008.0-r1.iso, around 700MB), because it simplifies the entire installation process. The live CD comes with most of the stuffs I need. It has GUI installer and command line installer. I chose GUI installer this time, since I had some troubles with the 2nd option previously. (But later, I found that it is pretty much the same)

I fired up VirtualBox and started to install with the actual ISO file. The GUI installer is very user friendly and the installation process is very straight forward. There is one problem thought, after installation, xsession was not able to start itself. One of the solutions I found is to edit /boot/grub/grub.conf. I open up /boot/grub/grub.conf and added vga=791 as a parameter in kernel.

I restart Gentoo. This time, xsession didn’t give me any error and a login screen was showed up.
login

After login, I saw a ugly XSM, but it worked at the end. 🙂
xsm