Category Archives: Teknoblogia

Menkominfo : “Tolong ada perusahaan open source” — ini dia pak :

Pada berita di detik.com yang berjudul Menkominfo Minta Adanya Perusahaan Open Source, Menkominfo dikutip mengatakan :

Ia mencontohkan, dukungan yang dimaksudnya seperti konsultasi pemakaian dan bantuan pengoperasian. “Kalau help and support seperti itu saja tak ada, mau tak mau pengguna terpaksa mandiri,” tambahnya

Untuk itu, Sofyan menyarankan para pengembang open source di Tanah Air agar membentuk perusahaan. Tujuannya, lanjut dia, selain bisa memberikan bantuan pelayanan pada pengguna, kalangan open source juga bisa turut serta dalam tender legalisasi software yang digelar pemerintah.

Berikut ini adalah daftar beberapa perusahaan konsultan open source :

  1. Nurul Fikri
  2. Rimbalinux

Perusahaan yang tercantum disini adalah yang qualified untuk sampai mengikuti tender pemerintah (surat perusahaan lengkap, resources open source mencukupi, dst)

Jika Anda mengetahui perusahaan lainnya, silahkan dapat berbagi informasinya dengan berkomentar di posting ini. Terimakasih.

Michael Dell menggunakan Ubuntu

Siapa sangka ternyata Michael Dell, konco erat Microsoft, menggunakan Ubuntu di laptopnya ?

Spec selengkapnya :

Hardware: Dell Precision M90

* Intel Core 2 Duo T7600 Processor
* 4GB DDR2 667Mhz DRAM
* 17″ WXGA+ Widescreen LCD
* 160GB 7200rpm SATA hard drive
* 8X DVD +/- RW optical drive
* NVIDIA Quadro FX 3500 512MB

Software:

* Ubuntu 7.04 Feisty Fawn
* VMWare Workstation 6 Beta
* OpenOffice.org 2.2
* Automatix2
* Firefox 2.0.0.3
* Evolution Groupware 2.10

Mudah-mudahan ini merupakan awal era baru – dimana akhirnya ada vendor global yang berani (dan tidak takut digertak / diancam oleh Microsoft) untuk membundel operating system non Windows. Dampaknya bisa sangat luar biasa bagi corporate buyers. Here’s hoping.

Pengenalan Thin Client di Linux dengan LTSP

Saya baru sadar bahwa selama ini saya sudah banyak menulis artikel tentang LTSP di situs ini, namun belum menjelaskan secara lebih detil mengenai apa thin client dan LTSP (Linux Terminal Server Project) itu sendiri. Saya akan coba jelaskan sedikit di posting ini.


UPDATE : Instalasi LTSP sekarang sudah sangat mudah sekali, terutama di Ubuntu Linux.
Silakan tinggal mengikuti panduan ini : Ubuntu LTSP Quick Install


Thin client adalah jenis infrastruktur IT dimana client/workstation/desktop hanya menampilkan layar/output, dan tidak melakukan proses komputasi lainnya. Semua pekerjaan dilakukan di server. Karena itu client tidak membutuhkan komputer dengan spesifikasi yang “mewah”. Pentium II dengan memory 32 MB sudah lebih dari cukup, dan hard disk tidak diperlukan.
Arsitektur thin client kadang juga dikenal dengan istilah centralized atau server-based computing.

Contoh berbagai solusi thin client misalnya Windows Terminal Server, Citrix Metaframe, NX, dan, yang akan dibahas sekilas disini, LTSP.

Ada banyak kelebihan solusi berbasis thin client jika dibandingkan dengan desktop konvensional :

  1. Investasi hardware jauh lebih murah : Dimana biasanya untuk setiap staf baru kita perlu membelikan sebuah komputer Pentium IV dengan memory minimal 256 MB, dengan thin client maka kita cukup membelikan komputer bekas Pentium II dengan memory 32 MB — namun performanya tetap dapat menyamai Pentium IV
  2. Longer hardware lifecycle : selain investasi hardware lebih murah seperti yang telah disebut diatas, juga umur hardware menjadi lebih panjang. Dimana biasanya mungkin kita perlu meng upgrade komputer desktop setiap 3-4 tahun, dengan solusi thin client, maka komputer bisa digunakan sampai lebih dari 5 tahun dengan performa yang tetap sangat baik.
  3. Maintenance : Jauh lebih mudah, tidak mengganggu user, dan tidak memakan waktu. Dimana biasanya jika ada komputer rusak maka kita perlu waktu minimal satu hari (backup data user, install ulang komputer, restore data user). Maka, dengan thin client kita cukup mengganti komputer user dengan komputer Pentium II lainnya; dan user dapat kembali bekerja dalam waktu hitungan menit.
  4. Manajemen desktop : juga menjadi jauh lebih mudah – contoh: jika ada 100 desktop, maka kita perlu melakukan 100 kali instalasi seluruh software yang ada. Namun dengan solusi thin client, maka kita hanya perlu instalasi satu kali, dan 100 desktop otomatis akan mendapatkannya juga.

    Kita juga bisa mudah “mengunci” desktop client, sehingga mereka tidak bisa memasang software-software tanpa sepengetahuan kita — dimana ini adalah salah satu penyebab utama masuknya virus / spyware / trojan, dengan dampak susulan yang bisa sangat fatal bagi perusahaan.
  5. Upgrade mudah & murah : untuk meningkatkan kinerja seluruh desktop, seringkali dapat dilakukan cukup dengan upgrade memory di server dan/atau upgrade switch. Dibandingkan dengan desktop biasa, dimana jika ada 100 desktop maka total biaya upgrade dikalikan dengan 100 buah komputer, sangat mahal & tidak efisien.
  6. Keamanan data : karena semua data tersimpan di server, maka bisa lebih mudah kita amankan dari oknum staf (corporate espionage, internal hacker, dst). Desktop thin client juga bisa kita “kunci” sehingga semua fasilitas akses datanya (disket, USB, dll) tidak berfungsi (sehingga oknum staf tidak bisa mencuri data dari komputernya dan dibawa keluar perusahaan)

