<?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>Masao Kitamura</title>
	<atom:link href="http://www.masaokitamura.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.masaokitamura.com</link>
	<description>The Blog</description>
	<lastBuildDate>Thu, 04 Mar 2010 23:41:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Fix &#8220;The total number of locks exceeds the lock table size&#8221;</title>
		<link>http://www.masaokitamura.com/2010/03/04/how-to-fix-the-total-number-of-locks-exceeds-the-lock-table-size/</link>
		<comments>http://www.masaokitamura.com/2010/03/04/how-to-fix-the-total-number-of-locks-exceeds-the-lock-table-size/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 23:38:13 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/2010/03/04/how-to-fix-the-total-number-of-locks-exceeds-the-lock-table-size/</guid>
		<description><![CDATA[This usually happens when you&#8217;re doing massive queries on InnoDB tables:
ERROR 1206 (HY000): The total number of locks exceeds the lock table size
In /etc/my.cnf, do something like this:

innodb_buffer_pool_size=524288000

By default, MySQL sets innodb_buffer_pool_size to 8MB.
500 megabytes = 524 288 000 bytes
]]></description>
			<content:encoded><![CDATA[<p>This usually happens when you&#8217;re doing massive queries on InnoDB tables:</p>
<pre>ERROR 1206 (HY000): The total number of locks exceeds the lock table size</pre>
<p>In /etc/my.cnf, do something like this:</p>
<pre>
innodb_buffer_pool_size=524288000
</pre>
<p>By default, MySQL sets innodb_buffer_pool_size to 8MB.</p>
<p>500 megabytes = 524 288 000 bytes</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2010/03/04/how-to-fix-the-total-number-of-locks-exceeds-the-lock-table-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atlas Remote Add 15-Second Back</title>
		<link>http://www.masaokitamura.com/2010/02/26/atlas-remote-add-15-second-back/</link>
		<comments>http://www.masaokitamura.com/2010/02/26/atlas-remote-add-15-second-back/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 00:32:51 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Cable]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=400</guid>
		<description><![CDATA[Most Comcast remotes have a counter-clockwise curly arrow that is pre-programmed for this code.
   1. Press the &#8220;Cable&#8221; button at the top of the remote to put it into Cable Box control mode.
   2. Press and hold the &#8220;Setup&#8221; button until the &#8220;Cable&#8221; button blinks twice.
   3. Type in [...]]]></description>
			<content:encoded><![CDATA[<p>Most Comcast remotes have a counter-clockwise curly arrow that is pre-programmed for this code.</p>
<p>   1. Press the &#8220;Cable&#8221; button at the top of the remote to put it into Cable Box control mode.<br />
   2. Press and hold the &#8220;Setup&#8221; button until the &#8220;Cable&#8221; button blinks twice.<br />
   3. Type in the code 994. The &#8220;Cable&#8221; button will blink twice.<br />
   4. Press (do not hold) the &#8220;Setup&#8221; button.<br />
   5. Type in the code 00179.<br />
   6. Press whatever button you want to map the 15-second back command to (ex: A / Lock). The &#8220;Cable&#8221; button will blink twice if successful.</p>
<p>&#8216;Note: To reprogram a &#8220;One For All&#8221; remote please see this page&#8211; http://www.hifi-remote.com/ofa/advanced.shtml</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2010/02/26/atlas-remote-add-15-second-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atlas Remote Add 30-Second Skip</title>
		<link>http://www.masaokitamura.com/2010/02/26/atlas-remote-add-30-second-skip/</link>
		<comments>http://www.masaokitamura.com/2010/02/26/atlas-remote-add-30-second-skip/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 00:31:32 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Cable]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=398</guid>
		<description><![CDATA[Add 30-Second Skip
The following technique can be used to map an unused or unneeded button on the &#8220;silver&#8221; remote to the 30-second skip command. Current versions of the i-Guide software will skip forward 30 seconds into a recording when this command is sent. A good choice is the &#8216;A / Lock&#8217; button since many users [...]]]></description>
			<content:encoded><![CDATA[<p>Add 30-Second Skip</p>
<p>The following technique can be used to map an unused or unneeded button on the &#8220;silver&#8221; remote to the 30-second skip command. Current versions of the i-Guide software will skip forward 30 seconds into a recording when this command is sent. A good choice is the &#8216;A / Lock&#8217; button since many users don&#8217;t need that function; you can feel both the &#8216;15-second-back&#8217; and &#8216;30-second-skip&#8217; buttons with one finger and move between them without looking. Another option is to reprogram the &#8216;15-second back&#8217; button, since PgDn already provides that functionality. Some users have found, however, that double-clicking the play button results in a 30-second skip forward.</p>
<p>   1. Press the &#8220;Cable&#8221; button at the top of the remote to put it into Cable Box control mode.<br />
   2. Press and hold the &#8220;Setup&#8221; button until the &#8220;Cable&#8221; button blinks twice.<br />
   3. Type in the code 994. The &#8220;Cable&#8221; button will blink twice.<br />
   4. Press (do not hold) the &#8220;Setup&#8221; button.<br />
   5. Type in the code 00173.<br />
   6. Press whatever button you want to map the 30-second skip command to (ex: A / Lock). The &#8220;Cable&#8221; button will blink twice if successful.</p>
<p>Note: This did not work on boxes with the Microsoft TV Foundation Interface (previously used in Washington State, but now converted back to the i-Guide software). As of firmware version 12.22 Insight Cable disabled this feature, but has been re-enabled in firmware version 16.35. Comcast software Version 73.44 disabled this feature, but the latest software, Version 74.53-3321, re-enables it (this has been confirmed on the 3416 w/ 16.20 firmware). See software for more info.</p>
<p>Note: As of software A25.2-2, the Page Up key is removed from some operators and others have programmed it as a 5 min skip.</p>
<p>Note: This code does work for the PACE TDC577X (vegas) standard def DVR with Comcast service (SW version 75.69-a25p2-2S1.r-8).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2010/02/26/atlas-remote-add-30-second-skip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Add Quick Launch Toolbar in Windows 7</title>
		<link>http://www.masaokitamura.com/2010/02/18/how-to-add-quick-launch-toolbar-to-windows-7/</link>
		<comments>http://www.masaokitamura.com/2010/02/18/how-to-add-quick-launch-toolbar-to-windows-7/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 10:24:03 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=394</guid>
		<description><![CDATA[Windows 7 does not have the QuickLaunch toolbar enabled by default.  Here&#8217;s how to add it:

Right-click the taskbar, then click &#8220;New Toolbar&#8221;
In the Folder input field, copy and paste the following line:

%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick  Launch

Click &#8220;Select Folder&#8221;
Unlock the taskbar.
Right click the Quick Launch toolbar and uncheck &#8220;Show Text&#8221; and &#8220;Show Title&#8221;.
Drag the Quick Launch [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 7 does not have the QuickLaunch toolbar enabled by default.  Here&#8217;s how to add it:</p>
<ul>
<li>Right-click the taskbar, then click &#8220;New Toolbar&#8221;</li>
<li>In the Folder input field, copy and paste the following line:</li>
</ul>
<pre>%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick  Launch</pre>
<ul>
<li>Click &#8220;Select Folder&#8221;</li>
<li>Unlock the taskbar.</li>
<li>Right click the Quick Launch toolbar and uncheck &#8220;Show Text&#8221; and &#8220;Show Title&#8221;.</li>
<li>Drag the Quick Launch toolbar to the desired location.</li>
<li>Double-click the dotted edge of the toolbar to auto-size the toolbar to the width of the icons.</li>
</ul>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2010/02/18/how-to-add-quick-launch-toolbar-to-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Fix &#8220;Metadata file does not match checksum&#8221; YUM error</title>
		<link>http://www.masaokitamura.com/2009/12/30/how-to-fix-metadata-file-does-not-match-checksum-yum-error/</link>
		<comments>http://www.masaokitamura.com/2009/12/30/how-to-fix-metadata-file-does-not-match-checksum-yum-error/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 00:21:35 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=385</guid>
		<description><![CDATA[
# yum install -y ImageMagick-perl
Loaded plugins: fastestmirror
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1 set to be updated
filelists.xml.gz                                [...]]]></description>
			<content:encoded><![CDATA[<pre>
# yum install -y ImageMagick-perl
Loaded plugins: fastestmirror
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1 set to be updated
filelists.xml.gz                                                             | 3.9 MB     00:09
http://apt.sw.be/redhat/el5/en/i386/rpmforge/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
filelists.xml.gz                                                             | 3.9 MB     00:29
http://ftp-stud.fht-esslingen.de/dag/redhat/el5/en/i386/rpmforge/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
filelists.xml.gz                                                             | 3.9 MB     00:12
http://fr2.rpmfind.net/linux/dag/redhat/el5/en/i386/rpmforge/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from rpmforge: [Errno 256] No more mirrors to try.
</pre>
<p>Run the following commands:</p>
<pre>
yum clean all
yum makecache
yum update
</pre>
<p>Then, it should work:</p>
<pre>
# yum install -y  ImageMagick-perl
Loaded plugins: fastestmirror
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                      Arch             Version                       Repository        Size
====================================================================================================
Installing:
 ImageMagick-perl             i386             6.2.8.0-4.el5_1.1             base             145 k

Transaction Summary
====================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)         

Total download size: 145 k
Downloading Packages:
ImageMagick-perl-6.2.8.0-4.el5_1.1.i386.rpm                                  | 145 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : ImageMagick-perl                                                             1/1 

Installed:
  ImageMagick-perl.i386 0:6.2.8.0-4.el5_1.1                                                         

Complete!
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2009/12/30/how-to-fix-metadata-file-does-not-match-checksum-yum-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl Version of PHP&#8217;s &#8220;ucwords&#8221; Function</title>
		<link>http://www.masaokitamura.com/2009/12/15/perl-version-of-phps-ucwords-function/</link>
		<comments>http://www.masaokitamura.com/2009/12/15/perl-version-of-phps-ucwords-function/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:28:20 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=382</guid>
		<description><![CDATA[
my $string = 'this is a string of text';
$string =~ s/\b(\w+)\b/ucfirst($1)/ge;
print "$string\n";

]]></description>
			<content:encoded><![CDATA[<pre>
my $string = 'this is a string of text';
$string =~ s/\b(\w+)\b/ucfirst($1)/ge;
print "$string\n";
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2009/12/15/perl-version-of-phps-ucwords-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Merge PHP Objects</title>
		<link>http://www.masaokitamura.com/2009/12/12/how-to-merge-php-objects/</link>
		<comments>http://www.masaokitamura.com/2009/12/12/how-to-merge-php-objects/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 00:17:10 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=379</guid>
		<description><![CDATA[
foreach($objectA as $k => $v) $objectB->$k = $v;

]]></description>
			<content:encoded><![CDATA[<pre>
foreach($objectA as $k => $v) $objectB->$k = $v;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2009/12/12/how-to-merge-php-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Change Your CPAN urllist</title>
		<link>http://www.masaokitamura.com/2009/09/17/how-to-change-your-cpan-urllist/</link>
		<comments>http://www.masaokitamura.com/2009/09/17/how-to-change-your-cpan-urllist/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 00:34:29 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Everything Else]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/2009/09/17/how-to-change-your-cpan-urllist/</guid>
		<description><![CDATA[
# cpan
cpan> o conf init
&#8230;
Connecting to ftp.perl.org&#124;64.27.65.115&#124;:21&#8230; connected.
Logging in as anonymous &#8230; Logged in!
==> SYST &#8230; done.    ==> PWD &#8230; done.
==> TYPE I &#8230; done.  ==> CWD /pub/CPAN &#8230; done.
==> SIZE MIRRORED.BY &#8230; 140951
==> PASV &#8230; done.    ==> RETR MIRRORED.BY &#8230; done.
Length: 140951 (138K)
100%[===========================================================>] 140,951    [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
# cpan<br />
cpan> o conf init</p>
<p>&#8230;</p>
<p>Connecting to ftp.perl.org|64.27.65.115|:21&#8230; connected.<br />
Logging in as anonymous &#8230; Logged in!<br />
==> SYST &#8230; done.    ==> PWD &#8230; done.<br />
==> TYPE I &#8230; done.  ==> CWD /pub/CPAN &#8230; done.<br />
==> SIZE MIRRORED.BY &#8230; 140951<br />
==> PASV &#8230; done.    ==> RETR MIRRORED.BY &#8230; done.<br />
Length: 140951 (138K)</p>
<p>100%[===========================================================>] 140,951      374K/s   in 0.4s</p>
<p>17:21:36 (374 KB/s) &#8211; `-&#8217; saved [140951]</p>
<p>Now we need to know where your favorite CPAN sites are located. Push<br />
a few sites onto the array (just in case the first on the array won&#8217;t<br />
work). If you are mirroring CPAN to your local workstation, specify a<br />
file: URL.</p>
<p>First, pick a nearby continent and country (you can pick several of<br />
each, separated by spaces, or none if you just want to keep your<br />
existing selections). Then, you will be presented with a list of URLs<br />
of CPAN mirrors in the countries you selected, along with previously<br />
selected URLs. Select some of those URLs, or just keep the old list.<br />
Finally, you will be prompted for any extra URLs &#8212; file:, ftp:, or<br />
http: &#8212; that host a CPAN mirror.</p>
<p>(1) Africa<br />
(2) Asia<br />
(3) Australasia<br />
(4) Central America<br />
(5) Europe<br />
(6) North America<br />
(7) Oceania<br />
(8) South America<br />
Select your continent (or several nearby continents) []
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2009/09/17/how-to-change-your-cpan-urllist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Flash Firefox Plugin for 64-bit Fedora Linux</title>
		<link>http://www.masaokitamura.com/2009/09/13/how-to-install-flash-firefox-plugin-for-64-bit-fedora-linux/</link>
		<comments>http://www.masaokitamura.com/2009/09/13/how-to-install-flash-firefox-plugin-for-64-bit-fedora-linux/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 11:23:33 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=360</guid>
		<description><![CDATA[
Download the plugin here.
Tar -zxvf the tar.gz file.
Copy that file to: /usr/lib64/mozilla/plugins
Restart firefox.
Check &#8220;about:plugins&#8221; in your address bar to see the Flash plugin installed

Plugin file should look like this:

/usr/lib64/mozilla/plugins/libflashplayer.so

about:plugins should look like this:

Shockwave Flash
    File name: nswrapper_64_64.libflashplayer.so
    Shockwave Flash 10.0 r32

]]></description>
			<content:encoded><![CDATA[<ol>
<li>Download the plugin <a href="http://labs.adobe.com/downloads/flashplayer10.html">here</a>.</li>
<li>Tar -zxvf the tar.gz file.</li>
<li>Copy that file to: /usr/lib64/mozilla/plugins</li>
<li>Restart firefox.</li>
<li>Check &#8220;about:plugins&#8221; in your address bar to see the Flash plugin installed</li>
</ol>
<p>Plugin file should look like this:</p>
<blockquote><p>
/usr/lib64/mozilla/plugins/libflashplayer.so
</p></blockquote>
<p>about:plugins should look like this:</p>
<blockquote><p>
Shockwave Flash</p>
<p>    File name: nswrapper_64_64.libflashplayer.so<br />
    Shockwave Flash 10.0 r32
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2009/09/13/how-to-install-flash-firefox-plugin-for-64-bit-fedora-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No recognized SSL/TLS toolkit detected</title>
		<link>http://www.masaokitamura.com/2009/09/05/no-recognized-ssltls-toolkit-detected/</link>
		<comments>http://www.masaokitamura.com/2009/09/05/no-recognized-ssltls-toolkit-detected/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 21:43:53 +0000</pubDate>
		<dc:creator>Masao</dc:creator>
				<category><![CDATA[Errors]]></category>

		<guid isPermaLink="false">http://www.masaokitamura.com/?p=357</guid>
		<description><![CDATA[While running Apache configure, if you get this error:
No recognized SSL/TLS toolkit detected
&#8230;do this:
yum install -y openssl-devel       # Required for Apache configure

]]></description>
			<content:encoded><![CDATA[<p>While running Apache configure, if you get this error:</p>
<blockquote><p>No recognized SSL/TLS toolkit detected</p></blockquote>
<p>&#8230;do this:</p>
<blockquote><p>yum install -y openssl-devel       # Required for Apache configure
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.masaokitamura.com/2009/09/05/no-recognized-ssltls-toolkit-detected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
