2006/07/31

Because of you - Kelly Clarkson

This is a fantastic song filled with heart-breaking lyric. Just listen by heart and I am sure you will love it.

I will not make the same mistakes that you did and
I will not let myself cause my heart so much misery
I will not break the way you did
You fell so hard I've learned the hard way, to never let it get that far

Because of you I never stray too far from the sidewalk
Because of you I learned to play on the safe side so I don't get hurt
Because of you I find it hard to trust not only me, but everyone around me
Because of you...

I am afraid I lose my way
And it's not too long before you point it out I cannot cry
Because I know that's weakness in your eyes
I'm forced to fake a smile, a laugh erveryday of my life
My heart can't possibly break
When it wasn't even whole to start with
Because of you I never stray too far from the sidewalk
Because of you I learned to play on the safe side So I don't get hurt
Because of you I find it hard to trustNot only me, but everyone around me
Because of you...I am afraid

I watched you die I heard you cry every night in your sleep
I was so youngYou should have known better than to lean on me
You never thought of anyone else
You just saw your pain And now I cry
In the middle of the night For the same damn thing..
Because of youI never stray too far from the sidewalk
Because of you I learned to play on the safe side so I don't get hurt
Because of you I tried my hardest just to forget everything
Because of you I don't know how to let anyone else in
Because of you I'm ashamed of my life because it's empty
Because of you am afraid
Because of you....Because of you...you... mmmmmmmmmm.....

2006/07/30

Being beautiful is nothing next to feeling beautiful

I find these words printed in some Yoga mat :

"Being beautiful is nothing next to feeling beautiful."

What does that mean ? I will find it out.

2006/07/29

Sony VGN-UX90PS



Sony UX90PS can be claimed as the world smallest PC. This is the most attractive notebook PC I have ever seen so far.

Take a look at the config :

CPU : Intel Core Solo 1.2 GHz
Drive : 16 GB Flash Drive
Memory : 512 MB
Display : 1024 x 600 SVGA
Weight : 498 grams
Standard battery run-time : 3 hours

The weakest part is the battery which can only run for 3 hours. A fully charged standby battey is definitely needed for using this smallest PC on the move.

2006/07/27

php-mysql

I tried to install phpBB2 and the installation script prompted me that my php 5.0 version was not compiled with mysql database.

What a surprise ! In PHP4 and earlier versions, by default, it was compiled with mysql. Woo, I tried to search for work around solutions and some people suggest rpm removing php and mysql and re-install php with mysql compiled. This would be a great trouble.

After some deliberations, I realized that what I needed was the rpm of php-mysql packages. Hey, I did not want to trust rpm anymore because it would probably give dependencies failed and asked me to download other necessary shared libraries or utilities. A more direct and simple method was to yum install php-mysql which should take care of both versions and dependencies.

It worked. Thanks to great yum.

2006/07/24

Disable root login in sshd

People say that root login should be disabled in sshd. From security point of view, it is totally understandable as I have seen bad guys connecting to port 22 to try root password. But if the ssh port number can be hidden or changed to other alien port, it might not be necessary to disable root login.

I myself would like to use root login in sshd which does not binded to port 22. The reason is that even if a normal user can su to get root access via ssh, the working directory paths are not the same.

This is the working paths of root account using su :

/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:
/bin:/usr/bin:/usr/X11R6/bin:

and the following is the working paths of root account by direct login :

/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:
/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:

Of course, the latter one provides much more convenience as I can invoke system commands or utilitiy only accessed by root account at any directory path. Unlike the latter, the former requires me to only issue the command ./ifconfig after I changed to /usr/sbin or I have to use : /usr/sbin/ifconfig

2006/07/21

Seagate hard disk

In the past decade, I purchased 4 sets of Seagate hard disks. Seagate disk drives are notorious for generating noise and heat. Forget about these bad designs, all of the drives I purchased experienced failure after used for 2 or 3 years. Seagate hard disks are not my choice anymore. The best I can think of is IBM hard drive, and it is now re-branded as Hitachi.

2006/07/18

inode

What is the full name of inode ?

I'm Not Operating DOS Ever.

Just kidding .........

2006/07/14

Smart Antenna




Look at this new set of Linksys WLAN AP. The whole antenna array looks very smart. Actually Linksys has used smart antenna technology to boost the coverage and throughput.

Linksys claims coverage will be increased by 4 times while throughput will be boosted by 12 times. I have no doubt of the 4 times increase in coverage but 12 times increase in throughput is far beyond my expectation and imagination. Prove it, Linksys ?

2006/07/12

named in chroot environment

In past versions of named without chroot, named.conf is placed in /etc/ while zone records are placed in /var/named/.

In chroot operation, where are the default paths for named.conf and zone records. The config file name.conf should be in /var/named/chroot/etc/ while zone records are in /var/named/chrootvar/named/.

Difficult to remember the long string of the default paths. I'd better write them down onto a notebook.

2006/07/11

DocumentRoot

Network administrators are lazy. In building up web servers, they tend to use the default Document Root. In IIS, it is c:\inetpub\wwwroot\ and in Apache, it is /var/www/html. In case a web server is comppromised, hackers can build bogus web sites by following the Document Root to put the source files. This can be properly circumvented if the Document Root of a web server is different from the default settings.

2006/07/10

Phasing out of 3.5-inch floppy drive

I find that these days many people do not like to install a 3.5-inch floppy drive on their PC. The reason is that with 1.4 MB storage space, a floppy diskette can not serve any useful purpose, even not large enough for copying one single file. USB flash should provide much more convenience than floppy diskette. Other would use ftp account for copying temporary files or transferring to other machines.

So what are we going to do with the floppy drive slot on the case. Oh yeah.. it could be best used for card reader. We are not wasting any available space in the case.