Nah, LTSP, sebagai salah satu solusi thin client, memiliki semua kelebihan yang tersebut diatas, dan masih ditambah lagi dengan :

  1. Bebas biaya lisensi : karena berlisensi GPL (open source). Bandingkan misalnya dengan solusi Windows Terminal Server, atau Citrix, yang bisa dengan mudah menembus angka ribuan atau puluhan ribu dolar.
  2. Fleksibel, mudah di upgrade : saya telah mengalami sendiri bagaimana mudahnya upgrade ke versi terbarunya; cukup install versi terbaru (yang akan terpasang di direktori yang berbeda dari versi sebelumnya), copy file-file konfigurasi yang lama — dan voila, selesai.
  3. Netral : apapun distro Linux yang anda gunakan, hampir bisa dipastikan bahwa LTSP bisa dipasang disitu.

Apakah LTSP itu sendiri ? Secara teknis, LTSP adalah satu set script yang memungkinkan kita menampilkan layar server di client, itu saja pada intinya. Tentu saja di dalamnya jauh lebih kompleks — ada fasilitas remote boot, remote file system, hardware auto detection, remote multimedia & output, dll.

Apakah ada kelemahan LTSP ? Tentu saja, tidak ada teknologi yang tidak mempunyai kelemahan. Sejauh ini ada beberapa, seperti penggunaan bandwidth yang agak lebih boros daripada Citrix (diperkirakan max. 50 client di satu segmen network 100 mbps), dan single point of failure di server.
Tapi ini semua bisa diatasi dengan perencanaan yang baik, rutinitas backup data yang dilakukan secara disiplin, dan strategi disaster recovery yang tepat (dimana proses recovery dapat dilakukan dalam hitungan menit saja).

Demikian sekilas informasi mengenai thin cllient & LTSP. Semoga bermanfaat.

Wiimote – revolusi HCI

Bagi yang sudah bosan “terkungkung” dengan keyboard, mouse, dll sebagai perangkat HCI, perangkat-perangkat baru menjadi selalu menarik.
Ada alat yang bisa mendeteksi seluruh gerakan tubuh kita. Webcam yang bisa mendeteksi gerakan di depannya. Bagi penderita RSI, keyboard & mouse khusus jadi sangat membantu mereka. Ada lagi software text-to-speech, dan kebalikannya, speech-to-text. Dan banyak lagi lainnya.

Tapi yang paling menarik bagi saya (selain brain plug) adalah Wiimote. Sejak pertama kali tersiar kabar mengenai alat yang unik ini, saya yakin bahwa akan ada revolusi besar – paling tidak bagi posisi Nintendo sendiri di pertarungan di arena game console.

Pertama, Wiimote mengusung konsep input yang sangat menarik – motion sensor. Sebetulnya Wiimote bukan yang pertama – beberapa di antaranya telah saya sebutkan di paragraf pertama. Namun, Wiimote sepertinya adalah yang pertama yang sukses secara massal, mudah digunakan, harganya terjangkau, dan universal – tidak hanya di Nintendo Wii, namun kinipun sudah mulai bisa digunakan di PC.

Kedua, Wiimote bukan hanya perangkat input (IR sensor, motion sensor, buttons); namun sekaligus juga adalah perangkat output (force feedback, speaker, LED).

Ketiga, aplikasi Wiimote tidak hanya semata untuk game, berbeda dengan game controllers lainnya; tapi bisa jauh lebih luas lagi dari itu.

Kemarin ini saya berbincang-bincang dengan kawan mengenai potensi Wiimote — software (bukan video) tutorial aerobik, dimana Anda musti menggerak-gerakkan Wiimote sesuai instruksi. Keahlian Anda tidak hanya menjadikan Anda top scorer, namun sekaligus menjadikan badan lebih sehat.
Lalu Wiimote sebagai interface ke dunia virtual seperti SecondLife. Atau, belajar karate dengan Wiimote ? Tidak hanya mendapatkan nilai tinggi dan instant gratification / kepuasan melihat musuh-musuh di layar bertumbangan, Anda juga mendapat keahlian praktis. Dan masih banyak potensi lainnya.

