<?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/"
	>

<channel>
	<title></title>
	<atom:link href="http://blog.kayesd.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.kayesd.com</link>
	<description></description>
	<lastBuildDate>Sun, 25 Apr 2010 16:23:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>প্রথম বাংলা post!</title>
		<link>http://blog.kayesd.com/?p=89</link>
		<comments>http://blog.kayesd.com/?p=89#comments</comments>
		<pubDate>Sun, 25 Apr 2010 16:23:42 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.kayesd.com/?p=89</guid>
		<description><![CDATA[এইটা আমার প্রথম বাংলা পোস্ট (post এর বাংলা যেন কি!)..  anyway.. কোপা শামসু!!!
]]></description>
			<content:encoded><![CDATA[<p>এইটা আমার প্রথম বাংলা পোস্ট (post এর বাংলা যেন কি!)..  anyway.. কোপা শামসু!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting a string array in lexicographical order using LINQ and Lambda expression</title>
		<link>http://blog.kayesd.com/?p=68</link>
		<comments>http://blog.kayesd.com/?p=68#comments</comments>
		<pubDate>Sun, 18 Apr 2010 20:42:00 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[alphabetic sort]]></category>
		<category><![CDATA[dictionary sort]]></category>
		<category><![CDATA[lambda expression]]></category>
		<category><![CDATA[lexicographical sort]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://blog.kayesd.com/?p=68</guid>
		<description><![CDATA[I think I wrote a function in C for this purpose back in school days. I needed this again in one of my projects recently and for a couple of seconds I thought of a C# &#8211; port of that code before I&#8217;d realized that LINQ and Lambda expression could come to my rescue. And [...]]]></description>
			<content:encoded><![CDATA[<p>I think I wrote a function in C for this purpose back in school days. I needed this again in one of my projects recently and for a couple of seconds I thought of a C# &#8211; port of that code before I&#8217;d realized that LINQ and Lambda expression could come to my rescue. And all it took is mere 4 lines of code (if you count the string array declaration line in the sole purpose <img src='http://blog.kayesd.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p>Oh, and you must add the <code>System.Linq</code> namespace.</p>
<pre class="brush: csharp;">
string[] strArr = new string[] { &quot;Gibbs&quot;, &quot;Ntini&quot;, &quot;Pollock&quot;, &quot;Cronje&quot;, &quot;Smith&quot;, &quot;Kirsten&quot;, &quot;Steyn&quot;, };
List list = strArr.ToList();
list.Sort((str1, str2) =&gt; str1.CompareTo(str2));
strArr = list.ToArray();
</pre>
<p>After the sort the array looks like this:</p>
<pre class="brush: csharp;">{ &quot;Cronje&quot;, &quot;Gibbs&quot;, &quot;Kirsten&quot;, &quot;Ntini&quot;, &quot;Pollock&quot;, &quot;Smith&quot;, &quot;Steyn&quot; }</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=68</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Enumeration types in switch-case block and ComboBox in C#</title>
		<link>http://blog.kayesd.com/?p=36</link>
		<comments>http://blog.kayesd.com/?p=36#comments</comments>
		<pubDate>Tue, 16 Jun 2009 23:08:06 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[combobox]]></category>
		<category><![CDATA[enum]]></category>
		<category><![CDATA[switch-case]]></category>

		<guid isPermaLink="false">http://blog.kayesd.com/?p=36</guid>
		<description><![CDATA[Here&#8217;s a code snippet that demonstrates how to use enum types in a switch-case block in combination with the ComboBox control. Just wanted to share &#8217;cause I had to look it up on the web. Hope it helps somebody.

using System;
using System.Windows.Forms;
using System.Diagnostics;

namespace EnumWithCombo
{
    public partial class PlayerSelectionForm : Form
    [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a code snippet that demonstrates how to use enum types in a switch-case block in combination with the ComboBox control. Just wanted to share &#8217;cause I had to look it up on the web. Hope it helps somebody.</p>
<pre class="brush: csharp;">
using System;
using System.Windows.Forms;
using System.Diagnostics;

namespace EnumWithCombo
{
    public partial class PlayerSelectionForm : Form
    {
        private enum Players
        {
            Gibbs, Richards, Cronje, Kirsten, Kallis, Smith, Villiers, Pollock, Ntini, Klusener, Steyn, Rhodes, Bosman, Kemp, Botha, Harris, Roelof
        }
        private string url = &quot;http://www.cricinfo.com/ci/content/player/45224.html&quot;;

        public PlayerSelectionForm()
        {
            InitializeComponent();
            playersComboBox.DataSource = Enum.GetValues(typeof(Players));
        }

        private void submitButton_Click(object sender, EventArgs e)
        {
            switch ((Players) playersComboBox.SelectedItem)
            {
                case Players.Gibbs:
                    Process.Start(new ProcessStartInfo(&quot;iexplore&quot;, url));
                    break;
                default:
                    MessageBox.Show(((Players) playersComboBox.SelectedItem).ToString());
                    break;
            }
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=36</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jigsaw Puzzle</title>
		<link>http://blog.kayesd.com/?p=15</link>
		<comments>http://blog.kayesd.com/?p=15#comments</comments>
		<pubDate>Mon, 04 May 2009 15:08:47 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[jigsaw]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://blog.kayesd.com/?p=15</guid>
		<description><![CDATA[I created the very basic engine back in 2007. That was only to make the puzzle pieces from an image. But never really felt like completing the game (I&#8217;m too lazy)! Anyway, I decided to have a go at it and following is the result of my past couple of days&#8217; work. There&#8217;s a lot [...]]]></description>
			<content:encoded><![CDATA[<p>I created the very basic engine back in 2007. That was only to make the puzzle pieces from an image. But never really felt like completing the game (I&#8217;m too lazy)! Anyway, I decided to have a go at it and following is the result of my past couple of days&#8217; work. There&#8217;s a lot to be done/ fixed though. The puzzle pieces are generated programmatically. There are no fixed/ static masks/ shapes. So there&#8217;s actually no limitation of the image size. And the images can be broken into any number of pieces. The larger the image and the more the puzzle pieces, the higher the pieces generation time. Currently I used a 400&#215;400 image and broke it into 64 (8&#215;8) pieces.<br />
Of course, there are some scope of optimization in the code. But all I wanted is getting a playable demo ready in as little time as possible. And the end result is not quite bad I guess <img src='http://blog.kayesd.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Anyway, the to-dos are:<br />
1. Allow uploading custom image<br />
2. Logging player scores</p>
<p style="text-align: center;">(<a href="http://www.kayesd.com/works/jigsaw" target="_new">Click to launch the demo</a>)</p>
<p><img class="aligncenter size-full wp-image-12" src="http://img116.imageshack.us/img116/2941/jigsawdemo54200965000pm.jpg" alt="Image Hosted by ImageShack.us" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Firefox memory usage: 1.7 GB!</title>
		<link>http://blog.kayesd.com/?p=21</link>
		<comments>http://blog.kayesd.com/?p=21#comments</comments>
		<pubDate>Wed, 22 Apr 2009 19:45:25 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[huge memory usage]]></category>

		<guid isPermaLink="false">http://blog.kayesd.com/?p=21</guid>
		<description><![CDATA[For the second time when I was getting into the mood of writing something on my blog I got bogged down with another nasty Firefox mess-up. This time around, it was using up almost all of my RAM (1.7 GB). My PC got awfully slow as soon as I started Firefox and instantly knew it [...]]]></description>
			<content:encoded><![CDATA[<p>For the second time when I was getting into the mood of writing something on my blog I got bogged down with another nasty Firefox mess-up. This time around, it was using up almost all of my RAM (1.7 GB). My PC got awfully slow as soon as I started Firefox and instantly knew it was my favorite browser as I heard of such huge memory usage from other FF users. But the funniest part was after restarting, I was notified that update 3.0.9 is available!</p>
<p><img class="aligncenter size-full wp-image-12" src="http://img100.imageshack.us/img100/7011/ffhighmemusage.jpg" alt="Huge memory usage by Firefox"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lost my Firefox profile</title>
		<link>http://blog.kayesd.com/?p=9</link>
		<comments>http://blog.kayesd.com/?p=9#comments</comments>
		<pubDate>Fri, 06 Mar 2009 17:47:16 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox profile]]></category>

		<guid isPermaLink="false">http://dider.wordpress.com/?p=9</guid>
		<description><![CDATA[I can&#8217;t believe I have to start my real blogging career with this post. I&#8217;ve just lost my Firefox profile! And that in a strange way! I usually put my Firefox profile folder in a separate directory instead of the default location. I keep a primary folder in my non-OS D: drive which contains all [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe I have to start my real blogging career with this post. I&#8217;ve just lost my Firefox profile! And that in a strange way! I usually put my Firefox profile folder in a separate directory instead of the default location. I keep a primary folder in my non-OS D: drive which contains all the different profile folders. The structure looks like this: &#8220;D:\firefox_profiles\kayes\&#8221;.</p>
<p><img class="aligncenter size-full wp-image-11" title="browse" src="http://dider.files.wordpress.com/2009/03/browse.jpg" alt="browse" width="326" height="405" /></p>
<p>&#8216;kayes&#8217; was the only profile I had at that time. Anyway, I was creating another profile and I mistakenly selected &#8220;D:\firefox_profiles\&#8221; as the location to save the profile files whereas I should have created a new folder under &#8216;firefox_profiles&#8217; and selected that. As soon as I finished creating the profile, I noticed what I did wrong and wanted to start over. So I deleted the newly created profile &#8216;Default User&#8217; and that&#8217;s when I made another, this time bigger, mistake.</p>
<p><img class="aligncenter size-full wp-image-12" title="delete" src="http://dider.files.wordpress.com/2009/03/delete.jpg" alt="delete" width="337" height="247" /></p>
<p>I deleted the profile with all the contents and since the newly created profile files were to be saved under &#8220;D:\firefox_profiles\&#8221;, the whole &#8216;firefox_profiles&#8217; folder got deleted with my regular profile &#8216;kayes&#8217;. It took me a moment to realize that and I just kept sitting like a dumb. All my bookmarks, saved passwords, plugins, opened tabs&#8230; all gone! But fortunately I could recover the bookmarks which I periodically took backup of as HTML files for another purpose. So all is not lost I guess. Happy blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TestPost</title>
		<link>http://blog.kayesd.com/?p=6</link>
		<comments>http://blog.kayesd.com/?p=6#comments</comments>
		<pubDate>Tue, 05 Aug 2008 19:13:16 +0000</pubDate>
		<dc:creator>Kayes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://dider.wordpress.com/?p=5</guid>
		<description><![CDATA[This is another test post!
]]></description>
			<content:encoded><![CDATA[<p>This is another test post!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kayesd.com/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
