<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3368428896340510055</id><updated>2011-11-30T05:04:16.277-08:00</updated><category term='Random'/><category term='Windows Phone 7'/><category term='Hacking'/><category term='Linux'/><category term='.NET'/><title type='text'>Lookin for Virtuosity : Anand  Srivastava</title><subtitle type='html'>"The only failure in life is the failure to try".</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-5253647669560324622</id><published>2011-01-22T13:00:00.000-08:00</published><updated>2011-01-22T13:26:33.231-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>C # : Difference between Value Type and Reference Type</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h2 style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; font-weight: normal; text-align: justify;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;what is a reference type?&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble1"&gt;    &lt;/a&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;In .NET or in particular in C# there are two main sorts of type:        reference types and value types.There is generally a lot of confusion between these two types. Here's a quick        explanation:     &lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble1"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;A reference type is a type which has as its value a reference       to the appropriate data rather than the data itself. For instance, consider        the following code:&lt;/span&gt;&lt;/div&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;StringBuilder strb1 = &lt;/span&gt;&lt;span class="Keyword" style="font-size: small;"&gt;new&lt;/span&gt;&lt;span style="font-size: small;"&gt; StringBuilder();&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble1"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Here, we declare a variable &lt;code&gt;strb1&lt;/code&gt;, create a new       &lt;code&gt;StringBuilder&lt;/code&gt; object, and assign to &lt;code&gt;strb1&lt;/code&gt; a reference to        the object. The value of &lt;code&gt;strb1&lt;/code&gt; is not the object itself, it's       the reference. Assignment involving reference types is simple - the value which       is assigned is the value of the expression/variable - i.e. the reference.        This is demonstrated further in this example:&lt;/span&gt;&lt;/div&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;StringBuilder strb2 = &lt;/span&gt;&lt;span class="Keyword" style="font-size: small;"&gt;new&lt;/span&gt;&lt;span style="font-size: small;"&gt; StringBuilder();&lt;br /&gt;StringBuilder strb3 = strb2;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble1"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Here we declare a variable &lt;code&gt;strb2&lt;/code&gt;, create a new        &lt;code&gt;StringBuilder&lt;/code&gt; object, and assign to &lt;code&gt;strb1&lt;/code&gt; a reference       to the object. We then assign to &lt;code&gt;strb3&lt;/code&gt; the value of &lt;code&gt;strb2&lt;/code&gt;.       This means that they both refer to the same object. They are still, however,       independent variables themselves. Changing the value of &lt;code&gt;strb2&lt;/code&gt; will       not change the value of &lt;code&gt;strb3&lt;/code&gt; - although while their values are       still references to the same object, any changes made to the object through the &lt;code&gt;sbrb2&lt;/code&gt; variable will be visible through the &lt;code&gt;strb3&lt;/code&gt; variable.       Here's a demonstration of that:&lt;/span&gt;&lt;/div&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;StringBuilder strb2 = &lt;/span&gt;&lt;span class="Keyword" style="font-size: small;"&gt;new&lt;/span&gt;&lt;span style="font-size: small;"&gt; StringBuilder();&lt;br /&gt;StringBuilder strb3 = strb2;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;strb2.Append (&lt;/span&gt;&lt;span class="String" style="font-size: small;"&gt;"String"&lt;/span&gt;&lt;span style="font-size: small;"&gt;);&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;strb2 = &lt;/span&gt;&lt;span class="Keyword" style="font-size: small;"&gt;null&lt;/span&gt;&lt;span style="font-size: small;"&gt;;&lt;br /&gt;Console.WriteLine (strb3);&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;blockquote&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble1"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Output:&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;table class="results" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;String&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Here, we declare a variable &lt;code&gt;strb2&lt;/code&gt;, create a new       &lt;code&gt;StringBuilder&lt;/code&gt; object, and assign to &lt;code&gt;strb2&lt;/code&gt; a reference       to the object. We then assign to &lt;code&gt;strb3&lt;/code&gt; the value of &lt;code&gt;strb2&lt;/code&gt;.       We then call the &lt;code&gt;Append&lt;/code&gt;&lt;code&gt;strb2&lt;/code&gt; variable. After this, we set the &lt;code&gt;strb2&lt;/code&gt;&lt;code&gt;null&lt;/code&gt; (a value which doesn't refer to any object). Finally,       we print out the results of calling the &lt;code&gt;ToString&lt;/code&gt; method on the       StringBuilder object via the reference held in the &lt;code&gt;strb3&lt;/code&gt;&lt;code&gt;"String"&lt;/code&gt; is displayed, demonstrating that even though the value of &lt;code&gt;strb2&lt;/code&gt; has changed, the data within the object it used to refer to hasn't -       and &lt;code&gt;strb3&lt;/code&gt; still refers to that object.      method on this object via the reference held       in the  variable       to  variable. &lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Class types, interface types, delegate types and array types are all reference types.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: large;"&gt;what is a value type?&lt;/span&gt;&lt;/h2&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble2"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;While reference types have a layer of indirection between the variable and the real data,       value types don't. Variables of a value type directly contain the data. Assignment of       a value type involves the actual data being copied. Take a simple struct, for example:&lt;/span&gt;&lt;/div&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span class="Modifier" style="font-size: small;"&gt;public&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="ValueType" style="font-size: small;"&gt;struct&lt;/span&gt;&lt;span style="font-size: small;"&gt; struct1{&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre&gt;&lt;i&gt;&lt;span class="Modifier" style="font-size: small;"&gt;public&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span class="ValueType" style="font-size: small;"&gt;int&lt;/span&gt;&lt;span style="font-size: small;"&gt; i;&lt;br /&gt;}&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble2"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Wherever there is a variable of type &lt;code&gt;struct1&lt;/code&gt;, the value of that variable       contains all the data - in this case, the single integer value. An assignment copies       the value, as demonstrated here:&lt;/span&gt;&lt;/div&gt;&lt;table class="code" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;struct1 one = &lt;/span&gt;&lt;span class="Keyword" style="font-size: small;"&gt;new&lt;/span&gt;&lt;span style="font-size: small;"&gt; struct1();&lt;br /&gt;one.i=10;&lt;br /&gt;struct1 two = one;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;struct1.i=11;&lt;br /&gt;Console.WriteLine(two.i);&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=3368428896340510055&amp;amp;postID=5253647669560324622" name="preamble2"&gt;    &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Output:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;     &lt;/span&gt;&lt;/div&gt;&lt;table class="results" style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;pre&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;10&lt;/span&gt;&lt;/i&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Here, &lt;code&gt;two.i&lt;/code&gt; has the value 10,       because that's the value &lt;code&gt;one.i&lt;/code&gt; has when the assignment &lt;code&gt;two=one&lt;/code&gt; occurs - the values in &lt;code&gt;two&lt;/code&gt;       are independent of the values in &lt;code&gt;one&lt;/code&gt; apart from when the assignment       takes place.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Simple types (such as &lt;code&gt;float&lt;/code&gt;, &lt;code&gt;int&lt;/code&gt;, &lt;code&gt;char&lt;/code&gt;), enum       types and struct types are all value types.&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Note that many types (such as &lt;code&gt;string&lt;/code&gt;) appear in some ways to be     value types, but in fact are reference types. These are known as      immutable types. This means that once an instance has been     constructed, it can't be changed. This allows a reference type to act      similarly to a value type in some ways - in particular, if you     hold a reference to an immutable object, you can feel comfortable in     returning it from a method or passing it to another method, safe in the     knowledge that it won't be changed behind your back. This is why, for     instance, the &lt;code&gt;string.Replace&lt;/code&gt; doesn't change the string it     is called on, but returns a new instance with the new string data in -     if the original string were changed, any other variables holding a     reference to the string would see the change, which is very rarely what     is desired.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: justify;"&gt;&lt;span style="font-size: small;"&gt;Constrast this with a mutable (changeable) type      such as &lt;code&gt;ArrayList&lt;/code&gt; - if a method returns the &lt;code&gt;ArrayList&lt;/code&gt; reference      stored in an instance variable, the calling code could then add items to the list      without the instance having any say about it, which is usually a problem. Having      said that immutable reference types act like value types, they are not      value types, and shouldn't be thought of as actually being value types.     &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-5253647669560324622?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/5253647669560324622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2011/01/c-difference-between-value-type-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/5253647669560324622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/5253647669560324622'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2011/01/c-difference-between-value-type-and.html' title='C # : Difference between Value Type and Reference Type'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-2654051901153685125</id><published>2010-12-22T09:42:00.000-08:00</published><updated>2011-01-22T13:20:44.020-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Phone 7'/><title type='text'>Windows Phone 7</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_h1_06wNYqkA/TRI7bGu0EVI/AAAAAAAAAHY/W2M5cUnsdXM/s1600/win71.png"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 288px;" src="http://1.bp.blogspot.com/_h1_06wNYqkA/TRI7bGu0EVI/AAAAAAAAAHY/W2M5cUnsdXM/s320/win71.png" alt="" id="BLOGGER_PHOTO_ID_5553566627350712658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Microsoft took the wraps off of Windows Phone 7 Series (the official name for Windows Mobile 7s) which is a complete overhaul from previous versions of the OS...Slick, Touch-Friendly User Interface.&lt;br /&gt;&lt;br /&gt;The Quick Launch screen is a far-cry from the old Windows Mobile start screen. Large, colorful tiles serve as shortcuts to your most-used or favorite apps or Web sites. You can also place live tiles on the screen with links to your Facebook profile or friends.&lt;br /&gt;&lt;br /&gt;These tiles are live, meaning if the content of the app or site is updated, the tile will update on your screen. So if you have a link to a friend's Facebook profile on your Quick Launch screen, that tile will update when they change their picture. It is a bit creepy if you don't know them very well, but cool nonetheless.&lt;br /&gt;&lt;br /&gt;The People Hub aggregates you friends from all of your social networks in three screens: Recent, All, What's New&lt;br /&gt;&lt;br /&gt;If you're an Xbox owner and want to keep tabs on your friends' achievements, Windows 7 phones will come with a mobile version of Xbox Live . Users will also be able to purchase games and apps easily from the Windows Marketplace as well.&lt;br /&gt;&lt;br /&gt;According to Microsoft, hardware partners will not be able to replace the Windows 7 UI.&lt;br /&gt;&lt;br /&gt;Microsoft is also taking further control over the hardware side. All Windows Series 7 phones will ship with three hardware buttons: Home, Search, and Back. They'll also all be capacitive touch-enabled with multitouch.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-2654051901153685125?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/2654051901153685125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2010/12/windows-phone-7.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/2654051901153685125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/2654051901153685125'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2010/12/windows-phone-7.html' title='Windows Phone 7'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI7bGu0EVI/AAAAAAAAAHY/W2M5cUnsdXM/s72-c/win71.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-290508372836881535</id><published>2010-12-21T08:04:00.000-08:00</published><updated>2011-01-22T13:20:27.261-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Random'/><title type='text'>The Previous year....</title><content type='html'>Its been a year and 2 months since i have joined infosys and the previous year had been a year where i have experienced a lot of things.&lt;br /&gt;&lt;br /&gt;Starting with the infy's training..the Mysore campus was really a once in a lifetime experience as it look liked to us for the first weekend :)&lt;br /&gt;&lt;br /&gt;We explored the campus and enjoyed all the facilities provided to us, but then something happened during the third week..our technical training started with modules exams going to come every weekend and course divided into basic,intermediate and stream level.&lt;br /&gt;&lt;br /&gt;I enjoyed studing all the subjects taught to us till the streams but one thing i hated about the training..we were overloaded with the modules. As our batch was a non cs/it on...most of us found it difficult to cope with the modules burden..resulting in studies that ended at 12 everyday..when the GEC-2 ,our study center got closed.&lt;br /&gt;&lt;br /&gt;I resist studying in boundations...you cannot gain in depth knowledge by studying modules like unix in 4 days... i love exploring all the things during the technical reading.. :P . Among all the exams ....handson were comparatively the better ones and ILI sessions were a refreshing experiences.&lt;br /&gt;&lt;br /&gt;During streams most of us got a good schedule for the day...with sqaush,pool,swimming,movies and gyming going in sync with the module studies.Post projects were the easiest phase of our 5 months training and we enjoyed a lot during this time.And Finally we got are postings ....a total "go haywire" situation...there were deals going on between trainees...with their posting on stake :) .Most of us got Chandigarh with our project allocated to testing unit...having no ideas about testing we were happy at that time..till...&lt;br /&gt;&lt;br /&gt;Will continue this in my next post :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-290508372836881535?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/290508372836881535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2010/12/previous-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/290508372836881535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/290508372836881535'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2010/12/previous-year.html' title='The Previous year....'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-2526412119952280660</id><published>2010-12-21T07:53:00.000-08:00</published><updated>2011-01-22T13:20:58.369-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Random'/><title type='text'>Back to blogger</title><content type='html'>Finally after a long pause i decided to keep in touch of blogger again :) . Last year before the infy's training started , i was really into blogging. I hope i would write something original and something worth reading :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-2526412119952280660?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/2526412119952280660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2010/12/back-to-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/2526412119952280660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/2526412119952280660'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2010/12/back-to-blogger.html' title='Back to blogger'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-8912758592462392535</id><published>2009-10-22T00:18:00.000-07:00</published><updated>2009-10-22T01:18:53.988-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Random'/><title type='text'>Pay It Forward....</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_h1_06wNYqkA/SuAQaW7XayI/AAAAAAAAAEc/Tx9n2y5489k/s1600-h/pay_it_forward-713562.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 238px;" src="http://3.bp.blogspot.com/_h1_06wNYqkA/SuAQaW7XayI/AAAAAAAAAEc/Tx9n2y5489k/s320/pay_it_forward-713562.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5395330398607076130" /&gt;&lt;/a&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-family:'lucida grande';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;I&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.petanque-c.com/news/uploaded_images/pay_it_forward-713562.jpg" style="text-decoration: none; "&gt;&lt;span class="Apple-style-span"  style="color:#000000;"&gt;ts now 22nd of october and the day has finally come when i would be leaving for my joining in infosys,mysore.Well i am a movie freak ,i can admit it surely...&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; :)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;I was totally confused yesterday ..... i was going to download my last movie till training that i would be watching on my laptop.... before leaving.. :P&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;well after searching a lot on google a decided to dL this movie "&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;pay it forward"..&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Heres the torrent - &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;a href="http://www.torrentportal.com/details/1185009/Pay.It.Forward.2000.DVDRip.XviD-CPtScene.torrent"&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;http://www.torrentportal.com/details/1185009/Pay.It.Forward.2000.DVDRip.XviD-CPtScene.torrent&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Well to my atmost surprise the movie was actually an awesum one.. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span" style="white-space: normal; line-height: 17px; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;A film of surprising majesty mainly because of its sincerity to convey the tale of a young high school student who comes up with a beautiful and simple plan to make a difference in the world, involving doing a good turn to not just one person but three, who then, in turn, return the gift themselves to three more people, thereby very quickly spreading goodness in both directions, in the giving and receiving, in the most unlikely places and ways.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Well i think the image will explain everything...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Thus i do think that i&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 17px; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;n our world helping other people is perhaps the most important we can do. Children are the ones who often teach us how to behave in certain unpleasant circumstances. It is not only a moving story but everybody who sees this film stops for a moment or more and think over the meaning of life.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 17px; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 17px; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 17px; "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="color:#009900;"&gt;So i think i have talked a lot about high values now.... :P but definitely i am going to continue watching such good movies... and doing good deeds.... :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-8912758592462392535?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/8912758592462392535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2009/10/pay-it-forward.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/8912758592462392535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/8912758592462392535'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2009/10/pay-it-forward.html' title='Pay It Forward....'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_h1_06wNYqkA/SuAQaW7XayI/AAAAAAAAAEc/Tx9n2y5489k/s72-c/pay_it_forward-713562.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-3002227657030342855</id><published>2009-09-17T15:13:00.000-07:00</published><updated>2010-12-22T09:31:46.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Random'/><title type='text'>Be yourself &amp; selfless : Road to inner peace</title><content type='html'>&lt;div  style="text-align: justify;font-family:georgia;"&gt;I often find people complaining about their life and are very much dissatisfied with their present living.&lt;br /&gt;The most common problem that i believe is always expecting much more from people around us.&lt;br /&gt;I always believe that nothing is wrong with dreaming bigger.Dreams give us hope but most of us have limited our dreams to materialistic things which makes us really worried about getting things which may be not very useful to them but just a passtime.&lt;br /&gt;In my opinion life is always about giving.We must praise things what we have right now with us and  should be doing things that really make other people life happier.&lt;br /&gt;Well upto some extent if a person really wants some thing big,he or she should strive hard to get it (not expecting it from others) ,then only our life would be filled with great pleasure and inner peace.I really think that if half of the population in world starts believing in giving ,world will be soon a great place to live in for everyone.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: rgb(0, 153, 0);font-family:georgia;font-size:100%;"  &gt;"Keep your dreams in line of vision and always be willing to do the work and the work will be meaningful and fulfilling. "&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Secondly most people are other people. Their thoughts are someone else's opinions, their lives a mimicry.They always pretend to be like other people,may be to get in a friend circle or to get a loved one etc etc. God has given you one face, and you make yourself another.I saw a movie recently (Juno) and a quote from it exactly fits here-&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);font-size:100%;" &gt;"The best thing you can do is find a person who loves you for exactly what you are. Good mood, bad mood, ugly, pretty, handsome, what you have. That's the kind of person that's worth sticking with. "&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;/span&gt;&lt;/div&gt;&lt;p style="text-align: justify; font-family: georgia;"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-3002227657030342855?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/3002227657030342855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2009/09/i-often-find-people-complaining-about.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/3002227657030342855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/3002227657030342855'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2009/09/i-often-find-people-complaining-about.html' title='Be yourself &amp; selfless : Road to inner peace'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-1773784345968314261</id><published>2009-09-09T23:12:00.000-07:00</published><updated>2009-09-16T06:16:16.458-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>Google hacks : Speed up your searching with preciseness on Google Search Engine</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Speeding up your search on Google Search Engine:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well nowadays most of use google generally as his/her search engine.Many a times while searching you might be experiencing problems with results you get from the google.&lt;br /&gt;Well a little knowledge of some hacks can save you a lot of time ,in exact terms "what you want to search exactly".&lt;br /&gt;Google being a full-text search engine, it indexes entire web pages instead of just titles and descriptions. Additional commands, called special syntaxes, let Google users search specific parts of web pages or specific types of information. This comes in handy when you're dealing with 2 billion web pages and need every opportunity to narrow your search results.&lt;br /&gt;&lt;br /&gt;Now i am going to tell you some hacks might be useful for you while searching -&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(1) intitle:&lt;/span&gt;&lt;br /&gt;intitle: restricts your search to the titles of web pages. The variation, allintitle: finds pages wherein all the words specified make up the title of the web page. It's probably best to avoid the allintitle: variation, because it doesn't mix well with some&lt;br /&gt;of the other syntaxes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; intitle:"Wallpapers"&lt;/span&gt;&lt;br /&gt;allintitle:"money supply" economics&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(2) inurl:&lt;/span&gt;&lt;br /&gt;inurl: restricts your search to the URLs of web pages. This syntax tends to         work well for finding search and help pages, because they tend to be rather regular in composition.An allinurl: variation finds all the words listed in a URL but doesn't mix well with some other special syntaxes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;inurl:help&lt;/span&gt;&lt;br /&gt;allinurl:search help&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(3) intext:&lt;/span&gt;&lt;br /&gt;intext: searches only body text (i.e., ignores link text, URLs, and titles). There's an&lt;br /&gt;allintext: variation, but again, this doesn't play well with others. While its uses are&lt;br /&gt;limited, it's perfect for finding query words that might be too common in URLs or link titles.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;intext:"yahoo.com"&lt;/span&gt;&lt;br /&gt;intext:html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(4) inanchor:&lt;/span&gt;&lt;br /&gt;inanchor: searches for text in a page's link anchors. A link anchor is the descriptive text of a link. For example, the link anchor in the HTML code "&lt;a href="http://www.linuxquestions.org/"&gt;linux forum&lt;/a&gt; " is "linux question's user".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;inanchor:"anandjss"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(5) site:&lt;/span&gt;&lt;br /&gt;site: allows you to narrow your search by either a site or a top-level domain AltaVista, for example, has two syntaxes for this function (host: and domain:), but Google has only the one.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;site:loc.gov&lt;/span&gt;&lt;br /&gt;site:edu&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(6) link:&lt;/span&gt;&lt;br /&gt;link: returns a list of pages linking to the specified URL. Enter&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;link:www.google.com&lt;/span&gt; and you'll be returned a list of pages that link to Google.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(7) cache:&lt;/span&gt;&lt;br /&gt;cache: finds a copy of the page that Google indexed even if that page is no longer available at its original URL or has since changed its content completely. This is particularly useful for pages that change often.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;cache:www.yahoo.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(8) daterange:&lt;/span&gt;&lt;br /&gt;daterange: limits your search to a particular date or range of dates that a page was&lt;br /&gt;indexed.Remember also that Google reindexes pages. Whether the date range changes depends on whether the page content changed. For example, Google indexes a page on June 1.Google reindexes the page on August 13, but the page content hasn't changed. The date for the purpose of searching with &lt;span style="font-weight: bold;"&gt;daterange: is still June 1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(9) filetype:&lt;/span&gt;&lt;br /&gt;filetype: searches the suffixes or filename extensions.Google indexes several different Microsoft formats, including: PowerPoint (PPT), Excel (XLS), and Word (DOC).&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;filetype:pdf  "Jssaten" &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(10) related:&lt;/span&gt;&lt;br /&gt;related: as you might expect, finds pages that are related to the specified page. Not all pages are related to other pages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;related:www.cnn.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(11) info:&lt;/span&gt;&lt;br /&gt;info: provides a page of links to more information about a specified URL.  Note that this information is dependent on whether Google has indexed that URL or not.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;info:www.nytimes.com/technology&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;(12) phonebook:&lt;/span&gt;&lt;br /&gt;phonebook:, as you might expect, looks up phone numbers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;phonebook: Anand srivastava&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;plz try this you can really save a lot of time while searching any particular file or person so easily on google.&lt;br /&gt;Have fun :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-1773784345968314261?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/1773784345968314261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2009/09/google-hacks-speed-up-your-searching.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/1773784345968314261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/1773784345968314261'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2009/09/google-hacks-speed-up-your-searching.html' title='Google hacks : Speed up your searching with preciseness on Google Search Engine'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3368428896340510055.post-4708863442132288827</id><published>2009-09-09T21:34:00.000-07:00</published><updated>2009-09-10T22:33:09.675-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Installing Reliance Netconnect 1X modem in Linux</title><content type='html'>&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;I finally got the solution of installing supported kernel and its working.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;First of all u have download the latest driver from the reliance netconnect on this web address(the drivers are generally provided in the cd u got with ur modem) :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.rcom.co.in/Communications/rcom/RNetconnect/ecare_downloads.html" target="_blank"&gt;http://www.rcom.co.in/Communications...downloads.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The driver in my case is under the High speed 1x &gt; LXU , download the zip file and extract it.You can find ur appropriate driver by checking your modem name.&lt;br /&gt;&lt;br /&gt;Actually in my case of LG LXU modem the drivers are for Linux kernel image for version 2.6.27-7 , so i installed this kernel .You can check the kenel version for which ur drivers are supported by browsing in relaince drivers folder : "relaince/MAC_LINUX_usb_driver/LINUX"(in my case of lxu800) and check the version on the folder(in my case it is LXU800_V2.6.27-7-generic, it can be any of v____generic ).&lt;br /&gt;&lt;br /&gt;Now when u r done checking ur modem supported kernel version and downloading the relaince drivers , we r going to install the appropriate kernel (in my case kernel image 2.6.27-7-generic for LXU800 modem).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;For LG LXU MODEM users :&lt;/u&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Now for downloading and installing follow these steps :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;*for debain or ubuntu(download the deb file) -&lt;br /&gt;&lt;/u&gt;&lt;/i&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;i style="color: rgb(255, 0, 0);"&gt;Step 1 : Download the working kernel files:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;(a) linux-image for kernel -&lt;br /&gt;&lt;a href="http://launchpadlibrarian.net/19356984/linux-image-2.6.27-7-generic_2.6.27-7.16_i386.deb" target="_blank"&gt;http://launchpadlibrarian.net/193569...-7.16_i386.deb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(b) linux-headers -&lt;br /&gt;for debian or ubuntu&lt;br /&gt;&lt;a href="http://launchpadlibrarian.net/19356986/linux-headers-2.6.27-7-generic_2.6.27-7.16_i386.deb" target="_blank"&gt;http://launchpadlibrarian.net/193569...-7.16_i386.deb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(c) linux-headers_all -&lt;br /&gt;&lt;a href="http://launchpadlibrarian.net/19356987/linux-headers-2.6.27-7_2.6.27-7.16_all.deb" target="_blank"&gt;http://launchpadlibrarian.net/193569...7-7.16_all.deb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Step 2 : Next, install the three downloaded DEB files with dpkg:&lt;/span&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;sudo dpkg -i linux-*&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;3. Reboot your computer.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Put your current kernel on hold (otherwise it would be upgraded once again during your next "aptitude update &amp;amp;&amp;amp; aptitude safe-upgrade" routine):&lt;br /&gt;&lt;br /&gt;sudo aptitude hold linux-image-2.6.27-7-generic linux-headers-2.6.27-7-generic linux-headers-2.6.27-7&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;&lt;u&gt;*for other linux users dl the tar.gz file -&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;/u&gt;&lt;/i&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(1). Download tar.gz&lt;/span&gt;&lt;br /&gt;&lt;a href="https://launchpad.net/ubuntu/intrepid/+package/linux-image-2.6.27-7-generic" target="_blank"&gt;https://launchpad.net/ubuntu/intrepi...6.27-7-generic&lt;/a&gt;&lt;br /&gt;this package of tar.gz comtains all the files of kernel image and headers.After downloading this package install it -&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(2). install -&lt;/span&gt;&lt;br /&gt;tar -xvf linux-image-2.6.27-7-generic.tar.gz&lt;br /&gt;cd linux-image-2.6.27-7-generic&lt;br /&gt;./configure&lt;br /&gt;make install&lt;br /&gt;install&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;(3). Reboot your computer.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(4). Put your current kernel on hold (otherwise it would be upgraded once again during your next "aptitude update &amp;amp;&amp;amp; aptitude safe-upgrade" routine):&lt;br /&gt;&lt;br /&gt;sudo aptitude hold linux-image-2.6.27-7-generic linux-headers-2.6.27-7-generic linux-headers-2.6.27-7&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;For other Reliance Modem users(other than LG lxu 800) -&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Find the version of the kernel supported by relaince driver as explained previously.&lt;br /&gt;And find the kernel package from the package search option according to ur kernel-&lt;br /&gt;* linux-image   * linux-headers * linux -headers_all&lt;br /&gt;download and install it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;After installing the kernel supported by ur realiance drivers , now follow the steps given by the installtion guide in the reliacnce driver folder&lt;br /&gt;reliance/MAC_LINUX_usb_driver/LINUX(for lxu800)&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;I am including the guide if u don't have it(for LG LXU800 modem) -&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;How to manually install LXU800 driver (Linux 2.6.27-7-generic version)&lt;/span&gt;&lt;br /&gt;     &lt;br /&gt;     &lt;br /&gt;1. &lt;span style="color: rgb(0, 153, 0);"&gt; Open the console&lt;/span&gt;. (ex&gt; gnome-terminal)&lt;br /&gt;2. &lt;span style="color: rgb(0, 153, 0);"&gt; Change user account to super user account.&lt;/span&gt;&lt;br /&gt;[devguru@localhost]$ sudo -s&lt;br /&gt;Password:&lt;br /&gt;[root@localhost]#cd bin(in the reliance folder)&lt;br /&gt;3.  &lt;span style="color: rgb(0, 153, 0);"&gt;Install LXU800 driver.&lt;/span&gt;&lt;br /&gt;[root@localhost bin]# ls&lt;br /&gt;env.sh    package   setup_func.sh   setup.sh   uninstall_func.sh   uninstall.sh&lt;br /&gt;[root@localhost bin]# bash setup.sh&lt;br /&gt;Kernel Modules are loaded.&lt;br /&gt;[root@localhost bin]#&lt;br /&gt;Setup with `bash setup.sh` command.&lt;br /&gt;4. &lt;span style="color: rgb(0, 153, 0);"&gt; Check Installed State&lt;/span&gt;.&lt;br /&gt;[root@localhost bin]# lsmod |grep LXU&lt;br /&gt;LXU800Mdm                   13728     0&lt;br /&gt;[root@localhost bin]# more /etc/rc.local&lt;br /&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;# This script will be executed *after* all the other init scripts.&lt;br /&gt;# You can put your own initialization stuff in here if you don't&lt;br /&gt;# want to do the full Sys V style init stuff.&lt;br /&gt;/sbin/modprobe -f LXU800Mdm&lt;br /&gt;exit 0&lt;br /&gt;[root@localhost bin]#&lt;br /&gt;5. &lt;span style="color: rgb(0, 153, 0);"&gt;For Uninstalling LXU800 driver.&lt;/span&gt;&lt;br /&gt;[root@localhost bin]# pwd&lt;br /&gt;Home/localhost/bin&lt;br /&gt;[root@localhost bin]# cd /&lt;br /&gt;[root@localhost]# cd /usr/local/LGE/LXU800&lt;br /&gt;[root@localhost /usr/local/LGE/LXU800]# bash LGE_ LXU800_uninstall.sh&lt;br /&gt;Uninstall Completed&lt;br /&gt;[root@localhost /usr/local/LGE/LXU800]#&lt;br /&gt;6.   &lt;span style="color: rgb(0, 153, 0);"&gt;Check Uninstalled State.&lt;/span&gt;&lt;br /&gt;[root@localhost /usr/local/LGE/LXU800]# lsmod | grep LXU&lt;br /&gt;[root@localhost /usr/local/LGE/LXU800]# more /etc/rc.local&lt;br /&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;                                                           &lt;br /&gt;# This script will be executed *after* all the other init scripts.&lt;br /&gt;# You can put your own initialization stuff in here if you don't&lt;br /&gt;# want to do the full Sys V style init stuff.&lt;br /&gt;exit 0&lt;br /&gt;[root@localhost ~]#&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;* Prepare Testing and connection&lt;/span&gt;&lt;br /&gt;1.  Insert LXU800 modem in Linux usb port, and create the shortcut of modem&lt;br /&gt;equipment and serial port.&lt;br /&gt;[root@localhost bin]# ls /dev/*LXU*&lt;br /&gt;/dev/ttyLXU800Mdm0&lt;br /&gt;[root@localhost bin]# ln -s /dev/ttyLXU800Mdm0 /dev/ttyACM0&lt;br /&gt;[root@localhost bin]# ls -l /dev/*ACM*&lt;br /&gt;lrwxrwxrwx 1 root root 18 2008-12-12 18:56 /dev/ttyACM0 -&gt; /dev/ttyLXU800Mdm0&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;* How to “Modem Dial-up Connect”&lt;/span&gt;&lt;method&gt;&lt;br /&gt;1&lt;span style="color: rgb(0, 153, 0);"&gt;.  Open the console.&lt;/span&gt; (ex&gt; gnome-terminal)&lt;br /&gt;2.  &lt;span style="color: rgb(0, 153, 0);"&gt;Change user account to super user account.&lt;/span&gt;&lt;br /&gt;[devguru@localhost]$ sudo -s&lt;br /&gt;Password:&lt;br /&gt;[root@localhost]#&lt;br /&gt;3.  &lt;span style="color: rgb(0, 153, 0);"&gt;Type “editor /etc/wvdial.conf”&lt;/span&gt; in order to edit “wvdial.conf” file.&lt;br /&gt;[root@localhost]# editor /etc/wvdial.conf&lt;br /&gt;4. &lt;span style="color: rgb(0, 153, 0);"&gt; Modify “wvdial.conf”&lt;/span&gt; file like below image and then save that file to exit.&lt;br /&gt;Where, username and password are MDN(mobile-directory-number).&lt;br /&gt;&lt;br /&gt;[Dialer Defaults]&lt;br /&gt;Init1 = ATZ&lt;br /&gt;Init2 = ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;Modem Type = USB Modem&lt;br /&gt;Baud = 460800&lt;br /&gt;Initz = ATQ0 M1 L1 X3 V1 E1 S0= 0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;New PPPD = yes&lt;br /&gt;Modem = /dev/ttyACM0&lt;br /&gt;ISDN = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Username = ur username&lt;br /&gt;Password = ur password&lt;br /&gt;Phone = #777&lt;br /&gt;Stupid Mode = 1&lt;br /&gt;&lt;br /&gt;New PPPD = yes&lt;br /&gt;Abort on no dial tone = False&lt;br /&gt;&lt;br /&gt;5.  &lt;span style="color: rgb(0, 153, 0);"&gt;Insert LXU800 modem in Linux usb port.&lt;/span&gt;&lt;br /&gt;6. &lt;span style="color: rgb(0, 153, 0);"&gt; Open “Xterm” window.&lt;/span&gt;&lt;br /&gt;[root@localhost]# xterm&lt;br /&gt;7.  &lt;span style="color: rgb(51, 204, 0);"&gt;Type “wvdial” to connect to the internet in “Xterm” window.&lt;/span&gt;&lt;br /&gt;[root@localhost]# wvdial&lt;br /&gt;8.  If you cannot see above image, retry above 1, 2, 5, 6, 7, 8 steps.&lt;br /&gt;9.  If you type “Ctrl-C” and push “Enter” button, you can exit from internet connection.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://http.cdnlayer.com/lq/images/questions/images/smilies/smile.gif" alt="" title="Smilie" class="inlineimg" border="0" /&gt;&lt;/method&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3368428896340510055-4708863442132288827?l=anandsrivastav.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anandsrivastav.blogspot.com/feeds/4708863442132288827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anandsrivastav.blogspot.com/2009/09/installing-reliance-netconnect-1x-modem.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/4708863442132288827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3368428896340510055/posts/default/4708863442132288827'/><link rel='alternate' type='text/html' href='http://anandsrivastav.blogspot.com/2009/09/installing-reliance-netconnect-1x-modem.html' title='Installing Reliance Netconnect 1X modem in Linux'/><author><name>Anand Srivastava</name><uri>http://www.blogger.com/profile/07827923368305541018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_h1_06wNYqkA/TRI2c5cVW7I/AAAAAAAAAG4/OGsNuPGjaxc/S220/an.jpg'/></author><thr:total>2</thr:total></entry></feed>