Mudah-mudahan Nintendo dan vendor software PC bisa segera menyadari peluang ini, dan mewujudkannya menjadi kenyataan. Mari kita tunggu bersama-sama.

Subversion @ Ubuntu

After the confusion when synchronizing my document repositories using rsync and SMB, finally I’ve had enough. I think this is a good time to give SVN (Subversion) a try.

Pretty simple in Ubuntu, as usual :

sudo aptitude install subversion
sudo aptitude install subversion-tools

Create the repository :

svnadmin create /home/harry/svnrepo
svn mkdir file:///home/harry/svnrepo/docs

Before we can run the server, first we need to edit /home/harry/svnrepo/conf/svnserve.conf and edit as necessary.
(hint: anon-access = read, auth-access = write, password-db = passwd)

And then don’t forget to setup the usernames and passwords in /home/harry/svnrepo/conf/passwd.

Now we can run the SVN server :

svnserve -d -r /home/harry/svnrepo/

Import my documents into the just-created SVN repository :

svn import /home/harry/documents svn://192.168.1.88/docs/ -m "initial import" --username sufehmi

That’s it ! Now you have a fully functioning SVN repository and have it host your documents.

Good reading on the subject :

1. THE Book on Subversion
2. Subversion Cheatsheet
3. Subversion FAQ

That should do for now. Gotta run.

Misteri Sains

Banyak orang yang sudah merasa lelah, jemu, atau juga jeri dengan dogma. Banyak kemudian berpaling kepada sains, yang menawarkan logika yang cenderung bebas emosi dan obyektif. Beberapa kemudian menemukan ketenangan disana. Beberapa mungkin kemudian menganggap kebenaran pada sains sebagai suatu kebenaran yang lebih benar daripada kebenaran lainnya.

Kenyataannya, banyak juga “fakta” di sains yang sebetulnya masih belum terbukti. Bahkan yang sudah “terbukti” pun kadang terbukti keliru total di kemudian hari, atau paling tidak perlu direvisi.

Atau, kemudian ditemukan bahwa ada dua (atau lebih) kebenaran.

Satu contoh; air membeku pada suhu 0 derajat celcius. Ini adalah benar.
Namun, ternyata kemudian ditemukan bahwa air juga bisa membeku jika dialiri listrik — dan kemudian ditemukan bahwa air juga bisa membeku pada temperatur di atas suhu didihnya.

Sains memang sangat menarik, antara lain karena sains justru membawa lebih banyak pertanyaan daripada jawaban pada setiap penemuan. Seperti penemuan gravitasi, sejak “penemuan”-nya oleh Sir Isaac Newton, seluruh efeknya telah dipahami dengan baik. Tetapi, apakah gravitasi itu? Mengapa bisa tercipta gravitasi? Bagaimana caranya gravitasi bisa bekerja seperti demikian? Semuanya belum ada jawabannya.
Jadi, dari satu penemuan, kemudian muncul paling tidak tiga pertanyaan baru. Loads of fun 🙂

Masih sangat banyak hal-hal lainnya yang kita ketahui begitu saja tanpa betul-betul dipahami.
Mengenai massa, kita tahu massa dari setiap zat. Namun, mengapa massa dari zat X adalah sekian? Kenapa bukan sekian?
Atau konstanta – ada banyak konstanta, seperti kecepatan cahaya; yang kemudian menjadi salah satu pondasi paling fundamental dari fisika. Tapi, mengapa kecepatan cahaya adalah 299.792.458 meter/detik ? Kenapa tidak 300.000.000 m/dtk ? Atau 453.567.130 m/dtk ? Tidak ada yang tahu jawabannya.

Jadi, pada saat ini sains adalah seperti mobil. Kita adalah pengendaranya, dan kita sangat mahir mengendarai mobil itu. Tapi jangan tanya bagaimana mobil bisa berjalan, bagaimana cara kerjanya 🙂

Sains is very fun indeed.

Open-source bug hunt

Setelah berjalan selama satu tahun, Open Source Hardening Project telah berhasil menemukan banyak bugs di berbagai proyek open source. Paling tidak 6000 bugs telah dikoreksi, dan kini semakin banyak proyek open source yang di audit oleh proyek ini.

Para pengguna software open source bisa menikmati tingkat keamanan yang pasti makin meningkat & bisa dibuktikan secara jelas. Sementara dengan solusi proprietary / tertutup, customer hanya dapat berpegang kepada klaim & janji-janji dari vendor.

Satu alasan lagi untuk mempertimbangkan pemanfaatan solusi yang open.

Macintosh Plus

