<?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>Kenno's OpenNote</title>
	<atom:link href="http://kenno.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kenno.wordpress.com</link>
	<description>My Programming Weblog</description>
	<lastBuildDate>Fri, 18 Sep 2009 14:04:42 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='kenno.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/80ba70ecbecc473dfbb65589aa78ca17?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Kenno's OpenNote</title>
		<link>http://kenno.wordpress.com</link>
	</image>
			<item>
		<title>Profile backup &#8211; Mozilla FireFox and Thunderbird</title>
		<link>http://kenno.wordpress.com/2009/08/13/profile-backup-mozilla-firefox-and-thunderbird/</link>
		<comments>http://kenno.wordpress.com/2009/08/13/profile-backup-mozilla-firefox-and-thunderbird/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 07:04:22 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=186</guid>
		<description><![CDATA[At work, a colleague is struggling to get his pc up and running for a few days now. To add insult to injury, he also lost some of his Microsoft Outlook back up emails.
Seeing what happened to him, I shall back up my files and emails too.
I use Mozilla Thunderbird (2.0.0.22), and I found a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=186&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>At work, a colleague is struggling to get his pc up and running for a few days now. To add insult to injury, he also lost some of his Microsoft Outlook back up emails.<br />
Seeing what happened to him, I shall back up my files and emails too.</p>
<p>I use Mozilla Thunderbird (2.0.0.22), and I found a very nice tool to back up the emails (a.k.a profile). It&#8217;s called <a href="http://mozbackup.jasnapaka.com/">MozBackup</a>.<br />
<img class="alignnone size-full wp-image-187" title="mozbackup-screenshot" src="http://kenno.files.wordpress.com/2009/08/mozbackup-screenshot.png?w=477&#038;h=352" alt="mozbackup-screenshot" width="477" height="352" /></p>
<p>I thought I should share this with others who use Thunderbird too.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=186&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/08/13/profile-backup-mozilla-firefox-and-thunderbird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>

		<media:content url="http://kenno.files.wordpress.com/2009/08/mozbackup-screenshot.png" medium="image">
			<media:title type="html">mozbackup-screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL: Update with values from another table</title>
		<link>http://kenno.wordpress.com/2009/08/13/sql-update-with-values-from-another-table/</link>
		<comments>http://kenno.wordpress.com/2009/08/13/sql-update-with-values-from-another-table/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 05:37:17 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=184</guid>
		<description><![CDATA[UPDATE Log
SET Username = u.Username, Name = u.Name
FROM Users u
Where u.Id = userid
Source: codesnippets.joyent.com
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=184&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>UPDATE Log<br />
SET Username = u.Username, Name = u.Name<br />
FROM Users u<br />
Where u.Id = userid</code></p>
<p>Source: <a href="http://codesnippets.joyent.com/posts/show/1222">codesnippets.joyent.com</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=184&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/08/13/sql-update-with-values-from-another-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>MS SQL: Reset identity seed</title>
		<link>http://kenno.wordpress.com/2009/08/13/ms-sql-reset-identity-seed/</link>
		<comments>http://kenno.wordpress.com/2009/08/13/ms-sql-reset-identity-seed/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 02:26:23 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[MS SQL]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=182</guid>
		<description><![CDATA[Occasionally, I need to reset the value of the identity column in MS SQL database. I keep forgetting how to do this, and have to search all the time.
So here is a note to myself:
DBCC CHECKIDENT (TableName, RESEED, 0)
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=182&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Occasionally, I need to reset the value of the identity column in MS SQL database. I keep forgetting how to do this, and have to search all the time.<br />
So here is a note to myself:</p>
<p><code>DBCC CHECKIDENT (TableName, RESEED, 0)</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=182&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/08/13/ms-sql-reset-identity-seed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>Restore Grub Boot Loader</title>
		<link>http://kenno.wordpress.com/2009/08/08/restore-grub-boot-loader/</link>
		<comments>http://kenno.wordpress.com/2009/08/08/restore-grub-boot-loader/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 14:56:24 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Boot loader]]></category>
		<category><![CDATA[Grub]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=179</guid>
		<description><![CDATA[Warning: this guide is only a personal note to remind myself when I have to restore Grub again.
In my previous post, I had just installed Windows 7 as a dual boot with Debian on my Toshiba laptop. The following describe the steps taken to restore the Grub boot loader so that Debian can be started [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=179&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:#993300;"><span style="text-decoration:underline;">Warning</span>: this guide is only a personal note to remind myself when I have to restore Grub again.</span></p>
<p>In my previous post, I had just installed Windows 7 as a dual boot with Debian on my Toshiba laptop. The following describe the steps taken to restore the Grub boot loader so that Debian can be started again.</p>
<p>I booted the laptop with Ubuntu Live CD, then open a Terminal. To get the partition tables, as a root execute the <strong>fdisk</strong> command:<br />
<code><br />
# fdisk -l<br />
</code></p>
<p>In my case, / and /boot reside in /dev/sda6. Once the device has been identified, I need mount it using mount command:<br />
<code><br />
# mkdir /mydisk<br />
# mount /dev/sda6 /mydisk<br />
</code></p>
<p>Next use chroot command to start interactive shell with special root directory.<br />
<code><br />
# chroot /mydisk<br />
</code></p>
<p>Now, we can reinstall grub with grub-install command:<br />
<code><br />
# grub-install /dev/sda<br />
</code></p>
<p>In my case, I have a SATA drive, so the device is <strong>sda</strong>. If you have an IDE drive, it should be <strong>/dev/hda</strong>.</p>
<p>Reboot the system. I saw the Grub menu again, and I can boot to either Windows 7 or Debiain.</p>
<p>Credit: <a href="http://www.cyberciti.biz/tips/restore-debian-linux-grub-boot-loader.html">Restore Debain Linux boot loader</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=179&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/08/08/restore-grub-boot-loader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows 7 64 bit on Toshiba Satellite A200</title>
		<link>http://kenno.wordpress.com/2009/08/08/windows-7-64-bit-on-toshiba-satellite-a200/</link>
		<comments>http://kenno.wordpress.com/2009/08/08/windows-7-64-bit-on-toshiba-satellite-a200/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 07:42:38 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[Satellite A200]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=177</guid>
		<description><![CDATA[I just finished installing Windows 7 64-bit Ultimate edtion on my 1+ year old Toshiba laptop. The model is Satellite A200-*****.
The installation went smoothly, well almost. On the first boot, the graphic card driver, the finger print reader were automatically updated with Windows update. The only two devices which weren&#8217;t detected are: unknown device &#8220;ACPI\TOS6205&#8243; (bluetooth) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=177&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just finished installing Windows 7 64-bit Ultimate edtion on my 1+ year old Toshiba laptop. The model is Satellite A200-*****.</p>
<p>The installation went smoothly, well almost. On the first boot, the graphic card driver, the finger print reader were automatically updated with Windows update. The only two devices which weren&#8217;t detected are: unknown device &#8220;ACPI\TOS6205&#8243; (bluetooth) and the Texas Instrument 5-in-1 card reader. The 64-bit driver for the bluetooth can be downloaded from: <a href="http://aps2.toshiba-tro.de/bluetooth/">http://aps2.toshiba-tro.de/bluetooth/</a> thanks to this <a href="http://laptopforums.toshiba.com/t5/Windows-Vista-XP-Win7-RC/Windows-7-what-have-you-installed-it-on-and-what-doesn-t-work/td-p/9860/page/4">post</a> at Toshiba Laptop forum.</p>
<p>Unfortunately, I haven&#8217;t found the place to download the driver for the card reader yet. Oh well, it doesn&#8217;t bother me that much; so I&#8217;m just gonna leave it for now.</p>
<p>What&#8217;s next? I have to restore Grub bootloader so that I can boot back into Debian. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/177/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=177&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/08/08/windows-7-64-bit-on-toshiba-satellite-a200/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>Linq Read Inserted Id of a Record</title>
		<link>http://kenno.wordpress.com/2009/08/04/linq-read-inserted-id-of-a-record/</link>
		<comments>http://kenno.wordpress.com/2009/08/04/linq-read-inserted-id-of-a-record/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 05:20:54 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Linq]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=175</guid>
		<description><![CDATA[Suppose we have the following code sinppets:

private BlogDataContext db = new BlogDataContext ();
...
article.Created = DateTime.UtcNow;
article.Modified = DateTime.UtcNow;
db.Articles.InsertOnSubmit(article);
db.SubmitChanges( );
The ID of the article is automatically generated. How do we get the Id of the newly inserted record?
It turns out that the article is updated with the value of Id after the method SubmitChanges( ) is invoked. So, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=175&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Suppose we have the following code sinppets:</p>
<p><code><br />
private BlogDataContext db = new BlogDataContext ();<br />
...</code></p>
<p>article.Created = DateTime.UtcNow;<br />
article.Modified = DateTime.UtcNow;</p>
<p>db.Articles.InsertOnSubmit(article);<br />
db.SubmitChanges( );</p>
<p>The ID of the article is automatically generated. How do we get the Id of the newly inserted record?</p>
<p>It turns out that the <strong>article</strong> is updated with the value of <strong>Id</strong> after the method <strong>SubmitChanges( )</strong> is invoked. So, we can just get the Id this way:</p>
<p><code><br />
int id = article.Id;<br />
</code></p>
<p>Credit: <a href="http://blog.pureblue.co.nz/2008/02/04/read-inserted-id-from-linq-entity/">Read inserted Id from LINQ </a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=175&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/08/04/linq-read-inserted-id-of-a-record/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert wav to m4a with GNU/Linux</title>
		<link>http://kenno.wordpress.com/2009/07/27/convert-wav-to-m4a-with-gnulinux/</link>
		<comments>http://kenno.wordpress.com/2009/07/27/convert-wav-to-m4a-with-gnulinux/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 12:16:52 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[faac]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[m4a]]></category>
		<category><![CDATA[wav]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=173</guid>
		<description><![CDATA[There are probably a gazillion ways to do this. I use FAAC, Freeware Advanced Audio Coder, to do this job.
It works very well:

faac originalfile.wav -o outputfile.m4a

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=173&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are probably a gazillion ways to do this. I use FAAC, Freeware Advanced Audio Coder, to do this job.<br />
It works very well:</p>
<p><code><br />
faac originalfile.wav -o outputfile.m4a<br />
</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=173&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/07/27/convert-wav-to-m4a-with-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>FIXED: extconf.rb:8:in `require&#8217;: no such file to load &#8212; mkmf (LoadError)</title>
		<link>http://kenno.wordpress.com/2009/07/25/fixed-extconf-rb8in-require-no-such-file-to-load-mkmf-loaderror/</link>
		<comments>http://kenno.wordpress.com/2009/07/25/fixed-extconf-rb8in-require-no-such-file-to-load-mkmf-loaderror/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 11:20:28 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=171</guid>
		<description><![CDATA[While reading Linux Journal Issue 181 today, I stumbled upon a section explaining about running Ruby on Rails on Apache using an Apache module called Phusion Passenger, also known as mod_rails.
To install Passenger, I followed the instruction provided in the magazine:
sudo gem install passenger
Unxpectedly, I got the following error:
Building native extensions.  This could take [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=171&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While reading Linux Journal Issue 181 today, I stumbled upon a section explaining about running Ruby on Rails on Apache using an Apache module called Phusion Passenger, also known as mod_rails.</p>
<p>To install Passenger, I followed the instruction provided in the magazine:</p>
<p><code>sudo gem install passenger</code></p>
<p>Unxpectedly, I got the following error:</p>
<p><code>Building native extensions.  This could take a while...<br />
ERROR:  Error installing passenger:<br />
ERROR: Failed to build gem native extension.</p>
<p>/usr/bin/ruby1.8 extconf.rb<br />
extconf.rb:8:in `require': no such file to load -- mkmf (LoadError)<br />
from extconf.rb:8</p>
<p>Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7 for inspection.<br />
Results logged to /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7/ext/fastthread/gem_make.out</code></p>
<p>What&#8217;s happening? What did I do wrong?</p>
<p>According to a blog post by <a href="http://blogs.law.harvard.edu/hoanga/2006/10/27/fixing-mkmf-load-error-ruby-in-ubuntu/">Al Hoang</a>, a Ruby dev package needed to be installed. Well, I wouldn&#8217;t have a clue about this!</p>
<p>So, to <strong>FIX</strong> this, I need to install ruby1.8-dev:</p>
<p><code>$ sudo apt-get install ruby1.8-dev<br />
...</code></p>
<p>Now, I&#8217;m ready to install Passenger gem:</p>
<p><code>$ sudo gem install passenger<br />
Building native extensions.  This could take a while...<br />
Successfully installed passenger-2.2.4<br />
1 gem installed<br />
Installing ri documentation for passenger-2.2.4...<br />
Installing RDoc documentation for passenger-2.2.4...</code></p>
<p>Credit: <a href="http://blogs.law.harvard.edu/hoanga/2006/10/27/fixing-mkmf-load-error-ruby-in-ubuntu/">Fixing ‘mkmf’ load error Ruby in Ubuntu</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=171&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/07/25/fixed-extconf-rb8in-require-no-such-file-to-load-mkmf-loaderror/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>Copy hard disks or partitions using dd</title>
		<link>http://kenno.wordpress.com/2009/07/14/copy-hard-disks-or-partitions-using-dd/</link>
		<comments>http://kenno.wordpress.com/2009/07/14/copy-hard-disks-or-partitions-using-dd/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 04:46:34 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[fsck]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=169</guid>
		<description><![CDATA[Warning: The following is for personal note only, and is not meant to be a tutorial or guide.
On Debian server at work, we have /home reside on /dev/hda6 and I want to move to a new hard disk /dev/hdb.
First, I need to format /dev/hdb using fdisk. Then use dd to copy the content from /dev/hda6 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=169&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:#993300;">Warning: The following is for personal note only, and is not meant to be a tutorial or guide.</span></p>
<p>On Debian server at work, we have /home reside on /dev/hda6 and I want to move to a new hard disk /dev/hdb.</p>
<p>First, I need to format /dev/hdb using fdisk. Then use dd to copy the content from /dev/hda6 to /dev/hdb1, the newly createdd ext3 partition.</p>
<p># dd if=/dev/hda6 of=/dev/hdb1 bs=1024</p>
<p>The above commands instruct dd to read the content from /dev/hda6 and write it to /dev/hdb1. bs=1024 sets the block size to 1024 bytes.</p>
<p>dd takes a while depends on how big is your hard disk. Then, there is one final step to do &#8212; to re-size /dev/hdb1 to its maximum capacity.</p>
<p># e2fsck -f /dev/hdb1</p>
<p>Now we can resize the file system in /dev/dhb1 partition. If we don&#8217;t specify the size, then resize2fs will assume the largest:</p>
<p># resize2fs /dev/hdb1</p>
<p># fsck -n /dev/hb1</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=169&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/07/14/copy-hard-disks-or-partitions-using-dd/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>
	</item>
		<item>
		<title>Pidgin &#8211; old version of libpurple and unknown protocol</title>
		<link>http://kenno.wordpress.com/2009/07/10/pidgin-old-version-of-libpurple-and-unknown-protocol/</link>
		<comments>http://kenno.wordpress.com/2009/07/10/pidgin-old-version-of-libpurple-and-unknown-protocol/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 11:37:10 +0000</pubDate>
		<dc:creator>kenno</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Pidgin]]></category>

		<guid isPermaLink="false">http://kenno.wordpress.com/?p=165</guid>
		<description><![CDATA[Aaaahhh&#8230; I fixed the Pidgin problem with Unknow protocol just 5 minutes after the previous post was made. I&#8217;m going to write how I found out the problem and how it has been fixed. If you&#8217;re interested, keep reading.
In the previous post, I mentioned that I would removed the Pidgin package completely including its configuration [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=165&subd=kenno&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Aaaahhh&#8230; I fixed the Pidgin problem with Unknow protocol just 5 minutes after the previous post was made. I&#8217;m going to write how I found out the problem and how it has been fixed. If you&#8217;re interested, keep reading.</p>
<p>In the previous post, I mentioned that I would removed the Pidgin package completely including its configuration file (# apt-get &#8211;purge remove pidgin.) I did and followed by re-installation of Pidgin, unfortunately, it didn&#8217;t fix anything.</p>
<p>Then I checked the About dialog (Help -&gt; About), and I noticed the <strong>libpurple 2.5.4</strong> under <strong>Pidgin 2.5.6</strong>. This must be the source of the problem! But I remember libpurple has been upgraded to 2.5.6 and it said so in <a title="What is Aptitude?" href="http://en.wikipedia.org/wiki/Aptitude_(program)" target="_blank">Aptitude</a>. So what could be possibly wrong?</p>
<p><img class="alignnone size-full wp-image-164" title="Screenshot-About Pidgin" src="http://kenno.files.wordpress.com/2009/07/screenshot-about-pidgin.png?w=365&#038;h=474" alt="Screenshot-About Pidgin" width="365" height="474" /></p>
<p>A while back, I have installed Pidgin from source code, however I was quite sure that it has been properly removed &#8212; I went into the Pidgin source and execute # make uninstall.Well, according to this  <a title="Automatic install of 2.5.6 leaves libpurple at 2.5.5" href="https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/385639" target="_blank">Bug #385639</a>, libpurple is still present in /usr/local/<br />
<code><br />
kenno@san7:/usr/local/lib<br />
$ ls<br />
finch                      libpurple.so.0      pkgconfig  site_ruby<br />
gnt                        libpurple.so.0.5.4  purple-2   xemacs<br />
libpurple-client.so.0      perl                python2.4<br />
libpurple-client.so.0.5.4  pidgin              python2.5<br />
kenno@san7:/usr/local/lib<br />
</code><br />
So, I need to remove these unwated libraries manually:<br />
<code><br />
kenno@san7:/usr/local/lib<br />
$ sudo rm libpurple*<br />
</code><br />
Now, let&#8217;s run Pidgin again&#8230;and&#8230; that&#8217;s it. The problem has been fixed!<br />
<img class="alignnone size-full wp-image-166" title="Screenshot-Add Account2" src="http://kenno.files.wordpress.com/2009/07/screenshot-add-account2.png?w=336&#038;h=471" alt="Screenshot-Add Account2" width="336" height="471" /></p>
<p>For the record, I have upgraded Pidgin to 2.5.8 (unstable package at the time of this post is written) and everything works as expected. Now, I&#8217;m back to a happy Pidgin user.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kenno.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kenno.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kenno.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kenno.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kenno.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kenno.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kenno.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kenno.wordpress.com/165/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kenno.wordpress.com/165/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kenno.wordpress.com/165/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kenno.wordpress.com&blog=154479&post=165&subd=kenno&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://kenno.wordpress.com/2009/07/10/pidgin-old-version-of-libpurple-and-unknown-protocol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d7c945e1a6097274390f1933115835be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kenno</media:title>
		</media:content>

		<media:content url="http://kenno.files.wordpress.com/2009/07/screenshot-about-pidgin.png" medium="image">
			<media:title type="html">Screenshot-About Pidgin</media:title>
		</media:content>

		<media:content url="http://kenno.files.wordpress.com/2009/07/screenshot-add-account2.png" medium="image">
			<media:title type="html">Screenshot-Add Account2</media:title>
		</media:content>
	</item>
	</channel>
</rss>