Archive

Archive for December, 2007

YUI 2.4.0 Released

December 5th, 2007 No comments

YUI team in their blog announced the release of version 2.4.0. It’s available for download and full documentation on YUI website.

New components in this release includes Selector Utility (beta) which implements CSS selector, Charts Control which combine Javascript and Flash (version 9) to create dynamic chart in Flash, Get Utility which provides API for appending script nodes and CSS files to an existing DOM after the page has loaded and JSON Utility which provides methods for transforming data between native JavaScript objects and their JSON string equivalent.

The later seems a bit late to me, considering Douglas Crockford the man behind JSON is none other than Yahoo! javascript architect. ;)

Anyway, i’m glad they finally have chart control component now. It’s pretty useful. I know there are some javascript frameworks out there that has this feature, but i like YUI more with its neat and clean structure. Easy to understand yet hard to make a mistake. What do you think?

Categories: Framework, Javascript, Yahoo! Tags:

SWF Intruder

December 5th, 2007 No comments

Hey, this is pretty useful, SWF Intruder, a tool for analyzing and testing the security of Flash applications.

How many of you are still thinking of the security when you develop flash application? My experience with flash and Actionscript in particular is that i’m happy enought to see if it works as i expected, never mind thinking the security. Yeah this tools is helpful.

Anyway, SWF Intruder is a web application (using web as its UI) written by Stefano Di Paola and was developed using Actionscript, HTML and Javascript. So it only analyzes the security of flash application in web environment, not in form of desktop application (projector).

It scan some security issues like Cross Site Scripting and Cross Site Flashing. To understand more of how it works and the methodology used you’d want to read Testing Flash Application and Finding Vulnerabilities in Flash Applications.

By the way, it doesn’t work on Opera, i’ve tested it. Try Firefox.

Categories: Security Tags:

NetBeans IDE 6.0 Released

December 3rd, 2007 No comments

Just in case you missed the news, NetBeans 6 is just released today. There are many new improvement in its editor and it has Ruby/JRuby/ROR support. It’s worth to try, you can download it for free here or maybe you’d like to see the screencast first to get to know it better.

Categories: Java Tags:

The Gangster Family

December 3rd, 2007 1 comment

loginlogo

 

I watched the movie and i played the game, so i thought it would be fun to make a web based game, so here you go: The Gangster Family.

A simple game with one objectives, be a boss of all gangsters. You can fight other gangsters to gain money and experience but not your own family. Increase your soldiers by defeating other gangster in lower rank three times in the row. Buy some gangster equipments to power up yourself.

This is a simple game but require some tactics. So try to play the game and let me know what you think.

Categories: Web Fun Tags:

Firefox 2.0.0.11 already?

December 1st, 2007 No comments

It was like some hours ago i restarted my Firefox to install 2.0.0.10 and just now the new 2.0.0.11 came out. Why it happened so fast? John Resig, the guy behind jQuery, explained why.

Apparently there was a serious bugs, something to do with canvas.drawImage,

The issue was that if the image was corrupted in some way, drawImage would still try to read data from it and display random bits of memory instead (oops).

If you have no idea what this canvas is all about, don’t worry it’s in HTML 5 specification, so there are still view modern browser which support it. But this tutorial can be a good start to get to know it. And this demo from mozilla can show you how that canvas.drawImage really does.

Categories: Firefox Tags:

Weekend Project

December 1st, 2007 3 comments

Saya suka tulisan ini, 52 reasons why Programmers work on weekends. Semua yang saya alami ketika mesti bekerja di akhir pekan dan semua yang bisa saya pikirkan kenapa seorang programmer mesti bekerja di akhir pekan ada di situ.

Namun alasan yang paling tepat menurut saya adalah alasan ke 35:

Programmers don’t really consider what they do to be ‘working’ – but rather having fun. That’s what weekends are for right?

Too right. Bagi saya, weekend tidak ada bedanya dengan hari kerja. Selalu penuh happy hour buat coding. Cuma saat weekend memang lebih menyenangkan karena tidak ada gangguan dari klien yang rewel. Haha.

Ini mestinya jadi warning bagi kita semua. Sudah jadi pandangan umum di masyarakat kita kalau “bekerja” itu berbanding terbalik dengan “having fun”. Mangkanya ada hari kerja untuk bersusah-susah dan ada weekend untuk bersenang-senang.

Sejak kecil kita sudah ditanamkan kalau bekerja itu jauh dari menyenangkan. Peras keringat – banting tulang, itu yang sering dibilang orang. Mengerikan.

Padahal, bekerja mestinya menyenangkan. Bahkan “menyenangkan” itu mestinya jadi syarat utama kalau perusahaan ingin hasil terbaik. Bukankah pekerjaan yang dilakukan karena rasa suka akan menghasilkan sesuatu yang berkualitas?

Google adalah salah satu perusahaan yang mengerti benar hal ini. Filosofi mereka yang terkenal adalah:

You can be serious without a suit.

Google’s founders have often stated that the company is not serious about anything but search. They built a company around the idea that work should be challenging and the challenge should be fun.

Setiap pegawai Google diberikan kebebasan untuk menggunakan 20% dari waktu kerjanya mengerjakan project sendiri yang mereka sukai, yang terkenal dengan “20-percent project”. Orkut, Google Adsense, Google Desktop, Gmail, Google News dan masih banyak lagi produk Google lainnya adalah hasil dari 20-percent project ini.

Saya pernah mengusulkan teknik 20-percent project ini ke perusahaan tempat saya bekerja. Tanggapannya hangat di awal, kemudian dingin dan menguap begitu saja. Wajar, Google bisa seperti itu karena mereka punya produk andalan search engine dan ads yang cukup untuk menggaji semua pegawai biarpun waktu kerja efektifnya cuma 80% dari seharusnya.

Tapi budaya fun terus kita tingkatkan. Setidaknya itu yang saya tanamkan pada rekan-rekan programmer lainnya. Setiap permasalahan dalam pekerjaan selalu kita anggap sebagai tantangan untuk selalu mencari cara baru, tools baru, bila perlu bahasa pemrograman baru untuk memecahkannya. Asal tidak menimbulkan masalah baru tentunya, haha.

Project ala 20-percent project-nya Google pun mulai kita galakkan. Walaupun lebih tepatnya, weekend project. Dimana setiap pegawai bisa memanfaatkan waktu weekend nya untuk mengerjakan project yang dia sukai sampai berbentuk beta version untuk kemudian dipresentasikan ke manajemen. Kalau dinilai bagus dan bernilai jual akan dibeli oleh perusahaan.

Biarpun nggak persis sama dengan Google, tapi semangatnya kan dapet. ;)

Categories: Thoughts Tags: