Rabu, Desember 31, 2008

Selamat Natal 25 Desember 2008 dan Tahun Baru 1 Januari 2009

Photo 1 Suasana salah satu Mall di Manado menyambut Natal & Tahun Baru Photo 2 Suasana salah satu Mall di Manado menyambut Natal & Tahun Baru
Segenap keluarga kami Kalengkian - Mamanua Stieven, Yolanda, Angelica & Kenzhi serta Keluarga Besar Kalengkian - Lapian & Mamanua - Kasenda
Mengucapkan, SELAMAT NATAL 1 DESEMBER 2008 DAN TAHUN BARU 1 JANUARI 2009

Minggu, Desember 14, 2008

Slackware 12.2 is released!

Yes folks, 'tis the season to announce a new release of Slackware. With a shiny new kernel, many package updates, and the newly added ability to install from a Samba share, we bring to you the latest in the stable Slackware 12.x series. Slackware 12.2 ships with the 2.6.27.7 Linux kernel, the Xorg 1.4.2 X server (with many driver, library, and application updates), Xfce 4.4.3, KDE 3.5.10, simplified wired and wireless networking with wicd in /extra, package upgrade management with slackpkg moved into the main tree, support for non-usb-storage digital cameras through libgphoto2, pm-utils (tools to support suspend and hibernate through HAL), and much, much more. This release brings the system up-to-date without compromising stability or compatibility with the 12.x series.

More details may be found in the official announcement.

If you like Slackware, please consider supporting the project by picking up a copy of Slackware 12.2 from the Slackware Store. The discs are off to replication now and pre-orders are being accepted for the official 6 CD or 1 DVD set. Also by popular demand, we now have black T-shirts with the original Slackware logo for sale. Check 'em out!

Thanks are due to the Slackware crew, the developers of slackbuilds.org, the fine folks on linuxquestions.org, IRC, and everyone else who pitched in to help make this another great Slackware release. We couldn't have done it without your help.

As always -- have fun!

Pat and the Slackware crew

Akhirnya 10 Desember 2008 Slackware merelease ver 12.2 setelah sebelumnya sempat mengumumkan tentang Slackware 12.2 RC1. Download torrent Slackware 12.2 disini :

Rabu, Desember 10, 2008

PHP 5.2.8 Released

The PHP development team would like to announce the immediate availability of PHP 5.2.8. This release addresses a regression introduced by 5.2.7 inregard to the magic_quotes functionality, that was broken by an incorrect fix to the filter extension. All users who have upgraded to 5.2.7 are encouraged to upgrade to this release, alternatively you can apply a work-around for the bug by changing "filter.default_flags=0" in php.ini.
Akhirnya di release juga, soalnya salah satu server saya terlanjur patch 5.2.7 yang ternyata terdapat bug yang cukup kursial, silahkan lihat tulisan saya sebelumnya. Download PHP 5 disini. Untuk patch slakcware belum di realese di websitenya tapi bisa mengakases
  • ftp://ftp.slackware.com/pub/slackware/slackware-12.0/patches/packages/
  • ftp://ftp.slackware.com/pub/slackware/slackware-12.1/patches/packages/
Kemudian download paket patch PHP 5.2.8

Senin, Desember 08, 2008

rTorrent libtorrent Statistic with PHP

