Thursday, March 26, 2009

Kahin Toh .. Hogi Woh.. Chords Jaane Tu Ya Jaane Na


I found a little bit time to chill out and search for chords for this song. I absolutely love this song. I found it on indianguitartabs and I believe they are perfect. I tried playing it on barre chords and they sound fabulous but still not confirmed with the strumming pattern. Will confirm with my teacher and also provide the strumming pattern. Hope this helps other beginners like me to excel forward.

D#


Dm


A#


C


Gm




(A#)Kahin to.. (A#)Kahin to.. (Dm)hogi wo..
(D#)Duniya jahan tu mere (C)sath hai.
(A#)jahan main… (A#)jahan tu… (Dm)Aur jahan..
(D#)bas tere mere (C)jazbaat hai…

(Dm)Hogi jahan… sa(Gm)ba teri…
(A#)palkon ki… (F)kirno(D#) ne…
(Dm)Dori jahan.. (Gm)chand ki…
(A#)sun teri.. bahon (D#)mein……….

(A#)jaane na kahan wo du(D#)niya hai
(C)jaane na wo hai bhi (F)ya nahi
(A#)jahan meri zin(D#)dagi mujhse
(D#)itni (F)khafa (A#)nahi… x 2


ANTRA

(C)Saasein kho gayi hai kiski (Gm)aahon mein…
(C)Mein kho gayi hoon jane kiski (Gm)baahon mein
(C)Manzilon se rahe dhoond(Gm)te chali
Aur (C)kho gayi hai manzil kahin (Gm)rahon mein

(A#)kahi to.. (A#)kahi to.. (Dm)hai nasha…
(D#)teri meri har mula(C)qat mein…
(A#)hotho se.. (A#)hotho ko.. (Dm)chumti…
oh (D#)rehte hai hum har (C)baat pe..

(Dm)kehti hai, fi(Gm)za jahan..
(A#)teri zameen, (F)aas(D#)man…
(Dm)jaha hai tu, (Gm)meri haseen,
(A#)meri khushi, meri ja(D#)han….

(A#)jaane na kahan wo du(D#)niya hai
(C)jaane na wo hai bhi (F)ya nahi
(A#)jahan meri zin(D#)dagi mujhse
(D#)itni (F)khafa (A#)nahi…

Saturday, March 21, 2009

Fundamental questions of C++

The following are the initial questions asked by a technical recruiter for a good project in C++. Have a look and hope this helps.

What is the difference between an ARRAY and a LIST?

-->Array is collection of homogeneous elements.
-->List is collection of heterogeneous elements.

-->For Array memory allocated is static and continuous.
-->For List memory allocated is dynamic and Random.

-->Array: User need not have to keep in track of next memory allocation.
-->List: User has to keep in Track of next location where memory is allocated.

-->Array uses direct access of stored members
-->List uses sequencial access for members.

//With Array you have direct access to memory position 5
Object x = a[5]; // x takes directly a reference to 5th element of array

//With the list you have to cross all previous nodes in order to get the 5th node:
list mylist;
list::iterator it;

for( it = list.begin() ; it != list.end() ; it++ )
{
if( i==5)
{
x = *it;
break;
}
i++;
}

What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

-->Virtual

What are 2 ways of exporting a function from a DLL?
1.Taking a reference to the function from the DLL instance.
2. Using the DLL ’s Type Library

What is the difference between Mutex and Binary semaphore?

semaphore is used to synchronize processes. where as mutex is used to provide synchronization between threads running in the same process.


STL Containers - What are the types of STL containers?
There are 3 types of STL containers:

1. Adaptive containers like queue, stack
2. Associative containers like set, map
3. Sequence containers like vector, deque



Describe two ways where you can prevent a class from being instantiated.

--> Declare all static methods/functions.
--> Declare a private constructor.

Difference between DELETE, TRUNCATE and DROP statements in SQL

--> DELETE
- DML statement
- used to remove rows from a table
- WHERE clause can be sued to remove only some rows.
- After performing DELETE operation you can commit or rollback the transaction to make the change permenant or undo it.
- This operation will cause all TRIGGERS on table to fire.

--> TRUNCATE
- DDL statement
- removes all rows from a table
- operation cannot be rolled back and no triggers will be fired.
- TRUNCATE is faster and doesn't use as much undo space as DELETE.

--> DROP
- DDL statement
- removes a table from a database
- all the tables' rows, indexes and privileges will also be removed.
- No DML triggers will be fired.
- Operation cannot be rolled back.

From Oracle 10g a table can be undropped.
FLASHBACK TABLE emp TO BEFORE DROP
Flashback Complete

Thursday, March 19, 2009

XML -- Interview Questions


Interview preparation can be a difficult process and in the current market scenario one has to have the right skills and capabilities to get a job.

So I have a bunch of stuff that I have hands on experience but do not have thorough knowledge of. Lets begin with XML today.

1. What is XML?

Ans. XML (eXtensible Markup Language) is all about describing data.

2. What are the namespaces in .NET used for XML?

Ans.
1. System.Xml
2. System.Xml.Schema
3. System.XML.XPath
4. System.Xml.Xsl

3. What is a XML Parser?

Ans. XML Parser sits in between the XML document and the application who wants to use the XML document.

There are two standard specifications which are very common and should be followed by a XML parser:-

DOM (Document Object Model)
- W3C recommended way for treating XML documents.
- Load entire XML document into memory and allows us to manipulate the structure and data of XML document.

SAX (Simple API for XML
- Event Driven way for processing XML documents.
- SAX parser parses XML document sequentially and emits events like start and end of the document, elements, text content, etc.
- Best for large XML documents which cannot be loaded directly into the memory.

4. What are the core functionalities in XML.NET framework?

Ans. The core functionalities in XML.NET framework are

1. XML Readers
2. XML Writers
3. XML Document

1. XML Readers
- allows you to scroll forward through the contents like moving from node to node or element to element.
- allows you to browse through the XML document.

2. XML Writers
- can store the XML contents to any other storage media.

3. XML Document
- provides a in memory representation for the data in an XMLDOM structure as defined by W3C.
- supports browsing and editing of the document.
- Gives complete tree structure representation of your XML document.

5. What is XSLT?

- rule based language used to transform XML docs into other file formats.
- generic transformation rules which can be applied to transform XML document to HTML, CSS, Rich Text, etc.


6. What is XPATH?

- XML query language to select specific parts of an XML document.
- Using XPATH you can address or filter elements and text in a XML document.
- e.g. "Invoice/Amount" states find "Amount" node which are children of "Invoice" node.

7. What is a XPointer?

- used to locate data within XML document.
- can point to a particular portion of XML document.
- e.g.

address.xml#xpointer(/descendent::streetnumber[@id=9])

- So the above XPOINTER points streetnumber = 9 in "address.xml".
8. What is a XMLReader Class?

- abstract class from System.XML namespace.
- works on a read only stream browsing from one node to another in forward direction.
- You cannot modify the XML document. You can only move forward.

9. What is a XMLTextReader?

- helps provide fast access to streams of XML data in a fowrward-only and read-only manner.
- checks if the XML is well formed (properly formatted with opening and ending tags)
- does not validate against a schema or DTD for that you will need "XmlNodeReader" or "XmlValidationReader" class.

Monday, March 2, 2009

Tu Bin Bataye Mujhe Le Chal Kahin.,... Rang de basanti Chords





[C]Tu Bin Ba[G]Taye Mujhe [F]Le Chal Ka[G]Hi
Jahan [C]Tu Musku[G]Raye Meri [F]Manzil Wa[G]Hi
[C]Tu Bin Ba[G]Taye Mujhe [F]Le Chal Ka[G]Hi
Jahan [C]Tu Musku[G]Raye Meri [F]Manzil Wa[G]Hi

[C]Meethi La[Am]Gi, Chakh Ke [F]Dekhi Ab[G]Hi
Mish[F]Ri Ki Da[G]Li, Zinda[F]Gi Ho Cha[G]Li
Jahan [C]Hai Teri [G]Baahe Mera [F]Sahil Wa[G]Hi
[C]Tu Bin Ba[G]Taye Mujhe [F]Le Chal Ka[G]Hi
Jahan [C]Tu Musku[G]Raye Meri [F]Manzil Wa[G]Hi

[C]Mann Ki Ga[Am]Li Tu Phu[F]Haro Si [G]Aa
[F]Bheeg Jaye [G]Mere Khwabon [F]Ka Kafi[G]La
Jise [C]Tu Gungu[G]Naye Meri [F]Dhun Hai Wa[G]Hi
[C]Tu Bin Ba[G]Taye Mujhe [F]Le Chal Ka[G]Hi
Jahan [C]Tu Musku[G]Raye Meri [F]Manzil Wa[G]Hi

[C]Tu Bin Ba[G]Taye Mujhe [F]Le Chal Ka[G]Hi
Jahan [C]Tu Musku[G]Raye Meri [F]Manzil Wa[G]Hi

Friday, February 13, 2009

Papa Kehte hain ... chords...Evergreen guitar song



Guys, I am again in the mood of learning evergreen guitar songs... Here is the song that every guitarist craves to play. This was the start of the new guitar era from the bollywood and guitar point of view.


[C]Papa kah[Am]te hai bada [F]naam kare[G]gaa
[C]beta ha[Am]mara aisa [F]kaam kare[G]gaa
magar [C]yeh to, koi na [Am]jaane
ki [F]meri manzil he ka[G]haa
[C]Papa kah[Am]te hai bada [F]naam kare[G]gaa

[C]Baithe hai mil ke, [Am]Sab yaar apne
[F]sabke dilo main, [G]armaan yeh hai
[C]Baithe hai mil ke, [Am]Sab yaar apne
[F]sabke dilo main, [G]armaan yeh hai
[C]woh zindagi main, [Am]kal kyaa banegaa
[F]har ik nazar ka, [G]sapnaa yeh hai

[C]koi engi[Am]neer ka [F]kaam kare[G]gaa
[C]business main [Am]koi apnaa [F]naam kare[G]gaa
magar [C]yeh to, koi na [Am]jaane
ki meri [F]manzil he ka[G]haa
[C]Papa kah[Am]te hai bada [F]naam kare[G]gaa

[C]Mera to sapna [Am]hai ek chehra
[F]Dekhe jo usko [G]jhoome bahar
[C]Mera to sapna [Am]hai ek chehra
[F]Dekhe jo usko [G]jhoome bahar
[C]Gaalon mein khilti [Am]kaliyon ka mausam
[F]Aankhon mein jaadu [G]honthon mein pyaar

[C]Banda ye [Am]khoobsurat [F]kaam kare[G]gaa
[F]Dil ki duni[Am]ya mein apna [F]naam kare[G]gaa
Meri na[C]zar se dekho to [Am]yaaron
ki [F]meri manzil he ka[G]haa
[C]Papa kah[Am]te hai bada [F]naam kare[G]gaa

Thursday, February 12, 2009

Tuesday, February 3, 2009

C++ Interview questions



These days I am giving interviews in my field of expertise i.e. C++. Well am not expert but that is what I am looking for in terms of technology.

Ok so getting to the point, I found it useful for myself as well as other to ponder into some of the latest questions that were asked by an interviewer in India... no wonder india is the software hub.

The answers are according to my knowledge. Do comment on it and correct me wherever I am wrong.

1. What are different kinds of design patterns?

i Singleton
ii Factory
iii Proxy
iv Adapter/Wrapper
v Decorator
vi The chain of responsibility
vii Observer Pattern

2. How would you implement a Singleton Application?
Implementing the Singleton Design Pattern
By Danny Kalev

Singleton is probably the most widely used design pattern. Its intent is to ensure that a class has only one instance, and to provide a global point of access to it. There are many situations in which a singleton object is necessary: a GUI application must have a single mouse, an active modem needs one and only one telephone line, an operating system can only have one window manager, and a PC is connected to a single keyboard. I will show how to implement the singleton pattern in C++ and explain how you can optimize its design for single-threaded applications.

Design Considerations
Using a global object ensures that the instance is easily accessible but it doesn't keep you from instantiating multiple objects—you can still create a local instance of the same class in addition to the global one. The Singleton pattern provides an elegant solution to this problem by making the class itself responsible for managing its sole instance. The sole instance is an ordinary object of its class, but that class is written so that only one instance can ever be created. This way, you guarantee that no other instance can be created. Furthermore, you provide a global point of access to that instance. The Singleton class hides the operation that creates the instance behind a static member function. This member function, traditionally called Instance(), returns a pointer to the sole instance. Here's a declaration of such a class:


class Singleton
{
public:
static Singleton* Instance();
protected:
Singleton();
Singleton(const Singleton&);
Singleton& operator= (const Singleton&);
private:
static Singleton* pinstance;
};

Instead of Singleton, you can name your class Mouse, FileManager, Scheduler, etc., and declare additional members accordingly. To ensure that users can't create local instances of the class, Singleton's constructor, assignment operator, and copy constructor are declared protected. The class also declares a private static pointer to its instance, pinstance. When the static function Instance() is called for the first time, it creates the sole instance, assigns its address to pinstance, and returns that address. In every subsequent invocation, Instance() will merely return that address.

The class's implementation looks like this:


Singleton* Singleton::pinstance = 0;// initialize pointer
Singleton* Singleton::Instance ()
{
if (pinstance == 0) // is it the first call?
{
pinstance = new Singleton; // create sole instance
}
return pinstance; // address of sole instance
}
Singleton::Singleton()
{
//... perform necessary instance initializations
}

Users access the sole instance through the Instance() member function exclusively. Any attempt to create an instance not through this function will fail because the class's constructor is protected. Instance() uses lazy initialization. This means the value it returns is created when the function is accessed for the first time. Note that this design is bullet-proof—all the following Instance() calls return a pointer to the same instance:


Singleton *p1 = Singleton::Instance();
Singleton *p2 = p1->Instance();
Singleton & ref = * Singleton::Instance();

Although our example uses a single instance, with minor modifications to the function Instance(), this design pattern permits a variable number of instances. For example, you can design a class that allows up to five instances.

Optimizing Singleton for Single-Threaded Applications
Singleton allocates its sole instance on the free-store using operator new. Because operator new is thread-safe, you can use this design pattern in multi-threaded applications. However, there's a fly in the ointment: you must destroy the instance manually by calling delete before the application terminates. Otherwise, not only are you causing a memory leak, but you also bring about undefined behavior because Singleton's destructor will never get called. Single-threaded applications can easily avoid this hassle by using a local static instance instead of a dynamically allocated one. Here's a slightly different implementation of Instance() that's suitable for single-threaded applications:


Singleton* Singleton::Instance ()
{
static Singleton inst;
return &inst;
}

The local static object inst is constructed when Instance() is called for the first time and remains alive until the application terminates. Note that the pointer pinstance is now redundant and can be removed from the class's declaration. Unlike dynamically allocated objects, static objects are destroyed automatically when the application terminates, so you shouldn't destroy the instance manually.

3. What if you do not want to permit instantiation of a class?

A class type should be declared abstract only if the intent is that subclasses can be created to complete the implementation. If the intent is simply to prevent instantiation of a class, the proper way to express this is to declare a constructor (§8.8.8) of no arguments, make it private, never invoke it, and declare no other constructors. A class of this form usually contains class methods and variables. The class Math is an example of a class that cannot be instantiated; its declaration looks like this:

public final class Math {
private Math() { } // never instantiate this class
. . . declarations of class variables and methods . . .

}

Ans 2
Make it a pure virtual class. That means no implementation of any functions in the class.

4. If you do not have to use namespaces, and have two third party Libraries with the same header file name?
5. What all things would you consider while considering addition of a third party library?
6. What is a select class in socket programming?
7. What are the different Synchronization objects?

i Classic Semaphores
ii Mutex
iii Event Objects
iv Waitable timers
v Critical section Object

8. How would you handle a file that is to be accessed by three different threads?
9. What are the steps that are involved in accessing a resource with the involvement of synchronization objects?
10.What is the library you use to open and close a file?

Stream


Step 1: Creating a File Stream
An input file stream (ifstream) supports the overloaded >> operator. Likewise, an output file stream (ofstream) supports the << operator. A file stream that combines both input and output is called fstream. The following program creates an ifstream object called dictionary and prints each word in it on the screen:


#include
#include
#include
#include
using namespace std;
int main()
{
string s;
cout<<"enter dictionary file: ";
cin>>s;
ifstream dictionary (s.c_str());
if (!dictionary) // were there any errors on opening?
exit(-1);
while (dictionary >> s) cout << s <<'\n';
}

We have to call the string::c_str() member function because fstream objects accept only const char * filenames. When you pass a filename as an argument, the constructor attempts to open the specified file. Next, we use the overloaded ! operator to check the file's status. If an error has occurred, the operator will evaluate as true. The last line contains a loop that, on each iteration, reads a word from the file, copies it to s and displays it. Note that we didn't have to check for an EOF character explicitly as the overloaded >> handles this condition automatically. Furthermore, we didn't close the file explicitly because the destructor does that for us.

11. Tell me something about virtual constructors and destructors.

Constructor cannot be virtual because at the time when the constructor is invoked, the virtual table would not be available in the memory. Hence we cannot have a virtual constructor

Virtual Destructor

- A virtual destructor is one that is declared as virtual in the base class and is used to ensure that destructors are called in proper order.
- It is to be remembered that destructors are called in reverse order of inheritance
- If a base class pointer points to a derived class object and we sometime later use the delete operator to delete the object, then the derived class destructor is not called.
- But if the keyword virtual is used while the destructor is declared in base class, ,in the above case, the derived class destructor is called.

Pure Virtual Destructor

- We cannot declare a pure virtual destructor. Even if a virtual destructor is declared as pure, it will have to implement an empty body(at least) for the destructor.

Tuesday, January 27, 2009

Maa - Taare Zameen Par Chords

Chords in the song
Play the C, F, G open chords and Am, G#, Fm7(111131) barre chords.

MUKHDA 1
(C)Main kabhi… bat(F)lata na(C)hin
(G)par andhere se (F)dartaa hoon main (C)maa
(C)yu to main… dikh(F)lata na(C)hin
(G)teri parwah (F)karta hoon main (C)maa…
tujhe (F)sab hai pa(G)ta… hai na (C)maa
tujhe (F)sab hai pa(G)ta… … … meri (C)maa

MUKHDA 2
(C)bheed mein… yu na (F)chodo mu(C)jhe
(G)ghar laut ke bhi (F)aana paaon (C)maa
(C)bhejna… Itna (F)door mujhko (C)tu
(G)yaad bhi tujhko (F)aana paaoon (C)maa
kya (F)itna bu(G)ra hoon main (C)maa
Kya (F)itna bu(G)raaaa… … …meri (C)maa

Guitar Lead
E --------------------------------------------------------
B -8h10-8----------------------8/10-8---------------------
G -------------5-7----5/7--5---------------5-7----5/7--5--
D ---------5h7-----7-------------------5h7-----7----------
A --------------------------------------------------------
E --------------------------------------------------------

E -------------------------------
B -------5---6--5-6-6/8-8-6-5h6--
G -----5---7---------------------
D -5h7---------------------------
A -------------------------------
E -------------------------------

E -----------------------8----8h10-10b-8----5--3--0-----
B -------5---6--5-6-8/10---10-----------------5--3--1-----
G -----5---7----------------------------------5--4--0-----
D -5h7----------------------------------------7--5--2-----
A --------------------------------------------7--5--3-----
E --------------------------------------------5--3--x-----
The last three pieces are the Am, G and C chords.

ANTRA
(C)jab bhi kabhi… (E7)Papa mujhe
(Am)jo zor se… (G#)jhoola jhu(Fm7/Fm)late hain (C)maa…
(C)meri nazar… (E7)dhoonde tujhe
(Am)sochu yahin… (G#)tu aake (Fm7/Fm)thamegi (C)maa…

Mukhda 3
(C)tumse main… ye (F)kehta na(C)hi
(G)par main sehem (F)jata hoon (C)maa
(C)chehre pe… aane (F)deta na(C)hi
(G)dil hi dil mein (F)ghabrata hoon (C)maa
tujhe (F)sab hai pa(G)ta hai na (C)maa
tujhe (F)sab hai pa(G)ta… … …meri (C)maa


Mukhda 1 again …

Monday, September 22, 2008

Google Chrome : A Review




Google is coming into the market to compete with a giant like Microsoft. So a few weeks ago they launched a web browser called GOOGLE CHROME. The most surprising thing is that they launched this only for Win XP/ Vista only. Well launching a browser that would only work in the competitors' operating system? Intersting....but if you see from their point of view, it is the most widely used operating system!!

So I would think, what is so special about this browser? This would offer the same or similar facilities and options that IE, firefox, safari, opera, netscape would...with a few modifications...

But this was the google product I couldnt digest....

No real surprises or major advantages over any other browser. My personal favorite is Firefox and that would remain same.

Now google claims that it has taken care of the existing problems of the current widely used internet browsers but I do not believe so.

I would say a couple of new things but that is it.

They claim that the chrome is a lighter application than other browsers and a single instance is standalone and doesnt hurt other instances. Well upon my use of a few weeks...it didnt really matter to me. If you have like 5-6 chrome windows open and is open till long time...so when u try to switch it back, it just takes a lot of time to get back.

Other thing that is something new is that any tab you can drag it and make it a new window, this sounds useful sometimes.

Do let me know if in case somebody found a very good advantage of chrome over other browsers..

Google claims chrome to be very fast but I personally didnt find the feature to be effective.

Finally I am not pleased with this new browser, claims to be light but I personally didnt find it light, no good looks, and that makes me think ....

Why should I switch to this browser when almost all things are better with my favorite browser?

Hope google could read this and tell me what to look for in chrome...

Adios Amigos...Njoy life to the fullest..

Tuesday, September 9, 2008

Movie Review: "A Wednesday"



This is one of the best movies I have seen in recent times....

The way the director ponders over the current situation of citizens of India and especially Mumbai. I really liked the way the director takes one by one; problems of a common man...(stupid common man)...

The movie starts as a police commissioner starts narrating the best case ever handled by him....But he says that the surprising fact is that it is never registered in a file or at any place........

I would not agree to some of the previous reviewers that the move doesn't have big star cast......I believe that this movie has the best of the actors in the Indian movie industry. The best stage actors...Anupam Kher and Naseerudin Shah.

Anupam Kher and Naseerrudin Shah are the actors nobody can be compared with.....they are unique characters and their presence in any movie makes an amazing impact to the movie.

I would not like to describe the movie or the story as a whole because I want you to watch the movie and then think of what a common man in India would feel after what has happened with the common man.....

I really like the last line of the movie......Anupam Kher says" He told me his name but I won't tell you because people tend to find religion in a name" The above lines really touched my heart and depicts the real pain in the hearts of people of Mumbai....

I really want people to watch this realistic movie....Hats off to the director and the writer....

Tuesday, July 8, 2008

Mithun Chakraborty, Prem Pratigya and Ashwani Munshi....







In the above picture....Rajeev Kumar, Manoj Shinde(with the funny cap on), Chandraveer Singh yadav at Jigars wedding.


This post is dedicated to the following members of the M.S.Bidve Engineering College, Latur, Maharashtra, INDIA....


The great mithunish actor - ASHWANI MUNSHI
Latur ke great radhe bhaiya - RAJEEV KUMAR aka RAZU..
The Munshi acting fan club president and the one who is widely know an laundiya baajo ka baadshah - MANOJ SHINDE
The man who needs no introduction - CHANDRAVEER SINGH YADAV....
And all the members of the millenium batch....including me.....:D



The heading of the youtube video you are seeing says

"Dedicated to ashwani munshi and ronak patil. In the memories Rajiv kumar (Radhey Bhiyya)"


Enjoy the video and I really appreciate comments...

This one is with better quality



Monday, July 7, 2008

Manoj Kumar Tiwari....

Here I am with something that is really odd...I am not a bhojpuri native but I had a chance to listen to bhojpuri songs by manoj kumar tiwari 'Mridul'. I really like these videos......

Let me tell you something about this guy manoj tiwari "Mridul".

He is at the peak of popular success in the bhojpuri music industry. He has a large number of audio cassettes and is regularly invited to functions for live performances...

His style is an amalgam of the traditional and the modern taking the best of both...


So here are some of the videos worth watching......



This is the one that I like the most.



Bagal wali....Listen to the whole song....it is fun...

One more




Saher ke titali....

Monday, May 19, 2008

America - Out of Gas......

Nineteen years ago, the fall of the Berlin Wall effectively eliminated the Soviet Union as the world's other superpower. Yes, the USSR as a political entity stumbled on for another two years, but it was clearly an ex-superpower from the moment it lost control over its satellites in Eastern Europe.

Less than a few months ago, the United States similarly lost its claim to superpower status when a barrel crude oil roared past $110 on the international market, gasoline prices crossed the $3.50 threshold at American pumps, and diesel fuel topped $4.00.

I believe the time has come to put aside the normal crude oil running vehicles and switch over to other forms of energy. Now think of United States for a day without gas. I cannot imagine....Almost everything is dependent on fossil fuels.

Now the question why is America in such a disasterous condition? Why is the American currency going down against other currencies? Why is america into the credit crunch situation? Why has the traffic decreased on the american freeways during the long weekends? Why are americans finding an alternative for fossil fuels? Why didnt they think about this condition long back? All these questions have a single answer. And to get the answer we have to go back 50 years in the post World War II phase when America was considered the super power.

The fact is, America's wealth and power has long rested on the abundance of cheap petroleum. The United States was, for a long time, the world's leading producer of oil, supplying its own needs while generating a healthy surplus for export.

Abundant, exceedingly affordable petroleum was also responsible for the emergence of the American automotive and trucking industries, the flourishing of the domestic airline industry, the development of the petrochemical and plastics industries, the suburbanization of America, and the mechanization of its agriculture. Without cheap and abundant oil, the United States would never have experienced the historic economic expansion of the post-World War II era.

No less important was the role of abundant petroleum in fueling the global reach of U.S. military power. For all the talk of America's growing reliance on computers, advanced sensors, and stealth technology to prevail in warfare, it has been oil above all that gave the U.S. military its capacity to "project power" onto distant battlefields like Iraq and Afghanistan. Every Humvee, tank, helicopter, and jet fighter requires its daily ration of petroleum, without which America's technology-driven military would be forced to abandon the battlefield. No surprise, then, that the U.S. Department of Defense is the world's single biggest consumer of petroleum, using more of it every day than the entire nation of Sweden.

If this crisis were foreseen then we would have comeup with a backup plan like what is done by countries like brazil.

Brazil is one of the leading sugarcane producers of the world. Ethanol produced from sugarcane is an alternative source of energy. We have cars called FLEXFUEL that allows the car to run on E85 Ethanol. Now the so called superpower "UNITED STATES OF AMERICA" thinks they are in trouble because the gas prices rose to $125 from around $20 a few years ago.

Now didn't we see this coming....? This is not a kind of hurricane which we could not see. We were expecting this....may be not this early. But it is never too late......We need to do something...

One more thing is the amount of money United States is spending on Iraq and Afghanistan. I agree we need to protect our country. But now the time has come to bring back the troops which are spending a hell lot of fossil fuels. One of the reasons the economy is getting worse is this. This is my personal opinion.

Monday, May 5, 2008

Movie Review " An American Crime"

Again I am here with a bunch of movie reviews which were a part of activity last weekend....

AN AMERICAN CRIME

This movie falls in my favorite genre - True story.

*ing Ellen Page(awsm acting), Catherine Keener

This is a true story of a suburban single mother Gertrude Baniszewski, who kept a teenage girl locked in the basement in her Indiana home during the 1960s.

The opening courtroom scenes and disclaimer that "actual transcripts" were used make that clear. There's something about a "true crime" drama that triggers a desire to sit through whatever terrifying images lie ahead. And the images conjured up here are bone-chilling.

The movie is so-so but the story needs to be known to everybody. I cannot imagine a mother of 6 kids to do something like this. But this needs to reach each and every house of the world.

Sylvia and Jennie, daughters of traveling carnival workers are left for an extended stay at the Indianapolis home of single mother Gertrude Baniszewski and her 7 kids. I do not know that this movie depicts what actually happened but I still believe that the truth is more shocking that the movie itself.

So try to watch this movie if you can but beware this can be horrifying for a few.

Friday, April 18, 2008

Koshish.....

This week i am in poetic mood....so a poem which I liked very much... I studied this in my school....I hope this motivates everybody who visits my blog....



Lehron se Darkar nauka par nahin hoti,
koshish karne walon ki haar nahin hoti

Nanhi cheenti jab daana lekar chalti hai,
chadhti deewaron par, sau bar phisalti hai.
Man ka vishwas ragon mein saahas bharta hai,
chadhkar girna, girkar chadhna na akharta hai.
Akhir uski mehnat bekar nahin hoti,
koshish karne walon ki haar nahin hoti.

Dubkiyan sindhu mein gotakhor lagata hai,
ja ja kar khali haath lautkar aata hai
Milte nahi sahaj hi moti gehre paani mein,
badhta dugna utsah isi hairani mein.
Muthi uski khali har bar nahin hoti,
koshish karne walon ki haar nahi hoti.

Asaflta ek chunauti hai, ise sweekar karo,
kya kami reh gayi, dekho aur sudhar karo.

Jab tak na safal ho, neend chain ko tyago tum,
Sangharsh ka maidan chhodkar mat bhago tum.
Kuch kiye bina hi jai jaikar nahin hoti,
koshish karne walon ki haar nahin hoti.

– Harivansh Rai Bacchan

Saturday, April 12, 2008

Movie Review: The Bucket List

So I had a chance to see this movie after a busy Friday at work.....So I thought to go out for this movie at the nearby dollar theater....

The Bucket List *ing Morgan Freeman and Jack Nicholson. This movie is a combination of comedy adventure and drama.....

I liked the subject of the movie and how the movie sails....u wont feel bored since we see a lot of funny dialogues. The movie is absolutely fabulous....

The idea behind the movie is to enjoy all the things that you ever dreamt

This is the line I like the most......it is in the start of the movie but the significance of which is at the end..
"I know when he died, his eyes were closed and his heart was open"

Firstly let me tell you about the person whose intelligence impressed me....carter chambers (Morgan Freeman)... omg he knew all the answers....lot of general knowledge...I don't know about others but I think he was great....

The other thing that fantasized me was the way Morgan freeman was narrating the whole story.....and it did make sense how the movie started and it ended....hats off to the director....

The movie goes like this......Jack Nicholson is a rich and affluent investor in the hospitals around the US and finally found out that he had cancer and he was a member of the human community for only a few months....Morgan Freeman a mechanic by profession also finds himself in the same boat and both these guys end up meeting each other in the same room of the hospital that Jack owned....and Morgan had a list of things which he wanted to do in life but couldnt which he called THE BUCKET LIST.

Jack Nicholson found out that both of them were going to die in a matter of few months and he had a lot of money to spend... So adds up his wishes in the bucket list and they both go out chasing their dreams....They move all over the world ....had fun and finally come home....I think this is enough for a review....bcoz I dont want to spoil the movie by telling every thing.....

So go watch the movie....It is fun....dont miss the comedy by Jack Nicholson....

Saturday, March 29, 2008

Watch "One Two Three" Movie Online....

Hi guys,,

I just found out the link where you could watch the latest movie released in bollywood.

"One Two Three" ...A fun filled movie....I havent watched but it is not a movie that should be watched in the theatres...so guys who are like me that think this movie should be watched online only....there is something from the muft ka khazana guy....

Part 1
Part 2
Part 3
Part 4

Guys njoy!!!!

Monday, March 24, 2008

Movie Review : "RACE"


Here I am Again with a movie review.... I am referring to the most talked about movie in this weekend.. RACE....

Star to watch for: Katrina Kaif (She is hot....and Abbas-Mastam made her dance well as well...:)..)

Cinematography is good with views of cape town....

Full of bimbos....Bipasha Basu, Katrina Kaif, Sameera Reddy....All the time they were dressed as if they are going to a party.....

I normally like the twists and turns of all Abbas Mastan movie but this one didnt go upto my expectations....and let me tell you that nobody can guess what will happen....so while you are watching the movie....try guessing who will b the culprit but you end up seeing somebody else......

But action is just too much...I cannot see a BMW flying with no reason....thats too insulting for a BMW......hehe.....

The acting is good from bipasha & saif. Akshayee is as usual....and as u all know katrina is just a show piece but she danced well....that something that i had to believe....hehe

I wont recommend anybody to go to the theatres....I would wait for the DVDs or may b find some other option....or go when the tickets get cheaper....

I would rate this movie 6/10 but since this is an abbas mastan one....i will give them one point more...that would make it 7/10

Friday, March 14, 2008

Movie Review : "The Kite Runner"

Hello to everybody...Easter holidays are coming by and the weather is getting warmer..snow is melting....everybody is happy and so am I. Lot of people are enjoying their spring breaks but not me....but I found time to go for this movie to the near by dollar theatre...

Now this movie is not really a fun movie to watch but movie enthusiasts like me would not miss this opportunity to watch a realistic movie which portrays the life of a country which is no more a place to live.

"The Kite Runner" -- The title is properly given.... It is a story about friendship, love, guilt and eventually salvation.

The story moves smooth and everything in this movie felt interesting right from the beginning. I was really moved due to the ups and downs of the kids and how their life changed due to their eithinicity.

The acting was really good. The story is based on the book which I have not read but I suppose that would be a better experience....but I understand that they cannot depict the whole book in 2 hours of movie...but overall the movie is fantastic and I would give 8.5/10 for this movie.

I wont spoil your mood by telling the synopsis....so better go to the theatres during the weekend....

Wednesday, February 27, 2008

"Marriages are made in heaven" -- Is it still true????


This week I was really wondering about some of my friends who are trying to persuade their parents to accept their boyfriends/girlfriends as their spouses and get them married...... and I wont say they are few.....

Count the number of teens/ young people who have chosen their life partner themselves, and compare it with the ones left behind... I think the count of the latter will be less. The reason behind this....??? Western Influence....? Liberalism ... ? Independency ...? Not sure what it is but this is for sure that the trend is changing.

Now I do not have any firm opinions about arrange marriages or love marriages ... and I wont be biased about any of these, but the reason for my being getting more into thick of things in this matter is just the reason on why this is happening. This was not the case a few years ago or may be when I was in my teens.

Nowadays if you ask somebody .... how is your gf/bf doing? The normal response... " Yea, he/she is missing me" ... but guys/gals like me who would say.." girlfriend....?? man I dont have a girlfriend..." and the response will be .....man you dont have a girlfriend......you suck man..."

It is kind of a status symbol to have a girlfriend/boyfriend. I know a lot of people will not agree with me but this is my take.

Life and Marriage are similar in many ways. For one, there are no guarantees in either. Second, there are no fixed rules for living a good life or a ‘making’ a good marriage that applies to all people. Then there’s the bit about both life and marriages throwing up surprises. Sometimes, real nasty ones.


I read some emails from different people in this newspaper article and I thought let me throw this to you all....

“Hi, I am from Bangalore and have been in love with a girl from Mysore for the last two years. She is a Punjabi and her parents are forcefully trying to marry her off to another man. I spoke to her father about letting us marry; he has refused and threatens murder. She is ready to leave her family and marry me but we are scared: What if her father kills us?”



“My parents have found a boy for me. I have not met him yet but have said yes. The wedding might take place in the next two months. There is too much pressure. I am 26, how long can I delay the inevitable?” she asked. One told her that while there was nothing wrong with an arranged marriage – we have umpteen examples of highly successful, happy arranged marriages around – agreeing to marry someone she had not even met seemed a bit drastic. “After having taken most of my ‘life’ decisions myself – and things blowing up in my face – perhaps I should let my parents decide for me? Perhaps they will make a better decision than me… No?”

Two faces of the same coin: On one hand, a case where the girl is ready to marry according to her parents wishes, hoping that in their infinite, adult wisdom, they would make the ‘right’ choice. On the other hand, a couple is scared for their lives because eerily enough, it’s parents who want to kill them.

Given ideal situations and not in cases where the parents are the predators, one cannot help but agree to the belief that when the world is against you, your parents are the biggest support you can find.

However, are parents ALWAYS right? Given that parents too are human beings, is there a chance they too could be wrong or make the wrong decision(s)… Particularly when it comes to choosing a life-mate?

What if everything is suitable between two people and they belong to different castes? WHY should parents oppose such an alliance? What makes more sense: Parents forcing their children to marry within their caste where the children will be unhappy or parents supporting it when their children do make an earnest choice that will make them happy?

The following is an email written by a not-so-young lady doing her PhD in the US.

“I am an Indian girl from the middle class family. My parents are highly educated and ours is a happy family. I’m currently doing my post graduation in one of top 20 universities in the US. My parents have also been liberal in giving us all the freedom we want, even told us we could choose our own partners provided s/he belongs to the same caste as ours. After coming to USA, I happened to meet someone whose interests totally match mine and am confident we can make a great life together. We are in the same field, he is also highly educated and is about to complete his PhD. We both hope to start our own research company once our education is over. His parents are also highly educated and support our alliance. However, since my parents have always had their stance on caste very clear, I don’t think they will agree. While I can support myself if I were to walk out and marry, I am worried about my parents: What will happen to them? They worked hard, educated us, it’s not fault of theirs that I have fallen for someone who is not from our caste. I love them so much and respect them a lot. Till now every thing in my life has gone well. But now I am scared of my parents. Even if they agree, our relatives and society – we are highly caste-oriented – will criticize my parents. Are parents wrong or their children wrong? And yet, I know I am doing nothing wrong.”

Indian Girl seems neither a flighty teenager nor immature. After careful consideration, she has taken a mature decision to marry a man she considers she will be happy with. While he meets all other criterion of being a desirable match for her, the only ‘glitch’ is that he is not of the same caste. Does that make him a bad match or a bad choice?

When parents oppose your choice of spouse, it is never an easy decision; and sometimes it is not possible to keep all parties happy. In such times, it is important to know and answer: Is your decision a sensible one and will you be happy? Often taking a decision based on personal happiness is deemed ‘selfish’, however one needs to remember that till the time you are not happy, you cannot make others happy. Will Indian Girl’s parents be happier if she were to marry someone from the same caste and spend an unhappy married life?

Indian Girl makes it clear in her email that she will be happy with the man she has chosen. Conversely, she might lead an unhappy life if she were to marry someone else. It is understandable that she also wants to keep her parents happy. Getting nervous will not help matters, clear conversation might. Perhaps her parents will come around, perhaps they won’t.

Since caste is the only ‘barrier’ here, one would suggest that Indian Girl should have an honest, heart-to-heart conversation with her parents and tell them clearly and politely that she sees her happiness with this man. As for “what society will think”: Will the same society stand by her and support her IF tomorrow she marries someone from her caste and is unhappy? It will not. However, since her parents love her and so does she, the right thing to do is explain her point of view, make them meet the boy and then ensure she does what she feels is RIGHT for herself and the man who loves her.