God Of Music


The Day Jagjit Singh ji died, i cried and questioned my self , man this guy left my dream unfulfilled and i may never get a chance to listen to the Legend Live. So i promise my self that no yaar, won't leave any good opportunity to attend any live Concert of great singers , not at the cost of Money atleast and then... came the opportunity to Watch A.R. Rahman Live in concert. I can count it as day whose memories cannot be washed by any other thing in the World.

26th-May-2012(Sat) was the day when we got lucky enough to Listen him live. The way he made his entry flames and with the start of "Naadan Parinday" can give the goosebumps to anyone , even if ur sitting in the hot temperature of 40 Degrees. And then came the Hero of Rockstar who made the songs of the movie worth Listening: "Mohit chauhan". I really feel that this guy has put him self in the league of Great Singers the day he sang : "Saada Haq" and all other songs of Rockstar. And then came the Song: " Lukka Chuppi" which can make anyone cry, and the best part was , Lata Mangeshkar Ji was not replaced by anyone.
Though she was not there , but Rahman saab gave full respect to the Lady by not replacing her voice by anyone and that really can make you cry.

You can see the calmness on the face of Rahman saab and his closed eyes and his songs can take you to the Heaven which no one can explain. You just need to feel it. His league continued by his greatest numbers:
"Roja" , "Humma-2" , Chhaiyaa-2, Rang de Basanti and many of his other greatest hits.

And then another Dream came to reality , Sachin Tendulkar was there to Listen to him too and when he was called on Stage ,the shouts of Sachin-2 can be heard 2KM's from there. And When two leving Legend standing Next to each other praise each other with their work, you really feel proud to be a part of that moment and a blessed person to witness such event.

Well, though i missed the great voices of S.P. BalaSubramaniu, Sujata,Kavita Krishnamurthy,Mahalaxmi,Hariharan" which are the heart of his concerts but to fulfill the missing part it was partially and i would say nicely handled by : "Javed Ali" , Harshdeep , "Shweta Pandit" and it really made the evening worthwhile. You really won't feel how the time flies listening to him , but he had to go.. So he left , and left us with the Great memories of Life.. :) :)... I can say now : That yes i have seen God of Music and I have seen him performing Life.

Thanks to Almighty God and to My Family who is always there...

Background Image in HTML


Sometimes we need to use an image as a Background in Our HTML page. Since i am facing the situation too where I want to do the same while building my Site and so got some ideas from different sources and hence adding it here for future reference. Here is the Code to add the background image to the page of your Website :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>   <head>  <meta http-equiv="content-type" content="text/html; 
charset=windows-1250"> <meta name="generator"
content="PSPad editor,www.pspad.com"><style type="text/css"> 
<!-- The <style> tag is used to define style information for an HTML document.
Inside the <style> element you specify how HTML elements should render in a browser. The required type attribute defines the content of the <style> 
element. -->

html, body {height:100%; margin:0; padding:0;}
<!--  Margin : An element has four sides: right, left, top and bottom.

The margin is the distance from each side to the neighbouring element (or the borders of the document). 
<!-- Padding: Padding can also be understood as "filling".It only defines the inner distance between the border and the content of the element. -->

#page-background {position:fixed; top:0; left:0; width:100%; height:100%;}
<!-- We set its position to 'fixed'. This means that the image will stay fixed, even as you scroll down the page. We position it using the top and left properties. We also set its height and width to take up the full screen: -->

#content {position:relative; z-index:1; padding:10px;} </style> </head> 
<body> <div id="page-background"><img src="image.jpg" width="100%" height="100%"
alt="Smile"></div> 
<div id="content">
<h2>Stretch!</h2>
<p>Done</p>
</div></body></html>

What Happened was the HTML and the Image worked fine on Firefoz and Chrome but on IE8 no image was displayed.  There's something wrong with the jpeg/jpg files. IE8 is not able to render them.  If you try to load in IE8 you will get a broken picture icon only(It gave problem for me , may be work fine for You). I downloaded the file and opened it from the hard drive too, got the same result. So to make it work :
Try loading the pictures in an editor, like GIMP or PhotoFiltre or mspaint and re-saving them (using save as) without changing any thing or try tweaking with the Settings of quality of Image and IE8 is able to open it now!

Hope it helps to people facing similar Issue..

AJAX Program Problem on 000Webhost.com

