<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/0.72" -->
<rdf:RDF
	xmlns="http://purl.org/rss/1.0/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:admin="http://webns.net/mvcb/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>
<channel rdf:about="http://tongtao.com/blog/index.php">
	<title>Tao's Blog</title>
	<link>http://tongtao.com/blog/index.php</link>
	<description>Tao's Random Thoughts</description>
	<dc:language>en-us</dc:language>
	<dc:date>2010-09-04T17:27:09</dc:date>
	<dc:creator>to&#110;gtao&#64;g&#109;&#97;il.&#99;&#111;m</dc:creator>
	<admin:generatorAgent rdf:resource="http://wordpress.org/?v=0.72"/>
	<admin:errorReportsTo rdf:resource="mailto:&#116;on&#103;t&#97;o&#64;&#103;m&#97;il&#46;c&#111;m"/>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
	<items>
		<rdf:Seq>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=377&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=376&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=375&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=374&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=372&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=371&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=370&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=369&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=368&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=367&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=366&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=365&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=364&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=363&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=362&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=361&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=360&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=359&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=358&amp;c=1"/>
					<rdf:li rdf:resource="http://tongtao.com/blog/index.php?p=357&amp;c=1"/>
				</rdf:Seq>
	</items>
</channel>
<item rdf:about="http://tongtao.com/blog/index.php?p=377&amp;c=1">
	<title>Concatenate text files in Windows</title>
	<link>http://tongtao.com/blog/index.php?p=377&amp;c=1</link>
	<dc:date>2010-07-12T16:43:51</dc:date>
	<dc:creator>tao (mailto:tongtao&#64;&#103;m&#97;il.&#99;om)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Having a whole bunch of text files in a folder, want to combine them into a single big text file. 

First, make sure sure the file names are in order, say, 01.txt, 02.txt, 03.txt, etc. 

Then, go to CMD window, type the following command: 

for %f in (*.txt) do type ...</description>
	<content:encoded><![CDATA[<p>Having a whole bunch of text files in a folder, want to combine them into a single big text file. </p>
	<p>First, make sure sure the file names are in order, say, 01.txt, 02.txt, 03.txt, etc. </p>
	<p>Then, go to CMD window, type the following command: </p>
	<p><code>for %f in (*.txt) do type &#8220;%f&#8221; >> myBigTextFile.txt</code></p>
	<p>The myBigTextFile.txt will contain all the text file in the directory. </p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=376&amp;c=1">
	<title>Type Chinese characters into terminal Window</title>
	<link>http://tongtao.com/blog/index.php?p=376&amp;c=1</link>
	<dc:date>2010-06-24T21:16:36</dc:date>
	<dc:creator>tao (mailto:t&#111;n&#103;t&#97;o&#64;g&#109;a&#105;&#108;&#46;&#99;o&#109;)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>I am using a telnet program call S-Term from time to time. However, I found I cannot type Chinese characters into it with Google Chinese IME. I am using Windows XP SP3, of course. 

S-Term download page

I discovered that I can copy and paste the Chinese characters inside the s-term ...</description>
	<content:encoded><![CDATA[<p>I am using a telnet program call S-Term from time to time. However, I found I cannot type Chinese characters into it with Google Chinese IME. I am using Windows XP SP3, of course. </p>
	<p><a href=http://www.tucows.com/preview/316871 target=_>S-Term download page</a></p>
	<p>I discovered that I can copy and paste the Chinese characters inside the s-term window, but not from IME or other Windows. I suspect that this program does not accept Unicode Chinese characters, but only GB2312 characters. </p>
	<p>Through trial and error, I discovered the solution:</p>
	<ol>
	<li>Go to <i>Region and Language Options</i> control panel</li>
	<li>Go to <i>Advanced</i> tab</li>
	<li>Select <i>Chinese (PRC)</i> See picture below</li>
	<li>Re-start the computer</li>
	</ol>
	<p><img src=http://q1aplg.blu.livefilestore.com/y1pWYScCEIMAMigxYyY01KIDXe4TnsLnyVHHAvtvUT4CjJFAZsU806Me8UL_zZKm0-4BVzenLfsr0QJDGDWnJVaCXIoMVfZlh2c/Advanced.png?psid=1></p>
	<p>Now I can type Chinese and copy &#38; paste any Chinese characters from the system. </p>
	<p>&#8211;<br />
<b>Putty</b></p>
	<p>A friend pointed out, using putty can avoid this change: putty support Unicode perfectly well. You need to change the default font to a Chinese font, and change the Translation setting to UTF-8 or font encoding. </p>
	<p><a href=http://www.chiark.greenend.org.uk/~sgtatham/putty/>putty home page</a></p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=375&amp;c=1">
	<title>Firefox: Change the default search vendor</title>
	<link>http://tongtao.com/blog/index.php?p=375&amp;c=1</link>
	<dc:date>2010-06-19T13:32:36</dc:date>
	<dc:creator>tao (mailto:&#116;ongta&#111;&#64;gm&#97;i&#108;.com)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Firefox: Change the default search vendor

For some reason, the default search of Firefox for Windows is Yahoo, but the Firefox for Macintosh is Google.

To change the default search site,

Alt-D to Location Bar
Type about:config
Search for browser.search.defaultenginename
Double Click it
Type in Google in the resultant dialog box
Restart Firefox


After this, whenever you type Ctrl-K, ...</description>
	<content:encoded><![CDATA[<p>Firefox: Change the default search vendor</p>
	<p>For some reason, the default search of Firefox for Windows is Yahoo, but the Firefox for Macintosh is Google.</p>
	<p>To change the default search site,</p>
	<ol>
	<li>Alt-D to Location Bar</li>
	<li>Type about:config</li>
	<li>Search for <i>browser.search.defaultenginename</i></li>
	<li>Double Click it</li>
	<li>Type in Google in the resultant dialog box</li>
	<li>Restart Firefox</li>
	</ol>
	<p>After this, whenever you type Ctrl-K, Google will come up, instead of Yahoo. On my laptop, since the screen real estate is a premium, I usually turn off the Navigation bar, hence the need of Ctrl-K. Otherwise, Ctrl-E can bring the keyboard focus to the search box on the Navigation bar.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=374&amp;c=1">
	<title>Sony eBook Library Program annoyance</title>
	<link>http://tongtao.com/blog/index.php?p=374&amp;c=1</link>
	<dc:date>2010-06-17T14:35:36</dc:date>
	<dc:creator>tao (mailto:&#116;ong&#116;ao&#64;g&#109;&#97;&#105;&#108;&#46;c&#111;&#109;)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>This program, Sony eBook Library always jumps out whenever I plug in my Sony PRS-505 for a recharge. It annoys me no end.

Discovered how to disable it in Windows XP:

Win-R, type msconfig
Click the Startup tab, 
Find eBook Library Launcher, click it off

Now the program will not jump out to bother ...</description>
	<content:encoded><![CDATA[<p>This program, Sony eBook Library always jumps out whenever I plug in my Sony PRS-505 for a recharge. It annoys me no end.</p>
	<p>Discovered how to disable it in Windows XP:</p>
	<ol>
	<li>Win-R, type msconfig</li>
	<li>Click the Startup tab, </li>
	<li>Find eBook Library Launcher, click it off</li>
	</ol>
	<p>Now the program will not jump out to bother me. What a relieve.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=372&amp;c=1">
	<title>Google Chrome 5</title>
	<link>http://tongtao.com/blog/index.php?p=372&amp;c=1</link>
	<dc:date>2010-05-29T11:46:04</dc:date>
	<dc:creator>tao (mailto:to&#110;g&#116;ao&#64;gmail.&#99;o&#109;)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Just realized Google Chrome has upgraded to version 5. Several months ago, I tested version 4, wrote something about it. 

Some impressions:

It is very fast. I did not do any benchmark test, but definitely it feels more responsive than my IE8 and Firefox 3.6.6. Browser is now the center piece ...</description>
	<content:encoded><![CDATA[<p>Just realized Google Chrome has upgraded to version 5. Several months ago, I tested version 4, wrote <a href=http://tongtao.com/blog/index.php?p=363>something about it</a>. </p>
	<p>Some impressions:</p>
	<p>It is very fast. I did not do any benchmark test, but definitely it feels more responsive than my IE8 and Firefox 3.6.6. Browser is now the center piece of my computing, the performance is very important. Nowadays, almost all my documents are on Google and other online services, so called <a href=http://tongtao.com/myblog/index.php?p=198>cloud</a>. </p>
	<p>However, I do find somethings annoying about Google Chrome: </p>
	<p>It reserves Alt-D, Alt-E, and Alt-F for its own usage. Alt-D is to put the keyboard focus to the address bar, Alt-E opens the page icon, Alt-F opens the tools icon, just like version 4. </p>
	<p>Whenever I want to search Wikipedia, if I use Firefox, I just enter Alt-F, but with Chrome, I must Alt-<strong>Shift</strong>-F, quite annoying. Since I use certain shortcuts a lot, one more extra keystroke is too much. </p>
	<p>Other than that, Chrome 5 is a very refined, responsive, and robust browser. It is becoming my main browser, like the <a href=http://tongtao.com/blog/index.php?p=298>day in September, 2008</a>.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=371&amp;c=1">
	<title>SUPER, a free video utility</title>
	<link>http://tongtao.com/blog/index.php?p=371&amp;c=1</link>
	<dc:date>2010-05-27T17:18:16</dc:date>
	<dc:creator>tao (mailto:&#116;&#111;&#110;&#103;t&#97;o&#64;g&#109;a&#105;&#108;&#46;&#99;&#111;&#109;)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>If you need to transcode video files for different media players (iPod, iRiver, or Archos players), you will need a good and fast video transcoder. Recently I tested a free utility called SUPER, and it works superbly.

According to Wikipedia,


SUPER is a closed-source freeware front-end for open-source software video players and ...</description>
	<content:encoded><![CDATA[<p>If you need to transcode video files for different media players (iPod, iRiver, or Archos players), you will need a good and fast video transcoder. Recently I tested a free utility called SUPER, and it works superbly.</p>
	<p>According to Wikipedia,</p>
	<blockquote><p>
SUPER is a closed-source freeware front-end for open-source software video players and encoders provided by the FFmpeg, MEncoder, MPlayer, x264, ffmpeg2theora, musepack, Monkey&#8217;s Audio, True Audio, WavPack, libavcodec, and the Theora/Vorbis RealProducer plugIn projects. SUPER provides a graphical user interface to these back-end programs, which are command-line based.
</p></blockquote>
	<p><a href=http://en.wikipedia.org/wiki/SUPER_%28software%29>SUPER Wikipedia entry</a></p>
	<p><a href=http://www.erightsoft.com/SUPER.html>SUPER Official site</a></p>
	<p><a href=http://www.videohelp.com/tools/SUPER#guides>Guides and documents</a></p>
	<p>One caveat: the official site of SUPER is rather confusing and strange, you need to click through a couple of pages before you can download the setup binary file. So read it carefully, otherwise you may click on some other software download pages inadvertently.</p>
	<p>Also, it automatically check the updates periodically, if a new version exists, you must download and install it. It may annoy some people.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=370&amp;c=1">
	<title>My trouble with my Nokia 770</title>
	<link>http://tongtao.com/blog/index.php?p=370&amp;c=1</link>
	<dc:date>2010-05-25T22:14:10</dc:date>
	<dc:creator>tao (mailto:t&#111;&#110;&#103;t&#97;o&#64;gm&#97;&#105;l.&#99;&#111;m)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>The Nokia 770 is a strange animal. It is not a phone, although it displays a huge Nokia logo on its face. Nokia labeled it "Internet Tablet", lest people mistake it for an Internet capsule, considering now Apple markets both a tablet and a capsule.



It came out around 2005, one ...</description>
	<content:encoded><![CDATA[<p>The Nokia 770 is a strange animal. It is not a phone, although it displays a huge Nokia logo on its face. Nokia labeled it &#8220;Internet Tablet", lest people mistake it for an Internet capsule, considering now Apple markets both a tablet and a capsule.</p>
	<p><img src=http://tongtao.com/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3649&#38;g2_serialNumber=1></p>
	<p>It came out around 2005, one can think it as a fore-runner of iPad. Basically, it is a handheld computer, running the Maemo operating system, a variant of Debian Linux. It has Wi-Fi, Bluetooth. It has no physical keyboard, although its successors, Nokia 800, and Nokia 810, etc all sports a decent qwerty keyboard.</p>
	<p>It does not have the fancy interface of an iPad, but basically doing the same stuff: internet browsing, emailing, and sometimes basic note-taking, although the lack of a keyboard severely restricted its use as a note-taking device. In comparison, Nokia 810 is a much attractive successor.</p>
	<p><img src=http://tongtao.com/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3651&#38;g2_serialNumber=1></p>
	<p>I used to browse the internet through Wi-Fi on my bed. However, about a year ago, I moved to my current apartment. To my chagrin, I can no longer connect to my wireless router! Sometimes, I can pickup Optimum Wi-Fi outside. Optimum Wi-Fi is a service provided by CableVision, free for its internet service subscribers.</p>
	<p>So the problem is not hardware, must be some software issue. In a sleepless night, I discovered it was a known bug specific to Nokia 770, and Nokia pretty much abandoned the product, concentrating on its successors, namely N810 and N900. The status of the bug report is &#8220;Won&#8217;t Fix&#8221;.</p>
	<p>Some capable hand discovered a fix:</p>
	<p><a href=https://bugs.maemo.org/show_bug.cgi?id=2082 target=_>Nokia 770 Wi-Fi bug &#38; possible work-around</a></p>
	<blockquote><p>
Comment #39 from Xiaopeng Wang   2009-09-16 00:14:13 GMT+3 [reply]<br />
(In reply to comment #38)<br />
I agree if someone can make or port a GUI tool to do this(e.g., report error<br />
and handle dhcp stuff) that would be the best. Here I just list what&#8217;s working<br />
on my 770 at home:</p>
	<p>OS: os2007HE<br />
installed packages: xterm, gainroot, wireless-tools</p>
	<p>step 1: get root access in a xterm<br />
step 2: run these commands in the xterm:<br />
ifconfig wlan0 up<br />
iwconfig wlan0 key (your wep key)<br />
iwconfig wlan0 mode managed<br />
iwconfig wlan0 essid (your ssid)<br />
ifconfig wlan0 (your ip) netmask (your netmask)<br />
route add -net 0.0.0.0 netmask 0.0.0.0 gw (your default gateway)<br />
echo &#8220;nameserver (your dns server)&#8221; > /etc/resolv.conf<br />
gconftool -s -t string /system/osso/connectivity/IAP/DEFAULT/type DUMMY</p>
	<p>In the above commands, replace &#8220;(blahblah)&#8221; with parameters of your<br />
network(without the &#8216;(&#8217; and &#8216;)&#8217;).<br />
Then minimo should work fine; when using any built-in applications and the 770<br />
asks you to choose a connection, always choose &#8220;DEFAULT&#8221; from the list, and<br />
then everything should work fine.<br />
You can also put all the commands in a script to make it easier to run it<br />
again.
</p></blockquote>
	<p>The problem is, I have difficulties to install new applications on my Nokia 770, having a problem with the Application Manager, not very different from the following description:</p>
	<p><a href=http://talk.maemo.org/showthread.php?t=52200 target=_> A Discussion on Application Manager</a></p>
	<p>Without the ability to install new applications, I cannot get the root access; without the root access, I cannot attempt the fix mentioned by Mr. Xiaopeng Wang.</p>
	<p>I have two choices: re-flash my unit, or live with it, in its current incarnation. Considering its advanced age, I chose the second option. At least I still have my FBReader on it to make it a good eBook reader capable of doing ePub eBooks.</p>
	<p><img src=http://tongtao.com/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3653&#38;g2_serialNumber=1></p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=369&amp;c=1">
	<title>Video files from my digital camera</title>
	<link>http://tongtao.com/blog/index.php?p=369&amp;c=1</link>
	<dc:date>2010-05-23T20:36:26</dc:date>
	<dc:creator>tao (mailto:&#116;o&#110;gt&#97;&#111;&#64;g&#109;a&#105;&#108;&#46;co&#109;)</dc:creator>
	<dc:subject>Technology</dc:subject>
	<description>The video shot with my Canon PowerShot SD1000 is rather big, more than 100MB for a single minute's worth, quite difficult to transfer via email. Also, the playback is flaky is many cases.

Check the manual, the SD1000 use M-JPEG codec to compress the video data. M-JPEG is a rather inefficient ...</description>
	<content:encoded><![CDATA[<p>The video shot with my Canon PowerShot SD1000 is rather big, more than 100MB for a single minute&#8217;s worth, quite difficult to transfer via email. Also, the playback is flaky is many cases.</p>
	<p>Check the manual, the SD1000 use M-JPEG codec to compress the video data. M-JPEG is a rather inefficient video compression format, it is an intra-frame compression scheme, meaning it will not take account of similarity between frames. As a result, the final image size is huge compared with inter-frame compression schemes, such as MPEG-1, or H.263.</p>
	<p>The upside is that intra-frame is easier to edit with non-linear editing tools, but the huge size offset the benefits.</p>
	<p>For simply linear editing, the open-sourced VirtualDub is an ideal tool.</p>
	<p><a href=http://www.virtualdub.org/index.html target=_>VirtualDub</a></p>
	<p>One good thing about VirtualDub is, it can save and re-use processing settings, such as video and audio codec, filters, and other whistles and bells. The performance is good, and it is open source, free.</p>
	<p>With MP4 compression codec, VirtualDub can reduce the video file size ten-folds.</p>
	<p>It takes some time to learn and master it. Read the manual, and the <a href=http://www.virtualdub.org/virtualdub_docs.html target=_>documentation</a>, as always.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=368&amp;c=1">
	<title>Testing Picasa Web, no go</title>
	<link>http://tongtao.com/blog/index.php?p=368&amp;c=1</link>
	<dc:date>2010-05-23T13:10:11</dc:date>
	<dc:creator>tao (mailto:&#116;o&#110;&#103;&#116;&#97;o&#64;&#103;m&#97;il&#46;com)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>I was playing with Picasa Web this morning. I used to use Picasa years ago, but I discovered that it is not suitable for my needs, so I uninstalled it from my system.

Picasa Web

The other day, the thought came to me that why not try their web service, it should ...</description>
	<content:encoded><![CDATA[<p>I was playing with Picasa Web this morning. I used to use Picasa years ago, but I discovered that it is not suitable for my needs, so I uninstalled it from my system.</p>
	<p><a href=http://picasaweb.google.com/ target=_>Picasa Web</a></p>
	<p>The other day, the thought came to me that why not try their web service, it should be quite similar to Flickr, Windows Live Photos, or Facebook.</p>
	<p>At first, it seemed so. However, when I tried to upload some photos, I realized it only allows me to upload 5 pictures a time, a rather tedious process if one happens to have a bunch to upload. Other services, like Facebook, Flickr, all sport some sort of upload tools to make the uploading really easy inside the browser. But for Picasa Web, one does not have this option. If you are using IE, <em>and you are lucky</em>, you can install the ActiveX upload tool, similar to Windows Live Photo Uploading tool. I mean, if you are lucky, because in my case, the ActiveX control failed to install on my computer.</p>
	<p>I further tested my system, it seems it cannot install new ActiveX controls. The existing ones are working fine, such as the Windows Live Photo Uploading tool. When I tried to install the Flash player ActiveX control, it crashed. I managed to manually install the Flash ActiveX control, but I don&#8217;t have such an option for Picasa Web Photo Uploading tool.</p>
	<p>Maybe that&#8217;s a way for Google to persuade you to install the Picasa full application. But I do not really need it, just to test the web interface. My system is already cluttered with millions of applications, enough is enough.</p>
	<p>I will stick to Facebook, and Windows Live, for now.</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=367&amp;c=1">
	<title>Accesskeys for Facebook &#38; Twitter</title>
	<link>http://tongtao.com/blog/index.php?p=367&amp;c=1</link>
	<dc:date>2010-02-26T21:15:09</dc:date>
	<dc:creator>tao (mailto:&#116;o&#110;g&#116;&#97;o&#64;&#103;m&#97;&#105;&#108;.c&#111;&#109;)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Accesskeys are useful ways to navigate web pages using the keyboard instead of the mouse. For introduction, check the following pages:

Accesskeys: Unlocking Hidden Navigation

Access Keys Wikipedia entry

Fortunately, both Twitter and Facebook use access keys for easy navigation and accessibility:

Twitter accesskeys: 


0: Skip Past Navigation

1: Home

2: Skip to Navigation

3: Jump to ...</description>
	<content:encoded><![CDATA[<p>Accesskeys are useful ways to navigate web pages using the keyboard instead of the mouse. For introduction, check the following pages:</p>
	<p><a href=http://www.alistapart.com/articles/accesskeys/ target=_>Accesskeys: Unlocking Hidden Navigation</a></p>
	<p><a href=http://en.wikipedia.org/wiki/Access_key target=_>Access Keys Wikipedia entry</a></p>
	<p>Fortunately, both Twitter and Facebook use access keys for easy navigation and accessibility:</p>
	<p><b>Twitter accesskeys: </b></p>
	<p>0: Skip Past Navigation</p>
	<p>1: Home</p>
	<p>2: Skip to Navigation</p>
	<p>3: Jump to the sidebar</p>
	<p>h: Home</p>
	<p>p: Profile</p>
	<p>=: Find People</p>
	<p>s: Settings Link</p>
	<p>?: Help</p>
	<p>l (Letter L): Sign out</p>
	<p>u: Text area</p>
	<p>>: Direct Message</p>
	<p>n: New Result Notification</p>
	<p>m: Reply</p>
	<p>d: Inbox</p>
	<p>i: Inbox</p>
	<p>o: Send</p>
	<p>f: Favorites</p>
	<p>r: Retweets</p>
	<p>/: Search</p>
	<p><b>Facebook accesskeys:</b></p>
	<p>1: Home</p>
	<p>2: Friend Request</p>
	<p>3: Messages</p>
	<p>4: Notifications</p>
	<p>5: Home</p>
	<p>6: Profile</p>
	<p>7: Account
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=366&amp;c=1">
	<title>Big snow, or blizzard</title>
	<link>http://tongtao.com/blog/index.php?p=366&amp;c=1</link>
	<dc:date>2010-02-10T22:14:41</dc:date>
	<dc:creator>tao (mailto:&#116;&#111;&#110;&#103;&#116;a&#111;&#64;&#103;&#109;ai&#108;.c&#111;m)</dc:creator>
	<dc:subject>Digital Life</dc:subject>
	<description>

Six snow photos taken with my cell phone


A really big snow in the city. Commuting was a mess. Hopefully tomorrow will be better, a better tomorrow, that's a movie's title, isn't it?  </description>
	<content:encoded><![CDATA[<p><a href="http://cid-9ebb5dcfb6501bed.skydrive.live.com/browse.aspx/Snow%202010-02-10" target="_blank"><img src="http://flsmfg.blu.livefilestore.com/y1pqfS-ND7v1-L7BlYVWW4HCRWNHTqj7ilC8fJ-QFJ_VAvWX_R1QT-bekbjjBTAsx7eOUFH4p97FVQZ-oETiAOA72fJMKspIKpq/Snow2010-02-10-3.jpg" alt="" /></p>
	<p>Six snow photos taken with my cell phone<br />
</a></p>
	<p>A really big snow in the city. Commuting was a mess. Hopefully tomorrow will be better, a better tomorrow, that&#8217;s a movie&#8217;s title, isn&#8217;t it?
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=365&amp;c=1">
	<title>YouTube &#38; Blu-Ray player</title>
	<link>http://tongtao.com/blog/index.php?p=365&amp;c=1</link>
	<dc:date>2010-02-10T19:02:20</dc:date>
	<dc:creator>tao (mailto:t&#111;&#110;gt&#97;&#111;&#64;gmail&#46;com)</dc:creator>
	<dc:subject>Digital Life</dc:subject>
	<description>I have a Panasonic DMP-BD605 Blu-Ray player, which fits my Panasonic TC-42X1 TV perfectly: they share the same remote control codes, so I can use only one remote control for both TV and Blu-ray player. With the Viera Link control mechanism, TV and player can communicate with each other: if ...</description>
	<content:encoded><![CDATA[<p>I have a Panasonic DMP-BD605 Blu-Ray player, which fits my Panasonic TC-42X1 TV perfectly: they share the same remote control codes, so I can use only one remote control for both TV and Blu-ray player. With the Viera Link control mechanism, TV and player can communicate with each other: if I turn on the player, it will automatically turn on the TV via the HDMI interface, etc.</p>
	<p><a href="http://www.panasonic.net/avc/vieralink/" target="_blank">Viera Link</a></p>
	<p>The player has YouTube player, Amazon Video player, Google Picasa, but NO Netflix! That&#8217;s the biggest issue. I hope sometime later, they will add the functionality through a software update, but it all depends on the business deals between Panasonic and Netflix. In the time being, I just use my computer to watch Netflix, with HDMI and wireless keyboard and trackpad.</p>
	<p>Previously, I never paid much attentions to the YouTube account details: Subscriptions, Channels, Playlists, and Favorites. All I need is to use YouTube to find videos and watch right there.</p>
	<p>Now after I played with the Panasonic DMP-BD605&#8217;s YouTube player, I realized that the best way to enjoy this feature is to populate my favorites and playlists on my computer, then watch the video content on my Blu-ray player. When I log on to my YouTube account with the Blu-ray player, I can directly jump into my playlists, favorites, and subscriptions; it beats searching YouTube video content with the remote control numeric keypad pants off.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=364&amp;c=1">
	<title>Tiger System Preferences</title>
	<link>http://tongtao.com/blog/index.php?p=364&amp;c=1</link>
	<dc:date>2010-02-09T22:56:08</dc:date>
	<dc:creator>tao (mailto:&#116;&#111;n&#103;tao&#64;g&#109;ai&#108;.&#99;&#111;m)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Yesterday, discovered on one of my Tiger laptop, the search box of the System Preferences behaved funny.



Usually, when you type something in the search box of the System Preferences window, the spotlight will highlight the relevant items, so one can easily open the preference with arrow keys and enter key.

However, ...</description>
	<content:encoded><![CDATA[<p>Yesterday, discovered on one of my Tiger laptop, the search box of the System Preferences behaved funny.</p>
	<p><img src="http://tongtao.com/image/blog/syspref1.png" alt="" /></p>
	<p>Usually, when you type something in the search box of the System Preferences window, the spotlight will highlight the relevant items, so one can easily open the preference with arrow keys and enter key.</p>
	<p>However, in my case, I typed something, the whole window darkened, but nothing was highlighted. Very strange. I created a new user, logged on, no such problem, must be my account settings. Logically, I went to the ~/Library folder to have a look.</p>
	<p>The first thing I noticed was the whole ~/Library folder is rather big, more than 500 MB. The Caches occupied the lion&#8217;s share, more than 400 MB. Searched the internet, many suggested that it can be safely removed. I made a copy, trashed the ~/Library/Caches folder.</p>
	<p>Tested, the System Preferences search box is back to normal.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=363&amp;c=1">
	<title>Google Chrome browser, revisited</title>
	<link>http://tongtao.com/blog/index.php?p=363&amp;c=1</link>
	<dc:date>2010-02-07T17:40:15</dc:date>
	<dc:creator>tao (mailto:t&#111;n&#103;tao&#64;gma&#105;l.&#99;&#111;m)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Earlier last year, I started to use the first version of Google Chrome as my main web browser on Windows PC. It is sleek, fast, and behaves well with the accesskey HTML attributes. Also, it conforms with my minimalistic UI philosophy perfectly.

However, with the advent of the very next version, ...</description>
	<content:encoded><![CDATA[<p>Earlier last year, I started to use the first version of Google Chrome as my main web browser on Windows PC. It is sleek, fast, and behaves well with the accesskey HTML attributes. Also, it conforms with my minimalistic UI philosophy perfectly.</p>
	<p>However, with the advent of the very next version, Chrome 2, the accesskey support was unceremoniously broken. It is a big deal for me to use the accesskey attributes, since my customized GTD PHP and other online applications use a ton of them. I cannot image myself using the web apps without keyboard shortcuts. Life is too short for mousing around, also, screens are too big nowadays.</p>
	<p>I promptly switched to Firefox. It supported accesskey attributes exquisitely, with the about:config options, one can easily change the default accesskey from Alt-Shift to a more convenient single Alt key.</p>
	<p>Last month, the much anticipated Firefox 3.6 came out. It is faster, better looking, and more Chrome look-like. The new tab opens next to the originating tab, similar to Chrome. Persona is just another moniker for Chrome Theme. The accesskey functionality is intact. I like this new version.</p>
	<p>In the mean time, Chrome underwent two more incarnations, version 3 and 4. Both restored the accesskey support, but with some variations. With Chrome 3, one can use the accesskey D, E, F, but with Chrome 4, those keys are used by the browser itself.</p>
	<p>Normally, I expect the accesskey overrides the default browser keyboard shortcuts, for example, if Alt-A is used by both web page and browser, the browser should honor the web page first. But a lot of browser treats them differently and inconsistently. For example, Alt-D always put focus on the address bar in Internet Explorer, and Chrome, but Firefox honors the web page accesskey first.</p>
	<p>In Internet Explorer, Alt-A goes to the favorite menu, but when web page uses accesskey A, it honors the web page first. But Alt-D is a different story. Maybe Alt-D is too important to mess around, since it puts keyboard focus right to the address bar? By the way, in Chrome and Firefox, Ctrl-L does the same in addition to Alt-D.</p>
	<p>Anyway, Chrome 4 chose to ignore the Alt-D, E, F in the web pages. Instead, Alt-D goes to the address bar, Alt-E opens the page icon, and Alt-F to opens the tool icon. If the web page happens to contain D, E, F accesskey links, one must use Shift-Alt-D, Shift-Alt-E, and Shift-Alt-F to access them.</p>
	<p>For now, Firefox 3.6 is my main browser on Mac OS X and Windows. Consistency is always good.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=362&amp;c=1">
	<title>How to tell if a Mac OS X application is Carbon or Cocoa?</title>
	<link>http://tongtao.com/blog/index.php?p=362&amp;c=1</link>
	<dc:date>2010-02-07T15:43:48</dc:date>
	<dc:creator>tao (mailto:&#116;o&#110;g&#116;ao&#64;&#103;&#109;&#97;&#105;l.c&#111;m)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>There is a command line program called file, here are some examples:

Cocoa Application:

$ file /Applications/Fetch.app/Contents/MacOS/Fetch
/Applications/Fetch.app/Contents/MacOS/Fetch: Mach-O universal binary with 2 architectures
/Applications/Fetch.app/Contents/MacOS/Fetch (for architecture ppc):    Mach-O executable ppc
/Applications/Fetch.app/Contents/MacOS/Fetch (for architecture i386):   Mach-O executable i386

Carbon Application:

$ file /Applications/Adobe\ Photoshop\ 7/Adobe\ Photoshop\ 7.0/Contents/MacOS/Adobe\ Photoshop\ 7.0
/Applications/Adobe Photoshop 7/Adobe Photoshop ...</description>
	<content:encoded><![CDATA[<p>There is a command line program called <strong>file</strong>, here are some examples:</p>
	<p>Cocoa Application:<br />
<code><br />
$ file /Applications/Fetch.app/Contents/MacOS/Fetch<br />
/Applications/Fetch.app/Contents/MacOS/Fetch: Mach-O universal binary with 2 architectures<br />
/Applications/Fetch.app/Contents/MacOS/Fetch (for architecture ppc):    Mach-O executable ppc<br />
/Applications/Fetch.app/Contents/MacOS/Fetch (for architecture i386):   Mach-O executable i386<br />
</code><br />
Carbon Application:<br />
<code><br />
$ file /Applications/Adobe\ Photoshop\ 7/Adobe\ Photoshop\ 7.0/Contents/MacOS/Adobe\ Photoshop\ 7.0<br />
/Applications/Adobe Photoshop 7/Adobe Photoshop 7.0/Contents/MacOS/Adobe Photoshop 7.0: header for PowerPC PEF executable<br />
</code>
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=361&amp;c=1">
	<title>PowerBook G4 disc loading</title>
	<link>http://tongtao.com/blog/index.php?p=361&amp;c=1</link>
	<dc:date>2010-02-07T15:15:34</dc:date>
	<dc:creator>tao (mailto:&#116;on&#103;t&#97;o&#64;g&#109;&#97;il&#46;com)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>I am still using a 2005 PowerBook G4. Last night, while wakening the machine from standing by mode, I heard some noise in the CD/DVD drive, and it didn't sound normal.

Out of curiosity, I took a DVD, trying to insert into the slot. Oops, it seemed there was something already ...</description>
	<content:encoded><![CDATA[<p>I am still using a 2005 PowerBook G4. Last night, while wakening the machine from standing by mode, I heard some noise in the CD/DVD drive, and it didn&#8217;t sound normal.</p>
	<p>Out of curiosity, I took a DVD, trying to insert into the slot. Oops, it seemed there was something already inside, and got stuck. Maybe another disc got stuck? But I was sure that I would never leave a disc inside the drive before shutting down the computer.</p>
	<p>First, I tried to open the machine up to have a peek. But before doing anything drastic, I&#8217;d better check out what people say online. A Google search led me to Apple&#8217;s official support site:</p>
	<p><a href="http://support.apple.com/kb/HT2801" target="_blank">Apple Computers: Troubleshooting the slot load optical disc drive</a></p>
	<p>At first sight, it was not helpful. It asked me to reset my PMU, if not working, then contact Apple support. Not now.</p>
	<p><a href="http://support.apple.com/kb/HT1431" target="_blank">Reset PMU</a></p>
	<p>Checked another <a href="http://discussions.apple.com/thread.jspa?messageID=5214138" target="_blank">discussion forum article</a>, a user reported that he succeeded by power off the machine, and restart, during the restarting, he managed to load the disc successfully.</p>
	<p>I tried, but it didn&#8217;t work. Then, I reset the PMU according to Apple&#8217;s instruction, then restarted the machine. At first, it did not work. However, I heard some noise, as if the drive trying to eject a disc. So, I repeated the PMU resetting and restarting routine, as soon as I heard the drive noise, I pushed a disc into the drive. It worked!</p>
	<p>So I suppose that the drive mechanism got stuck for some reason. After resetting the PMU and start, the drive tried to un-stick itself, but cannot without some external push.</p>
	<p>Anyway, I am glad my superdrive is back.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=360&amp;c=1">
	<title>Readability</title>
	<link>http://tongtao.com/blog/index.php?p=360&amp;c=1</link>
	<dc:date>2010-01-31T17:45:41</dc:date>
	<dc:creator>tao (mailto:t&#111;ngt&#97;&#111;&#64;&#103;m&#97;&#105;&#108;.&#99;om)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>A lot very good (and bad) content is on the internet. Unfortunately, many web site publishers decided to use weird layout and strange color themes to publish their content.

For example, the following article on the T9 text input method:

T9: Text on 9 keys

For some reason, the white text on blue ...</description>
	<content:encoded><![CDATA[<p>A lot very good (and bad) content is on the internet. Unfortunately, many web site publishers decided to use weird layout and strange color themes to publish their content.</p>
	<p>For example, the following article on the T9 text input method:</p>
	<p><a href="http://www.validconcept.com/articles-t9.html" target="_blank">T9: Text on 9 keys</a></p>
	<p>For some reason, the white text on blue background makes the reading very uncomfortable and tedious for me. Fortunately, the good people at <a href="http://arc90.com/" target="_blank">Arc90 lab</a> made a very good tool to deal with this problem:</p>
	<p><a href="http://lab.arc90.com/experiments/readability/" target="_blank">Readability Bookmarklet</a></p>
	<p>As indicated on the page, the easiest way to use this wonderful tool is to drag the button to the bookmark toolbar. Of course, you can also put it in your bookmark menu, invoking its function by pulling down the menu. Why one want to do this? Screen space. On my smallish 12-inch PowerBook, I hide all the toolbars, but I activate the full keyboard access within Tiger OS. So I can easily use the keyboard to invoke the readability bookmarklet function.</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=359&amp;c=1">
	<title>Toolbar &#38; Sidebar in Tiger Finder</title>
	<link>http://tongtao.com/blog/index.php?p=359&amp;c=1</link>
	<dc:date>2010-01-10T01:16:52</dc:date>
	<dc:creator>tao (mailto:&#116;&#111;&#110;&#103;&#116;ao&#64;g&#109;ail&#46;&#99;om)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>The default OS X 10.4 Finder window has both sidebar and toolbar. Which is good, unless you are using a small screen, like me, using a 12-inch PowerBook. A toolbar and a sidebar can waste a lot of valuable screen real estate.

Two keyboard commands can relieve the pain:

Cmd-Option-T will remove ...</description>
	<content:encoded><![CDATA[<p>The default OS X 10.4 Finder window has both sidebar and toolbar. Which is good, unless you are using a small screen, like me, using a 12-inch PowerBook. A toolbar and a sidebar can waste a lot of valuable screen real estate.</p>
	<p>Two keyboard commands can relieve the pain:</p>
	<p>Cmd-Option-T will remove both the toolbar and sidebar, make a Finder window much smaller. However, when you open a folder inside the Finder window, a new Finder window is opened, instead of opening inside the same Finder window as with the toolbar is present. To avoid the resultant screen clutter, press the option key when opening the new window (Cmd-Option-O). The current parent window will automatically close. To return to the parent window, press Cmd-Up arrow. To return to the parent window and close the current one, Cmd-Option-Up arrow.</p>
	<p>Cmd-Option-Ctrl-T to collapse the sidebar only, the toolbar is intact. Opening an inside folder with not open a new Finder window.
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=358&amp;c=1">
	<title>Finder &#38; Windows Explorer</title>
	<link>http://tongtao.com/blog/index.php?p=358&amp;c=1</link>
	<dc:date>2010-01-10T00:58:36</dc:date>
	<dc:creator>tao (mailto:&#116;on&#103;ta&#111;&#64;gma&#105;l&#46;c&#111;m)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>I use both Mac OS X and Windows XP, both old versions. On Mac OS X side, I use the venerable Tiger (Mac OS X 10.4), and XP is even older. No plan for purchasing new hardware for the near future, so I am stuck with those two old OSes.

Constantly ...</description>
	<content:encoded><![CDATA[<p>I use both Mac OS X and Windows XP, both old versions. On Mac OS X side, I use the venerable Tiger (Mac OS X 10.4), and XP is even older. No plan for purchasing new hardware for the near future, so I am stuck with those two old OSes.</p>
	<p>Constantly switched between these two OSes, some observations noted here, just in case I need to revisit them.</p>
	<h3>1. Multiple file properties</h3>
	<p>With Windows Explorer in Windows XP, the multiple files are selected, use Alt-Enter (Property command) to show the properties, the result property window will show in a single dialog the summary information of all the selected files. With OS X Finder, Cmd-I (Get Info command) will open one info dialog for each file. If you happen to have 100 files selected, Cmd-I will get you mad pretty quick. To show the summary info in a single dialog as in the case of XP, one need to use the Cmd-Ctrl-I (Get Summary Info command).</p>
	<p>Actually, it is better to summarize the following three commands in Tiger Finder:</p>
	<p><strong>Cmd-I (Get Info command)</strong> to show a static info window for the selected file(s). It will display the same information even when a different file is selected in Finder. When multiple files are selected, this command will display one info window for each selected file.</p>
	<p><strong>Cmd-Option-I (Show Inspector command)</strong> similar to Get Info command, but the info window is a floating window, which dynamically displays the currently selected file info. Choose a different file, the inspector display changes with the selection.</p>
	<p><strong>Cmd-Ctrl-I (Get Summary Info command)</strong> will display only one dialog, even when multiple files are selected. It will sum up the size of all the selected files.</p>
	<p>With XP, Alt-Enter (Property command) is like Cmd-I and Cmd-Ctrl-I combined.</p>
	<h3>2. Spotlight Comments &#38; XP comments</h3>
	<p>When showing the Get Info (or Show Inspector) window is open, there is a <strong>Spotlight Comments</strong> text box. One can tag the selected file, which is very useful for audio and video files, since they usually don&#8217;t have text content for the Spotlight to search. Spotlight Comments provide a convenient way to tag the audio and video files.</p>
	<p>Although it is not well know, there is a similar text field for XP files:</p>
	<p>Select a file, Alt-Enter to open the properties window, click the <em>Summary</em> tab, you will be able to enter the comments for the selected file. You can also display the comments in Windows Explorer Window by select the &#8220;comments&#8221; when right-click on the column header inside Windows Explorer window.</p>
	<p>However, unlike Spotlight in OS X, it is not guaranteed that this filed will be searched in XP. The following link, summarized the difference between OS X and XP very well:</p>
	<p><a href="http://www.xvsxp.com/files/indexing.php" target="_blank">Indexing File Contents &#38; Metadata - XvsXP.com, Mac OS X vs. Windows XP</a>
</p>]]></content:encoded>
</item>
<item rdf:about="http://tongtao.com/blog/index.php?p=357&amp;c=1">
	<title>Keyboard navigation of my Gallery2 album</title>
	<link>http://tongtao.com/blog/index.php?p=357&amp;c=1</link>
	<dc:date>2009-12-20T14:48:52</dc:date>
	<dc:creator>tao (mailto:&#116;on&#103;ta&#111;&#64;gm&#97;&#105;l&#46;c&#111;&#109;)</dc:creator>
	<dc:subject>Tips</dc:subject>
	<description>Recently I uploaded some pictures to my online photo album, which is powered by an Open Source PHP software called Gallery2.

One problem I experienced with this software is the lack of a convenient way to navigate the photos by using keyboard shortcuts. One must use the navigation buttons to move ...</description>
	<content:encoded><![CDATA[<p>Recently I uploaded some pictures to my online photo album, which is powered by an Open Source PHP software called Gallery2.</p>
	<p>One problem I experienced with this software is the lack of a convenient way to navigate the photos by using keyboard shortcuts. One must use the navigation buttons to move to the next or previous photo:</p>
	<p><img src="http://tongtao.com/image/blog/NavButtons.png" alt="" /></p>
	<p>Aiming the tiny buttons is not easy, especially when you are using a big screen computer, or on a laptop without an external mouse.</p>
	<p>Last week, I looked into the template file for the photo page of Gallery2, made some modifications, so now one can use keyboard to go to the previous and next photo. For example, open the following picture:</p>
	<p><a href="http://tongtao.com/gallery2/main.php?g2_itemId=2609" target="_blank">A picture in my photo album</a>,</p>
	<p>If you use Macintosh:</p>
	<p>Firefox browser, Ctrl+> (period key) to go to next photo, Ctrl+< (comma key) to previous photo,</p>
	<p>Safari browser, Ctrl+Option+> to next photo, Ctrl+Option+< to previous photo;</p>
	<p>Windows computer:</p>
	<p>Firefox browser, Alt+Shift+> to next photo, Alt+Shift+< to previous by default, (<a href="http://tongtao.com/blog/index.php?p=345" target="_blank">one can change that to Alt+> and Alt+< by changing the value of ui.key.contentAccess to 4, inside the about:config configuration page</a>)</p>
	<p>Internet Explorer, Alt+> or Alt+< followed by the Enter key</p>
	<p>Google Chrome, Alt+> or Alt+<, without hitting the Enter key</p>]]></content:encoded>
</item>
</rdf:RDF>