Archive

Archive for 2007

Vulnerabilities in Adobe Flash Content

December 23rd, 2007

This is really serious,

Researchers from Google have documented serious vulnerabilities in Adobe Flash content which leave tens of thousands of websites susceptible to attacks that steal the personal details of visitors.

The security bugs reside in Flash applets, the ubiquitous building blocks for movies and graphics that animate sites across the web. Also known as SWF files, they are vulnerable to attacks in which malicious strings are injected into the legitimate code through a technique known as cross-site scripting, or XSS. Currently there are no patches for the vulnerabilities, which are found in sites operated by financial institutions, government agencies and other organizations.

The scenarios for the attack work something like this,

A bank website hosts marketing graphics in the form of a vulnerable Flash applet. Attackers who trick a customer into clicking on a malicious link are able to execute the SWF file but inject malicious code variables that cause the customer’s authentication cookies or login credentials to be sent to the attacker.

Even worse, Adobe still haven’t released the patch to fix this security hole. Current release from Adobe doesn’t fix the vulnerabilities. But they’re still working on it together with the researcher from Google. So guys, keep updating your Flash Player.

Eris Ristemena Security

Yahoo! Maps in Full Javascript

December 23rd, 2007

Yahoo! developer blogs announced this in its post today. If you noticed, the previous Yahoo! Maps was build in hybrid of Flash and Javascript. I red somewhere that it was built in Adobe Flex. But now, it is full Javascript. The great thing is you can’t see the difference. Yeah, they’re good.

ymapsjavascript

The important point and quite bothering me is this,

Lead Maps Developer Mirek Grymuza and the Maps team have done an amazing job of seamlessly moving the Maps client over resulting in at least double the performance of the previous Flash-based version

which brings me again to a question wheather flash based (or Flex based) apps is that slow comparing with Javascript.

Anyway, the enhanced version of Yahoo! Maps AJAX API with this new full Javascript version of the maps will be available in 2008.

Eris Ristemena Yahoo!

Alcohol and Programming

December 21st, 2007

bac

It’s called the Ballmer Peak. Haha ..

more here

Eris Ristemena Uncategorized

Blog I Hate Indon Ditutup?

December 20th, 2007

Dalam posting Indra hari ini dikatakan blog ihateindon yang bikin heboh itu akhirnya ditutup Blogger. Namun sampai saat ini saya masih bisa membuka blog tersebut. Ini screen shot yang saya peroleh sampai jam 22:42 WIB malam ini.

ihateindblog.png

Mudah-mudahan ini karena somehow somewhere someone masih meng-cache nya. Yang jelas Blogger memang harus menutup blog ini, juga blog ini atau blog-blog lain yang menebar kebencian, karena jelas melanggar kebijakan konten yang mereka buat sendiri,

HATEFUL CONTENT: Users may not publish material that promotes hate toward groups based on race or ethnic origin, religion, disability, gender, age, veteran status, and sexual orientation/gender identity.

Apapun alasannya kebencian memang tidak boleh dibiarkan tumbuh, karena kebencian akan mengaburkan kebenaran. Kepada musuh sekalipun, kebencian bisa melengahkan kita dari mengambil langkah yang benar.

Kalaupun harus benci, benci pemikirannya, sistemnya, aturannya. Jangan membenci orangnya. Don’t hate the player, hate the game. Hmm, ini kalo nggak salah bunyi lirik sebuah lagu.

Eris Ristemena Blogging, Indonesia

Program Yang Berkualitas vs Program Yang Sehat

December 20th, 2007

Saya suka membaca tulisan-tulisan Coding Horror, tapi tulisan terakhirnya dengan judul Nobody Cares What Your Code Looks Like terus terang sangat mengecewakan saya,

The next time you’re knee deep in arcane language geekery, remember this: nobody cares what your code looks like. Except for us programmers. Yes, well-factored code written in a modern language is a laudable goal. But perhaps we should also focus a bit more on things the customer will see and care about, and less on the things they never will.

Di sini saya tidak setuju.

Memang benar, klien tidak pernah peduli dengan kode yang kita tulis. Yang penting bagi mereka adalah program yang kita buat jalan dan sesuai dengan yang mereka inginkan.

Hanya saja, kode yang amburadul akan sulit untuk dikembangkan dan dipelihara. Penulis aslinya pun pasti mengalami kesulitan ketika harus menambahkan atau memperbaiki programnya.

Padahal, tidak ada program yang dibuat sekali jadi. Akan selalu ada perbaikan, penambahan atau pengurangan fitur. Selalu ada versi 2, 3 dan seterusnya. Bahkan bisa dipastikan, program yang cuma ada versi 1 bukanlah program yang bagus karena mungkin tidak ada yang menggunakan.

Selain itu, program yang kompleks lazimnya butuh lebih dari satu programmer untuk mengerjakannya. Dalam kasus seperti ini, kode yang kita tulis harus bisa dibaca dan dimengerti oleh programmer lain, cuma kebetulan saja mesti dieksekusi komputer. Maka biasanya dibuat standar penulisan program yang disepakati (coding standards). Anda akan dimaki-maki programmer lain kalau kode yang anda tulis acak-acakan.

Dengan kata lain, cara penulisan program bukan sekedar kebiasaan atau gaya tiap programmer, tapi justru sangat mempengaruhi program yang dihasilkan. Dari pengalaman, bugs yang saya temukan biasanya muncul dari kode yang ditulis secara sembrono, asal jadi dan tidak sesuai standar.

Jadi pendapat bahwa “tidak ada yang peduli dengan kode yang anda tulis selama programnya jalan” sebenarnya tidak ada faktanya. Ide seperti ini umumnya muncul dari mereka yang lebih mementingkan “kualitas” daripada “kesehatan” program.

Saya setuju dengan Kent Back bahwa program yang “sehat” jauh lebih penting dan berharga dari program yang “berkualitas”. Karena “kualitas” adalah ukuran instan (instantaneous measure) yang cenderung menipu.

Program yang mengidap kangker akut yang penuh dengan bugs di dalamnya biasanya tampak jalan dengan baik dan terlihat berkualitas dari luar. Tapi jika anda tahu dalamnya, saya yakin anda tidak akan menggunakannya.

Program yang “sehat” sebaliknya, mungkin tidak memiliki banyak fitur. Tapi semua fitur yang ada adalah yang benar-benar dibutuhkan user dan 99,99% bugs free. Kodenya yang rapih dan terdokumentasi dengan baik sangat mudah untuk dikembangkan dan dipelihara.

Program seperti ini akan selalu dinamis untuk memenuhi kebutuhan klien yang berbeda-beda tanpa harus merombak habis-habisan kode yang sudah ada atau memunculkan bugs baru.

Eris Ristemena Software Development, Thoughts

Jadwal Shalat di Republika Online

December 19th, 2007

Jadwal Shalat di Republika Online

Ada yang salah dengan jadwal sholat di Republika Online hari ini. Waktu untuk sholat dzuhur, maghrib dan Isya’ jelas tidak benar untuk WIB.

Eris Ristemena Uncategorized

Google is broken?

December 18th, 2007

It’s ok. When you’re getting old, you’ll get error. It was in google search, and just now i found in google adsense too.

Eris Ristemena Google

Invite Cron to Gmail

December 16th, 2007

I was monitoring my server, see if something wrong with the script i was trying to run periodically by cron. And i got this email in my Gmail inbox,

invitecrontogmail

What do you think will happen if i invite cron to Gmail? :)

Eris Ristemena Uncategorized