Well i am trying to Test the AJAX code and running the sample Example from this book :

  • AJAX and PHP By: Audra Hendrix; Bogdan Brinzarea; Cristian Darie


    Now there are Three Files :



    1) Index.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>AJAX with PHP, 2nd Edition: Quickstart</title>
    <script type="text/javascript" src="quickstart.js"></script>
    </head>
    <body onload='process()'>
    Server wants to know your name: <input type="text" id="myName" />
    <div id="divMessage" />
    </body>
    </html>
    2) quickstart.js

    var xmlHttp = createXmlHttpRequestObject();
    function createXmlHttpRequestObject() { var xmlHttp;
    if(window.ActiveXObject)  {
    try {
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    catch (e) {
    xmlHttp = false;
    }
    }
    else
    {
    try {
    xmlHttp = new XMLHttpRequest();
    }
    catch (e) {
    xmlHttp = false;
    }
    }
    if (!xmlHttp)
    alert("Error creating the XMLHttpRequest object.");
    else return xmlHttp;
    }
    function process(){
    if (xmlHttp.readyState == 4 || xmlHttp.readyState == 0)  {
    name = encodeURIComponent( 
    document.getElementById("myName").value);
    xmlHttp.open("GET", "quickstart.php?name=" + name, true);  
    xmlHttp.onreadystatechange = handleServerResponse;
    xmlHttp.send(null);
    }
    else
    setTimeout('process()', 1000);
    }
    function handleServerResponse() {
    if (xmlHttp.readyState == 4)   {
    if (xmlHttp.status == 200)    {
    xmlResponse = xmlHttp.responseXML;
    xmlDocumentElement = xmlResponse.documentElement;
    helloMessage = xmlDocumentElement.firstChild.data;
    document.getElementById("divMessage").innerHTML = '<i>' + helloMessage + '</i>';
    setTimeout('process()', 1000);
    } else     {
    alert("There was a problem accessing the server: " + 
    xmlHttp.statusText);
    }
    }
    }
    3) quickstart.php


    <?php
    header('Content-Type: text/xml');
    echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
    echo '<response>';
    $name = $_GET['name'];
    $userNames = array('YODA', 'AUDRA', 'BOGDAN', 'CRISTIAN');
    if (in_array(strtoupper($name), $userNames))
    echo 'Hello, master ' . htmlentities($name) . '!';
    else if (trim($name) == '')
    echo 'Stranger, please tell me your name!';
    else
    echo htmlentities($name) . ', I don\'t know you!';
    echo '</response>';?>
    When i am running the above index.html on my localhost using Wamp Server it is showing me the Perfect output and its also working Perfectly with output like this :



    But the same code is showing me the problem when i upload it into my Site: 000Webhost.com

    I tried on 3 Different Browsers:

    1) Google Chrome showing me No Error but the code is not running either.

    2) FireFox is showing this error as give in Screenshot:



    3) And IE8 is showing this:



    I have tried to find the Solution from Internet but nothing was helpful. So if anyone can  Provide the Solution , i shall be thankful. In the mean time i am also trying to Figure out the solution and i'll post it here if i get it earlier.
    Thanks



Movie Review: Ishaqzaade

Some one has rightly said : Movies are the Mirror of our daily lives.
Well it all depends upon whose life is being portrayed and how much we are relating it to our lives to consider it as Good or bad. No doubt story line, Direction, Acting, Music and many-many other things are related to make a good movie but we can say that movie is a hit if the audience is able to connect itself to it.

Ishaqzaade(May 11, 2012): Just came back after watching this movie and feel like writing about it. Its not a great movie to watch, but I would say watch it only if you have spare time. Made in a small town of UP ( One of the Indian State) , it portrays the life of two different political families which obviously are not in good terms with Each other and so quite common, the kids in their respective families are not friendly either. So as like most of the Indian typical Movies, girl from one Family fell in Love with the Boy of Other. 

The bad part is that, In a Country like India we still have customs where having an inter-caste or Inter-Religion Marriage is considered as a big offence and if you do so then suddenly the dearest member of your family becomes your worst enemy because he/she defies your religion by marrying the person from outer caste and they should be killed. And that's what movie is all about. 

What I feel is that writer/Director have conveyed their message by showing that they are killed in the End or rather kill each other instead of dying from their families hand(Typical Drama). And its a story of Many Young Indian Couples who marry out of their caste or Religion are killed in the Name of Honour Killing and worst thing is, our society openly supports it. 

The best part of the movie is Music and Amit Trivedi has done an excellent job in that. Its Music keeps justifies will with the pace of the movie and the background score is catchy enough to makes you feel its presence. And some Sensual Dance numbers are also there to add to the Flavor. 

From Acting Part, Parineeti Chopra has played her character well and Arjun Kapoor in his Début  has also done a very nice job. Frankly speaking I loved the character of Natasha Rastogi as Parma's Mother who is the only decent person left in the Family of Animals who doesn't care about their Political Party. And other one : Gauhar Khan as Chand Baby who and did a decent job with her dance numbers and a bit of Acting part. Rest all characters are normal and nothing much to be looked from them..

Overall One time Watch and you can really attach to it if you read the message its trying to Convey.. :):).
Well that's what i feel. You might have other opinions and my Angle may not match with yours but would like to hear your comments also. 

Testing Fundamentals