Hari saya lagi coba main-main dengan rtorrent, apa sebenaranya rtorrent itu sendiri ? menurut wiki,
rTorrent is a text-based ncurses BitTorrent client written in C++, based on the libTorrent libraries for Unices (Rakshasa’s own, not the sourceforge libtorrent), with a focus on high performance and good code.
dari semua BitTorrent Client yang satu ini adalah favorit saya, ya karena dia berbasis teks. Berbasis teks? apa ndak susah tuh? Buat yang terbiasa dengan GUI tentu akan terasa sulit dan merepotkan, tapi keunggulan dari rtorrent ini adalah ; 1) Bisa running Background, 2) Custom Download/Upload Rate, 3) Bisa schedule script. 1. Bisa Running Background Ini yang paling saya suka, apalagi untuk server Linux dengan begini download torrent dapat ditinggalkan sampai selesai. 2. Custome Down/Up Rate Beberapa BitTorrent client mengharuskan minum Ratio tertentu antara Up dan Down yang kadang-kadang sangat mengganggu khususnya yang memiliki bandwidth yang kecil, kalo rtorrent bisa di set Up minimum sampai 1KB/s dan Down Unlimited 3. Schedule Script Dan yang ini menurut saya yang special di rtorrent, fitur schedule ini bisa mengatur thorttle settings misalnya mengatur download/upload rate pada jam tertentu, Auto load torrent file, auto stop torrent jika hardisk full atau memindahkan hasil download ke lokasi/harddisk tertentu Secara kesuluruhan rtorrent sangat powerfull dan High Performance. Berikut beberapa link mengenai rtorrent, mulai dari instalasi dan cara penggunaan :
  1. http://chaidir.wordpress.com/2007/05/19/rtorrent-torrent-client-berbasis-teks/
  2. http://libtorrent.rakshasa.no/rtorrent/rtorrent.1.html
  3. http://tutorialninjas.net/2007/01/18/how-to-install-rtorrent/
Download rTorrent disini Sehubungan dengan judul halaman ini dan dari link-link diatas, dikarena rtorrent dijalankan lewat `screen` untuk background proses timbul kesulitan bagi saya untuk mendapatkan informasi atau statistik dari file torrent yang sudang proses download. Setiap kali akan mengecek status terpaksa harus login dulu ke server, yang paling repot kalo menggunakan remote server. Saya sempat menggunakan TorrentFlux untuk yang berbasis web, setelah dilihat-lihat ternyata menggunakan BitTornado yang berbasis phyton. TorrentFlux menurut saya sangat bagus, apalagi proses instlasi, setting dan penggunaanya sangat mudah. Dikaitkan dengan masalah saya untuk cek status dengan TorrentFlux dapat terselesaikan. Sekarang muncul masalah baru, semakin banyak file torrent yang diproses semakin besar upload rate saya. Benar, satu file torrent minimum di set Upload 1KB/s berarti kalau ada 10 file torrent berarti 1x10 = 10KB/s hehehe... untuk ukuran koneksi di indonesia misalkan Telkom speedy yang hanya memberikan Up 128kbit/s atau setara dengan 16KByte/s berarti sisa Bandwidth Up saya adalah 16KB/s - 10KB/s = 6KB/s WALAH pantas saja kalo kirim email (apalagi ada attach filenya) sangat lambat (doh). Kembali ke rtorrent, dengan rtorrent masalah diatas mengenai Bandwidth Up Stream bisa diatasi karena rtorrent bisa di set upload rate secara global ke multi file torrent yang sedang proses. Jadi kalau diset Up = 1KB jika ada 10 file torrent maka up rate nya akan di bagi ke 10 torrent tersebut sesuai dengan permintaan, contohnya: saya asumsikan setiap file torrent masing-masing ada permintaan dengan besar upload yang sama, berarti upload rate akan dibagi 10. Jadinya 1KB/10 = 0.1KB untuk setiap torrent file yang sedang proses (Seeding). Kembali ke masalah rtorrent yang repot cek status, akhirnya masalah ini bikin tangan saya gatal karena terinspirasi dari TorrentFlux dan rtorstats. Dua-duanya berbasis dari Phyton, rtorstats adalah tools untuk mengenerate statis rtorrent ke HTML file, yang saya inginkan adalah fitur seperti TorrentFlux tapi menggunakan rtorrent bukan menggunakan BitTornado yang ada pada TorrentFlux. Repot Bukan!!!!.... Berdasarkan alasan-alasan diatas, saya pun mencoba melakukan riset untuk membuat tools seperti TorrentFlux dan rtostats namun berbasis PHP dan untuk mengakomodir semua kebutuhan saya untuk pemecahan masalah-masalah diatas. Sekedar highlight dulu, karena baru prototype, terpinspirasi dari TorrentFlux dan rtorstats ini hasil (result) dari classs.php-rtorstats.php run_php-rtorstats.php
$me = new rtorrent();

