Posted by: jpatiani | February 6, 2009

Playing with FB

Just wanna test badge from facebook

Joe Patiani's Facebook profile

Seem the picture not coming up. Daaa, what wrong with this.

Posted by: jpatiani | August 1, 2008

Up Again

Like I wrote yesterday that the email server was down, today it’s up again. My feeling was right, the error was not at my side. Error was happened in center DNS. Somebody accidentally made mistake when edit the dns record. I didn’t who’s that, hope that it was not myself.

Everything just work fine and I can sleep well tonight.

PS:
when set relayhost in postfix use IP don’t use hostname.
If hostname is used, it will be error with message “Name or service not known”.
At least it’s happen to me.

Posted by: jpatiani | July 31, 2008

Creepy Thursday

Today seem everything goes wrong. Complain due to email malfunction still continued. My deduction point to problem in upper network, which is ITB network. Network unreachable when access from outside network. Here, I use network from XL to test it, and the same thing happen when access from Speedy.
Right now, I still can’t figure out where the problem source. May be due to black out last Tuesday, or may be another reason, I don’t know. So, until this noon geoph mail wouldn’t accept email from outside network. Hope this over soon.

Well, that was the bad news. Fortunately, not only bad news I also have the good one. My script from last Wednesday work well. The script for the lazy person that what I call this. The script mainly contains wget and sed command. Small script, but good one.
This script divided into to two part. First part, download full index.html with contains list name of file in current folder. Second, manipulate the index.html and then download the needed file.

May be this step seem to be complicated. Because wget actually can choose what we want to download. But in this case I don’t see this work. So this tricky work fine for me.

Posted by: jpatiani | June 26, 2008

Update php 5.2.6 on SLES 9

SLES 9 is some what incomplete OS especially in php software for x86_84 arch. There are some php extensions missing in this release, such as iconv. I realized this when install Mailbee Webmail. At the beginning it was very tragic problem, because I’m so lazy to think how to solve the problem. And beside there is no rpm package for this missing ext available in the internet. But still the show must go on and the problem need to be solve. Another importance is that in other webapplication (gdl) php5 required therefore the application work normally.

So I brave my heart not just only fill the missing ext but also completely change the system. The newest php installed in the SLES 9, at that moment php 5.2.6 was the newest.

Before install php there is important note that newbies like I’m need to pay attention. That is if we want to install complete package, first of all we need install library. For example, if we want install mhash support so we need to install mhash-devel first. And so on. Read More…

Posted by: jpatiani | May 8, 2008

I Luv SuSE

Today I feel very lucky. My terrible mistake that happened last Sunday. The problem began when I want to upgrade PHP from v4 to v5. And that would need upgrade glibc too. So work began with upgrading the glibc and it was successfully. PHP5 was also installed successfully. But when call the program it turn error with message:

php5 -: symbol lookup error: -: undefined symbol: xmlParserInputBufferCreateFilenameDefault

Well that was very frustrate. And all must be turn back to normal. No other choice better than downgrade the glibc. Suddenly everything lost control and system became unstable. The message was:

INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: cannot execute "/sbin/mingetty"
INIT: Id "1" respawning too fast: disabled for 5 minutes

Well well well another problem rose :( . Time to rest.

And today, after I feel this is my day because I can solve the CMAQ installation that has been long time troubled one of my lab friend, Hengki, I came to server room to reinstall the server. But after I check that there is option for repair the system I cancel reinstall plan. With just single simple click to “Automatic Repair” everything back normal. Thank God.
And I just more Luv SuSE ;)

Posted by: jpatiani | May 8, 2008

More POP3 command

Here the complete command use in pop3 shell.

USER userid
This must be the first command after the connect. Supply your e-mail userid (not the full e-mail address). Example: USER john.smith

PASS password
This must be the next command after USER. Supply your e-mail password. The password may be case sensitive.

The following commands may be used as needed:

STAT
The response to this is: +OK #msgs #bytes Where #msgs is the number of messages in the mail box and #bytes is the total bytes used by all messages. Sample response: +OK 3 345910
Read More…

Posted by: jpatiani | April 14, 2008

XP Windows is not genuine

Have you ever seen your windows pop-up this image pirate. Well that would be a shocking notification.

You can use link below to solve the problem:

http://www.magicaljellybean.com/keyfinder.shtml

If this not help, well may be you should just reformat your computer and don’t forget use genuine copy of windows :p

Posted by: jpatiani | January 18, 2008

Olah raga tiap hari

Dah beberapa hari ini kerjaan tiap pagi ngecek kota buatanku dan dino peliharaanku. Daripada main game2 yang gede mending main yang sederhana aja. Gak perlu ngabisin waktu n resource komputer banyak2.

Rada susah juga klo ga punya banyak kenalan. Akibatnya kota bikinanku gak maju2. Populasinya gak nambah2. Jadi bosen juga liatnya. Orang ga bisa bangun yang lainnya.

Perang dino bisa jadi sambilan. Tarung lawan dino punya orang lain, seru juga. Tapi ga tau kok kalah terus. Mana level ga naik2, duit dah habis pula. Kayaknya harus nunggu ampe besok lagi buat bisa tarung.

Oiya, jangan lupa kunjungi kotaku yang gak nambah2 populasinya di kotaku dan ikutan tarung dino di perang dino

Posted by: jpatiani | December 12, 2007

Pass data array thru post or get method

The problem arise while I’m trying to catch my calculated data that pass to another php file that will plot the result. It will be simple problem if the data pass one value per variable, but would be another case if we want to catch the whole data and keep in single variable.

One moment on trying, so I decide to take a look on google. Found a similar problem that anybody got. In the end of discussion, somebody mention a simple solution.

Use the serialize() and unserialize() . Well, that was another precious lesson I’ve got today.

Another detail example is in http://www.php.net/manual/en/function.serialize.php.

Pretty easy isn’t it.

Posted by: jpatiani | December 10, 2007

Ajax doesn’t response submit button

Sudah beberapa hari buat program gak jalan2 sesuai keinginan selain bikin capek juga bikin pusing. Padahal skrip sudah bener, nyontek dari program yang lain. Program lain jalan dengan lancar, tapi yang satu ini kok bandel. Gak mau jalan sama skali. Malah keluar error macem2. Mulai dari data “null” sampai Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]” nsresult: “0×80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: http://xxxxx ::function ” data: no] Source File: http://xxxxxx Line:

Setelah googling akhirnya ketemu juga jawabanya. Mudah sekali pemecahannya. Dari artikel yang ditulis di http://matthom.com/archive/2006/05/15/scary-ajax-error dijelaskan bahwa submit tidak benar2 mensubmit melalui action. Jadi dengan submit percuma saja karena tidak ada data yang ditransfer.

Dari masalah yang dihadapi form type submit harus diganti dengan type button biasa sebagai solusinya. Sbagai hasilnya program jalan seperti yang diharapkan.

Older Posts »

Categories