Wednesday, August 24, 2005

Menambah kelajuan musang api

Adakah anda menggunakan Musang Api sebagai pelayar internet anda.. Jika ya, adakah anda menggunakan rangkaian internet berjalur lebar.. Jika jawapan anda juga ya, maka anda layak untuk mencuba menambah kelajuan pelayar musang api anda dengan berdasarkan nota daripada fahmishah di jiwang.org.. Selamat mencuba..!

nota kaki: aku dah cuba tp tak berapa nampak sangat perbezaannya.. mungkin kena tambah lagi maxrequest number agaknya..

Tuesday, August 23, 2005

Teka teki

Lepak bersama-sama pakcik2 dan makcik2 semasa bergotong-royong kenduri merupakan pengalaman berharga..

Cikgu Li: Apakah bangunan paling tinggi di dunia??
Pak Long ketua kampung: Menara KL..
Cikgu Din: Menara kat Taipei..
Pakcik Bakar: Bangunan kat gunung paling tinggi..
Cikgu Li: Semua salah, bangunan plg tinggi ialah masjid sbb kubah dia mencecah bulan dan bintang..
Semua orang: Ooooooo..

----------

Pak Long ketua kampung: Cikgu Li, 20 tahun nanti hang dah pindah laa kut??
Cikgu Li: Pindah ke mana lagi?? aku duk kat kampung ni je.. tak pindah2 dah..
Pak Long ketua kampung: Umur hang berapa skarang??
Cikgu Li: 50 lebih dah..
Pak Long ketua kampung: 20 tahun lagi hang rasa hang ada lagi ke kat sini??
Cikgu Li dan semua orang: OOooooo..

Friday, August 19, 2005

My new rules of work backup

First rule, always backup your work..
Second rule, follow rule number one..

As programmer, anything can be happen to your machine/pc/notebook but the worst is lost of your code.. SO, when the time is come, your backup will help you to the safe side..

Backup your work mean backup all your coding (php, c, jar, html, etc OR you need to code it back), your reference (ebook, pdf, txt, browser bookmark, bla2 OR you need to google back all it), application environment(.bash_profile, lib, inc, bla3 OR you need to read a lot again), installer(rpm, src, etc OR you need to download it back) for your app and documents on how to setup and install back your work and application environment (OR you need that readme and try n eror session) .. And don't forget to always manage, documented and commented all your code and work properly..

You can backup into second/external hardisk or CD or usbdisk or web space or tape depend on which backup device you have.. and you can make it autobackup if you wish..

And as always, don't "dah terantuk baru nak mengadah" like me.. My history can be your history.. You should not trust your hardware especially the hardisk.. Yes, you can setup it back from scratch or you may be can recover/repair the hardisk but it will be lots of easy and time/energy/mind/bandwith saving if you have backup..

Add another rule, make sure your backup is safe (don't depend on one backup source only)..

OR you can follow my friend suggestion, "When the time come, resign if you don't have the backup.."

This post is to remind me to always backup my work if i dont want to have the hard time again when my pc hardisk is stop functional and cannot be recover/repair on last week..

Wednesday, August 17, 2005

Install httpd on FC3 from source with curl option

if you try to install apache via configure httpd source at a FC3 with curl option, you will found that the configure process will failed at curl_easy_perform test.. this is cause by libcurl that was installed defaultly with FC3 have a problem with that test step.. just need to upgrade the libcurl rpm with the latest libcurl fc3 update release and you can continue configure your httpd smoothly.. cost me a 2 hour headache..

md5 is very secured??

you think its a very secured hashing method??
read this hashing security article or you can try mdcrack to proof it. and as always, nothing in the world is 100% perfect..

Tuesday, August 16, 2005

Installing DBD::Oracle perl module with oracle instantclient

First, you must install oracle instantclient rpm.

Set environment in the every user .bash_profile (dont forget to activate it by . .bash_profile). E.g:

LD_LIBRARY_PATH=/usr/lib/oracle/10.1.0.4/client/lib/:$LD_LIBRARY_PATH
TNS_ADMIN=/home
TWO_TASK=oracledb
export LD_LIBRARY_PATH TNS_ADMIN TWO_TASK


Create your tnsnames.ora (make sure your spell it right, tnsnames.ora not tnsname.ora, give me headache for 1 hour of this typo error) at the above TNS_ADMIN path. E.g:

oracledb =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 2.1.1.149)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = oracledb)
)
)


Then download DBD::Oracle
Untar the DBD oracle source
Then apply jean-cristophe makefile patch for installation.. at my installation, I have to edit jean oracle-instantclient-config to change the prefix from /opt to /usr and the version from 10.1.0.3 to 10.1.0.4..

taraaa.. now you can use DBD oracle perl module with instantclient.. why you shall apply the makefile patch?? because DBD oracle default Makefile.pl is for installing with server oracle..

Monday, August 15, 2005

FC3

fyi, FC3 is Fedora Core 3 operating system (a free linux distro from redhat)..

my pc's 30GB hardisk at my office crash last friday and it coz me a headache coz i was so careless not to backup all my work.. but, now i have successfully installed FC3 os on a second hand 20GB hardisk.. So, now its time to setup back all the work enviromnent back bafore i have to start back my work and this time i want to blog some of problem occured in the setup process here so i can refer back if i need to setup it again in the future..

Adobe Acrobat reader 7.0:
While installing Adobe Acrobat reader 7.0, it trigger failed in dependencies:

[root@HelmiPC download]# rpm -ivh AdobeReader_enu-7.0.0-2.i386.rpm
error: Failed dependencies:
libstdc++.so.5 is needed by AdobeReader_enu-7.0.0-2.i386
libstdc++.so.5(CXXABI_1.2) is needed by AdobeReader_enu-7.0.0-2.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by AdobeReader_enu-7.0.0-2.i386

this can be solved by installing compat-libstdc++-8-3.3.4.2.i386.rpm from fc3-disk-1

[root@HelmiPC download]# rpm -ivh /media/cdrecorder/Fedora/RPMS/compat-libstdc++-8-3.3.4.2.i386.rpm

try install back the AdobeReader_enu-7.0.0-2.i386.rpm and it shall installed successfully..


htmldoc
now, to install htmldoc source so i can use it in perl html::htmldoc module, i discover that htmldoc-1.9 give me a headache to integrate it with perl module, SO, choose htmldoc-1.8 source and it shall work great with the perl htmldoc module..

Thursday, August 11, 2005

Get ready

"Prepare for trouble, make it double.."

Currently we have trouble with the haze, and now we must also prepare for the water supply trouble due to the decreasing of water dam in Selangor. Malay say "Prepare the umbrella before the rain". In this case prepare water tank before water rationing.


And now we have 3 AP issue
1. Approved Permit
2. Ayah Pin
3. Air Polution (new comers)

p/s: akan datang, AP : Air Paip

Wednesday, August 10, 2005

Jerebu

Ku sangka jerebu hingga ke petang, rupanya hujan di petang hari..

Hujan yg turun petang ini diharap dpt mengurangkan jerebu..

Tuesday, August 09, 2005

First post from new office

succesfully sent..

pros:
dekat skit dgn umah, kurang traffic jammed, jimat minyak, parking free, friendly & islamic environment.

cons:
tmpt makan tak byk choice (tumpang cafeteria Mimos Computing jer la hari2, kalu rajin baru gi bk4), kena punchcard (guna fingerprint tuu), pintu kena guna access card (aku tak dpt card lg laa), gaji masuk tru Bank Islam (kalu guna maybank lambat 2-3 hari).

that's for now..