<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Prajwol's blog</title>
	<atom:link href="http://prajwolkumar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://prajwolkumar.wordpress.com</link>
	<description>Technology and Inspiration. They are here.</description>
	<lastBuildDate>Sat, 26 Sep 2009 16:08:24 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='prajwolkumar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/caf7f63395274e12cc385777432d6d75?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Prajwol's blog</title>
		<link>http://prajwolkumar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://prajwolkumar.wordpress.com/osd.xml" title="Prajwol&#8217;s blog" />
		<item>
		<title>My journey to NordSecMob. Some tips and G5.</title>
		<link>http://prajwolkumar.wordpress.com/2009/08/12/my-journey-to-nordsecmob-some-tips-and-g5/</link>
		<comments>http://prajwolkumar.wordpress.com/2009/08/12/my-journey-to-nordsecmob-some-tips-and-g5/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 05:32:07 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[NordSecMob]]></category>
		<category><![CDATA[Erasmus Mundus]]></category>
		<category><![CDATA[Finland]]></category>
		<category><![CDATA[Graduate]]></category>
		<category><![CDATA[Masters]]></category>
		<category><![CDATA[Nepalese Student]]></category>
		<category><![CDATA[Prajwol]]></category>
		<category><![CDATA[Scholarship]]></category>
		<category><![CDATA[Sweden]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=113</guid>
		<description><![CDATA[“The next application round for NordSecMob programme begins 3rd November, 2008 and ends 9th January, 2009” – while reading this during my application days, I didn’t have no clue that I would be writing this post as a NordSecMob scholar  
“Congratulations on your successful application. Competition for Erasmus Mundus scholarships has been more intense than [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=113&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>“<em>The next application round for NordSecMob programme begins 3rd November, 2008 and ends 9th January, 2009</em>” – while reading this during my application days, I didn’t have no clue that I would be writing this post as a NordSecMob scholar <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>“<em>Congratulations on your successful application. Competition for Erasmus Mundus scholarships has been more intense than ever this year, with over 22 000 applications from 166 countries around the world. Of these applicants, only 8% were selected. We hope you will decide to accept your offer of a scholarship&#8230;.</em>” – it wouldn’t take me more than 139.889 milliseconds to accept such an offer ni hoina <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>G5</strong> &#8211; Grand and Garlanded Gratitude to Goodness Grace, I mean.</p>
<p><a href="http://nordsecmob.tkk.fi/index.html">http://nordsecmob.tkk.fi/index.html</a> is the link that should provide you with all the necessary information on this course. There are 5 partner universities viz. <a href="http://www.tkk.fi/English/">Helsinki University of Technology (TKK)</a> in Finland, <a href="http://www.dtu.dk/English.aspx">Technical University of Denmark (DTU)</a>, <a href="http://www.kth.se/?l=en_UK">The Royal Institute of Technology (KTH)</a> in Sweden, <a href="http://www.ntnu.no/english">The Norwegian University of Science and Technology (NTNU)</a> and the <a href="http://www.ut.ee/index.aw/set_lang_id=2">University of Tartu (UT)</a> in Estonia. You have to choose two among these and your specialization will vary based on your choice of universities. I had chosen TKK and KTH. That means my first year is in Helsinki and second year is in Stockholm. Both these universities are highly esteemed and I am grateful that my chosen mobility was granted <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>TKK is the coordinating university with which you will communicate all along the application procedure. The process is to first fill in the online application and then courier them the printed application form along with other supporting documents. Don’t worry, all these things are mentioned in the site above. I used FedEx to courier them the documents, nevertheless, you can also use Linkage or other brokers which provide the service in low prices.</p>
<p>About Documents:</p>
<ul>
<li><strong>BE Original Certificate</strong> or <strong>BE Provisional Certificate</strong> – Must. I had to improvise with Provisional since Original was not issued by then.  Attest it in Balkhu.</li>
<li><strong>BE Transcript</strong> – Must. Everyone already has this, I guess <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Attest it in Balkhu.</li>
<li><strong>+2</strong> or <strong>ISC Transcript</strong> – Must. I attested it in my +2 college.</li>
<li><strong>Letter of Motivation</strong> – Must. Take time and effort in crafting this. Limited to 4000 characters.</li>
<li><strong>CV</strong> – Must. Put your achievements and portfolio here.</li>
<li><strong>Letter of Recommendation</strong> – Must. Two of this is required. I took one from HOD and one from my major project supervisor.</li>
<li><strong>BE syllabus</strong> – Must. Limit it to some 20 pages. Exclude subjects like Mechanical Drawings, Applied Mechanics and other not directly related to Computer Engineering.</li>
<li><strong>Passport</strong> – Must.</li>
<li><strong>English Proficiency</strong> – Must. I took TOEFL test on 23<sup>rd</sup> November. Better take it earlier than this.</li>
<li><strong>Work Experience </strong>– Optional. I didn’t send any experience letter from my workplace. However, you can include this, if you don’t want to take any chance.</li>
</ul>
<p>Letter of Motivation is very important in the sense that, this is your chance to say “<strong>Why choose ME</strong>?”. So don’t do no hurry. Collect yourself and remember all your achievements and vital milestones you have achieved. Since the letter limit is 4000 characters, make it short and sweet. Simple but Sample, I mean <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I had the following things in order in my motivation letter.</p>
<ol>
<li>Who I am.</li>
<li>My aptitude and activities on communication and security during my college.</li>
<li>Hands on experience and knowhow on scope of security and wireless communication during my professional tenure.</li>
<li>How this course can help my career.</li>
<li>My plan after this graduation.</li>
</ol>
<p>CV or Resume is also equally important. Mine was only 6 pages <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and contained following sections.</p>
<ol>
<li>Education</li>
<li>Work Experience</li>
<li>Other Experience</li>
<li>Technical Skills</li>
<li>Professional Projects</li>
<li>Academic Projects</li>
<li>Awards and Achievements</li>
<li>Publications</li>
<li>Personal – Marital Status is Single wala <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  he he</li>
</ol>
<p>Your Letter of Recommendation also needs to be good. Since this involves our teachers, who are always so so busy, make sure that you initiate this process very early. It might take you some weeks to get just 2 recommendations. <span style="color:#ff0000;">I alert.</span></p>
<p>“<em>… I have the motivation to learn, diligence to contribute and endurance to face the challenges of graduate studies. If provided with the opportunity I am confident that I will live up to the academic and research standards set by the partner universities …</em>” I said this during my application and now <strong>I just can’t wait to experience the scope of foreign study, fun of cultural exchange and drama of my first-ever out-of-home life.</strong></p>
<p>With good regards to future NordSecMob students</p>
<p>Some links you can use:</p>
<ul>
<li><a href="http://eacea.ec.europa.eu/erasmus_mundus/results_compendia/selected_projects_action_1_master_courses_en.php" target="_blank">http://eacea.ec.europa.eu/erasmus_mundus/results_compendia/selected_projects_action_1_master_courses_en.php</a></li>
<li><a href="http://www.nepalfinland.com/2008/11/european-scholarships-for-master-and.html" target="_blank">http://www.nepalfinland.com/2008/11/european-scholarships-for-master-and.html</a></li>
<li><a href="http://ec.europa.eu/education/programmes/mundus/projects/index_en.html" target="_blank">http://ec.europa.eu/education/programmes/mundus/projects/index_en.html</a></li>
</ul>
<p>Cheese and Cheers</p>
<p>Prajwol</p>
Posted in Inspiration, Miscellaneous, NordSecMob Tagged: Erasmus Mundus, Finland, Graduate, Masters, Nepalese Student, NordSecMob, Prajwol, Scholarship, Sweden <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=113&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2009/08/12/my-journey-to-nordsecmob-some-tips-and-g5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Computational Intelligence in Inflation Forecasting</title>
		<link>http://prajwolkumar.wordpress.com/2009/08/11/computational-intelligence-in-inflation-forecasting/</link>
		<comments>http://prajwolkumar.wordpress.com/2009/08/11/computational-intelligence-in-inflation-forecasting/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 03:50:19 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[ANN]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Artificial Neural Network]]></category>
		<category><![CDATA[Computational Intelligence]]></category>
		<category><![CDATA[Forecast]]></category>
		<category><![CDATA[GA]]></category>
		<category><![CDATA[Genetic Algorithm]]></category>
		<category><![CDATA[Inflation]]></category>
		<category><![CDATA[Inflation Forecast]]></category>
		<category><![CDATA[Intelligence]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=109</guid>
		<description><![CDATA[Using ANN and GA to study and forecast one of the key macroeconomic indicator- "inflation"<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=109&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Open Software Challenge Nepal 2009 </strong>was announced somewhere during early 2009. And somehow, computer-half of the CSIDC team (me-Prajwol and Dipesh) decided to participate in it. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Screen blurred, grayscale stars</strong> &#8211; To talk about CSIDC, it was CSIDC 2006, organized by the IEEE under the theme of “Preserving, Protecting and Enhancing the Environment”. Saurav Ratna Tuladhar and Nilesh Shakya (electronics), and Dipesh Karki and Prajwol Kumar Nakarmi –me (computer) were selected from Pulchowk Campus to participate in it. We had presented our project “<strong>iForest</strong> – A Monitoring and Management System for Sustainable Forestry”. The certificate of participation of this competition has definitely increased the weight of our CVs <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  – <strong>Screen normal, colorscale resumes</strong>. he he <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Dipesh and I talked in phone, texted in MSN, brainstormed in Eiden Garden and came out with what we christened “<strong>Computational Intelligence in Inflation Forecasting</strong>” (CIIF). Of course Carlsberg was there to accompany us whenever possible. LOL</p>
<p>Now on August, we both are proud to say that we made to the prestigious <strong>TOP 10</strong> among some 80+ projects. My heartfelt congratulations to the guys who made it to the TOP 3 (Y).</p>
<p>Many were expecting our project to do better before the result announcement, and of course, we were hopeful too.  But probably, the fact that our development platform was .NET pulled our legs and we didn’t make till the TOP 3 mark. We had some people asking “<strong><em>how can your software be open when I have to pay for it</em></strong>” LOL LOL a big disgrace to such a question. We tried to explain – they seemed to agree – it was apparent that they didn’t understand :’(. <strong>May the true meaning of Openness of the Software come to light to all of us, AMEN.</strong></p>
<p>Let me, now, say some about CIIF. As we know, Inflation is a persistent and significant increase in general price level and it is calculated by averaging the percentage growth rate of the prices of selected sample of commodities. It is one of the most essential macroeconomic indicator as many other economic variables like wage rate, salaries , gross domestic product, interest rate are either directly or indirectly related to change in price. However the inflation can be calculated only in hindsight by comparing present commodity price with the past. As this isn’t much help while formulating the future pricing policy, a forecasting mechanism must be introduced to estimate the future expectation of the inflation rate.</p>
<p>In this light, the software, that attempts to forecast one of the key macroeconomic indicator- ‘<strong>Inflation’</strong> using both Neural Network and Genetic Algorithm, was developed. Ladies and Gentlemen, we give to you CIIF <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . The system consists of two main engines, viz. <strong>Artificial Neural Network</strong> and <strong>Genetic Algorithm</strong>. Two flavors of the later are available as Encoding and No Encoding. Statistics are present to measure the fitness of the predicted data. For easy visualization of the output, Graph component is also available.</p>
<p>The input data consisted of inflation rates of USA for last 1143 months, dating back to January of 1914 to March of 2009.  Before beginning the training, the data set is divided into the training set and the validation (Prediction set). First 1043 months data are kept in training set while last 100 are kept in validation set. The application is supple in sense that by simply changing the parameter in the input file the size of validation set as well as training set can be changed. The value of R2 &gt;= 0.5 is acceptable for our system, which implies that at least 50pc of total variation in the data should be explained by the system. Our tests show that the results are over par. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>You can follow CIIF under <a href="http://collaborate.d2labs.org/projects/ciif/">http://collaborate.d2labs.org/projects/ciif/</a></p>
<p>Cheese and Cheers</p>
<p>Prajwol</p>
Posted in .NET, Inspiration, Miscellaneous Tagged: ANN, Artificial Intelligence, Artificial Neural Network, Computational Intelligence, Forecast, GA, Genetic Algorithm, Inflation, Inflation Forecast, Intelligence <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=109&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2009/08/11/computational-intelligence-in-inflation-forecasting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Solving the encoding problem while writing to Response</title>
		<link>http://prajwolkumar.wordpress.com/2009/06/19/solving-the-encoding-problem-while-writing-to-response/</link>
		<comments>http://prajwolkumar.wordpress.com/2009/06/19/solving-the-encoding-problem-while-writing-to-response/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 08:40:26 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[japanese]]></category>
		<category><![CDATA[save as]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=106</guid>
		<description><![CDATA[Technology: C# ASP.NET
Level: Expert
Depth: Medium
I, once, had to present a save-as dialogue that would export the content of a GridView into csv and the database would contain Japanese texts. Export was all fine and the file was read fine from Visual Studio itself. However, when the csv was opened from Excel, the Japanese texts came [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=106&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Technology</strong>: C# ASP.NET</p>
<p><strong>Level</strong>: Expert</p>
<p><strong>Depth</strong>: Medium</p>
<p>I, once, had to present a save-as dialogue that would export the content of a GridView into csv and the database would contain Japanese texts. Export was all fine and the file was read fine from Visual Studio itself. However, when the csv was opened from Excel, the Japanese texts came all garbage.</p>
<p>This could have been for my PC doesn’t have Japanese locales and fonts. But the PC with such features also read it same. Here I present a way that solved this problem.</p>
<p><em>protected void ImageButton_CSV_Click(object sender, ImageClickEventArgs e)</em></p>
<p><em> {</em></p>
<p><em> &#8230;</em></p>
<p><em> MyDataSet.MyDataTable exportTable = &#8230;</em></p>
<p><em> </em></p>
<p><em> HttpContext context = HttpContext.Current;</em></p>
<p><em> context.Response.Clear();</em></p>
<p><em> <strong>context.Response.ContentEncoding = Encoding.GetEncoding(&#8220;shift_JIS&#8221;);</strong></em></p>
<p><em> </em></p>
<p><em> for (int i = 1; i &lt; exportTable.Columns.Count; i++)</em></p>
<p><em> {</em></p>
<p><em> context.Response.Write(exportTable.Columns[i].ColumnName + &#8220;,&#8221;);</em></p>
<p><em> }</em></p>
<p><em> </em></p>
<p><em> context.Response.Write(Environment.NewLine);</em></p>
<p><em> <strong>string orig_string = &#8220;&#8221;;</strong></em></p>
<p><strong><em> byte[] unicodeBytes = null;</em></strong></p>
<p><strong><em> byte[] codBytes = null;</em></strong></p>
<p><strong><em> char[] codChars = null;</em></strong></p>
<p><strong><em> string codString = &#8220;&#8221;;</em></strong></p>
<p><strong><em> Encoding cod = Encoding.GetEncoding(&#8220;shift_JIS&#8221;);</em></strong></p>
<p><strong><em> Encoding unicode = Encoding.UTF8;</em></strong></p>
<p><em> </em></p>
<p><em> for (int i = 1; i &lt; exportTable.Rows.Count; i++)</em></p>
<p><em> {</em></p>
<p><em> for (int j = 0; j &lt; exportTable.Columns.Count; j++)</em></p>
<p><em> { </em></p>
<p><strong><em> orig_string = exportTable[i][j].ToString().Replace(&#8220;,&#8221;, string.Empty).Replace(&#8220;&amp;nbsp;&#8221;, string.Empty) + &#8220;,&#8221;;</em></strong></p>
<p><strong><em> unicodeBytes = unicode.GetBytes(orig_string);</em></strong></p>
<p><strong><em> codBytes = Encoding.Convert(unicode, cod, unicodeBytes);</em></strong></p>
<p><strong><em> codChars = new char[cod.GetCharCount(codBytes, 0, codBytes.Length)];</em></strong></p>
<p><strong><em> cod.GetChars(codBytes, 0, codBytes.Length, codChars, 0);</em></strong></p>
<p><strong><em> codString = new string(codChars);</em></strong></p>
<p><strong><em> </em></strong></p>
<p><strong><em> context.Response.Write(codString);</em></strong><em> </em></p>
<p><em> }</em></p>
<p><em> context.Response.Write(Environment.NewLine);</em></p>
<p><em> }</em></p>
<p><em> </em></p>
<p><em> context.Response.ContentType = &#8220;text/csv&#8221;;</em></p>
<p><em> context.Response.AppendHeader(&#8220;Content-Disposition&#8221;, &#8220;attachment; filename=my_file.csv&#8221;);</em></p>
<p><em> context.Response.End();</em></p>
<p><em> }</em></p>
<p><em> </em></p>
<p>The codes in the bold do the actual trick. The content encoding and writing to the response in the correct manner is all that needs to be done.</p>
<p>This, however, is not limited to csv exports. You can try with other file formats too.</p>
<p>Cheers and Cheese (Y)</p>
Posted in .NET Tagged: asp.net, C#, csv, encoding, export, japanese, save as <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=106&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2009/06/19/solving-the-encoding-problem-while-writing-to-response/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Locking Vertical Scrollbar in DataGridView or ListView WinForm C#</title>
		<link>http://prajwolkumar.wordpress.com/2009/06/11/locking-vertical-scrollbar-in-datagridview-or-listview-winform-c/</link>
		<comments>http://prajwolkumar.wordpress.com/2009/06/11/locking-vertical-scrollbar-in-datagridview-or-listview-winform-c/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 09:35:34 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[datagridview]]></category>
		<category><![CDATA[flicker]]></category>
		<category><![CDATA[listview]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[srollbar]]></category>
		<category><![CDATA[vertical scrollbar]]></category>
		<category><![CDATA[winform]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=99</guid>
		<description><![CDATA[how to locking, virtually, vertical scrollbar for fast changing data in datagridview or listview<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=99&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-family:Verdana;line-height:normal;color:#333333;font-size:12px;"> </span></p>
<p style="font:normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif;"><strong>Technology</strong>: C# WinForm</p>
<p style="font:normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif;"><strong>Level</strong>: Expert</p>
<p style="font:normal normal normal 1em/1.3em Verdana, Arial, Helvetica, sans-serif;"><strong>Depth</strong>: Medium</p>
<p>There are times that we display data in DataGridView or ListView. When the data flows beyond the size of the control, vertical scrollbar appears that we can use to navigate to positions of our choice. So good so far.</p>
<p>Now suppose that the data needs to be refreshed every 1 or 2 seconds. And we are viewing the bottom row or the bottom item, which means that the vertical scroll bar is at the bottom. Now, when the refresh method finishes execution, the data is repopulated and we notice that the vertical scroll bar jumps to the top. For constantly changing data with large number of rows or items, this poses a serious problem because the scrollbar is not locked to its position. Since the data refreshes very fast, dragging the scroll times 60 times a minute is also not plausible.</p>
<p>In this page, I put in my approach to counter the above problem. It&#8217;s simple and working.</p>
<p>The code goes like this:</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">public Form_ClosedPosition()</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">InitializeComponent();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">for (int i = 0; i &lt; 10; i++)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">dataGridView_Closed.Rows.Add(i.ToString(), DateTime.Now.ToString(&#8220;HH:mm:ss&#8221;), i.ToString());</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">ReloadList();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">private void ReloadList()</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">this.SuspendLayout();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">dataGridView_Closed.SuspendLayout();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">for (int i = 0; i &lt; 10; i++)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">dataGridView_Closed.Rows.Add(i.ToString(), DateTime.Now.ToString(&#8220;HH:mm:ss&#8221;), i.ToString());</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">for (int i = 0; i &lt; 10; i++)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">dataGridView_Closed.Rows.RemoveAt(0);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">dataGridView_Closed.ResumeLayout(false);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">this.ResumeLayout(false);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">private void Form_ClosedPosition_FormClosing(object sender, FormClosingEventArgs e)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">Hide();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">e.Cancel = true;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">private void Form_ClosedPosition_VisibleChanged(object sender, EventArgs e)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//if (Visible == true)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//    MessageBox.Show(&#8220;Timer started&#8221;);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//else</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//    MessageBox.Show(&#8220;Timer stopped&#8221;);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">//}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">private void timer_Refresh_Tick(object sender, EventArgs e)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">{</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">ReloadList();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<p><em>public Form_ClosedPosition()</em></p>
<p><em> {</em></p>
<p><em> InitializeComponent();</em></p>
<p><em> for (int i = 0; i &lt; 10; i++)</em></p>
<p><em> {</em></p>
<p><em> dataGridView_Closed.Rows.Add(i.ToString(), DateTime.Now.ToString(&#8220;HH:mm:ss&#8221;), i.ToString());</em></p>
<p><em> }</em></p>
<p><em> ReloadList();</em></p>
<p><em> }</em></p>
<p><em> private void ReloadList()</em></p>
<p><em> {</em></p>
<p><em> this.SuspendLayout();</em></p>
<p><em> dataGridView_Closed.SuspendLayout();</em></p>
<p><em> for (int i = 0; i &lt; 10; i++)</em></p>
<p><em> {</em></p>
<p><em> dataGridView_Closed.Rows.Add(i.ToString(), DateTime.Now.ToString(&#8220;HH:mm:ss&#8221;), i.ToString());</em></p>
<p><em> }</em></p>
<p><em> for (int i = 0; i &lt; 10; i++)</em></p>
<p><em> {</em></p>
<p><em> dataGridView_Closed.Rows.RemoveAt(0);</em></p>
<p><em> }</em></p>
<p><em> dataGridView_Closed.ResumeLayout(false);</em></p>
<p><em> this.ResumeLayout(false);</em></p>
<p><em> }</em></p>
<p><em> private void timer_Refresh_Tick(object sender, EventArgs e)</em></p>
<p><em> {</em></p>
<p><em> ReloadList();</em></p>
<p><em> }</em></p>
<p>What I am doing in the above code is appending the new rows and then removing the old rows from the beginning, instead of clearing the rows and then adding new rows. Doing the later, as we know, produce the flickering and jumping scroll bars as we have discussed intially.</p>
<p>The bottom line is: <strong>Don’t clear the rows and fill the control</strong>, instead, <strong>Append the new rows and remove the old ones</strong>.</p>
<p>Cheers and Cheese.</p>
Posted in .NET Tagged: .NET, datagridview, flicker, listview, lock, srollbar, vertical scrollbar, winform <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=99&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2009/06/11/locking-vertical-scrollbar-in-datagridview-or-listview-winform-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Preventing multiple form submission</title>
		<link>http://prajwolkumar.wordpress.com/2009/01/14/preventing-multiple-form-submission/</link>
		<comments>http://prajwolkumar.wordpress.com/2009/01/14/preventing-multiple-form-submission/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 06:41:38 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Forms]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=85</guid>
		<description><![CDATA[Technology: JavaScript
Level: Intermediate
Depth: Brief
For any form, clicking the &#8220;Submit&#8221; button twice results in the submission of  the form two times. This results in the duplicate backend logic and is so a flaw. 
This situation can be safeguarded with either client-side or server-side logic. Depending upon the server-side programming language, we can employ our back-end logics to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=85&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Technology</strong>: JavaScript</p>
<p><strong>Level</strong>: Intermediate</p>
<p><strong>Depth</strong>: Brief</p>
<p>For any form, clicking the &#8220;Submit&#8221; button twice results in the submission of  the form two times. This results in the duplicate backend logic and is so a flaw. </p>
<p>This situation can be safeguarded with either client-side or server-side logic. Depending upon the server-side programming language, we can employ our back-end logics to detect the multiple submission of the same form and act similarly. This should not be of any problem. So in this post, I will throw in some code related to client-side JavaScript.</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><strong>Code</strong></td>
<td><strong>Remarks</strong></td>
</tr>
<tr>
<td>&lt;input type=&#8221;submit&#8221;   value=&#8221;Submit&#8221; onClick=&#8221;this.onClick=new Function(&#8216;return   false;&#8217;);&#8221; &gt;</td>
<td>The button doesn&#8217;t submit the form again</td>
</tr>
<tr>
<td>&lt;input type=&#8221;submit&#8221; value=&#8221;Submit&#8221;   onClick=&#8221;this.disabled=true&#8221; /&gt;</td>
<td>The submit button is disabled once it&#8217;s been pressed the first time</td>
</tr>
<tr>
<td>&lt;input type=&#8221;submit&#8221;   value=&#8221;Submit&#8221; onClick=&#8221;this.value=&#8217;Processing&#8230;&#8217;&#8221; /&gt;</td>
<td>The user is notified that the form is under process. But doesn&#8217;t do   anything to prevent the re-submission</td>
</tr>
<tr>
<td>&lt;script type=&#8221;text/javascript&#8221;   language=&#8221;JavaScript&#8221;&gt;&lt;!&#8211;       </p>
<p>start_over_at = 3;</p>
<p>counter = 0;</p>
<p>function monitor() {</p>
<p>counter++;</p>
<p>if(counter &gt;= start_over_at) { counter = 1; }</p>
<p>if(counter &gt; 1) { return false; }</p>
<p>return true;</p>
<p>} // &#8211;&gt;&lt;/script&gt;</p>
<p>&lt;input type=&#8221;submit&#8221;   value=&#8221;Submit&#8221; onClick=&#8221;return monitor() &#8221; /&gt;</td>
<td>This script allows the submission to go through if the user clicks   more than a specified number of times</td>
</tr>
</tbody>
</table>
<p>Some useful links:</p>
<ol>
<li><a href="http://www.willmaster.com/library/web-development/multiple-form-submission-prevention.php">http://www.willmaster.com/library/web-development/multiple-form-submission-prevention.php</a></li>
<li><a href="http://www.smashingmagazine.com/2009/01/12/10-useful-web-application-interface-techniques/">http://www.smashingmagazine.com/2009/01/12/10-useful-web-application-interface-techniques/</a></li>
</ol>
Posted in JavaScript, Security Tagged: Forms, JavaScript <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=85&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2009/01/14/preventing-multiple-form-submission/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Last night of 2008</title>
		<link>http://prajwolkumar.wordpress.com/2008/12/31/last-night-of-2008/</link>
		<comments>http://prajwolkumar.wordpress.com/2008/12/31/last-night-of-2008/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 20:41:38 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=79</guid>
		<description><![CDATA[This is it. Almost after 4-5 months I am with my college friends at our all time favorite JWAGAL room, celebrating the last night of 2008. &#8220;31st december&#8221; is a night to remember. Nirmal, Narendra, Pasang and Me, 1 &#8220;Miracle Mile&#8221;, 2 &#8220;Carlsberg&#8221;, 1 &#8220;Antiquity&#8221; and 1 &#8220;Coca Cola&#8221;. &#8221;Jahan char yaar, wohin rat ho Guljar&#8221;, he [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=79&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is it. Almost after 4-5 months I am with my college friends at our all time favorite JWAGAL room, celebrating the last night of 2008. &#8220;31st december&#8221; is a night to remember. Nirmal, Narendra, Pasang and Me, 1 &#8220;Miracle Mile&#8221;, 2 &#8220;Carlsberg&#8221;, 1 &#8220;Antiquity&#8221; and 1 &#8220;Coca Cola&#8221;. &#8221;Jahan char yaar, wohin rat ho Guljar&#8221;, he he. </p>
<p>We started the ending of 2008 at Thamel. &#8220;Maya Cocktail and Bar&#8221; has been our favorite since some months and we decided to hang out there. No Long Island Iced Tea this time. :&#8217;( We settled with some drink I can&#8217;t remember now. Then was the mighty Tacos. &#8220;TACOS with LACOS&#8221;; it was fun. We then headed to the room with full pack shopping from the Bijay Store. BAAL HO. We almost bought the Teacher&#8217;s KIT. Thanks to Naren that he stopped me. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Admist the Maya and the Room, D-Lacoste trusted me to tell something that I was shocked to hear. I honestly hadn&#8217;t guessed that. World is unpredictable and full of surprises. I know now. I see now. May be I am not good at guessing the things right. hehe. Anyway Lacoste had his heart light. I wish him peace and success all long his life. Thank you Lacoste for all the great times and projects we did together. And the tropies we won. Cheers!</p>
<p>At room, we started with the discussion of our crushes. On our classmates, teachers (female- we all are straight), neighbours and other girls. Not surprisingly, Kunga-Pasang was the hero of the story-telling. His unique blend of hindi and english made every sip of our drinks a memorable one. I recall one of his so called love-story. Spare me for mistakes. I am only one awake as of now. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>&#8220;W<em>oh kya waht thah. Mein class me padhta than aur yoh class ki monitor thi. Jab bhi koi halla karta thah, yoh uska naam blackboard me likhti thi. But, no matter how much i guffed, yoh kabhi bhi mera naam blackboard mein nahin likhti thi. I had a guess that yoh mujhe pasand karti thi. Cheerrssssss. Par mujhe nahin maloom ki kya woh mujhe sachmuch pyar karti thi.</em></p>
<p><em>Ab etne salon ke bad, maine usko everest bank me dekha. I pretended if i didn&#8217;t recognize her. I and mera father went there for opening an account. Dono ke signature compulsory wala account. There was some mistake in the form. Aur bakin log kehe rahe thee ki hum ko dusra form bharna hoga.</em></p>
<p><em>Par usne kaha ki, we can manage with this form by taking the signature at this this points. Tab mujko laga ke woh ab bhi mujh se pyar karti hain. Lekin wahan se nikalne ke bad mein ab tak ussee nahin mila hun. USKIIIII AAAANKHHHH</em>&#8220;</p>
<p>&#8220;Uskiii Aaankhhhh&#8221; is our recent favorite dialog, by the way.</p>
<p>We all had our stories shared. We started from our school times till the Bachelor&#8217;s Degree in Computer Engineering. When my friends reached the BEng, I was still at my school. haha. I probably had too much at my school. LOL. Darsana, Manisha, Deepa etc etc etc. I don&#8217;t remember who talked about whom. But it was fun. Pasang should get a special award for making all his story a unique one with lots of fun and his trademark speech.</p>
<p>Narendra tried to express his heartfelt stories but everyone was made a damn joke to laugh out. Guess by whom. he he, yes it was the sultane-kunga-pasang. Naren was hopeless; as every of his story turned into a masala to laugh at. Locus, &#8220;without what&#8221;, darsana, &#8220;naitikta&#8221;, etc etc naren could not make it a serious one. Kunga was sitting by his side and in FULL FORM. poor naren. better luck next year, hehe.</p>
<p>We downloaded &#8220;Tear drops on my guitar&#8221; and had lacoste sing that. Believe me, he is a miserable singer. haha. After this and that guffs and the stamina pushed to limit, lacoste, naren and kunga are asleep. But I want to stay awake. We have made a plan to get up early and go biking and take some pics. As others are asleep, I am writing this post. Just to pass time. I have a bottle of Carlsberg to hang out with. Thank my goodness.</p>
<p>I am tired too. I don&#8217;t know how much can I withstand. Sandman is dominating my will. Before leaving, Wish you all Happy New Year 2009.</p>
<p>Always stay cheese and happy.</p>
<p>Remember that there is only one person you should satisfy in your life &#8211; it is you.</p>
<p>Cheers Everybody.</p>
Posted in Inspiration  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=79&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2008/12/31/last-night-of-2008/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>The one-line which made me go through so-many-lines</title>
		<link>http://prajwolkumar.wordpress.com/2008/11/06/the-one-line-which-made-me-go-through-so-many-lines/</link>
		<comments>http://prajwolkumar.wordpress.com/2008/11/06/the-one-line-which-made-me-go-through-so-many-lines/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 10:23:01 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[struggle]]></category>
		<category><![CDATA[success]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=73</guid>
		<description><![CDATA[I don&#8217;t know why I remember that one line even now. Tesaiko haq ma ho yo post  
During my academic years in Pulchowk Campus, I had, once, chance to work as a RA for one of our professors. My role was to develop a tool to automate certain analysis portion to help improve the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=73&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">I don&#8217;t know why I remember that one line even now. Tesaiko haq ma ho yo post <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">During my academic years in Pulchowk Campus, I had, once, chance to work as a RA for one of our professors. My role was to develop a tool to automate certain analysis portion to help improve the quality and accelerate the research. I was using C# and SQL Server 2005. </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">During the prototype development, I used small sets of data and everything was going so well. Docking panels, scrolling toolboxes, office 2005 toolstrip renderers and cool icons; the professor was quite impressed with all the presentation and working of the tool. So good so far <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">Tough times were ahead, however. The actual data to be analyzed was very huge; something I underestimated to be honest. Quite easily, tables in the database got so large that data extraction time was almost inadmissible for the intended purpose. The tool had to extract the data and plot the time-series chart for one of its modules. The tool used to be irresponsive for about 1 minute and all the operations were very slow. It didn’t take much time for the professor to get irritated and me to get frustrated <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . Upon the analysis, I found that the data-extraction routine was taking about 20-30 seconds and the chart-plotting was taking about 15-20 seconds. </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">“<em>Prajwol! Arrange to make it as fast as in the prototype and note that we have less time for it.</em>” </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">Yes, this was that one line which made me go through so many lines of codes; days and nights; again and again and again. </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">So far as the chart was concerned, I had managed to cut down the plotting time to about 3 seconds, by suppressing the tooltips for huge data. Nonetheless, the data extraction was helpless. Luckily, I came across partitioning that was life saver for me. Partitioning was just introduced by Microsoft for SQL Server 2005. Nice timing by MS. There are other ways, though, to improvise the job. But, believe me; partitioning can make life very easy. </span><span style="font-size:10pt;font-family:&quot;">Thanks to goodness that everything ultimately went alright. </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">Find my article on partitioning <a title="Partitioning a table in SQL Server 2005" href="http://prajwolkumar.wordpress.com/2008/11/06/partitioning-a-table-in-ms-sql-server-2005/" target="_blank">here</a>.</span></p>
Posted in Miscellaneous Tagged: memory, personal, struggle, success <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=73&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2008/11/06/the-one-line-which-made-me-go-through-so-many-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Partitioning a table in MS SQL Server 2005</title>
		<link>http://prajwolkumar.wordpress.com/2008/11/06/partitioning-a-table-in-ms-sql-server-2005/</link>
		<comments>http://prajwolkumar.wordpress.com/2008/11/06/partitioning-a-table-in-ms-sql-server-2005/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 10:16:05 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[large table]]></category>
		<category><![CDATA[partitioning]]></category>
		<category><![CDATA[sql server 2005]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=70</guid>
		<description><![CDATA[Technology: Database, SQL Server 2005
Level: Advanced

VLDB, very large database, doesn’t necessarily indicate the size of tables within it. This article assumes that the table, itself, is very large and has huge number of rows; so huge that the performance is severely degraded. To the rescue, partitioning is a technique, introduced in 2005 version of MS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=70&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal"><strong>Technology</strong>: Database, SQL Server 2005</p>
<p class="MsoNormal"><strong>Level</strong>: Advanced</p>
<p class="MsoNormal"><strong></strong></p>
<p style="vertical-align:top;"><span style="font-size:10pt;font-family:&quot;">VLDB, very large database, doesn’t necessarily indicate the size of tables within it. This article assumes that the table, itself, is very large and has huge number of rows; so huge that the performance is severely degraded. To the rescue, partitioning is a technique, introduced in 2005 version of MS SQL Server family, which helps distribute the data into smaller, more manageable sections. Sections, here, refer to horizontal partitioning, in which large groups of rows will be stored in multiple separate partitions.</span></p>
<p style="vertical-align:top;"><span style="font-size:10pt;font-family:&quot;">Please note that you need Enterprise Edition or Developer Edition of Microsoft SQL Server 2005 for following the codes herein.</span></p>
<p style="vertical-align:top;"><span style="font-size:10pt;font-family:&quot;">As an example, let us take a table ‘Activity’ that should store daily activity of students. Students are identified by their roll numbers and activity by text descriptions. We will see how the rows can be stored in multiple partitions w.r.t. student roll number.</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:10pt;font-family:&quot;">Step 1</span></strong><span style="font-size:10pt;font-family:&quot;">: </span></p>
<table class="MsoTableGrid" style="border:medium none;width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:green;">&#8211; create files and filegroups</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ALTER</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">DATABASE</span> database_name <span style="color:blue;">ADD</span> <span style="color:blue;">FILEGROUP</span> [roll_fg1]<span style="color:gray;">;</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:gray;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ALTER</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">DATABASE</span> database_name</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ADD</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">FILE</span> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:gray;">(</span><span style="color:blue;">NAME</span> <span style="color:gray;">=</span> N<span style="color:red;">&#8216;roll_f1&#8242;</span><span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">FILENAME</span> <span style="color:gray;">=</span> N<span style="color:red;">&#8216;C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\roll_f1.ndf&#8217;</span><span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">SIZE</span> <span style="color:gray;">=</span> 5MB<span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">MAXSIZE</span> <span style="color:gray;">=</span> 100MB<span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">FILEGROWTH</span> <span style="color:gray;">=</span> 5MB<span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">TO</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">FILEGROUP</span> [roll_fg1]</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ALTER</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">DATABASE</span> database_name <span style="color:blue;">ADD</span> <span style="color:blue;">FILEGROUP</span> [roll_fg2]<span style="color:gray;">;</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:gray;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ALTER</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">DATABASE</span> database_name</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ADD</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">FILE</span> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:gray;">(</span><span style="color:blue;">NAME</span> <span style="color:gray;">=</span> N<span style="color:red;">&#8216;roll_f2&#8242;</span><span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">FILENAME</span> <span style="color:gray;">=</span> N<span style="color:red;">&#8216;C:\Program Files\Microsoft SQL   Server\MSSQL.2\MSSQL\Data\roll_f2.ndf&#8217;</span><span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">SIZE</span> <span style="color:gray;">=</span> 5MB<span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">MAXSIZE</span> <span style="color:gray;">=</span> 100MB<span style="color:gray;">,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">FILEGROWTH</span> <span style="color:gray;">=</span> 5MB<span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">TO</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">FILEGROUP</span> [roll_fg2]</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span><strong><span style="font-size:10pt;font-family:&quot;">Step 2</span></strong><span style="font-size:10pt;font-family:&quot;">:</span></p>
<table class="MsoTableGrid" style="border:medium none;width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:green;">&#8211; create partition function</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">CREATE</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">PARTITION</span> <span style="color:blue;">FUNCTION</span> RollFunction<span style="color:gray;">(</span><span style="color:blue;">int</span><span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">AS</span><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">RANGE</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:gray;">LEFT</span> <span style="color:blue;">FOR</span> <span style="color:blue;">VALUES</span> <span style="color:gray;">(</span>50, 100<span style="color:gray;">);</span></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:10pt;font-family:&quot;">Step 3</span></strong><span style="font-size:10pt;font-family:&quot;">:</span></p>
<table class="MsoTableGrid" style="border:medium none;width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:green;">&#8211; create partition scheme</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">CREATE</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">PARTITION</span> <span style="color:blue;">SCHEME</span> RollScheme </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">AS</span><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">PARTITION</span><span style="font-size:9pt;font-family:&quot;"> RollFunction </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">TO</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:gray;">(</span>[roll_fg1]<span style="color:gray;">,</span> [roll_fg2]<span style="color:gray;">,</span> [PRIMARY]<span style="color:gray;">)</span></span><span style="font-size:9pt;font-family:&quot;"></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><strong><span style="font-size:10pt;font-family:&quot;">Step 4</span></strong><span style="font-size:10pt;font-family:&quot;">:</span></p>
<table class="MsoTableGrid" style="border:medium none;width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:green;">&#8211; create the table itself</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">CREATE</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">TABLE</span> [activity]<span style="color:gray;">(</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span>[id] [int] <span style="color:blue;">IDENTITY</span><span style="color:gray;">(</span>1<span style="color:gray;">,</span>1<span style="color:gray;">)</span> <span style="color:gray;">NOT</span> <span style="color:gray;">NULL,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span>[student_roll] [int] <span style="color:gray;">NOT</span> <span style="color:gray;">NULL,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span>[activity_desc] [text] <span style="color:gray;">NOT</span> <span style="color:gray;">NULL,</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span style="color:blue;">CONSTRAINT</span> [PK_activity] <span style="color:blue;">PRIMARY</span> <span style="color:blue;">KEY</span> <span style="color:blue;">NONCLUSTERED</span> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:gray;">(</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;"><span> </span>[id] <span style="color:blue;">ASC</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:gray;">)</span><span style="font-size:9pt;font-family:&quot;color:blue;">WITH</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:gray;">(</span>IGNORE_DUP_KEY   <span style="color:gray;">=</span> <span style="color:blue;">OFF</span><span style="color:gray;">)</span> <span style="color:blue;">ON</span> [PRIMARY]</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:gray;">)</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">ON</span> [RollScheme]<span style="color:gray;">(</span>[student_roll]<span style="color:gray;">)</span></span><span style="font-size:9pt;font-family:&quot;"></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">The above 4 steps first create two files groups and two files. Since the database already has the primary file and file group, there are now three file groups. The partition function is created such that there are three partitions, viz. [</span><span style="font-size:10pt;font-family:&quot;">values &lt;= 50], [values &gt; 50 and &lt;= 100] and [values &gt; 100]. The rows are now distributed depending upon the roll number of the student.</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:10pt;font-family:&quot;">All the CRUD operations are done with the same statements as they are done for an unpartitioned table. Quite nice, isn’t it. Please note that SQL Server 2005 only supports up to 1000 partitions including the primary partition.</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;">To determine how many rows are stored in each partition, fire up the following query:</span></p>
<table class="MsoTableGrid" style="border:medium none;width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">SELECT</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:fuchsia;">$PARTITION</span><span style="color:gray;">.</span> RollFunction<span style="color:gray;"> (</span>student_roll<span style="color:gray;">)</span> <span style="color:blue;">AS</span> <span style="color:blue;">Partition</span><span style="color:gray;">,</span> <span style="color:fuchsia;">COUNT</span><span style="color:gray;">(*)</span> <span style="color:blue;">AS</span> [COUNT] </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">FROM</span><span style="font-size:9pt;font-family:&quot;"> activity</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">GROUP</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">BY</span> <span style="color:fuchsia;">$PARTITION</span><span style="color:gray;">.</span> RollFunction<span style="color:gray;"> (</span>student_roll<span style="color:gray;">)</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-size:9pt;font-family:&quot;color:blue;">ORDER</span><span style="font-size:9pt;font-family:&quot;"> <span style="color:blue;">BY</span> <span style="color:blue;">Partition</span> <span style="color:gray;">;</span></span><span style="font-size:9pt;font-family:&quot;"> </span></p>
</td>
</tr>
</tbody>
</table>
Posted in Database Tagged: Database, large table, partitioning, sql server 2005 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=70&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2008/11/06/partitioning-a-table-in-ms-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable ctrl + [key] combination in web pages</title>
		<link>http://prajwolkumar.wordpress.com/2008/11/05/disable-ctrl-key-combination-in-web-pages/</link>
		<comments>http://prajwolkumar.wordpress.com/2008/11/05/disable-ctrl-key-combination-in-web-pages/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 11:28:10 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=67</guid>
		<description><![CDATA[Technology: ASP.NET/C#, JavaScript
Level: Intermediate
Depth: Brief
Once I faced a requirement to disable copy and paste functionalities on the text boxes. While there are lot of examples and sample codes for doing this in the internet, there are only a few that work well in cross browser platform. Luckily, FF and IE were enough for me to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=67&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal"><strong>Technology</strong>: ASP.NET/C#, JavaScript</p>
<p class="MsoNormal"><strong>Level</strong>: Intermediate</p>
<p class="MsoNormal"><strong>Depth</strong>: Brief</p>
<p class="MsoNormal">Once I faced a requirement to disable copy and paste functionalities on the text boxes. While there are lot of examples and sample codes for doing this in the internet, there are only a few that work well in cross browser platform. Luckily, FF and IE were enough for me to do the job.</p>
<p class="MsoNormal">Having googled a lot of pages and tried on that much of codes, here is the one that worked fine for FF and IE. <a title="http://www.arraystudio.com/as-workshop/disable-ctrl-n-and-other-ctrl-key-combinations-in-javascript.html" href="http://www.arraystudio.com/as-workshop/disable-ctrl-n-and-other-ctrl-key-combinations-in-javascript.html" target="_blank">Here</a> is the link for the original post. I claim no credit and/or responsibility for the code. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p class="MsoNormal"><strong>Step 1</strong>: Define following JavaScript function.</p>
<table class="MsoTableGrid" style="border:medium none;width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:blue;">function</span><span style="font-size:10pt;font-family:&quot;"> disableCtrlKeyCombination(e)</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;">{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:green;">//list all CTRL +   key combinations you want to disable</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">var</span> forbiddenKeys = <span style="color:blue;">new</span> Array(<span style="color:maroon;">&#8216;n&#8217;</span>, <span style="color:maroon;">&#8216;c&#8217;</span>, <span style="color:maroon;">&#8216;x&#8217;</span>, <span style="color:maroon;">&#8216;v&#8217;</span>);</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">var</span> key;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">var</span> isCtrl;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">if</span>(window.<span style="color:blue;">event</span>)</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>key = window.<span style="color:blue;">event</span>.keyCode;<span> </span><span style="color:green;">//IE</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">if</span>(window.<span style="color:blue;">event</span>.ctrlKey)</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>isCtrl = <span style="color:blue;">true</span>;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">else</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>isCtrl = <span style="color:blue;">false</span>;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">else</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>key = e.which;<span> </span><span style="color:green;">//firefox</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">if</span>(e.ctrlKey)</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>isCtrl = <span style="color:blue;">true</span>;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">else</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>isCtrl = <span style="color:blue;">false</span>;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:green;">//if ctrl is   pressed check if other key is in forbidenKeys array</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">if</span>(isCtrl)</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">for</span>(i=0;   i&lt;forbiddenKeys.length; i++)</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:green;">//case-insensitive   comparation</span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">if</span>(forbiddenKeys[i].toLowerCase()   == String.fromCharCode(key).toLowerCase())</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">return</span> <span style="color:blue;">false</span>;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span>}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"><span> </span><span style="color:blue;">return</span> <span style="color:blue;">true</span>;</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;">}</span></p>
</td>
</tr>
</tbody>
</table>
<p><strong>STEP 2</strong>: Add the following attributes for the textboxes that you want to disable ctrl + [key] combination on.</p>
<table class="MsoTableGrid" style="border:medium none;border-collapse:collapse;height:44px;" border="1" cellspacing="0" cellpadding="0" width="680">
<tbody>
<tr>
<td style="border:1pt solid black;width:100%;padding:0 5.4pt;" width="100%" valign="top">
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;">TextBox1.Attributes.Add(<span style="color:maroon;">&#8220;onKeyDown&#8221;</span>, <span style="color:maroon;">&#8220;return disableCtrlKeyCombination(event);&#8221;</span>);</span><span style="font-size:12pt;font-family:&quot;"></span></p>
<p><span style="font-size:10pt;font-family:&quot;">TextBox1.Attributes.Add(<span style="color:maroon;">&#8220;onKeyPress&#8221;</span>, <span style="color:maroon;">&#8220;return disableCtrlKeyCombination(event);&#8221;</span>);</span></td>
</tr>
</tbody>
</table>
<p>Hope this was useful. One more time let me put the meta-reference, <a title="http://www.arraystudio.com/as-workshop/disable-ctrl-n-and-other-ctrl-key-combinations-in-javascript.html" href="http://www.arraystudio.com/as-workshop/disable-ctrl-n-and-other-ctrl-key-combinations-in-javascript.html" target="_blank">original source</a>.</p>
Posted in .NET, JavaScript Tagged: asp.net, C#, JavaScript <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=67&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2008/11/05/disable-ctrl-key-combination-in-web-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Hats off for 86-game unbeaten home league record</title>
		<link>http://prajwolkumar.wordpress.com/2008/10/31/hats-off-for-86-game-unbeaten-home-league-record/</link>
		<comments>http://prajwolkumar.wordpress.com/2008/10/31/hats-off-for-86-game-unbeaten-home-league-record/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 06:04:14 +0000</pubDate>
		<dc:creator>Prajwol Kumar Nakarmi</dc:creator>
				<category><![CDATA[The beautiful game]]></category>
		<category><![CDATA[chelsea]]></category>
		<category><![CDATA[liverpool]]></category>
		<category><![CDATA[red]]></category>

		<guid isPermaLink="false">http://prajwolkumar.wordpress.com/?p=63</guid>
		<description><![CDATA[
It began with Arsenal (Ars-anal, as some would say) and ended with Liverpool.

Or let me say,

It began with the Gunners and ended with the Reds.

As a matter of fact, I would have been much happy if the Reds were Devils too. Nevertheless, it was the Reds; it had to be the Reds ;D. 
THERE IS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=63&subd=prajwolkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote>
<div class="wp-caption aligncenter" style="width: 191px"><img title="Hatts off" src="http://chelsea.theoffside.com/files/2007/08/chelsea-cap.jpg" alt="" width="181" height="162" /><p class="wp-caption-text">Hatts off to Chelsea</p></div>
<p style="text-align:center;">It began with Arsenal (<strong>Ars-anal</strong>, as some would say) and ended with Liverpool.</p>
</blockquote>
<p style="text-align:center;">Or let me say,</p>
<blockquote>
<p style="text-align:center;">It began with the <strong>Gunners</strong> and ended with the <strong>Reds</strong>.</p>
</blockquote>
<p>As a matter of fact, I would have been much happy if the Reds were Devils too. Nevertheless, it was the Reds; it had to be the Reds ;D. <strong></strong></p>
<p><strong>THERE IS ONLY ONE UNITED !</strong>, I chant frequently.</p>
<p><strong>THERE IS ONLY ONE COLOR !</strong>, has been recently added to my list <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="wp-caption aligncenter" style="width: 510px"><img title="Chelsea - Liverpool [0 - 1]" src="http://www.premierleague.com/javaImages/94/de/0,,12306~4251284,00.jpg" alt="Cheers" width="500" height="350" /><p class="wp-caption-text">There is only one Color!!!</p></div>From <strong>February 2004</strong> to <strong>October 2008</strong>, the unbeaten home league record is so goddamn impressive that I couldn&#8217;t resist myself to throw up this post. Believe me, I couldn&#8217;t help it. Being a proud ManU supporter, I know what greatness means <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and let me say this &#8216;<em>Chelsea&#8217;s record is glorious</em>&#8216;. Every record has to end though, and the end was marked with RED.</p>
<p>To my surprise one of my friends (<em>Soltee</em>, as I would like to call him), had challenged me a Bet for this match. Reluctantly, I agreed. Happily I depict &#8220;<em>you&#8217;ll never walk alone</em>&#8220;. ha ha.</p>
<p><strong>Hey <em>Soltee</em>, I am waiting for the khaja, dear.</strong></p>
<p style="text-align:center;">
<p><div class="wp-caption aligncenter" style="width: 236px"><img title="Red Alonso" src="http://newsimg.bbc.co.uk/media/images/45144000/jpg/_45144158_keane_282_get.jpg" alt="Alonso is RED." width="226" height="282" /><p class="wp-caption-text">Alonso is RED.</p></div>
Posted in The beautiful game Tagged: chelsea, liverpool, red <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/prajwolkumar.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/prajwolkumar.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/prajwolkumar.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/prajwolkumar.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/prajwolkumar.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/prajwolkumar.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/prajwolkumar.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/prajwolkumar.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/prajwolkumar.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/prajwolkumar.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=prajwolkumar.wordpress.com&blog=3042820&post=63&subd=prajwolkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://prajwolkumar.wordpress.com/2008/10/31/hats-off-for-86-game-unbeaten-home-league-record/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">prajwolkumar</media:title>
		</media:content>

		<media:content url="http://chelsea.theoffside.com/files/2007/08/chelsea-cap.jpg" medium="image">
			<media:title type="html">Hatts off</media:title>
		</media:content>

		<media:content url="http://www.premierleague.com/javaImages/94/de/0,,12306~4251284,00.jpg" medium="image">
			<media:title type="html">Chelsea - Liverpool [0 - 1]</media:title>
		</media:content>

		<media:content url="http://newsimg.bbc.co.uk/media/images/45144000/jpg/_45144158_keane_282_get.jpg" medium="image">
			<media:title type="html">Red Alonso</media:title>
		</media:content>
	</item>
	</channel>
</rss>