Sunday, May 31, 2009

Meri Dharti.. Mera Desh

Had chance to visit my native place.. a serene village Daulachak in middle of Bihar.. Almost walking distance from famous Pawapuri.. Infact when I was kid, we used to see the water temple from roof of our house...

20 years fast forward.. some things have changed.. but the charm of village still remains.. serenity, simple life..


As I was saying my village is very near famous "Jalmandir" in pawapuri..



The river where me and friends used to play..

My formative years.. replayed

My village school ... I spent my formative year in this school.. ( May be not regular..) I would be around 3.5 years old till then.. After that I moved to Allahabad with my father for taking admission..

In recent visit to village .. I had chance to visit alma mater.. The school opened sharp at 9.00 am .. It started all with prayer .. Teachers were too on time ( was that coincidence or they always do?).


The students were well behaved ( do you see whom am pointing to.. ).. This child came to me and asked whom I am.. We started talking and started looking into his book..

The other students also opened their books and started studying.. It was heartening to see these younger minds peeping into books, chatting amongst themselves and may be wondering what I am doing and may be disturbing them..



Then me and my brother visted inside.. The class teacher was very kind enough to give us some time to visit my class where I used to sit on floor and used to follow what master sir used to say..

When we used to study.. we used to sit on floor.. Good to see benches coming in.. both boys and girls studying.. having books.. Indeed a pleasure to see young kids enjoying their class..




After 1/2 hr.. ( worthy one).. I was thinking is this enough.. ?

Will India Lose it's charm... as become "World Class"

Any eye opener for me at least.. Are we( Indian society) will become warm in words and cold in intentions..

"Moving through America, I was struck again and again by the superficial politesse and underlying coldness of so many customer-service moments.

In restaurants, the waiters have become performers, not merely hosts seeking to tend to a guest: “May I ask if it’s your first time dining with us? Wow! Well, it’s wonderful to have you here. Can I begin by telling you about our wonderful specials?” And then the sparkling-or-still-water dilemma, and the practiced Disappointed Look when you want tap water. And the 50-percent-too-elaborate “Are you finished enjoying that?”

Read the full article on nytimes.. :

http://www.nytimes.com/2009/05/22/world/asia/22iht-letter.html

Saturday, May 23, 2009

The role of leadership in software development

Awesome presentation.. Must see for new entrants in SW industry..

If nothing changes, nothing changes

I am fortunate to be attending this event

Thursday, January 8, 2009

Eclipse Design Patterns

Will be going through following link: http://www.eclipse.org/articles/Article-Plug-in-architecture/plugin_architecture.html

This is great article from past having detailed explanation on Eclipse plugin architecture..


If you are interested in summary: "

Summary and Conclusions

The plug-in extension model of Eclipse provides a powerful and general paradigm for architecting extensible systems based on loosely-coupled components. The principle use of this architecture, of course, is the Eclipse workbench. But the basic extension model is an abstract architectural pattern quite apart from its specific incarnation in the workbench.

The principle facilities of this abstract model are:

  1. Deployment-time pluggable components. Plug-ins are components that are assembled into a system at deployment time. A plug-in is implemented in a running system as an instance of a plug-in class. Characteristics of each plug-in are declaratively specified in a manifest file, which is interpreted at runtime to instantiate the plug-in and relate it to other plug-ins.

  2. Extension-points. A particular way in which a plug-in allows itself to be extended is embodied in an extension-point. An extension-point is defined by a plug-in that stands in a host role with respect to the extension-point, and may be extended by one or more plug-ins that stand in an extender role with respect the extension-point. There is a contract associated with each extension-point. The contract puts obligations on both the host and the extender plug-ins.

  3. Extensions as Parameterized Callback Bundles. An extension-point contract generally provides one or more callback interfaces, and requires extenders to provide custom implementations (callback objects) for these interfaces. Then the host is obligated to call back on these callback objects under certain conditions specified in the contract, and based on a particular extension's configuration parameters.

  4. Obligations of the Host. The host obligations under an extension-point contract may include additional requirements on the behavior of the host, such as a requirement on the host to augment its interface by additional processing elements.

  5. Obligations of the Extender. The extender describes the characteristics of an extension declaratively in its manifest file. The extension-point contract provides an XML schema for this description, and the extension specification in the extender's manifest file must conform to this schema. The schema includes slots for the concrete classes of the extension's callback objects, and for the parameters required to construct these objects. The concrete classes are furnished by the extender, and must conform to expected interfaces defined by the host. At runtime, the host instantiates the configured callback objects based on their configuration parameters."

Tracing plugins in Eclipse

Developing Eclipse plugins are fun.. and debugging those are more...

If you want to enable tracing in your plugins, the following article provides a detail explanation
http://www.ibm.com/developerworks/rational/library/06/0221_rossner/index.html

Tracing plugins becomes very useful if you are having used or implemented listeners mechanism either ResourceChangeListeners otr Java Element Change listeneres.

By enabling the tracing of these two plugins, you may get insight into which plugins are taking
time or if there is any redudancy in code.