Saya sangat tertarik ketika menemukan bahwa kini sudah ada emulator Macintosh Plus, dan cukup mudah instalasinya – bahkan bisa dijalankan dari Flashdisk. . Setahu saya, ada banyak aplikasi yang bagus di platform ini. Salah satu yang ingin saya coba adalah HyperCard, untuk mengenalkan anak-anak ke computer programming.

Proses instalasi berjalan dengan cukup lancar. Dalam waktu yang tidak terlalu lama, di Ubuntu telah berjalan Macintosh Plus dengan memory 4 MB dan hard disk 1 GB 😀

Awal proses instalasi :
Macintosh Plus - instalasi awal

Up & running. Perhatikan bagaimana di komputer keluaran tahun 1986 ini sudah ada perhatian untuk orang cacat, fasilitas sharing file via network (bahkan fasilitas monitoringnya juga), dan bahkan special effects – ketika window di maximize / minimize maka ada efek zoom nya :
MacPlus - up and running

Rencananya nanti disk image yang dihasilkan akan saya sharing disini. Stay tuned. Atau mungkin sudah ada yang selesai membuatnya? Share lah 🙂

Open Source = National Security

Dari berbagai argumentasi yang saya sampaikan kepada para client, tentang mengapa sebaiknya mereka memilih solusi yang open, salah satunya (terutama client pemerintah / departemen) adalah security.
Pada solusi yang open, antara lain kita dapat melakukan source code auditing, sehingga kita dapat yakin bahwa software tersebut memang aman, dan tidak ada “titipan” dari pemerintah asing.
Hal ini sulit (kalau tidak bisa disebut mustahil) dilakukan pada software tertutup / proprietary.

Dan ini bukan hanya khayalan / fantasi saya saja. Kasus seperti sabotase pipa gas Rusia adalah salah satu kasus yang paling spektakuler.

Namun, yang perlu dicemaskan adalah kasus-kasus yang low profile, atau tersembunyi. Seperti, pencurian data-data rahasia secara diam-diam. Dan ini, lagi-lagi, bukan hanya skenario khayalan, namun sudah terjadi secara rutin dengan adanya Internet — ada beberapa mafia identity theft yang secara rutin mencuri data-data pribadi Anda dan kemudian menjualnya di black market.
Bagaimana kalau yang tercuri ternyata kemudian adalah rahasia negara? Pastinya akan dapat dijual lebih dari mahal dari detil kartu Visa Gold, yang dihargai sekitar US$ 100 di black market.

Mudah-mudahan dengan pertimbangan ini (dan lain2nya), maka pemerintah kita akan semakin bersemangat untuk go open.

Commodore is back

Commodore was part of the home computing revolution back in the 80s. Their C64 was a big hit back then, because of its low price and high capabilities. C64 owners were enjoying their games in the fast hardware-accelerated graphic and high quality sound from its 3-channels sound chip. The sound chip was said to be so good and produces unique sound, it has quite a dedicated community, and even a special product based on it.

Another phenomenon on the 80s was the demoscene. I think it’s safe to credit C64 for starting this.
These guys produces stunning graphic demos, by pushing the hardware to maximum and utilizing undocumented features. These demos are usually accompanied by no less stunning music. The music is so good, I’ve read news where they’re plagiarized for commercial artists’ songs.

C64 isn’t only good for games though. About 10.000 applications were available for it, including business software. Quite impressive for a console-like computer.

The next of Commodore’s success is Amiga. Its main edge over the competitors are various custom co processors – a chip for each task; graphic, sound, etc. This enable Amiga to perform much better than others, sometimes spectacularly so. This machine was way, WAY ahead of its time; there’s still communities based on it. A lot of famous artists / public figures are keen Amiga users. And many TV series / movies are utilizing Amiga for its production.

Then Commodore went bankrupt. I don’t know the details, but it seems that Commodore wasn’t able to market it effectively, and got lost in the competition over PC makers. The loss was mourned by many.
Several attempts were made to revive it, but none made it as a world wide success. Now, a bunch of people are giving it a try again with Commodore Game PC.

Commodore XX is its current top of the line.
Featuring : Intel® Coreâ„¢2 Extreme Quad-Core processor QX6700, ASUS® P5N32-E motherboard, 4GB Corsair® Dominator memory, and 2 (two!) NVIDIA® 8800 GTX SLI graphics cards. True to its Commodore roots, it’s also preloaded with a C64 emulator, containing more than 50 classic games.

Commodore was known as an innovative company, and the new Commodore is continuing this tradition with the C-Kin. Currently there isn’t anything really stunning in its choices, but I’m sure overtime we can expect some awesome designs making its way to the C-Kin collection. Also C-Kin may not seem to be much of an innovation, but one can hope that this is the start of a torrent of wonderful ideas from the new Commodore.

The PC scene is getting more and more interesting nowadays. I’d like to be among the first to welcome the comeback of Commodore.

High-load Website (WordPress) Optimization : IlmuKomputer.com

