Posts

Multiple PHP in a machine blues

I am compiling PHP's source code and a PHP extension (apc). The reason for not using packaged version of PHP is that there is another critical application running in the server, with its own PHP version, and we don't want to risk incompatibility issues forcing the application run with a different PHP version. Meanwhile I need PHP compiled with debug flags, and also with gd enabled and apc extension for another application. I prefer Debug flags to be enabled because we're testing this whole stuff and don't want to be in the dark when error (s) cropped up (previous set of PHP-apache-oci8 triad sometimes issued segmentation faults but we don't now the source of the errors). The problem is, that the apc Makefile won't use the debug flag set during previous PHP compilation. It turns out that we must be very careful that: the phpize being used is from the correct PHP compilation (I deleted the scripts/phpize and scripts/php-config after changing PHP's configure ...

Munin, again

More problems come when I'm just starting to use Munin-Node to monitor several Windows 2003 servers : the memory value reported by Munin-Node are all wrong. The sum of app and unused is not related to total physical memory installed in the servers. It turns out that the Windows API used returns 64-bit values, and simple change to the format specified fixes the problem. external plugin doesn't work. Turns out that the external plugin must not print the trailing newline when invoked by 'name' argument, and it also must prints a line of '.' after each 'config' and 'value' (or default) invocation. after several days of running, external plugins stopped working. I used sysinternals' process explorer in the server, and found out that there is some chance that external plugin invocation doesn't close the listener thread. After a few days the unclosed threads became too much and prevent the Munin-Node service from spawning new external plugins.

Munin-Node 1.5 with correct memory plugin

Munin is a solution to monitor servers. It shows graphs of some important server's system parameters, such as disk free space, cpu utilization, memory usage, network traffic, and even the HD temperature. Munin requires an agent, called Munin Node, installed at the server (you must be root or administrators to do this). Of course, there is a specific Munin Node to be installed for each operating system. On Ubuntu systems, there is munin packages in ubuntu's repository. Meanwhile Jory Stone created Munin Node for Windows, and I'd be needing that because some of the servers used at my workplace is powered by Windows Server 2003. I read the postings at jory's Munin Node site, and seems that memory plugin must be patched in order to have visible memory graphs. I've downloaded the source code from jory's site, then I followed the instructions to fix the memory plugin (uncommented few lines in MemoryMuninNodePlugin.cpp), and the next task is to compile the whole thi...

OpenOffice 3.1

OpenOffice 3.1 melakukan startup dengan cepat - itu impresi pertama saya. 11 detik membuka OpenOffice Calc. Close, kemudian buka lagi - 3 detik untuk membuka Calc untuk kedua kalinya. http://www.openoffice.org/dev_docs/features/3.1/index.html http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=winwjre&lang=en-US&version=3.1.0

Skills Statistics

Image
There is always a concern of skill shortage when we try to decide which platform of choice we're going to use to develop internal applications. Well, maybe we could see what kind of skills is up for sale at www.elance.com : Some thing we could try to relate from this list : Popularity of programming languages : 1. PHP with 11 thousand freelancers, 2. .NET with 8 thousand, 3.Java with 8 thousand freelancers. ASP.NET ranks further below (5 thousand freelancers), as a web development platform its ranking is not as favorable as PHP (another popular web development platform). I assume that .NET skill means client-server WinForms skill. Further down is J2EE which somehow as popular as Visual Basic (we know how popular VB are in the real world.. ) Strange enough, there is no Oracle skilled freelancers open for hire, despite MySql as 1st place popular database and SQL Server as 2nd popular database skill. Operating System skills : Windows as 1st place with 4 thousand freelancers, but it ...

Learning

Ada perkataan: makin banyak yang kita tahu, makin sadar kita bahwa kita baru mengetahui sebagian kecil dari pengetahuan yang ada. Di industri yang saya geluti, industri teknologi informasi, pembelajaran berlangsung tanpa henti. Selalu ada hal yang baru. Sampai suatu saat, berpikir apakah perlu untuk menghentikan penyerapan hal baru dan saatnya menerapkan hal-hal yang telah diketahui. Mari kita lihat model proses belajar (Learning) yang umum ada di perusahaan jaman dahulu. Pada model ini, moda belajar utama yang diakui perusahaan ialah pembelajaran formal - keryawan dikirim untuk pelatihan, sehingga mendapatkan skill dan knowledge yang dibutuhkan untuk bekerja. Karyawan cuma perlu menerapkan apa yang diberikan dan mengikuti peraturan - it is a simple world. Jika ia belajar dari jalur lain, itu merupakan nilai tambah yang dimilikinya, namun pada model learning lama jalur lain tidak diatur dan tidak diperhitungkan. Perusahaan menyiapkan career path dan learning path - karyawan tinggal men...

IE memanggil Firefox ?

Siang hari ini ada pasien sebuah komputer yang IE nya ngadat. IE mau muncul, tapi kalau diketik URL di address barnya, muncul popup Application not found. Ada lambang Firefox di start menu tapi executablenya tidak ada. Clue dari pengguna komputer ialah ia tadinya mencoba memasang IE7 dan kemudian diuninstall (sehingga IE yg aktif IE6). Tampaknya Firefoxnya juga diuninstall (entah karena alasan apa). Googling sana-sini, sampai akhirnya menginstall Windows XP Service Pack 3 karena berasumsi ada DLL yang mismatch atau tidak lengkap. Tetap kondisi tidak membaik. Ternyata masalahnya ada di sebuah registry key. Entah bagaimana registry key ini merefer ke DLL milik IE7 di temporary folder dan mempengaruhi perilaku IE6 sehingga mencari Firefox (uaneeeh) ketika sebuah URL diketikkan di address bar. Kalo ga percaya, liat bahasan di sini dan sini . Solusi masalah ini ialah menghapus registry key HKEY_CLASSES_ROOT\CLSID\{C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}, tutup semua jendela IE (kalau perlu h...