Where Exactly Testing Fit in the Software life Cycle? To know that first we need to understand Software Life Cycle which below Diagram Explains: (Source-Wikipedia)
The good point is that it all goes in Circular manner (PS: This is not the only Model which Exist, It’s our choice to adopt the model as per Requirement), which means it never stops. So New Requirements will keep coming and on the basis of that a Design will be made and it will be implemented accordingly.
And then comes the Testing Part, which will check whether the Functionality is Proper or Not. Working as Expected or not.  
Note :  Testing Can also find Design gap which means if the requirements are not Designed or understood Properly , they could be implemented wrongly and  then finding the issues when things are implemented will raise the cost of Fixing the Defect  and will also wastes lot of time. 
So Testing is a Kind of a phase which needs to be implemented at every level. We can choose the kind of regression depending upon the Software we are testing. We need to look out for the places where it fits properly between different interfaces.

Types of Testing:

1)      Black box testing
2)      White box testing
3)      Integration testing
4)      Functional testing
5)      System testing
6)      Sanity testing
7)      Regression testing

And the list goes on.. You will find many details about them online, so I am not explaining them here. But I’ll keep coming with Different articles, Different questions, Scenarios, Problems or many things I could think of. 

So I can take up something on Manual or Automation or anything Random, just depends upon the Flavor I Like...

See You till then.

SoftwareTesting


Testing is part of our Day to Day life.

You go to supermarket to buy veggies…You test them.. Checking whether they are fresh or not, you test them  from the outlook and the aroma ..

You want to buy a car..you take a test drive first.. you want the vehicle to be of good performance and best in price.

We do it because we want the Quality Product. We want it be of better use, longer life, Durable or whatever we can think of best. At last we are paying for that !!

And Testing is what helps to identify it.. The best possible product.

And This is what pointing towards another flavor of my life , Software Testing. It is my Bread and Butter. I enjoy it. 

One Needs to have a Destructive mind to be a good Tester. Another Important part is that Tester need to have a good Domain Knowledge and he should also know how the business is running else he will never be able to test the application to the perfection. And this is what makes Testing an Exciting Career. :) :)

Now without Testing , delivering a Product is like a Suicide and a big loss to Business.

The Question is why exactly do we test ?
1) To Improve Quality
2) To check Whether the Application is Working as Expected or not.

Mainly Testing is of Two types :
1) Manual
2) Automation

And to be Frank , one cannot replace the other. Both have their own advantages and disadvantages. But the main point is : What can be done by Manual Testing , may or may not be done by Automation , but its not true Vice Versa.

This is just a bit of Introduction to another flavor of my life.
I'll keep adding more stuff on Testing.

So Stay Tuned..





Cricket..
Ha Haa.. That's the Dream of Every Indian Teenager Boy. Cricket Which is Considered as Religion in India and where Cricketers like Sachin are treated as Gods. Every young boy want to be just like him... :) :)... But why I am talking about it today ? Well , we just came back after Watching IPL Match Pune Vs Bangalore. What a feeling man ! Watching a Live match in Stadium feels Awesome. No matter who you support , its fun to enjoy the moment with Crowd, who is shouting and waving there hands just to be seen on Camera.. :) :)..

OK, Coming back to the point.. Why young Generation want to join Cricket. Well today i realize more to it rather then playing for your country and loving Cricket. It's Fame and Money. You got VIP Treatments , every worldly thing is at your disposal, you got to visit so many countries and the best part is you are getting paid to Play.. Wow...I love this part. Well no doubt it needs lot of Hard Work but this kind of Work pays you the best... 

And then the VIP's or the celebrities , whom you have just seen on TV are in front of you , treated like gods... Damn man.. We don't live life. People like Vijay Malya, Subrata Roy live and their Kids and all their future generation will Live. That's why Cricket is no more a game now. Its a Business  and a big one , and Tournaments like IPL are extracting the maximum profits out of it.. Well the Question is still there... Do you want to be a Cricketer...

Please do Comment.... :) :)...

My Domain

At Last the day has come when i finally bought myself a Domain name.. :) :)....
I know you might be thinking why the hell he is so happy about it.. We'll its indeed a big deal for me because i am thinking about it from my College days and its been around 5 Years i was thinking, thinking and..... thinking... But Today i.e. on 11th May-2012 i finally bought it.


Now the Question is : Why Such a Domain Name : flavorsofsoul. What does it mean ?
Well , its about our life , our journey , our time which we have spent in collecting all the dreams from the day we born and it will go till the day we die. If you go back to the time , you remember you started dreaming , you must have thought of turning something , doing something , creating something, may be doing everything ..
Hey i'll be a policeman , no i'll be a pilot .. wohhooo... No i'll be Icecream boy . mmmm , No  i'll be scientiest , engineer , doctor , architect and the list goes on.. And Believe me, it will never end because they are dreams , they can never end. And that's why i am here to make a collection of my dreams , to share it with you. May be we can find something to laugh at or we can learn something out of it. So From Today i'll keep creating pages , adding the stuff i love ,I learn or i Dream and will come to know about the different Flavors Of My Soul.