Friday, November 28, 2008
Mohammad X Vs Anish Prabhu
This is crazy, what did Anish did with Mohammad X (I just named terrorists as Mohammad X), Why this Mohammad gone “mad” at Mumbai. There is no demand, there is no personal vengeance, and there no discrimination against them, they just want to kill people in the name of god. Some are taking religious words as literals and fighting for it.
I can imagine now in India emotion runs high and some want to take military action against Pakistan, but we should not allow our emotion to turn anger. We have to keep cool and analysis all evidence to double confirm that Pakistan’s terrorist’s outfit involved in this tragedy. Pakistan’s government is now indolent, most of Pakistan’s providence now ruled by extremists, so taking military action against those pockets is wise decision if this ruthless massacre planned and executed by one of those extremist outfit.
Thursday, November 27, 2008
MUMBAI attacked again and again...
Monday, November 24, 2008
Struts 2 – Makes developer's life easier
When ever a new framework got released, first questions from developers are, A) Will this make my life easier? B) more documentation? C) Is it easy to understand and intuitive? As soon as, Apache released initial details about Struts 2, I got a sense that it is the framework for next generation. Now after reading some good books and documentations, I can strongly say that yes, struts 2 is the next generation framework for web development. Now we are in the position of talking about less configuration, and less coding, struts 2 is the answer for that.
MVC Shift:
A fundamental change from Struts 1 is, constitute of Model-Viewer-Controller pattern, beans/EJBs are no longer a model rather the action servlet itself act as a model and action. The filters, interceptors are the controllers for Struts 2.
Controller – Dispatcher Filters, Interceptors
Model – Action Servlet
View – JSPs
Configuration Changes:
As per Struts 2, Filters and Interceptors can act as controller, this is really good because filters are basic J2EE servlets and highly reusable. So filters will be configured in web.xml and interceptors would be configured in struts.xml. One more change is struts.xml would be placed in classes dir not in WEB-INF dir.
The nightmare of maintaining multiple struts xml files of struts 1 was answered really well in struts 2. In Struts2, we can include other struts configuration files in struts xml file. This would improve maintainability and modularize of multiple struts xml files.
Action Classes:
Action classes are now a POJO (Plain Old Java Objects), for sake of naming convention, we have to use execute name for method. But that can be changed by using configurations. Action classes would have an execute method and bunch of getters/setters. One interesting thing is, there is no need of getting many model beans and setting it in request scope, and then display it in JSP. Struts 2 is using highly intuitive ONGL (Object Graph Navigational Language) to access objects from value stack. It is not required that we have to champion of ONGL to use Struts 2, because Struts 2 provides JSP tags to get object data from stacks. Since we are dealing with low level language here, a basic understanding of ONGL is nice to have.
Dependency Injection
Struts 2 are highly depend on dependency injection to access other business service objects. I don’t want to dive into details about dependency injection here, because now everybody knows what is dependency injection and its advantages etc.
Interceptors
One good thing about Struts 2 is, introduction of interceptors, it is very useful for cross cutting functionalities and simplifies some reusable business logics. Interceptors are like a use-as-you-want basis, really good for plug-n-play, very loosely coupled.
Free maker, Velocity Support
There are something we can’t configure so far in web application because they are consider an independent entity of web applications, but Struts 2 tries to integrate Free Maker, Velocity (template tools) also configurable. This is something required greater understanding before using it.
Source:
http://struts.apache.org/2.x/
Tuesday, November 18, 2008
Wind Power
I was always in favor of alternative energy, mainly wind power. May be my home town back in India is famous for high force wind. When i was kid, in our town, power cut normally ranging from 30-40 hours per week. But after private companies installed wind turbine through out our area, power cut reduced to 4-5 hours per week. It was excellent growth for under developed places like us, Indian and our state politicians don’t even notice us because we are 3000 KM away from Indian capital and 650 KM away from state capital (pun intended, but truth is we are like many other place in India, under developed,under utilized and mass migration to cities are happening in large scale now).
I was closely observed our Western Ghats Mountain’s (Sahyadri Mountains) rocks and they are shaped based on wind direction, the sea facing rocks are flat, because of high wind force from Indian Ocean. The Indian Ocean wind was very strong because no obstacles from Antarctica to my home town, just open ocean water. The first barrier is our Western Ghats Mountain’s. There is adage in our area “adika adika ammi kalum nagarum’ loosely translated as “a rock can move after constant wind force after wind force”. When i was kid, i used to hear news that a car was lost control from road because of high wind and even larger truck was made accident because of high wind, I can’t imagine bicycles and motor cycles.This kind of high force winds are not suitable for wind mills so they would switch off power generators for some times.
In U.S, i felt the same, but not strong as my home town wind speed in 2 places, one is Livermore, CA, especially 580 corridor, and other one is of course our windy city Chicago, IL suburbs. But Livermore already has some wind mills and the geographical set up also just similar to my home town, a seashore, valley and mountain, mountain provides a barrier for sea shore wind to circulate in land with high force. I hope Obama will make sure to increase alternative energy investment and make use of high wind power, because of current economic climate and low oil price might tempt them to forget alternative energy plans.
Source :
http://my.barackobama.com/page/content/newenergy
http://en.wikipedia.org/wiki/Nagercoil
Thursday, November 13, 2008
Anti Brahminism and Tamils
I want to write about it a long time ago, but decided not to, because now in this advanced progressive growth of
A) About Reservation (affirmation action in
B) About Periyar with Brahmins
C) About Brahmins with atheists
D) About money with anybody (causes belly fire)
E) About sex with anybody (piss/shit in public place is okay but not kiss in my country ask Richard Gere),
F) About minority with majority
G) About majority with minority
H) About south with north
I) About north with south
J) About Tamil in Karnataka
K) About Kanada in Tamil Nadu
L) About north in west (this is something new)
M) About west in north
N) About Hindi with Tamils
O) About Tamils with Hindi
P) About Muslim with right wing RSS
Q) About RSS with Muslim
R) About Christians with VHP
S) About VHP with Christians
I can go up to Z and alpha, beta etc…. so we can happily talk about food, more food, lot of gossip, more cinema and some cricket that’s all, but my dad is from old school, always want to keep “all happy all time”. But we have to express our opinions in some where, just to unclog our brain so that we can explore more and more.
I may not point to any reference to substantiate my opinion, because all are my personal opinions and unbiased and some generalization, based on my experience with Brahmins, non-Brahmins, Atheist, Believer, Suppressed Peoples, Backward, most Backward, Forward, Other Backward, Muslims, Christians, Sikhs, Jains and Buddhists.
Brahmins contributed a lot for Tamils and Tamil Nadu. I can not imagine Tamil Nadu with out Brahmins. In my opinion, Tamil Nadu with out Brahmins is equal to
But there are some negative aspects of Brahminism are, they are very conservative, domination and fragile. Due to conservative nature of them, they never ever completely assimilate with main Tamil stream. Different food habit, even different hairstyle, Different Tamil slang, Different lifestyle, Different dressing and segregated themselves from main society, they prefer to live near to temples. The main connection point for Brahmins and non-Brahmins is temple, that’s all, after that complete isolation. They created so many illogical customs with in Tamil society. I can list all illogical here, but it required 100 pages. The most dislikes are, separating time into three parts and one should not do good things on some particular time slot, one should not travel some direction on some days, three persons can’t go to complete a task, if cat crosses on one’s way, they have to return home immediately, one can’t sleep with head pointing to north direction, etc…etc...
Anti Brahmanism was started in Tamil Nadu a long ago, to be specific when Erode Venkata Ramasami Naicker (EVR aka Periyar) went to Kasi in 1904. He witnessed immoral activities of Hinduism in holy city of
Periyar actively involved with Anti Brahminism in Tamil Nadu side by side with his main Indian independence movement. I don’t want to go to details about how he did it but it affected each and every single person’s mind in Tamil Nadu. People who born before 1975s may be affected by “brhaminophobia” or “periyarophobia” depend on which side they born, because of Periyar and unlimited propaganda by his followers, this phobia was even affected in neighboring states as far as Orissa and other religion also.
The youngest generation completely out of this and they even don’t know who is Periyar and what is Brahmins means to them, now Brahmins living like any body else in Tamil Nadu. Due to economical changes Brahmins came out of segregated places and living with in society and all are happy. We are living in a global village and all are connected with digital cells, and people are moving very fast, endless opportunities, no room for hate in this world. But what ever happened in
Tuesday, November 11, 2008
Jump to conclusions
I very often come across some “jump to conclusion’ers” in my life. I think the following factors are contributing jump to conclusion.
1. Want to achieve something quickly and desperate, spontaneous and impatient.
2. Lack of experience, novice, immature, tyro.
3. Unable to see big picture, see things as half full or half empty.
4. Chimerical, impulsive and erratic.
Jump to conclusion is any other psychosocial disorder can be cured but there is no medication. The only cure is Cognitive behavioral therapy, which changes the way brain digests the information and producing results.
Here are some tips to avoid Jump to conclusion.
Set the context. Jump to conclusion happen mostly after a conversation (formal or informal), but one have to use common sense to understand the context.
For example, we are at some informal meeting and talking about American football, person A is saying “yesterday’s match between Bears Vs Titans, Chicago should used most of running game rather than passing game”, person B is observing the words, can Jump to conclusion that Person A is not a risk takers because A is supporting running game. Person B completely missed the context, A expressing an opinion about a game not general football. If person A says “football coaches should use more running games because that is very safe and low risk” then B can use that as some judgment.
Judging others: Unless our profession required to judging others, don’t judge others. There are several negative aspects of judging others, if a person found that someone is trying to judging them, they try to avoid them altogether, in other words withdrawn. Judging others is the main recipe for jump to conclusion disorder. Person A is not a judging character and Person B is, person B can be professional jump to conclusion for all the aspects of his/her life.
Graphical contents also misled us to jump to conclusion. The latest example is Obama’s national anthem issue during his campaign. In sastwingees.org we discussed it extensively.
Taking literals as literally, this is really important and once we learned how to take literals as perceptive or alternative meaning, we can avoid most of the jump to conclusion. The advance reading and writing ability would give us maturity for not taking literals as literally.
For example, my 5 year old said, “Dad I’m starving and gonna die”, I knew that he ate enough food just before, for some reason he is hyperboling. But a stranger overheard this, and murmuring that “see this monster not feeding his kid, even though he said he is going to die”.
Reference:
http://www.sastwingees.org/2008/04/27/building-a-belief-system-why-do-we-believe-what-we-believe/
http://en.wikipedia.org/wiki/Cognitive_behavioral_therapy
http://en.wikipedia.org/wiki/Conclusion
Tuesday, November 04, 2008
This happens only in America...
From Generative AI to Agentic AI: 2 Weeks of Building MyNewsAI.io
From Generative to Agentic AI: 2 Weeks Building MyNewsAI.io Over the last two weeks, I set out to evolve MyNewsAI...
-
Already Microsoft getting heat from Google, that Google is capturing all critical functionalities from Microsoft office suite and developed ...
-
When I was young, i used to listen old stories from grandmother and a cousin of my grandfather. Most of the stories are from their flashback...
-
When I start thinking about future, my mind exploding without control, particularly current events and state of our economy. There is no d...