Saturday, January 24, 2009

Flex Builder Tips

I am mostly writing a few good tips I learned a few days (before I forget). If someone accidentally  benefits from this link, then that his/her luck.


1. MXNA told me that asdoc comments in Flex SDK 3.2 onwards are now possible.
<!--- asdoc --> is the syntax.
2. Flex Builder Tip: ctrl+space before type and semicolon in a variable declaration, brings in an import namespace at the top.
3. Flex Builder Tip: Ctrl+shift+p does the trick of going from one '{' (block beginning) to end ('}). That is why I like vim, they solved this ages ago.

I think points 2 and 3 were originally provided by Mike morearty, though I am short of time to try and find related post.

Old ways are best

Entertaining reading - Brian Kernighan's article and usefulness of cygwin.

Friday, January 16, 2009

How to do AIR and Web app together in Flex

David Coletta Architecting A Shared Codebase For Browser And Desktop Final

From: dcoletta,
1 month ago

Learn from our experience in adapting a complex codebase like the application Buzzword to run also as an Adobe AIR application. This session addresses the architectural challenges of developing SWF files to be shared between browser and AIR versions. We’ll cover user interface considerations, such as reconciling a single browser window with multiple AIR windows, and technical issues, like problems with the Singleton pattern when using multiple native windows. Other topics include abstracting code that must call AIR only APIs and packaging code into modules that load over HTTP for browsers and load from the file system under AIR.

SlideShare Link

Sunday, January 11, 2009

That Satyam Story

Just like everyone else, I too spent some time in watching news coverage, reporting, and reading blogs about Satyam saga - some of them apologetic till the last day.

I have been wrong many times before, but this is what I think (or rather my influences make me think):

  1. Rajus have reportedly strong political connections. They should be out in no time. Their personal assets won't be attached/taken over; there would be no/negligible fine. They may be convicted after 5-6 years of trial, but would get bail.
  2. Satyam must have had cash. The whole Indian outsourcing industry couldn't have been booming all these years with 3% (below inflation) returns. This point has been made by a much more intelligent person.
  3. That cash won't be recovered. That cash should have gone into Raju's pockets.
  4. It looks like the auditors (PWC) have been accused before (Global Trust Bank). They won't be punished this time too.

I don't know what would happen to victims of this saga - 53K employees. I hope they do well.