Mr. Romi, founder of IlmuKomputer.com (IKC), yesterday asked me to help optimize this website. A bit about IlmuKomputer.com, it means “Computer Knowledge”, and contains a lot (and I mean it) free high quality computer tutorials.
As you can easily guess, the website is very popular. On peak hours, it’ll usually become overloaded, and will become unresponsive.

I’m only too happy if I can be of assistance to IKC’s team in their good cause. So I started working on it with help from one of my staff, Yopi.

Turned out that what we’ll be doing will be very different with what most others do. Anyway, IKC is a very popular website (and “slashdotted” daily, by leechers), so what works for most others doesn’t work for us.

The Bottlenecks

A bit of background – IKC uses WordPress as its CMS. It’s a very nice CMS, and makes your life easier. I’ve used WP myself since version 1.5.x. However, being database-based, there are a lot of points within its a WP-based infrastructure which can become a potential bottleneck. So if your website started to become popular with this CMS, you will need to start optimizing it.

After examining the situation for a while, it’s clear that MySQL was THE bottleneck. Output of top shows it using at least 8 times of CPU time than other service. Mr. Romi also told me how it kept on falling down on peak time.

Apache (and PHP, since it’s compiled as Apache module) is the next one; with each of its process using more than 10 MB of RAM. This may seem insignificant at first, but multiply that by (potentially) 150 processes – and you’ve got quite a memory hogger here.
Also CPU-usage wise; I’m quite surprised to see that each incoming request will cause the particular process’s CPU usage to spike to more than 50%.

Initial actions

I asked Mr. Romi to increase the size of MySQL’s internal cache size. He did, but the machine still fell down in daily basis.

He has also implemented caching on the app server (PHP) by way of wp-cache plugin. Still no joy too.

The Edge

I decided that we need to go straight to the “edge”, and stop the load there.

I proposed that I setup Squid in HTTP Acceleration mode. This way, most of the requests won’t even touch Apache, much less MySQL. Squid will bear most of the load, but since it’s very efficient, it should be able help a lot in making the website perform better.

Since I’ve got a few things to do myself, I asked Yopi to setup Squid in our test machine.
I just gave him pointers now and then, yet he managed to finish testing the setup and implement it in IKC’s server in just about 3.5 hours.

Then I showed him “tail -f /log/squid/access.log”, and we watched in amazement on how quickly the TCP_MISS lines are changing to TCP_HITs.
After about 12 hours, I increased the cache_mem size, and the TCP_HITs are slowly changing to TCP_MEM_HITs.

The result

Squid is working as we expected.

Average server load dropped from 30% plus to about 3%. While squid’s CPU usage increased from 0% to an average of only 2%. A very nice trade off.

After about a month, I checked the website’s logfiles, and saw some very nice numbers — traffic to IlmuKomputer.com has doubled ! Needless to say, Mr. Romi is very happy with it.

I also found that everyday there will be people downloading the contents using crawler software – such as Teleport Pro, wget, etc. I asked Mr. Romi if he’s got problem with it, and he says no. It is his mission to spread knowledge for free after all. So I let these leechers alone.

Come to think of it, it’s possible that these crawlers are the ones causing IKC server to fell down at peak hours. Example, Teleport Pro is able to download 10 links simultaneously at the same time. Then once any of it is finished, it will instantly start download the next one. When all 10 downloads access the database, and many crawlers at the same time, not many servers will be able to stand up to it. It’s like being machine gunned wearing just a simple leather cloth. If you have had the experience of having your website linked from Slashdot or Digg, you’ll understand what I’m talking about.

In this case, squid acted as a thick titanium armor, and taking most of the hits for your server. I suspect now the number of crawlers has increased than before, but it shouldn’t be a problem.

MySQL is a bit strange though. Sometimes its CPU usage can be as high as 160%. Thankfully this is very rare, so it’s probably just some internal clean-up routine.

One day, after happily watching the low load on the server for a while, suddenly everything froze. Even my SSH connection. Attempts to reconnect to the server failed.
After a while, I was finally able to connect again. Looking around, I noticed there’s some sort of bandwidth limiter daemon running on the server. After consulting with Mr. Romi, I killed it. The problem stopped.

Happy ending ?

I’m still monitoring the server as we speak for glitches. For example, squid seem to hang from time to time. This can be caused by anything from bad memory to problem with specific hardware configuration; so for now I’ve setup a cronjob which will restart it in certain intervals.
It seems to help, so I can troubleshoot the problem in peace.

Anyway, I’m sure that with the increased availability, even more people will visit the website (Ed: confirmed!). Then at some time in the future, we may find the server overloaded again.

