Keep Walking!

Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory.

Upon merging the recent branch of my current Flex/AIR project to the main line, I received the following runtime error:

VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory.

Read the full post here.

Copenhagen Concept

A concept video by Cullen Dudas running on Windows 7 under the code name Copenhagen. User interface designer Cullen Dudas doesn’t work at Microsoft. Yet. But from the looks of this stunning demo of his Copenhagen User Experience design concept, Microsoft might want to hire him before someone else does. Could this be a first look at Windows 8?

Read the full post here.

For all the Time Traveller's

What would you do if you could travel back in time?

Assassinate Marilyn Monroe? Go on a date with Hitler?


Read the full post here.

Google's own App over Quota on App Engine

Found this interesting piece on scalability: Google’s own application Gone Google launched to answer some of the questions on the benefits of moving to cloud, including the main reason, scalability, is itself running over quota.

Read the full post here.


Sparkle is an Adobe AIR application for code highlighting. It does not depend on any webservice, and hence, can be used in offline mode as well. Sparkle uses awesome Syntax Highlighter by Alex Gorbatchev. You can think of Sparkle as a UI front end for Syntax Highlighter.

Sparkle was born of the need to display syntax highlighted code when

  • it is difficult/impossible to include Javascript in the HTML page
  • one rarely paste code snippets and the does not wants to compromise on page load times
  • display code snippets in RSS feeds

Using Sparkle is damn easy,

  • Run Sparkle
  • Paste your code snippet in the text area
  • Choose code language and theme
  • Click on Convert

That simple. Move to the Get HTML Code tab and click on Copy HTML to Clipboard. You may need to include the given style sheets somewhere in your HTML code.

Home Page   
Download   Source (coming soon!)

Sparkle needs Adobe AIR 1.5 Runtime on Windows, Mac or Linux.

Happy Coloring!

Read the full post here.

Authorization header in Google Buzz OAuth

While working on an Actionscript wrapper for Google Buzz APIs, I hit a road block while authenticating via OAuth. It seems the OAuth header used when making authenticating requests to other Google APIs does not work when sending to Google Buzz API. Here is a sample of the Authorization header that I used to make it work.

Read the full post here.

encodeURIComponent and decodeURIComponent in Java

A very common task when working with Webservices, is to encode/decode specific URI components, and for there is no direct API in Java for the same, it gets a difficult. Below is the code piece that I have been using for quite some time now.

Read the full post here.

Astrology: Myth or Science?

Please Note: The post is not meant to offend anyone or to hurt anyone’s belief or sentiments. I put here the various theories/thoughts that I have found on this topic in a single plate, and leave it on to you to make your own choice.


In science, all new discoveries, inventions and innovations bolster the already established facts and laws. They are derived from all previous experimentation and in-line with established rules of science. They do not differ unless one is in contradiction of the other. As an example, the discovery of radio waves by Heinrich Hertz was based on earlier discoveries of electricity and magnetism, made by Newton, Young, Huygens, Faraday, Maxwell and others.

Read the full post here.

Change is the only constant!

A wise man once said, Change is the only constant! And today is the day of the change. This blog has a new home,; a new theme with some new colors; and a new name, sangupta.

Read the full post here.

Android v/s iPhone

Android doesn’t removes your super-hero :)

Read the full post here.

Google App Engine Spin Time

Google App Engine, the cloud offering from Google, has this nice feature of spinning down an instance when there are no more instances to be served for a given application. Thus, say an app X does not receive a request in some time (haven’t found anything on how this time is arrived at), the JVM instance for the application is spinned down (brought down). The term ‘spin down’ seems to have been borrowed from the computer hard-disks that do the same to save energy. With comments all over it seems JVM instances have been brought down with even one minute of inactivity :(

Read the full post here.

Deleting a given node from a linked list

Delete a node from a linked list - Java implementation
Read the full post here.

It's Magic

The upcoming Content-Aware fill in Photoshop CS5 is nothing short of CS5. Wanna delete trees from your photos, extend the sky or desert, delete some lens flares, go ahead and play the king/queen. Don’t believe me, just watch the video.

Read the full post here.

Queue using Stacks!

Recently, a casual conversation in the office brought me to an observation, most of the candidates we had interviewed had flunked the question, How do you implement a Queue using two Stack's? Hence, I take today’s opportunity to discuss the implementation for the problem stated above.

Read the full post here.

Evenstar | Update 8

Finally I could find some time to work on Evenstar again, two weeks after we discovered some bugs. I just happened to fix the bug related to user permission where-in a user with permission was not able to view the post that was restricted to certain users. The bug was specifically related to some OpenID function which I messed up.

The fix is in and you could get the latest code at

The latest code base is now deployed on PoetInside and is running good. I just tested adding an Open ID account of mine from Blogger, and it works perfect!

Keep exploring folks! Cheers!

Read the full post here.

Eclipse debugger works intermittently

Yesterday, I had some tough time figuring why my Eclipse Debugger (for Java) was working intermittently. Initially I thought it was due to the recent Eclipse updates I might have installed, and hence, I reverted back to Ganymede from Galileo. It still didn’t work. The next guess was workspace corruption so I deleted and rebuild the entire workspace, but to no avail. After a lot of futile efforts and after wasting 3 hours on the same, here is what I got.

Read the full post here.