Thursday, December 17, 2009

Shabu-Shabu in The House

Kemarin lagi males keluar,
Lagi males masak juga

Trus buka kulkas,
lalu ada ide,
bikin Shabu-Shabu...

No portable cooker?
No problem!:D

Makan di depan kompor de!
Hehehehehehehehe:P

Monday, September 14, 2009

The Journey Begins...

Coba liat de,
notebook/workstation-nya elo...

Isinya, softwarenya apa saja?
Until very recently,
software di notebook gue banyak yang adalah software bajakan...

Bukannya gue nggak biasa make software open source,
hanya saja, secara operating system, windows di notebook gue adalah windows licensed/original,
akibatnya jadi berasanya enteng banget nginstall Microsoft Office dan software-software lainnya, seperti Visio, Microsoft Project di notebook gue, walaupun gue tau itu bukan software original.

Anyway,
di kantor, lagi digalakkan penggunaan software legal.
Intinya pake software open source/free atau bayar sendiri
(Kok, keperluan kantor harus beli sendiri? Itu bahasan tersendiri dan nggak dalam skope!:P)

Trus akibatnya,
gue uninstall Microsoft Office, lalu menggantinya dengan Open Office
gue uninstall Microsoft Visio, lalu menggantinya dengan Dia
gue uninstall Microsoft Project, lalu menggantinya dengan OpenProj

Hasilnya...
There are some bumps...
But...
So far, so good!:D

Monday, September 07, 2009

Mengangkot ke Kantor

Buat yang belum tau, gue sekarang punya 2 kantor. 2 lokasi kantor lebih tepatnya. Yang satu letaknya di daerah Mega Kuningan (ini buat sales, BOD dan sebangsanya), yang satu lagi letaknya di daerah BSD (kalo yang ini buat "dapur")

Anyway, gue banyakannya kalo pagi ke kantor yang daerah Mega Kuningan. Kalau ke kantor yang daerah Mega Kuningan ini, gue banyakan menggunakan busway. Ke kantor yang BSD biasanya siang, sesudah gue ke kantor yang di Mega Kuningan.

Pernah juga si, ke kantor yang BSD pagi. Cuman biasanya gue naek taksi. Pagi ini, iseng-iseng gue nyoba ke kantor yang BSD naek angkot. Ternyata asik juga bo! Secara nggak macet. Kalau dari rumah, cuman sekitar 1 jam-an. Jadi rutenya adalah:
1. Naek ojek dulu ke halte busway
2. Naek busway ke Terminal Kalideres
3. Naek angkot de, ke lokasi kantor

Besok-besok, bakalan sering ke kantor BSD ni kalo pagi.:P

btw pas gue menyisir jalan Daan Mogot, mata gue menangkap restoran Pindang Pegagan. Musti dicoba ni!:D

Sunday, June 28, 2009

Test Post using Opera Mini

This is a test post using my Nokia N95 + Opera Mini

Monday, April 14, 2008

Can not login to CDE after

Last week I can not login to my brand new workstation.

The workstation is a SUN Ultra-25, using Solaris 10 as its operating system.

Actually that workstation was already configured for me. I logged on to the workstation, admire the new shiny interface of Solaris 10(very cool blue!), start up some applications, then notice that I can not connect to the network.

After some investigation, I found out that the network interface was not yet configured as required in my working environment.

So I changed the IP address using ifconfig. I also edit these files:
  1. /etc/hosts
  2. /etc/netmasks
  3. /etc/defaultrouter
So if I restart the workstation, the configuration won't revert to the old configurations.

Everything work, I can ping another workstation. I can logged in to another server.

Next step, I restarted the workstation, to test whether the configuration persist or not.

The workstation booted up just fine. I can telnet to it from another workstation. So I went to its monitor and try to login to the CDE.

To my surprises, I can not log in to the CDE!
It produce "can not start message server" error, and suggest me to check these files:
  1. /etc/src.sh
  2. /usr/adm/inetd.sec
  3. /var/adm/messages
  4. $HOME/.dt/errorlog
File 1 and 2 did not exist. I can not find related error in file 3.
However in file 4, I found "can not start message server" error, or something like that. I forgot!:P

I did some googling and try this, as suggested in one of the online forum:
  1. Delete the .dt directory and .TTAutorithy file and restart the application. Those directory and file were automatically recreated, but I still can not login to system.
After some thinkings and meditations:P I remember about the ipnodes file.

So I find it using command find / | grep ipnodes, and locate it under the directory /etc/inetd.
Open it using vi, I found out that the content is exactly the same as /etc/hosts.
I edited it to match my new configuration, then restart my workstation.

With my finger crossed, I try to logged on to the system.

This time it works!:D

Saturday, March 29, 2008

PHP adodb: Connect vs NConnect

What is the difference between the Connect and NConnect in an ADODB Connection object?

I have found out the hard way....

Please examine the code below:

$db1 = NewADOConnection("mysql");
$db2 = NewADOConnection("mysql);

$db1->Connect("localhost", "user", "password", "db1");
$db2->Connect("localhost", "user", "password", "db2");

$rs = $db1->Execute("select * from table1") or die($db1->ErrorMsg());

If table1 does not exist in db2, the code above will produce error, complaining that table1 does not exist in db2.

Wow, but I am executing the command in db1!!!

Apparently, the adodb, in this case, with same host and user, will reuse the connection.
So, in this case, you have to force it open new connection...

Use NConnect, instead of Connect or PConnect.

For further research, RTFM at the adodb documentation.

Friday, March 28, 2008

Another kind of Lexus

If you hear the word Lexus?

What is the first thing that is pop into your head?

Luxury?
Expensive cars?

Some kind of image like this one?(image taken from the news-blogs.com/)


How about this one...