In that case, there are still many things which we can do to keep IKC up & running in just one server :

  • Coral-ize internal links : Coral is a global cache with servers all over the world. It has proven to help people with overloaded servers to lighten their load (when slashdotted, digged, etc). With the Coralize plugin, all of your internal links will point to its Coral cache.

    Actually, for most people, this may be the easiest and the best step they can do. I can setup Squid because IKC has its own dedicated server. Not everyone does, I personally also own a (shared) webhosting account. Coral CDN (Content Distribution Network) is a very nice & easy solution to us. It’s rarely mentioned though, so here you go.

    If you’re not using WordPress, you can still utilize Coral CDN easily ! Just append .nyud.net:8080 to your links. For example, if you access http://harry.sufehmi.com.nyud.net:8080, you’ll actually access a Coral server, serving a copy of my website from its cache.
    I did say that it’s very easy, didn’t I ? 🙂

  • RAM Upgrade : This will enable Squid to have bigger memory cache size, therefore increasing its effectiveness significantly.
  • Roundrobin Edge servers : If the load is so high that even Squid is overwhelmed by it, then we can implement a cluster of Edge servers. People can volunteer their servers and have it act as the edge server for IlmuKomputer.com.

    The incoming requests are spread over the edge servers by way of Roundrobin DNS feature. It’s not the best way to do it, but it’s very easy and the cost is almost nothing.

  • Use lighttpd : Apache is a rather heavy webserver. I personally like its (amazing) flexibility (there’s a reason why it’s called the Swiss Army Knife of Webserver), but at times you’ll need something else. From my experience, lighttpd + fastcgi is very nice alternative to Apache + PHP. The features are now quite similar to Apache’s, but it’s much more lightweight. Its community is also quite helpful and happy to help a newbie within reasons. Recommended.
  • And many other ways

Last, we’d like to say thanks to Mr. Romi for giving us the opportunity, it was very interesting ! Hope IKC will become even more successful in the future, therefore benefitting even more people. Well done pak.

Powerbook without battery

After using it for several weeks, I noticed that my PowerBook’s battery capacity has decreased sllightly. Where it used to be able to run for about 2 hours and 15 minutes after a full charge, now it rarely able to stay on for 2 hours.
I’ve been guilty of running it for hours while plugging it to the power socket though.

Then I thought, let’s see if this thing can run without battery, just like my previous laptop (Lifebook). So I rebooted, then while it’s on the logon screen, I turned the battery lock *plop* there goes the battery, and the laptop is still running happily.

I’ll still buy a spare battery later, but now I’m no longer in any rush. Very nice.

Solution : VisualBasic on Linux / non-Microsoft platform

One of the most asked questions I got from customer, in relation to their planned migration to Linux, is “Will Linux runs our legacy application ?”. And, 90% of the time, that legacy apps will be a VisualBasic 6 application. They feared that it won’t run on Linux, and their business will suffer.

I’ve always told my customers that “technical problems are not a problem“.
I can always help them find a solution for a technical issue. It’s the political ones that’s sometimes proved impossible to deal with 🙂
For example, once I met with a Canadian consultant, who happily informed me that he has been successful in making legacy apps running in older-than-dinosaur servers to talk with the web-apps on Linux, by creating a wrapper for these oldies. My inner geek bowed and saluted his hacking wizardry, and again my faith in our ability to overcome technical issues is strengthened.

Back to VisualBasic, what I did then is to observe their current situation. Each customer is unique, and a solution won’t always work for each of them. After the fact-finding session, then I usually able to prescribe the best solution for them.

Today I found one other possible solution for this.

Found a discussion on Slashdot, where it was noted that RealBasic is almost 100% compatible with VisualBasic and will run on non-Microsoft platform (even on Mac OS X).
Many will find its price (US$ 500) is way cheaper than to redevelop their corporate application.

Although not the solution for all, but it’s always good to have yet another choice, especially at this medium price range – it’s a clean solution and still affordable.

Just another reminder why I still check Slashdot from time to time — it’s not for the news, but the comments.
You guys rock. Thank you.

And to those looking to develop their corporate application – go web-based guys. Tying yourself to a single, proprietary, platform may prove very costly later.

And always, again, ALWAYS get the source code. Do not deal with a developer which will develop your corporate apps but won’t give you the source. Period.
You will thank me later for this, and when that happens, you may feel like transmitting a huge amount of money to my bank account. Don’t worry, it’s absolutely normal. In that case, just comment in this post, and you shall find my account details in your email in just a few minutes. 😀

OK, gotta code !

Solution: USB hard disk on Powerbook G4

I’ve found that my USB external hard disk (2.5 inch) doesn’t work on Powerbook G4. This is because Powerbook actually conforms to USB standard, and only provide 500 mA power to each of its 2 USB port. This, unfortunately, is not enough to power-up the hard disk.

A solution is to buy a powered USB hub; plug it to the Powerbook. Then plug the USB hard disk to the hub.

Another solution is possible though if you have a USB Y-cable. A Y-cable is a USB cable where one end has 2 connectors.
Basically, you plug the end with one connector to the hard disk, and then plug each of the other 2 connectors to Powerbook’s 2 USB port.

I furthered the hack by plugging one of the connector (because it’s not long enough to reach the Powerbook’s other USB port) to an unpowered USB hub, then I plug that hub to the other Powerbook’s USB port.