//Download multi-torrent with 1 configuration
//$me->runTorrent($torentID,$pathForTorrentFile,$max_Down,$max_Up,$pathToSaveFile);

$me->runTorrent("mytorrent","/home/torrents/movie/*.torrent",60,1,"/home/downloads/movie/");
sleep(1);

//Download single-torrent with 1 configuration
//$me->runTorrent("smsISO","/home/torrent/linux.iso.torrent",0,1,"/home/downloads/aplikasi/");
//sleep(1);

//Download single-torrent with 1 configuration
//$me->runTorrent("ghost","/home/torrent/ubuntu.iso.torrent",0,1,"/home/downloads/aplikasi/");


// GeStats
// $me->startStat([multi|single],$torrentID); --> return ARRAY

print_r($me->startStat('multi','mytorrent'));

//print_r($me->startStat('single','smsISO'));

//print_r($me->startStat('single','ghost'));

// Kill Torrent
//$me->killTorrent($torrentID);

$me->killTorrent('mytorrent');
Hasil keluaran (return result) nya adalah sebagai berikut :
Array
(
   [size] => 267640832
   [name] => SMS.Live.CD-1.3.12.iso
   [comment] => [http://www.sleki.org] SMS.Live.CD-1.3.12.iso
   [owner] => BitTorrent/6030
   [announce] => http://open.tracker.thepiratebay.org/announce
   [playtime] =>
   [rtorrent] => Array
       (
           [chunks_done] => 1021
           [complete] => 1
           [custom1] =>
           [custom2] =>
           [custom3] =>
           [custom4] =>
           [custom5] =>
           [directory] => /home/downloads/aplikasi/
           [hashing] => 0
           [ignore_commands] => 0
           [key] => 114864097
           [priority] => 2
           [state] => 1
           [state_changed] => 1228742039
           [tied_to_file] => //home/downloads/aplikasi/torrent/SMS.Live.CD-1.3.12.iso.torrent
           [total_uploaded] => 0
       )

   [last_transaction] => 0
   [most_transaction] => 0
   [peers] => 4
   [chunk_len] => 262144
   [chunk_done] => 1021
   [total_download] => 267649024
   [total_download_persen] => 100
   [total_uploaded] => 0
   [state] => 1
   [complete] => 1
   [count_byte] => -8192
   [tfile] => SMS.Live.CD-1.3.12.iso.torrent
   [torrent_status] => SEEDING
   [ratio] => 0
   [PID] => 25551
   [speed] => 0
   [est] => --
)
Mohon maaf sourcenya belum di release, ya karena masih prototype.

Minggu, Desember 07, 2008

Plurk Themes Template - BEBEK ANTRI -

Hasil main-main di Plurk Themes, ya ini dia Plurk Themes Template BEBEK ANTRI. Photo hasil cepretan bersama mantan pacar yang sudah jadi istri sekarang. Photo diambil di lokasi Megamall Manado pada tanggal 20 Agustus 2008 tepatnya jam 00:00 WITA (Asia/Makassar +8 GMT). Bebek yang antri, adalah sepeda air untuk rekreasi keluarga. Malam itu sudah tidak beroperasi jadi diparkir berderet. Lucu.... ditambah lagi air laut yang tenang membuat saya tertarik untuk mengabadikannya. Menggunakan PocketCam Canon PowerShot A60, F/2.8 speed 10sec Focus Length 5mm, setelah beberapa kali shoot akhirnya hanya satu yang hasilnya lumayan. Contoh Themes disini. Install Themes disini. Beberapa ciri khasnya (lihat gambar diatas yang diberi lingkar merah), diantaranya; Custom Loading (Shinchan Animasi), Vertical Time Bar (Felix Animasi), Icon Timeline hampir semua full customize, hanya saja bagian dash board belum sempat diutak-atik. Yang ingincoba silahkan lihat link berikut :

Jumat, Desember 05, 2008

PHP 5.2.7 Released (Update: Has been removed, security reason)

Update!!

PHP 5.2.7 has been removed from distribution

Due to a security bug found in the PHP 5.2.7 release, it has been removed from distribution. The bug affects configurations where magic_quotes_gpc is enabled, because it remains off even when set to on. In the meantime, use PHP 5.2.6 until PHP 5.2.8 is later released.

PHP.net merelease php versi terbaru 5.2.7, banyak bug yang di fixed dapat dilihat di ChangeLog. Bersamaan dengan itu, Slackware.com juga merelease paket PHP 5.2.7 untuk Slackware 12.0 dan 12.1. Yang jadi pertanyaan saya kenapa tidak di release untuk Slackware 11 ? berarti yang menggunakan Slackware 11 kebawah harus mengcompile sendiri php 5.2.7 yang dapat download disini. Beberapa alasan slackware merelease paket PHP 5.2.7 (padahal biasanya tidak secepat ini dihitung sejak release dari PHP sendiri) :
  • Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions (CVE)
  • Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions (CVE)
  • php_imap.c in PHP 5.2.5, 5.2.6, 4.x, and other versions, uses obsolete API calls that allow context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long IMAP request, which triggers an "rfc822.c legacy routine buffer overflow" error message.(CVE)
  • Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file. (CVE)
  • HP 4.4.x before 4.4.9, and 5.x through 5.2.6, when used as a FastCGI module, allows remote attackers to cause a denial of service (crash) via a request with multiple dots preceding the extension, as demonstrated using foo..php. (CVE)
Happy Compile

Slackware 12.2 Siap di Release

Patrick Volkerding mengumumkan Slackware Linux sudah pada status release candidate (RC1):
While there are still some docs that need updating and probably a few more tweaks and updates here and there, everything is mostly in place for the next stable release, Slackware 12.2. The versions of major components like X and the kernel can be considered frozen. Anything major that we haven't done yet will probably wait for the release after this next one. As Slackware 12.2 is only a 0.1 version bump, we're trying to focus on making it better without causing instability or losing compatibility with Slackware 12.1 wherever possible. Invasive changes like the new X (that will require changes to xorg.conf) and merging KDE4 should probably wait for Slackware 13.0. We will call this batch Slackware 12.2 release candidate one. :-)
Padahal harapan saya Slackware 12.2+ sudah bisa support KDE4 kenyataanya harus menunggu di Slackware 13 (lol). Seperti biasa Slackware tidak merelase RC1 ISO tapi yang ingin mencobanya boleh download Slackware-current. Tidak seperti distro linux yang lain yang sudah menggunakan KDE4 salah satu yang duluan menggunakan KDE4 adalah UBUNTU family. Mungkin karena salah satu ciri khas slackware "biar lambat asal selamat" maksudnya selalu menunggu STABLE baru kemudian di release, hal inilah yang selalu membuat slackware selalu paling terlambat merelease versi Majornya yang terbaru. Slackware adalah salah satu disto Linux tertua dan selama ini termasuk yang paling stabil khususnya untuk kebutuhan server. Banyak yang beranggapan bahwa sangat sulit menggunakan Slackware, pada kenyataanya menurut saya tidak. Pada dasarnya semua Linux sama, perbedaan mendasar hanya ada pada management package di tiap-tiap distro pasti mempunya cara dan gaya sendiri. Mungkin bagi mereka yang terbiasa dengan GUI memang slackware akan terasa sulit. Sebetulnya sejak versi 12.0, Slackware sudah ok di GUI dengan KDE3 dan banyak driver yang sudah di support. Bahkan sangat mudah untuk mengcustom tampilan desktop, seperti TNUX Project saya base on Slackware. Link terkait TNUX :

Aplikasi Pengenalan Wajah menggunakan PHP

Meskipun PHP bukanlah bahasa yang paling umum digunakan untuk pengenalan wajah (Python dengan pustaka seperti OpenCV dan face_recognition le...