Facebook Maintenance

fbmaintenance

It’s amazing how much you depend on social network site like Facebook. Message like shown above could give you a nightmare. Fortunately the maintenance was done pretty fast, i could login again a minute later.

Tanda-Tanda Web Programmer Perlu Tidur

  1. Menulis sebuah program namun tidak ada perubahan di web, ternyata anda menulisnya dengan pena di atas secarik kertas
  2. Sadar akan kekeliruan yang anda buat, anda buka editor dan menyalin program yang sudah anda tulis, tapi masih juga tidak ada perubahan di web, ternyata anda lupa menekan save
  3. Sadar lagi, anda klik menu file > save dan ctrl+s berkali-kali untuk memastikan, tapi masih tidak ada perubahan, ternyata anda belum me-refresh browser
  4. Sadar lagi, anda tekan F5 berkali-kali di browser, tapi tetap saja tidak ada perubahan, ternyata anda belum meng-upload program yang anda tulis
  5. Anda buka program FTP client untuk mengupload file yang sudah anda tulis, lihat di browser ternyata belum juga ada perubahan, anda pikir ini pasti gara-gara proxy sialan itu yang meng-cache halaman web
  6. Anda menunggu, menunggu dan menunggu sampai tertidur, kemudian terbangung di tengah malam dan mendapati belum juga ada perubahan di web, ternyata anda lupa menekan tombol “upload”
  7. Anda menulis di blog tentang kebodohan anda dan berharap ada yang menganggap tulisan anda lucu

tidur dulu ah …

Google to Give Developers Access to Trends API

Marissa Mayer, vice president of search products and user experience at Google, gave a hint that Google will eventually provide an open application programming interface for its Trends analysis tool, allowing users to embed the tool in their applications, or download data from the application for personal use.

“While I can’t [give] particular dates for such a launch, I do believe that we will be making an API available so you can take the Trends product and embed it and use the data,” Mayer said

Wow, this will be exciting. Knowing and analyzing what people looking for could be a valuable resource. With open API developer can create more informative and clever things with trends data. I’m really looking forward to this.

YUI 2.4.0 Released

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?

SWF Intruder

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.

NetBeans IDE 6.0 Released

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.

The Gangster Family

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.

Firefox 2.0.0.11 already?

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.