Since 2 USB port x 500 mA = 1000 mA, now it has enough power for the 2.5 hard disk.

I haven’t tried this trick with standard (3.5 inch) hard drive though.
You may have to use the powered USB hub, or, use the Y-cable and plug one of its connector to a desktop computer. Most desktop computers’ USB ports nowadays have enough juice to power even things that wasn’t supposed to be plugged there (USB-powered fan anyone?)

Anyway, HTH.

Krisis Darah – donor yukk..

Dapat kabar dari orang tua saya, katanya PMI sedang krisis darah, karena berbagai bencana yang menimpa kita akhir-akhir ini. Terutamanya mungkin berkaitan dengan wabah demam berdarah akhir-akhir ini ya.


STOP PRESS – daftar lokasi acara donor darah :

  1. Setiap hari Kamis, lokasi dekat kantor Republika.
    Belum sempat diverifikasi – ada yang bisa membantu konfirmasi kebenaran kabar ini ?
  2. Jumat, 23 Februari 2007, pkl 10:00 – 13:30. Lokasi: mesjid raya Bintaro.

Jadi teringat rencana saya untuk donor darah di Hangtuah, namun selalu gagal karena acaranya selalu hari Sabtu – kebetulan hari Sabtu itu masih hari kerja bagi saya (Yudi – saya gak menyalahkan Hangtuah lhoo, hehe). Biasanya justru banyak meeting bisa diadakan pada hari itu.

Nah, ternyata hari Rabu, 21 Februari 2007, ada acara donor darah PMI, di Carrefour Lebak Bulus. Mulai dari pukul 10:00 s/d selesai.
Wah ternyata kebetulan itu pas waktu lowong saya, syukurlah !

Bagi yang sedang tidak sempat, atau lokasinya jauh, bisa mencoba salah satu dari berbagai kantor PMI berikut ini : Daftar kantor PMI di seluruh Indonesia.

Anda punya informasi mengenai acara donor darah di lokasi lainnya ? Mohon bantuannya untuk berbagi beritanya dengan berkomentar di posting ini, sehingga kita bisa ramaikan acaranya.

Kapan lagi kita bisa memberikan bantuan yang sedemikian besarnya, tanpa mengeluarkan duit ? 😀

Mari menyumbangkan darah — kalaupun Anda sedang tidak bisa, paling tidak sebarkan informasi ini, sehingga jadi ada (syukur-syukur malah banyak) yang menyumbangkan darahnya.

btw; saya akan coba untuk selalu update posting ini dengan informasi acara donor darah terbaru.

Rujukan:
1. Blood donor saves lives
2. Daftar kantor PMI di seluruh Indonesia

Nokia E90 Released

I’m happily using my Nokia E70 for quite some time now. However, as an ex-user of two Nokia Communicators, I couldn’t help yesterday but wonder if Nokia will release a better version of its Communicator series.

Voila – then I found the news that Nokia E90 has been launched !

E90 camera & speakerNokia E909500, E90, 9300

The Nokia Communicator series has been notorious for being slow and missing common high-end features, and a few other ugliness. I was so pleasantly surprised that E90 will be the first Communicator that won’t be so. Check it out :

  • Slow ? Nope, E90 uses the same processor as N95 & N800, and very speedy ! It’s able to do fullscreen video playback smoothly.
  • Weak / cheap feel ? E90 now sport strong hinges, and feels solid overall.
  • Internal memory ? 128 MB overall, usually leaving 80MB free. This is one problem on E70 – turned out it has small internal memory, so sometimes it’s not able to run more that a few apps simultaneously. No such problem with E90.
  • Connectivity ? it’s worthy of its name – Quadband GSM, bluetooth 2 w/ A2DP support, WiFi, USB 2, GPRS, EGDE, UMTS (3G), HSDPA (3.5G). Very, very nice indeed. No fax though, but you can workaround this for example by subscribing to Internet-based fax service.
  • Camera ? no more weak VGA cam – it’s now a 3.2 MB camera with LED flash plus an internal cam for video calls !
  • Other features ? GPS – finally ! Stereo speakers, 3D, FM radio, now also vibrates (!), updateable firmware via Internet, etc.

E90 is what 9500 should have been. Now it has all the important features, and then some. Very well done Nokia. When I got this, it may very well cause my laptop to gather dust at home.

Looking forward to its launch in Indonesia.

Pengakuan Dosa dan Kabar Gembira

Setelah lama merasa tersiksa, akhirnya dengan berat hati saya memutuskan untuk menghapus semua links kategori “Friends” dari blog saya ini. Bukan apa-apa, jauh lebih cepat orang mentaut ke blog saya ini daripada saya mentaut balik dari blog saya. Saya pribadi merasa ini tidak adil, dan sudah lama saya menderita karena ini.

Akhirnya, saya terpaksa memutuskan untuk menghapus semuanya, agar semuanya sama, tidak tercantum di kategori tersebut.

Kabar gembiranya, saya telah memasang plugin DoFollow !
Dengan ini, maka semua komentator (termasuk kawan-kawan saya tadi) di blog ini otomatis akan mendapatkan link / tautan dari blog ini, yang kebetulan saat ini diberi PageRank 5 oleh Google.
Ini juga adalah penghargaan dan rasa terimakasih saya atas semua kontribusi Anda, sehingga blog ini bisa menjadi jauh lebih bermanfaat.

Saya sendirian tidak bisa berbuat banyak. Namun, sharing informasi Anda di komentar di berbagai artikel telah membantu banyak orang, mencerahkan saya, menunjuki para penjelajah Internet ke jalan yang lurus, mengkoreksi kesalahan-kesalahan saya, dan menjadikan blogsphere Indonesia secara keseluruhan menjadi suatu tempat yang sangat menarik.
Pada saat ini hanya inilah yang bisa saya perbuat sebagai wujud terimakasih saya kepada Anda sekalian.

Lalu, ada sesuatu yang baru di sidebar blog ini — widget Tunas Cendekia 🙂
Kini jadi mudah untuk peduli dan selalu up to date dengan perkembangan mereka. Cukup klik disini, lalu paste di blog Anda – voila ! WTC – Widget Tunas Cendekia.

Selamat menikmati.

Open Source Business Intelligence

To be honest, I never expected to find an Open Source Business Intelligence (BI) application, yet here it is; Pentaho. Amazing.

It encompasses almost the whole spectrum of Business Intelligence concept; Reporting, Analysis, Data Mining, the BI platform, Dashboards/Management tools, and Workflow.

Pentaho, Open Source Business Intelligence

Good stuff. Now I know what to answer when my customers are asking me for an open BI solution.
Well done!

Bahaya Situs (Blog) Gratisan

Saya baru saja mendapatkan email bahwa seorang kawan blogger, Luthfi Assadad, blognya dimatikan oleh hosternya, WordPress.com, dengan alasan “melanggar TOS (Terms Of Service)”. Walhasil, isi blognya lenyap semua, dan tidak diketahui apakah akan bisa diselamatkan atau tidak.

Sebetulnya, dimana pun kita hosting blog/situs kita pasti akan selalu ada kemungkinan ini (lenyapnya data). Namun, pada situs/blog gratisan, resikonya jauh lebih besar. Penyebabnya bisa kita baca di isi TOS WordPress.com :

Automattic has the right (though not the obligation) to, in Automattic’s sole discretion (i) refuse or remove any content that, in Automattic’s reasonable opinion, violates any Automattic policy or is in any way harmful or objectionable, or (ii) terminate or deny access to and use of the Website to any individual or entity for any reason, in Automattic’s sole discretion. Automattic will have no obligation to provide a refund of any amounts previously paid.

Dan ini makin diperparah dengan ustomer service nya — karena mungkin ada jutaan blog di WordPress.com pada saat ini, tentu sulit bagi mereka untuk membalas email komplain dari kita – mengapa situs kita tiba-tiba dilenyapkan begitu saja?
Pada hosting berbayar kita masih lebih mungkin mendapatkan penjelasan dari mereka, sehingga kemudian kita bisa memenuhi TOS mereka.

Lalu bagaimana solusinya jika kita sudah terlanjur menggunakan hosting WordPress.com ?
Saya barusan bertanya kepada seorang kawan, menurutnya ada fasilitas Backup di WordPress.com

Nah, dengan memanfaatkan fasilitas tersebut, maka jika tiba-tiba Anda tertimpa bencana ini, data-data di blog Anda sudah aman tersimpan di komputer Anda sendiri.

Mudah-mudahan bermanfaat. Terlampir adalah email selengkapnya dari kawan saya tersebut.

From: Luthfi Assadad
Date: Feb 12, 2007 10:14 AM
Subject: Mohon Bantuan Dari Teman-teman blogger Semuanya

Assalamu’alaikum warahmatullah wabarakatuh …
Teman-teman blogger semuanya ….
Pagi ini, ada sesuatu yang lain ketika saya mengakses blog saya (luthfi.wordpress.com). BLOG SAYA DISUSPEND termasuk akunnya. Untuk akun yang disuspend akhirnya bisa kembali lagi dengan bantuan menu Reset Password (Lost Password). Blog saya disuspend dengan alasan melanggar Term of Service, yang mana saya sendiri gak tahu TOS yang mana yang saya langgar.

Setelah berhasil login (dengan password baru), rupanya blog utama saya tersebut hilang dari list blog2 saya.
Untuk itu, demi persahabatan kita, tolong, kirimkan email ke pihak wordpress melalui menu support dan meminta wordpress agar mengembalikan blog utama saya. Sekalian tanyakan TOS yang mana yang saya langgar.

Yang terakhir, sekalian sebarkan ke yang lain.
Dukungan dari teman-teman blogger wp sangat saya harapkan.
Terima kasih atas perhatian dan dukungannya.

Luthfi Assadad