<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.fclose.com/~d/styles/itemcontent.css"?><rss version="2.0"><channel><title>Fclose.com feeds</title><link>http://fclose.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.fclose.com/fclosefeed" /><description>Full-text feeds of all Fclose.com posts.</description><language>en</language><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.fclose.com/fclosefeed" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="fclosefeed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">fclosefeed</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.fclose.com/fclosefeed" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.fclose.com%2Ffclosefeed" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item><title>Converting Video Files for iPod/iPhone/iPad</title><link>http://fclose.com/b/linux/3540/converting-video-files-for-ipod-iphone-ipad/</link><pubDate>Fri, 03 Feb 2012 20:40:21 PST</pubDate><description>&lt;p&gt;We usually have video files in .wmv .mpg .rmvb or .mkv formats. The iPod, iPhone or iPad only accept a limited type of video files, such as .mov and .mp4. To play these video files in .wmv .mpg or .rmvb format, we should first convert them to .mov or .mp4 files that can played by iTune or other video players on these Apple devices that use the same codec engine. We may possibly convert video files for iPod or iPhone with &lt;a href="http://fclose.com/b/linux/1671/useful-mplayermencoder-commands/"&gt;mplayer/mencoder&lt;/a&gt; but it may have some problems, such as the audio and video do not synchronize very well for some videos.ffmpeg can convert video files from various formats to others and most of the time ffmpeg works very well. This post introduces how to convert the video files in common formats (.wmv, .mpg, .rmvb, .mkv, .etc.) to .mp4 format for iPod/iPhone/iPad.&lt;/p&gt;
&lt;h3&gt;Install ffmpeg&lt;/h3&gt;
&lt;p&gt;First, we should install the ffmpeg package. The Fedora Linux does not include ffmpeg in its repository for some reasons but the RPM Fusion repository provides it for us. To install the ffmpeg package, &lt;a href="http://fclose.com/t/go/enable-rpmfusion/"&gt;add RPM Fusion repository first&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The install the ffmpeg package:&lt;/p&gt;
&lt;pre&gt;# yum install ffmpeg&lt;/pre&gt;
&lt;p&gt;Convert video file format with ffmpeg&lt;/p&gt;
&lt;p&gt;The basic command to convert video file input.wmv to onput.mp4 is as follows.&lt;/p&gt;
&lt;pre&gt;# ffmpeg -i input.wmv output.mp4&lt;/pre&gt;
&lt;p&gt;Or other format (such as .mov) by:&lt;/p&gt;
&lt;pre&gt;# ffmpeg -i input.wmv output.mov&lt;/pre&gt;
&lt;p&gt;ffmpeg determines the output video&amp;#8217;s format by its file name extersion.&lt;/p&gt;
&lt;h3&gt;Convert video file format with ffmpeg for iPod/iPhone/iPad&lt;/h3&gt;
&lt;p&gt;The files in .mp4 format can be played on Apples devices. The iPod/iPhone/iPad have specific resolution, so we need to to convert the video files to a very high resolution since the devices can only display a limited one. We use the iPod generation 2 as the example, its screen resolution is 480&amp;#215;320. Hence, we can only convert the video to this resolution for smaller video file size. Similarly, the bitrate can also be set accordingly. The default one of ffmpeg (200 kb/s) is too low. To improve the quality of the converted video, we can set it to a larger one.&lt;/p&gt;
&lt;p&gt;One good configuration for me is:&lt;/p&gt;
&lt;pre&gt;# ffmpeg -i input.wmv -s 480x320 -b 1000k output.mp4&lt;/pre&gt;
&lt;p&gt;-s sets the frame size of the video. -b sets the bitrate of the video.&lt;/p&gt;
&lt;h3&gt;Convert video file format with ffmpeg for iPod/iPhone/iPad in one command&lt;/h3&gt;
&lt;p&gt;More conveniently, we can form this command to a script convert2mp4.sh:&lt;/p&gt;
&lt;pre&gt;#!/bin/bash
ffmpeg -i $1 -s 480x320 -b 1000k /tmp/$1.mp4&lt;/pre&gt;
&lt;p&gt;Each time to convert a video file video.wmv, we can simply run:&lt;/p&gt;
&lt;pre&gt;$ convert2mp4.sh video.wmv&lt;/pre&gt;
&lt;p&gt;and the converted file is /tmp/video.wmv.mp4 after the script finishes.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9u2c1eycPEQYBrx1TjGXLuipaqE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9u2c1eycPEQYBrx1TjGXLuipaqE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9u2c1eycPEQYBrx1TjGXLuipaqE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9u2c1eycPEQYBrx1TjGXLuipaqE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/85Pl5fCM0_E" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/85Pl5fCM0_E" height="1" width="1"/&gt;</description></item><item><title>Hadoop Default Ports</title><link>http://fclose.com/b/cloud-computing/3101/hadoop-default-ports/</link><pubDate>Sat, 14 Jan 2012 23:18:22 PST</pubDate><description>&lt;p&gt;Hadoop&amp;#8217;s namenode and datanodes expose a bunch of TCP ports used by Hadoop’s daemons to communicate to each other or listen directly to users&amp;#8217; requests. These ports information are needed by both the Hadoop users and cluster administrators to write programs or configure firewalls/gateways accordingly.&lt;/p&gt;
&lt;p&gt;A post written by &lt;a title="Posts by Philip Zeyliger" href="http://fclose.com/t/go/philip-zeyliger/" rel="nofollow"&gt;Philip Zeyliger&lt;/a&gt; from Cloudera&amp;#8217;s blog summarizes the default ports used by Hadoop:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/hadoop-default-ports/" rel="nofollow"&gt;Hadoop Default Ports Quick Reference&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please note that these ports are also configuration through Hadoop&amp;#8217;s configuration, such as the DFS and jobtracker&amp;#8217;s ports in conf/core-site.xml conf/mapred-site.xml as used in the &lt;a href="http://fclose.com/b/cloud-computing/290/hadoop-tutorial/"&gt;Hadoop Installation Tutorial&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/C1446hRjc4VA8gDWWsUsd64yITQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C1446hRjc4VA8gDWWsUsd64yITQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/C1446hRjc4VA8gDWWsUsd64yITQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C1446hRjc4VA8gDWWsUsd64yITQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/Fn1DT4Fqjs8" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/Fn1DT4Fqjs8" height="1" width="1"/&gt;</description></item><item><title>Simple Sort Benchmark on Hadoop</title><link>http://fclose.com/b/cloud-computing/3094/simple-sort-benchmark-on-hadoop/</link><pubDate>Fri, 06 Jan 2012 08:55:00 PST</pubDate><description>&lt;p&gt;After &lt;a href="http://fclose.com/b/cloud-computing/290/hadoop-tutorial/"&gt;installing Hadoop&lt;/a&gt;, we usually run some benchmark programs to test whether the system works well. In the post of &lt;a href="http://fclose.com/b/cloud-computing/290/hadoop-tutorial/"&gt;Hadoop install tutorial&lt;/a&gt;, we show a very simple to grep strings from a simple sets of files. In this post, we introduce the Sort for testing and benchmarking Hadoop. The Sort program is also included in the Hadoop distribution package, and the package also includes a input data generator which generate 10 GB * (number of slave nodes) input data to sort. This program processes larger a datasets, which gives some strength to Hadoop including the execution engine and HDFS.&lt;/p&gt;
&lt;p&gt;The Sort example program simply uses the MapReduce framework to sort the input directory into the output directory. The mapper is the predefined IdentityMapper and the reducer is the predefined IdentityReducer, both of which just pass their inputs directly to the output. The inputs and outputs must be Sequence files where the keys and values are BytesWritable.&lt;/p&gt;
&lt;p&gt;The RandomWriter example program writes 10 GB (by default) of random data per host to HDFS using MapReduce. Each map takes a single file name as input and writes random BytesWritable keys and values to the DFS sequence file. The maps do not emit any output and the reduce phase is not used.&lt;/p&gt;
&lt;p&gt;For a quick test of the Sort benchmark, just execute these two commands after &lt;a href="http://fclose.com/b/cloud-computing/290/hadoop-tutorial/"&gt;setting up and starting the Hadoop&lt;/a&gt; (here we are in the Hadoop directory. If run the commands outside the Hadoop directory, simply use the full/relative path for the jar file):&lt;/p&gt;
&lt;pre&gt;# hadoop jar hadoop-*-examples.jar randomwriter rand
# hadoop jar hadoop-*-examples.jar sort rand rand-sort&lt;/pre&gt;
&lt;p&gt;The first command generates the random data into rand and the second commands sorts the generated data in rand and the result is put into rand-sort.&lt;/p&gt;
&lt;p&gt;For more details and more options of the Sort and RandomWriter example programs, please refer to the Hadoop Wiki: &lt;a href="http://wiki.apache.org/hadoop/Sort" rel="nofollow"&gt;Sort&lt;/a&gt; and &lt;a href="http://wiki.apache.org/hadoop/RandomWriter" rel="nofollow"&gt;RandomWriter&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7xOB3fXD5m8vYehFPv_5mf5hMpE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7xOB3fXD5m8vYehFPv_5mf5hMpE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7xOB3fXD5m8vYehFPv_5mf5hMpE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7xOB3fXD5m8vYehFPv_5mf5hMpE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/XLzzK0h3Hfg" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/XLzzK0h3Hfg" height="1" width="1"/&gt;</description></item><item><title>Guangdong Mahjong Scoring Rules</title><link>http://fclose.com/b/ericma/3463/guangdong-majiang/</link><pubDate>Fri, 30 Dec 2011 03:03:13 PST</pubDate><description>&lt;h1&gt;广东麻将规则&lt;/h1&gt;
&lt;p&gt;本文整理介绍广东麻将的鸡平胡规则及积分规则。广东麻将的规则体系发展历史源远流长，如今已经很难考证。其中鸡平胡规则是广东珠三角地区普及广且流行的一种打法，讲究鸡胡、平胡、爆胡，打发简单节奏快速。此文仅供参考，并不保证一定准确。&lt;/p&gt;
&lt;p&gt;另：推荐Mahjong Time的&lt;a href="http://fclose.com/t/go/hong-kong-mahjong-scoring/" rel="nofollow"&gt;香港麻将积分规则&lt;/a&gt; （注：与本文中规则略有不同）。&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;基本规则&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;牌数&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;共一百三十六张：筒、索、万，东、南、西、北风，中、发、白， 没有 梅、兰、竹、菊、春、夏、秋、冬。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;摸牌&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;游戏在一开始，只有庄家可得到十四张牌，其余的人十三张。庄家从牌中选出一张牌丢出。此时，其它三家都有权力要那张丢出的牌。庄家的下家（右手边的玩者），有权力吃或碰那张牌，其它两家则只可碰或杠那张牌。 “ 碰 ” 比 “ 吃 ” 优先。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;和牌&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;即流局、荒牌。按照既定的规则将手中的牌凑成相应的组合，获得胜利。和牌规则在下文计分规则中同有介绍。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;执位&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;在四位玩家开始游戏时，随机或商定分配风位。按照东、南、西、北的次序逆时针排列。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;庄家&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1、东风位玩家为庄家，第一盘可随机或商定分配风位。&lt;br /&gt;
2、如果庄家和牌（流局）则下盘依然由该庄家做庄。&lt;br /&gt;
3、&lt;strong&gt;&lt;/strong&gt;如果非庄家胡牌则下一盘由庄家的下家玩家做庄。&lt;br /&gt;
&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;风圈&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;1、当最后一位玩家做庄之牌局完结而没有连庄情况出现，则牌局的一个循环完结，称为“一圈”。&lt;br /&gt;
2、第一圈风圈为东。&lt;br /&gt;
3、每打完一圈，则按照东、南、西、北的次序转换风圈。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;漏胡&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;若玩家A为叫胡的状态下，如下家B打出一张玩家A可以胡的牌而玩家A却放弃不胡，那若对家C或上家D打出相同的一张牌时，玩家A是不能胡那一张的。除非玩家A有进行动牌的情况，动牌的意思在于碰、上、杠、模牌的。当有动牌后，那不能胡那一张的规则便解除。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;一炮多响&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;允许一炮多响，如果一炮多响包括庄家在内胡牌，下一轮庄家继续当庄。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;番&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;广东麻将的特色就在“番”，番是2倍的意思&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;爆胡（封顶）&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;意思即为多少番为顶，不再叠加番数进行计算，但特殊牌除外，比如十三幺，可突破爆胡限制，这些特殊牌型不再叠加其他番种。爆胡为3番。&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;记分规则&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;术语名称&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;刻子：三张相同的组在一起。&lt;/p&gt;
&lt;p&gt;将牌：一对牌的意思，任意两张相同的牌组在一起都可以成为将牌。&lt;/p&gt;
&lt;p&gt;幺九牌：指序数牌的1、9牌和字牌。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;积分规则&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;一、爆胡（封顶）以内的牌型番种&lt;/p&gt;
&lt;table width="555" border="0" cellspacing="1" cellpadding="3" bgcolor="#666666"&gt;
&lt;tbody&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;&lt;strong&gt;牌型&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" width="48"&gt;&lt;strong&gt;番数&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" width="48"&gt;&lt;strong&gt;分值&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" width="381"&gt;&lt;strong&gt;说明&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;鸡胡&lt;/td&gt;
&lt;td valign="top" width="48"&gt;0&lt;/td&gt;
&lt;td valign="top" width="48"&gt;1&lt;/td&gt;
&lt;td valign="top" width="381"&gt;什么牌都可以胡，可吃碰杠&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;平胡&lt;/td&gt;
&lt;td valign="top" width="48"&gt;1&lt;/td&gt;
&lt;td valign="top" width="48"&gt;2&lt;/td&gt;
&lt;td valign="top" width="381"&gt;全部都是顺子没有刻子&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;碰碰胡&lt;/td&gt;
&lt;td valign="top" width="48"&gt;2&lt;/td&gt;
&lt;td valign="top" width="48"&gt;4&lt;/td&gt;
&lt;td valign="top" width="381"&gt;全部是刻子没有顺子&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;混一色&lt;/td&gt;
&lt;td valign="top" width="48"&gt;2&lt;/td&gt;
&lt;td valign="top" width="48"&gt;4&lt;/td&gt;
&lt;td valign="top" width="381"&gt;整副牌由字牌及另外单一花色（筒、条或万）组成&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;二、爆胡以外的牌型（特殊牌型）&lt;/p&gt;
&lt;table width="573" border="0" cellspacing="1" cellpadding="3" bgcolor="666666"&gt;
&lt;tbody&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;&lt;strong&gt;牌型&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" width="48"&gt;&lt;strong&gt;番数&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" width="48"&gt;&lt;strong&gt;分值&lt;/strong&gt;&lt;/td&gt;
&lt;td valign="top" width="381"&gt;&lt;strong&gt;说明&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;清一色&lt;/td&gt;
&lt;td valign="top" width="48"&gt;4&lt;/td&gt;
&lt;td valign="top" width="48"&gt;16&lt;/td&gt;
&lt;td valign="top" width="381"&gt;整副牌由同一花色组成&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;混碰&lt;/td&gt;
&lt;td valign="top" width="48"&gt;4&lt;/td&gt;
&lt;td valign="top" width="48"&gt;16&lt;/td&gt;
&lt;td valign="top" width="381"&gt;混一色 + 碰碰胡&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;清碰&lt;/td&gt;
&lt;td valign="top" width="48"&gt;5&lt;/td&gt;
&lt;td valign="top" width="48"&gt;32&lt;/td&gt;
&lt;td valign="top" width="381"&gt;清一色 + 碰碰胡&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;混幺九&lt;/td&gt;
&lt;td valign="top" width="48"&gt;5&lt;/td&gt;
&lt;td valign="top" width="48"&gt;32&lt;/td&gt;
&lt;td valign="top" width="381"&gt;由幺九牌和字牌组成的牌型&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;小三元&lt;/td&gt;
&lt;td valign="top" width="48"&gt;5&lt;/td&gt;
&lt;td valign="top" width="48"&gt;32&lt;/td&gt;
&lt;td valign="top" width="381"&gt;拿齐中、发、白三种三元牌，但其中一种是将&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;小四喜&lt;/td&gt;
&lt;td valign="top" width="48"&gt;5&lt;/td&gt;
&lt;td valign="top" width="48"&gt;32&lt;/td&gt;
&lt;td valign="top" width="381"&gt;胡牌者完成东、南、西、北其中三组刻子，一组对子&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;字一色&lt;/td&gt;
&lt;td valign="top" width="48"&gt;6&lt;/td&gt;
&lt;td valign="top" width="48"&gt;64&lt;/td&gt;
&lt;td valign="top" width="381"&gt;由字牌组合成的刻子牌型&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;清幺九&lt;/td&gt;
&lt;td valign="top" width="48"&gt;6&lt;/td&gt;
&lt;td valign="top" width="48"&gt;64&lt;/td&gt;
&lt;td valign="top" width="381"&gt;只由幺九两种牌组成的刻子牌型&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;大三元&lt;/td&gt;
&lt;td valign="top" width="48"&gt;6&lt;/td&gt;
&lt;td valign="top" width="48"&gt;64&lt;/td&gt;
&lt;td valign="top" width="381"&gt;胡牌时，有中、发、白三组刻子&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;大四喜&lt;/td&gt;
&lt;td valign="top" width="48"&gt;6&lt;/td&gt;
&lt;td valign="top" width="48"&gt;64&lt;/td&gt;
&lt;td valign="top" width="381"&gt;胡牌者完成东、南、西、北四组刻子&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;九莲宝灯&lt;/td&gt;
&lt;td valign="top" width="48"&gt;6&lt;/td&gt;
&lt;td valign="top" width="48"&gt;64&lt;/td&gt;
&lt;td valign="top" width="381"&gt;同种牌形成 1112345678999 ，再摸到该种牌任何一张即可胡牌，不计清一色&lt;/td&gt;
&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;
&lt;td valign="top" width="91"&gt;十三幺&lt;/td&gt;
&lt;td valign="top" width="48"&gt;6&lt;/td&gt;
&lt;td valign="top" width="48"&gt;64&lt;/td&gt;
&lt;td valign="top" width="381"&gt;1 、 9 万筒索，东、南、西、北、中、发、白；以上牌型任意一张牌作将&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;附加情况&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1 、自摸&lt;/p&gt;
&lt;p&gt;在爆胡以内自摸，+1番，爆胡以外不加番。&lt;/p&gt;
&lt;p&gt;2 、风位&lt;/p&gt;
&lt;p&gt;拿到本盘门风的刻子，+1番，爆胡以外不加番。&lt;/p&gt;
&lt;p&gt;3 、风圈&lt;/p&gt;
&lt;p&gt;拿到该风圈局的刻子，+1番，爆胡以外不加番。&lt;/p&gt;
&lt;p&gt;3、三元牌&lt;/p&gt;
&lt;p&gt;红中、白板、发财，任意一个刻子为1番，两个刻子为2番，爆胡以外不加番。附加情况只对爆胡内牌型有效，而且必须在爆胡内牌型胡了后才能以加番牌型累计番数，爆胡内牌型加附加牌型不能冲破爆胡的上限。&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;特殊规则&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;1、一炮三响&lt;/p&gt;
&lt;p&gt;同一张牌点三个炮，点炮者包三家。胡牌者不满3番牌型，按照3番满计算，大于3番的牌型，按照实际牌型计算。&lt;/p&gt;
&lt;p&gt;2、杠上开花&lt;/p&gt;
&lt;p&gt;杠牌后在正常摸牌的牌墙的另一端补牌时，刚好摸到自摸需要的牌从而胡牌。不满3番牌型，按照3番满计算，大于3番的牌型，按照实际牌型计算。&lt;/p&gt;
&lt;p&gt;3、杠上开花包杠&lt;/p&gt;
&lt;p&gt;开暗刻明杠补牌后胡牌，计自摸，点杠者包三家牌。不满3番牌型，按照3番满计算，大于3番的牌型，按照实际牌型计算。&lt;/p&gt;
&lt;p&gt;4、海底捞月&lt;/p&gt;
&lt;p&gt;摸最后一张牌胡牌。不满3番牌型，按照3番满计算，大于3番的牌型，按照实际牌型计算。&lt;/p&gt;
&lt;p&gt;5、包自摸规则&lt;/p&gt;
&lt;p&gt;十二张落地包自模，包先不包后。例一：若玩家A打出一张牌让其中一名玩家做成十二张落地（即已碰/吃/明杠出的牌共有12张牌）而做成该玩家为单吊一张叫胡的情况时，该名打出者A必须承担包自模的责任，即若该名玩家在12张落地的情况时自模胡牌，该打出让玩家成立12张落地的玩家A便需要为其余两家代付该笔自模的筹码。例二：玩家A放一张让玩家B 12张落地达成，及后玩家A再放一张让玩家C或 D 12张落地达成，此时玩家A只需要承担包玩家B自模的责任，不需要承包玩家C和D。&lt;/p&gt;
&lt;p&gt;6、特殊牌型包自摸&lt;/p&gt;
&lt;p&gt;大四喜：玩家已碰出东、南、西、北，任意3款。若有人打出余下一款者，那人则需承担包自模的责任。&lt;br /&gt;
大三元：玩家已碰出红中、白板、发财，任意2款．若有人打出余下一款者，那人则需承担包自模的责任。&lt;/p&gt;
&lt;p&gt;7、抢杠&lt;/p&gt;
&lt;p&gt;明刻开明杠，可以被抢杠胡，抢杠胡等同杠开，当自摸，被抢杠者（欲开杠者）包三家牌，暗杠不可抢杠胡。抢杠者牌型不满3番牌型，按照3番满计算，大于3番的牌型，按照实际牌型计算。&lt;/p&gt;
&lt;p&gt;暗刻开明杠，不算抢杠胡，胡牌者只能胡点杠那张牌，只算普通胡牌。&lt;/p&gt;
&lt;p&gt;8、天和&lt;/p&gt;
&lt;p&gt;只有庄家独有的权利，庄家起牌后即成和牌牌型。按6番计算。&lt;/p&gt;
&lt;p&gt;9、人和&lt;/p&gt;
&lt;p&gt;起牌后，庄家打出的第一张牌，闲家吃和。按6番计算。&lt;/p&gt;
&lt;p&gt;10、地和&lt;/p&gt;
&lt;p&gt;闲家抓到最初的13张牌时已经听牌，第一圈里闲家自摸的第一张牌和牌。按6番计算。注：第一圈里如有人吃、碰、杠牌，已不生效，不成地和。&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/l0WykpR5VdfGoHg5KB3mJPeObO0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l0WykpR5VdfGoHg5KB3mJPeObO0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/l0WykpR5VdfGoHg5KB3mJPeObO0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l0WykpR5VdfGoHg5KB3mJPeObO0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/8X3y5PhKVMQ" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/8X3y5PhKVMQ" height="1" width="1"/&gt;</description></item><item><title>Hiking Ngong Ping Trail – Ngong Ping Village to Tung Chung City Center</title><link>http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/</link><pubDate>Sun, 11 Dec 2011 06:12:21 PST</pubDate><description>&lt;p&gt;&lt;a href="http://fclose.com/b/ericma/files/2011/12/stitched-photo-1.jpg"&gt;&lt;img class="alignnone" title="stitched-photo-1" src="http://fclose.com/b/ericma/files/2011/12/stitched-photo-1-600x132.jpg" alt="" width="600" height="132" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My wife and I went for a hiking on Nov. 16, 2011. We walked downhill from Ngong Ping (昂坪) Village to Tung Chung (東涌) city center along the Ngong Ping Trail (昂坪棧道). It took us about 3 hours to reach the Tung Chung city center (also the starting point of the Ngong Ping 360). The trail is not hard and the we can have sight view along the way. The Ngong Ping Trail is used as the access for maintenance and rescue trail for Ngong Ping 360 with much of it directly under the path of the cable cars. Although it is not designed for hiking, the Ngong Ping trail is actually a nice hiking path especially for those who do not want to walk too long.&lt;/p&gt;
&lt;p&gt;We first take the Ngong Ping 360 cable car from Tung Chung to Ngong Ping. After having a sight view and lunch at the Ngong Ping Village, we started our walk along the Ngong Ping Trail. (We walked out of the Ngong Ping Village across a gate opposite to the Starbucks and got to the ending point of Ngong Ping Trail after a short walk. It is close to the Ngong Ping 360 cable car station).&lt;/p&gt;
&lt;p&gt;After 3 hours&amp;#8217; walk, we went off the last maintain and went across the &amp;#8220;river&amp;#8221; (or sea) by a bridge (the one in the photo that appears at the beginning of the post). Then we walk to the Yat Tung Estate (東涌逸東鸷) and took a bus to the Tung Chung MTR station.&lt;/p&gt;
&lt;p&gt;For more information about the trail: &lt;a href="http://fclose.com/t/go/ngping-tungchung-ngtungying/" rel="nofollow"&gt;this page&lt;/a&gt; provides a map and some photos along the way (it follows a reverse direction and a different route from us for Ngong Ping to Tung Chung); the Ngong Ping 360 official website  provides some &lt;a href="http://fclose.com/t/go/ngong-ping-360-suggested-route/" rel="nofollow"&gt;suggested routes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Some photos that I took along the way are as follows.&lt;/p&gt;

&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3312/" title="Ngong Ping Cable Car"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3312-180x180.jpg" class="attachment-thumbnail" alt="Ngong Ping Cable Car" title="Ngong Ping Cable Car" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3321/" title="The Cable Car Starts"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3321-180x180.jpg" class="attachment-thumbnail" alt="The Cable Car Starts" title="The Cable Car Starts" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3331/" title="IMG_3331"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3331-180x180.jpg" class="attachment-thumbnail" alt="IMG_3331" title="IMG_3331" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3342/" title="IMG_3342"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3342-180x180.jpg" class="attachment-thumbnail" alt="IMG_3342" title="IMG_3342" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3345/" title="IMG_3345"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3345-180x180.jpg" class="attachment-thumbnail" alt="IMG_3345" title="IMG_3345" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3351/" title="IMG_3351"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3351-e1323501597106-180x180.jpg" class="attachment-thumbnail" alt="IMG_3351" title="IMG_3351" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3364/" title="IMG_3364"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3364-180x180.jpg" class="attachment-thumbnail" alt="IMG_3364" title="IMG_3364" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3373/" title="IMG_3373"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3373-180x180.jpg" class="attachment-thumbnail" alt="IMG_3373" title="IMG_3373" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3375/" title="IMG_3375"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3375-e1323501571618-180x180.jpg" class="attachment-thumbnail" alt="IMG_3375" title="IMG_3375" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3385/" title="IMG_3385"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3385-e1323500872534-180x180.jpg" class="attachment-thumbnail" alt="IMG_3385" title="IMG_3385" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3389/" title="IMG_3389"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3389-180x180.jpg" class="attachment-thumbnail" alt="IMG_3389" title="IMG_3389" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3391/" title="IMG_3391"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3391-e1323500854206-180x180.jpg" class="attachment-thumbnail" alt="IMG_3391" title="IMG_3391" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3402/" title="IMG_3402"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3402-e1323500835148-180x180.jpg" class="attachment-thumbnail" alt="IMG_3402" title="IMG_3402" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3404/" title="IMG_3404"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3404-180x180.jpg" class="attachment-thumbnail" alt="IMG_3404" title="IMG_3404" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3406/" title="IMG_3406"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3406-e1323500812563-180x180.jpg" class="attachment-thumbnail" alt="IMG_3406" title="IMG_3406" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3420/" title="IMG_3420"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3420-e1323500794760-180x180.jpg" class="attachment-thumbnail" alt="IMG_3420" title="IMG_3420" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3422/" title="IMG_3422"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3422-e1323500750329-180x180.jpg" class="attachment-thumbnail" alt="IMG_3422" title="IMG_3422" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3418/" title="IMG_3418"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3418-e1323512139515-180x180.jpg" class="attachment-thumbnail" alt="IMG_3418" title="IMG_3418" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3412/" title="IMG_3412"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3412-180x180.jpg" class="attachment-thumbnail" alt="IMG_3412" title="IMG_3412" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3419/" title="IMG_3419"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3419-e1323512288197-180x180.jpg" class="attachment-thumbnail" alt="IMG_3419" title="IMG_3419" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3425/" title="IMG_3425"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3425-180x180.jpg" class="attachment-thumbnail" alt="IMG_3425" title="IMG_3425" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_0120-small/" title="Me"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_0120-small-180x180.jpg" class="attachment-thumbnail" alt="Me" title="Me" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/img_3430/" title="IMG_3430"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/IMG_3430-180x180.jpg" class="attachment-thumbnail" alt="IMG_3430" title="IMG_3430" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3374/hiking-ngong-ping-trail-ngong-ping-village-to-tung-chung-city-center/stitched-photo-1-2/" title="stitched-photo-1"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/12/stitched-photo-1-180x180.jpg" class="attachment-thumbnail" alt="stitched-photo-1" title="stitched-photo-1" /&gt;&lt;/a&gt;


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W1VUXeNBdrsPUviWYo7FwXHn27g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W1VUXeNBdrsPUviWYo7FwXHn27g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W1VUXeNBdrsPUviWYo7FwXHn27g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W1VUXeNBdrsPUviWYo7FwXHn27g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/TgEd7y_Nxmw" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/TgEd7y_Nxmw" height="1" width="1"/&gt;</description></item><item><title>Hosting from Dreamhost</title><link>http://fclose.com/b/web/3095/hosting-from-dreamhost/</link><pubDate>Thu, 24 Nov 2011 08:19:19 PST</pubDate><description>&lt;p&gt;I just registered an account on &lt;a href="http://fclose.com/t/go/dreamhost/" rel="nofollow"&gt;dreamhost&lt;/a&gt; with this year&amp;#8217;s Black Friday promotion (if it does not appear automatically, try the code 777thanks11).&lt;/p&gt;
&lt;p&gt;One-year hosting plus one free .com domain costs me only $9.24. Super good!&lt;/p&gt;
&lt;p&gt;Just created a new domain name &lt;a href="http://gopeta.com"&gt;GoPeta.com&lt;/a&gt; with this one-year hosting plan. Will report more details about my experience with &lt;a href="http://fclose.com/t/go/dreamhost/" rel="nofollow"&gt;dreamhost.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kyykuf334U4AyhF6KQ61cVV9XbQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kyykuf334U4AyhF6KQ61cVV9XbQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kyykuf334U4AyhF6KQ61cVV9XbQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kyykuf334U4AyhF6KQ61cVV9XbQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/8A-r5Ncur9I" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/8A-r5Ncur9I" height="1" width="1"/&gt;</description></item><item><title>Upgrading Fedora to Newer Version with Yum</title><link>http://fclose.com/b/linux/3429/upgrading-fedora-to-newer-version-with-yum/</link><pubDate>Mon, 21 Nov 2011 05:16:21 PST</pubDate><description>&lt;p&gt;Please consider &lt;a href="http://fclose.com/t/go/preupgrade-fedora/" rel="nofollow"&gt;PreUpgrade&lt;/a&gt; for upgrading Fedora. This is the recommended method.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;This post makes a list of actions should be done to upgrade Fedora using yum. Please note that this is for experienced users only, if you are not sure what you are doing and what do these commands mean, please stop here and read the manuals first, or go to Fedora&amp;#8217;s Wiki about &lt;a href="http://fclose.com/t/go/upgrading_fedora_using_yum/" rel="nofollow"&gt;upgrading Fediora using yum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This post aims to be a general method, although we use Fedora 15 to Fedora 16 as the example. We configure and install grub2 as the bootloader.&lt;/p&gt;
&lt;h3&gt;Clean Stuff&lt;/h3&gt;
&lt;p&gt;It is a good time to remove packages we don&amp;#8217;t use. These packages could be candidates for removal, but check to see whether you use them directly or if they are used by applications not backed by rpm packages.&lt;/p&gt;
&lt;pre&gt;# package-cleanup --leaves&lt;/pre&gt;
&lt;p&gt;You can find orphaned packages (i.e. packages not in the repositories anymore). This will also show packages which have been partially uninstalled but where the &amp;#8220;%postun&amp;#8221; script failed.&lt;/p&gt;
&lt;pre&gt;# package-cleanup --orphans&lt;/pre&gt;
&lt;h3&gt;Do the upgrade&lt;/h3&gt;
&lt;h4&gt;Go to a text console and run in level 3&lt;/h4&gt;
&lt;pre&gt;ctrl + alt + F2&lt;/pre&gt;
&lt;pre&gt;init 3&lt;/pre&gt;
&lt;h4&gt;Update yum first&lt;/h4&gt;
&lt;pre&gt;yum update yum&lt;/pre&gt;
&lt;h4&gt;Clean all cached meta data and packages&lt;/h4&gt;
&lt;pre&gt;yum clean all&lt;/pre&gt;
&lt;h4&gt;Import the key for the newer version&amp;#8217;s repository&lt;/h4&gt;
&lt;p&gt;For Fedora 16, it is&lt;/p&gt;
&lt;pre&gt;rpm --import https://fedoraproject.org/static/A82BA4B7.txt&lt;/pre&gt;
&lt;h4&gt;Synchronizes the installed package set with the latest packages available&lt;/h4&gt;
&lt;pre&gt;yum --releasever=&amp;lt;release_number_you_want_to_sync_to&amp;gt; distro-sync&lt;/pre&gt;
&lt;p&gt;For upgrading Fedora 15 to Fedora 16:&lt;/p&gt;
&lt;pre&gt;yum --releasever=16 --disableplugin=presto  distro-sync&lt;/pre&gt;
&lt;p&gt;Double check the updated repositories after distro-sync&lt;/p&gt;
&lt;pre&gt;yum repolist&lt;/pre&gt;
&lt;h4&gt;Update groups&lt;/h4&gt;
&lt;pre&gt;yum groupupdate Base&lt;/pre&gt;
&lt;p&gt;List all other groups&lt;/p&gt;
&lt;pre&gt;yum grouplist&lt;/pre&gt;
&lt;p&gt;and also update them&lt;/p&gt;
&lt;pre&gt;yum groupupdate ALL GROUPS LISTED&lt;/pre&gt;
&lt;h4&gt;Use grub2 instead of grub&lt;/h4&gt;
&lt;p&gt;Make configuration for grub2&lt;/p&gt;
&lt;pre&gt;/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg&lt;/pre&gt;
&lt;p&gt;Install grub2&lt;/p&gt;
&lt;pre&gt;/sbin/grub2-install BOOTDEVICE&lt;/pre&gt;
&lt;p&gt;For example, to install grub2 on sda:&lt;/p&gt;
&lt;pre&gt;/sbin/grub2-install /dev/sda&lt;/pre&gt;
&lt;h4&gt;Reset services start/stop priorities&lt;/h4&gt;
&lt;pre&gt;cd /etc/rc.d/init.d; for f in *; do /sbin/chkconfig $f resetpriorities; done&lt;/pre&gt;
&lt;h4&gt;Reboot the system now&lt;/h4&gt;
&lt;p&gt;After reboot, you may see new kernel version on new Fedora version. For example, kernel 3.1.1 on Fedora 16&lt;/p&gt;
&lt;pre&gt;[root@localhost ~]# uname -a
Linux localhost.localdomain 3.1.1-1.fc16.x86_64 #1 SMP Fri Nov 11 21:47:56 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VCwhmd9iaHzVOjRPKvutVk17O2I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VCwhmd9iaHzVOjRPKvutVk17O2I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VCwhmd9iaHzVOjRPKvutVk17O2I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VCwhmd9iaHzVOjRPKvutVk17O2I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/-F8IaCMrp5s" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/-F8IaCMrp5s" height="1" width="1"/&gt;</description></item><item><title>Additional Repositories for Fedora Linux</title><link>http://fclose.com/b/linux/3471/additional-repositories-for-fedora-linux/</link><pubDate>Thu, 17 Nov 2011 19:32:19 PST</pubDate><description>&lt;p&gt;Fedora&amp;#8217;s repositories provide most of the software packages needed when using Linux. However, for various consideration, they do not provide some packages, such as MPlayer, ffmpeg. Fortunately, some community maintained repository provides these software. And they may also package propriety software, , such as ATI fglrx dive, NVIDIA driver, into rpm packages. In this post, we introduce theses additional repositories and how to install them into Fedora.&lt;/p&gt;
&lt;h3&gt;RPM Fusion&lt;/h3&gt;
&lt;p&gt;&amp;#8220;RPM Fusion provides software that the Fedora Project or Red Hat doesn&amp;#8217;t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5 and 6; you can use the RPM Fusion repositories with tools like yum and PackageKit.&amp;#8221;&lt;/p&gt;
&lt;p&gt;RPM Fusion has two separate software repositories&lt;strong&gt;. &lt;/strong&gt;The&lt;strong&gt; free&lt;/strong&gt; for Open Source Software (as defined by the Fedora Licensing Guidelines) which the Fedora project cannot ship due to other reasons. The &lt;strong&gt;nonfree&lt;/strong&gt; for redistributable software that is not Open Source Software (as defined by the Fedora Licensing Guidelines); this includes software with publicly available source-code that has &amp;#8220;no commercial use&amp;#8221;-like restrictions.&lt;/p&gt;
&lt;p&gt;To enable access to both the &lt;strong&gt;free&lt;/strong&gt; and the &lt;strong&gt;nonfree&lt;/strong&gt; repository use the following command.&lt;/p&gt;
&lt;p&gt;Released and currently supported Fedora versions:&lt;/p&gt;
&lt;pre&gt;# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm&lt;/pre&gt;
&lt;p&gt;Fedora Rawhide and what will become the next Fedora version (Alpha, Beta and snapshots):&lt;/p&gt;
&lt;pre&gt;# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm
# yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LTpiKAJy5122KuuPbdhQSLMAusM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LTpiKAJy5122KuuPbdhQSLMAusM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LTpiKAJy5122KuuPbdhQSLMAusM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LTpiKAJy5122KuuPbdhQSLMAusM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/9EtViDPGHUM" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/9EtViDPGHUM" height="1" width="1"/&gt;</description></item><item><title>How to Install, Run and Uninstall VMware Player and VirtualBox on Fedora Linux</title><link>http://fclose.com/b/linux/3460/how-to-install-run-and-uninstall-vmware-player-and-virtualbox-on-fedora-linux/</link><pubDate>Thu, 17 Nov 2011 16:46:13 PST</pubDate><description>&lt;p&gt;VMware Player and VirtualBox are two cool and free full virtualization solutions and both can run on top of a Linux host. In this post, we introduces how to install, run, and uninstall VMware Player and VirtualBox on Fedora Linux.&lt;/p&gt;
&lt;h3&gt;VMware Player&lt;/h3&gt;
&lt;h4&gt;Install VMware Player&lt;/h4&gt;
&lt;p&gt;Download the installation bundle from &lt;a href="http://fclose.com/t/go/vmware-player/" rel="nofollow"&gt;VMware&amp;#8217;s website&lt;/a&gt;. For example, the file we download is: VMware-Player-4.0.0-471780.x86_64.bundle .&lt;/p&gt;
&lt;p&gt;Install needed kernel header and devel packages&lt;/p&gt;
&lt;pre&gt;# yum install kernel-headers kernel-devel&lt;/pre&gt;
&lt;p&gt;Run the bundle file&lt;/p&gt;
&lt;pre&gt;# sh VMware-Player-4.0.0-471780.x86_64.bundle&lt;/pre&gt;
&lt;p&gt;Then just follow the instruction of the GUI of the VMware installer, and you can finish the installation.&lt;/p&gt;
&lt;p&gt;For Fedora 16 with kernel 3.1.0 or 3.1.1 with VMware Player 4.0.0, the vmnet module can not compile vmnet module. The VMware-Player-4.0.1-528992.x86_64 fixes this problem and works well with 3.1 kernel. If you want to run VMware Player 4.0.0, the community give patches to it so that it works with kernel 3.1. The &lt;a href="http://fclose.com/t/go/angeleri-patch-vmplayer-4.0.0-kernel-3.1/" rel="nofollow"&gt;patch and script given by Stefano Angeleri&lt;/a&gt; works well for me. You may use it quickly by the following commands.&lt;/p&gt;
&lt;pre&gt;$ wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/09/vmware8linux31fix.tar.gz
$ tar xf vmware8linux31fix.tar.gz
# sh ./patch-modules_3.1.0.sh&lt;/pre&gt;
&lt;p&gt;systemctl prints a &amp;#8220;[FAILED]&amp;#8221; message. But you can ignore it and VMware Player works.&lt;/p&gt;
&lt;h4&gt;Run VMware Player&lt;/h4&gt;
&lt;p&gt;Just execute&lt;/p&gt;
&lt;pre&gt;$ vmplayer&lt;/pre&gt;
&lt;p&gt;Start a virtual machine just by one command&lt;/p&gt;
&lt;pre&gt;$ vmplayer /path/to/virtual/machine/config.vmx &amp;amp;&lt;/pre&gt;
&lt;p&gt;Give the path to the virtual machine configuration file (a .vmx file under the virtual machine&amp;#8217;s directory) to vmplayer as its parameter.&lt;/p&gt;
&lt;h4&gt;Uninstall VMware Player&lt;/h4&gt;
&lt;p&gt;VMware installer provides the method to uninstall VMware products. We can use this tool&lt;/p&gt;
&lt;pre&gt;# vmware-installer  --uninstall-product vmware-player&lt;/pre&gt;
&lt;p&gt;It has a GUI and just follow its instruction to finish the uninstallation.&lt;/p&gt;
&lt;h3&gt;VirtualBox&lt;/h3&gt;
&lt;h4&gt;Install VirtualBox&lt;/h4&gt;
&lt;p&gt;We use VirtualBox&amp;#8217;s repository for Fedora here. We use VirtualBox-4.1 as the example.&lt;/p&gt;
&lt;p&gt;Download the repository file.&lt;/p&gt;
&lt;pre&gt;# cd /etc/yum.repos.d
# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo&lt;/pre&gt;
&lt;p&gt;Install VirtualBox using yum&lt;/p&gt;
&lt;pre&gt;# yum install VirtualBox-4.1&lt;/pre&gt;
&lt;h4&gt;Run VirtualBox&lt;/h4&gt;
&lt;p&gt;Just execute&lt;/p&gt;
&lt;pre&gt;$ virtualbox&lt;/pre&gt;
&lt;p&gt;Start a virtual machine just by one command&lt;/p&gt;
&lt;pre&gt;# VBoxManage startvm name_of_the_virtual_machine&lt;/pre&gt;
&lt;p&gt;VBoxManager use the virtual machine&amp;#8217;s name as its parameter. The name can be found from VirtualBox&amp;#8217;s virtual machine list.&lt;/p&gt;
&lt;h4&gt;Uninstall VirtualBox&lt;/h4&gt;
&lt;p&gt;As installing VirtualBox, we can uninstall (erase) it using yum&lt;/p&gt;
&lt;pre&gt;# yum erase VirtualBox-4.1&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/z1EXv5IxgiMCJmLVuyANEztz7qQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z1EXv5IxgiMCJmLVuyANEztz7qQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/z1EXv5IxgiMCJmLVuyANEztz7qQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z1EXv5IxgiMCJmLVuyANEztz7qQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/TOTZC_ljC30" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/TOTZC_ljC30" height="1" width="1"/&gt;</description></item><item><title>A Tutorial on Ns-2</title><link>http://fclose.com/b/linux/3458/a-tutorial-on-ns-2/</link><pubDate>Wed, 16 Nov 2011 23:47:34 PST</pubDate><description>&lt;p&gt;This is a tutorial on ns-2 which gives a overview of ns-2 and introduces how to define a simple topology and the network flow. This tutorial is based on the slides for Lab session of COMP 4622 at HKUST in the fall semester of 2011.&lt;/p&gt;
&lt;p&gt;The slides of tutorial on ns-2 can be download from here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/tutorial-ns-2/"&gt;Tutorial on ns-2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MeYVR4KNPMBiQaMIss5I8mphM9Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MeYVR4KNPMBiQaMIss5I8mphM9Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MeYVR4KNPMBiQaMIss5I8mphM9Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MeYVR4KNPMBiQaMIss5I8mphM9Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/9AEr0Sukigs" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/9AEr0Sukigs" height="1" width="1"/&gt;</description></item><item><title>Installing ns-2 and ns-3 on Fedora Linux</title><link>http://fclose.com/b/linux/3376/install-ns-2-and-ns-3-on-fedora-linux/</link><pubDate>Mon, 14 Nov 2011 23:53:22 PST</pubDate><description>&lt;p&gt;ns is a discrete-event network simulator targeted primarily for research and educational use. There are two version of ns, &lt;a href="http://fclose.com/t/go/ns-2/" rel="nofollow"&gt;ns-2&lt;/a&gt; and &lt;a href="http://fclose.com/t/go/ns-3/" rel="nofollow"&gt;ns-3&lt;/a&gt;, which are quite different with each other in the implementation and method to use them. In this post, we introduce how to install ns-2 and ns-3 on Fedora Linux 15.&lt;/p&gt;
&lt;h3&gt;Install ns-2.34 on Fedora&lt;/h3&gt;
&lt;p&gt;Download the allinone package&lt;/p&gt;
&lt;pre&gt;$ wget http://downloads.sourceforge.net/project/nsnam/allinone/ns-allinone-2.34/ns-allinone-2.34.tar.gz&lt;/pre&gt;
&lt;p&gt;Uncompress the pacakge&lt;/p&gt;
&lt;pre&gt;$ tar xf ns-allinone-2.34.tar.gz&lt;/pre&gt;
&lt;p&gt;Install needed pacakges&lt;/p&gt;
&lt;pre&gt;# yum install gcc make libX11-devel libXt-devel libXmu-devel&lt;/pre&gt;
&lt;p&gt;Ns-2 requires older version of gcc. So we install gcc-34 and gcc-34-c++ for it&lt;/p&gt;
&lt;pre&gt;# yum install compat-gcc-34 compat-gcc-34-c++&lt;/pre&gt;
&lt;p&gt;Install the allinon package of ns-2. During the install process, specify the CXX compiler we use&lt;/p&gt;
&lt;pre&gt;$ cd ns-allinone-2.34
$ CXX=g++34 ./install&lt;/pre&gt;
&lt;p&gt;Configure the environmental variables for ns-2 and nam, and add the executables to the PATH so that we can use ns and nam directly.&lt;/p&gt;
&lt;p&gt;Add to &lt;em&gt;~/.bashrc&lt;/em&gt; if you use bash&lt;/p&gt;
&lt;pre&gt;NS_HOME=/full/path/to/ns-allinone-2.34
PATH=$NS_HOME/bin:$NS_HOME/tcl8.4.18/unix:$NS_HOME/tk8.4.18/unix:$PATH
export PATH&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;Add to &lt;em&gt;~/.cshrc_user&lt;/em&gt; if you use c shell&lt;/p&gt;
&lt;pre&gt;setenv NS_HOME "/full/path/to/ns-allinone-2.34"
setenv PATH "${PATH}:${NS_HOME}/bin:${NS_HOME}/tcl8.4.18/unix:${NS_HOME}/tk8.4.18/unix"
setenv LD_LIBRARY_PATH "${NS_HOME}/otcl-1.13:${NS_HOME}/ns-2.34/lib:/usr/local/lib"
setenv TCL_LIBRARY "${NS_HOME}/tcl8.4.18/library"&lt;/pre&gt;
&lt;p&gt;The installation is done by this step. Open another shell and try our installation:&lt;/p&gt;
&lt;pre&gt;$ nam&lt;/pre&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;pre&gt;$ ns&lt;/pre&gt;
&lt;h3&gt;Install ns-3.12.1 on Fedora&lt;/h3&gt;
&lt;p&gt;Install needed packages&lt;/p&gt;
&lt;pre&gt;# yum install libxml2 libxml2-devel gcc gcc-c++ make automake \
autoconf binutils openssh-server openssh-clients openssl python \
python-devel mercurial bzr scons flex bison tcpdump valgrind gdb&lt;/pre&gt;
&lt;p&gt;Download the allinone pacakge for ns-3&lt;/p&gt;
&lt;pre&gt;$ mkdir tarballs
$ cd tarballs
$ wget http://www.nsnam.org/release/ns-allinone-3.12.1.tar.bz2
$ tar xjf ns-allinone-3.12.1.tar.bz2&lt;/pre&gt;
&lt;p&gt;Build ns-3&lt;/p&gt;
&lt;pre&gt;$ cd ns-allinone-3.12.1/
$ ./build.py&lt;/pre&gt;
&lt;p&gt;We will now interact directly with Waf in the ns-3.12.1 directory&lt;/p&gt;
&lt;pre&gt;$ cd ns-3.12.1&lt;/pre&gt;
&lt;p&gt;Configuration with Waf&lt;/p&gt;
&lt;pre&gt;$ ./waf -d optimized configure --enable-examples; ./waf&lt;/pre&gt;
&lt;p&gt;Validate our installation by running one example&lt;/p&gt;
&lt;pre&gt;$ ./waf shell
$ cd build/optimized/examples/
$ udp/udp-echo&lt;/pre&gt;
&lt;p&gt;Use tcpdump to display the simulation result&lt;/p&gt;
&lt;pre&gt;$ tcpdump -tt -r udp-echo-0-1.pcap&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6zkkZ_kRrkoNVcGWxbkG5JIjkqw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6zkkZ_kRrkoNVcGWxbkG5JIjkqw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6zkkZ_kRrkoNVcGWxbkG5JIjkqw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6zkkZ_kRrkoNVcGWxbkG5JIjkqw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/VyTodBs2XN0" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/VyTodBs2XN0" height="1" width="1"/&gt;</description></item><item><title>Hiking: MacLehose Trail Stage 5 – Tate’s Cairn to Tai Po Road</title><link>http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/</link><pubDate>Sun, 13 Nov 2011 08:52:12 PST</pubDate><description>&lt;p&gt;&lt;img title="stitched-photo-1" src="http://fclose.com/b/ericma/files/2011/11/stitched-photo-1-600x166.jpg" alt="" width="600" height="166" /&gt;&lt;/p&gt;
&lt;p&gt;We went hiking MacLehose Trail Stage 5 (10.6 km in total) on Nov. 13, and climbed to the Lion Rock along MacLehose Trail. It took us about 6 hours including around 1 hour to climb the Lion Rock and lots time for sight view.&lt;/p&gt;
&lt;p&gt;My suggested route from our experience:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Take a taxi to Gilwell Camp Site (基維爾營地) from the Choi Hung (彩虹) MTR Station (or HKUST if you starts there as us).&lt;/li&gt;
&lt;li&gt;Go through the Camp Site&amp;#8217;s gate (pass the CampSite Office, a very small gate) to the MacLehose Trail.&lt;/li&gt;
&lt;li&gt;Start from the Tate&amp;#8217;s Cairn (大老山; Tai Lo Shan).&lt;/li&gt;
&lt;li&gt;Reaches the west end of MacLehose Trail Section 5: Tai Po Road (大埔公路).&lt;/li&gt;
&lt;li&gt;Take bus 81 at Shek Lei Pui Reservoir (石梨貝水塘) station to Price Edward or Mong Kok MTR station.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;More about MacLehose Trail Stage 5:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/ericma/maclehose_5_6/" rel="nofollow"&gt;Hong Kong Tourism Board&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/ericma/maclehose_5_6_map/" rel="nofollow"&gt;郊野樂行 Enjoy Hiking (with the map)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Photos taken:&lt;/p&gt;

&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/stb_3308/" title="STB_3308"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/STB_3308-180x180.jpg" class="attachment-thumbnail" alt="STB_3308" title="STB_3308" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3216/" title="IMG_3216"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3216-180x180.jpg" class="attachment-thumbnail" alt="IMG_3216" title="IMG_3216" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3221/" title="IMG_3221"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3221-180x180.jpg" class="attachment-thumbnail" alt="IMG_3221" title="IMG_3221" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3230/" title="IMG_3230"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3230-180x180.jpg" class="attachment-thumbnail" alt="IMG_3230" title="IMG_3230" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3231/" title="IMG_3231"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3231-180x180.jpg" class="attachment-thumbnail" alt="IMG_3231" title="IMG_3231" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3243/" title="IMG_3243"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3243-180x180.jpg" class="attachment-thumbnail" alt="IMG_3243" title="IMG_3243" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3245/" title="IMG_3245"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3245-180x180.jpg" class="attachment-thumbnail" alt="IMG_3245" title="IMG_3245" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3263/" title="IMG_3263"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3263-180x180.jpg" class="attachment-thumbnail" alt="IMG_3263" title="IMG_3263" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3274/" title="IMG_3274"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3274-180x180.jpg" class="attachment-thumbnail" alt="IMG_3274" title="IMG_3274" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3280/" title="IMG_3280"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3280-180x180.jpg" class="attachment-thumbnail" alt="IMG_3280" title="IMG_3280" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/lion-rock-me/" title="On the Lion Rock"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/lion-rock-me-180x180.jpg" class="attachment-thumbnail" alt="On the Lion Rock" title="On the Lion Rock" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3299/" title="IMG_3299"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3299-e1321202893580-180x180.jpg" class="attachment-thumbnail" alt="IMG_3299" title="IMG_3299" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3294/" title="IMG_3294"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3294-180x180.jpg" class="attachment-thumbnail" alt="IMG_3294" title="IMG_3294" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/img_3306/" title="IMG_3306"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/IMG_3306-180x180.jpg" class="attachment-thumbnail" alt="IMG_3306" title="IMG_3306" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/stitched-photo-1/" title="stitched-photo-1"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/stitched-photo-1-180x180.jpg" class="attachment-thumbnail" alt="stitched-photo-1" title="stitched-photo-1" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/stitched-photo-2/" title="stitched-photo-2"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/stitched-photo-2-180x180.jpg" class="attachment-thumbnail" alt="stitched-photo-2" title="stitched-photo-2" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3342/hiking-maclehose-trail-stage-5-tates-cairn-to-tai-po-road/stitched-photo-3-2/" title="stitched-photo-3"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/11/stitched-photo-31-180x180.jpg" class="attachment-thumbnail" alt="stitched-photo-3" title="stitched-photo-3" /&gt;&lt;/a&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/w_arUdjbjN9CymZOqLxmuzDbcdc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w_arUdjbjN9CymZOqLxmuzDbcdc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/w_arUdjbjN9CymZOqLxmuzDbcdc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/w_arUdjbjN9CymZOqLxmuzDbcdc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/WVpfkmFkEEg" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/WVpfkmFkEEg" height="1" width="1"/&gt;</description></item><item><title>Inline Assembly with GCC on Linux</title><link>http://fclose.com/b/programming/3035/inline-assembly-with-gcc-on-linux/</link><pubDate>Tue, 08 Nov 2011 20:06:30 PST</pubDate><description>&lt;p&gt;One cool feature of gcc is that it can inline assembly into C code. With inline assembly, the programmer can precisely control the execution of the processor, such as forcing variables to use registers, getting special processor state efficiently, and writing critical efficient code in assembly by hand.&lt;/p&gt;
&lt;p&gt;I compile a list of tutorials from the Internet about inline assembly with gcc on Linux. These tutorials use AT&amp;amp;T syntax for assembly on x86 system. For x86-64, the difference with x86 is small. The method is similar, just the type of instructions and registers, such as movq, %rax, %r15.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/programming/gcc-inline-assembly/" rel="nofollow"&gt;GCC-Inline-Assembly-HOWTO&lt;/a&gt; by Sandeep.S&lt;/p&gt;
&lt;p&gt;&amp;#8220;This HOWTO explains the use and usage of the inline assembly feature provided by GCC. There are only two prerequisites for reading this article, and that’s obviously a basic knowledge of x86 assembly language and C.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/programming/brennan-inline/" rel="nofollow"&gt;Brennan&amp;#8217;s Guide to Inline Assembly&lt;/a&gt; by Brennan &amp;#8220;Bas&amp;#8221; Underwood&lt;/p&gt;
&lt;p&gt;&amp;#8220;This is meant to be an introduction to inline assembly under DJGPP. DJGPP is based on GCC, so it uses the AT&amp;amp;T/UNIX syntax and has a somewhat unique method of inline assembly.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/programming/linasm/" rel="nofollow"&gt;Using Assembly Language in Linux&lt;/a&gt;. by Phillip&lt;/p&gt;
&lt;p&gt;&amp;#8220;This article will describe assembly language programming under Linux. Contained within the bounds of the article is a comparison between Intel and AT&amp;amp;T syntax asm, a guide to using syscalls and a introductory guide to using inline asm in gcc.&lt;/p&gt;
&lt;p&gt;This article was written due to the lack of (good) info on this field of programming (inline asm section in particular), in which case i should remind thee that this is not a shellcode writing tutorial because there is no lack of info in this field.&amp;#8221;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/6Uf9qWopREA" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/6Uf9qWopREA" height="1" width="1"/&gt;</description></item><item><title>Ordered Apple iPhone 4S 16GB Black at 3Shop of Three Hong Kong</title><link>http://fclose.com/b/ericma/3331/ordered-apple-iphone-4s-16gb-black-at-3shop-of-three-hong-kong/</link><pubDate>Tue, 08 Nov 2011 00:38:11 PST</pubDate><description>&lt;p&gt;Update: Picked up the Apple iPhone 4S 16GB Black from 3 Hong Kong at 3Shop on the afternoon of Nov. 11, 2011. Everything is good. Also updated iOS to iOS 5.0.1.&lt;/p&gt;
&lt;p&gt;Update: My $28 VAS is waived since I use the $56 1966 IDD package.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;I ordered an Apple iPhone 4S 16GB Black from 3 Hong Kong at 3Shop. The main benefit of ordering from 3 Hong Kong is that I can get the iPhone 4S before Nov. 12, that is, the same day or one day later of the release of iPhone 4S by Apple in Hong Kong.&lt;/p&gt;
&lt;p&gt;I registered at 3 Hong Kong one week before and a sales of 3 Hong Kong called me the day before yesterday and told me that I am in the head part of the queue and can get the iPhone 4S in the first several days after Nov. 11. When I make the order today, the staff of 3Shop confirmed with me that I can get the iPhone 4S on or before Nov. 12.&lt;/p&gt;
&lt;p&gt;The iPhone 4S from 3 Hong Kong must go with a plan. I choose the 298/mon plan, which is suitable for me and also the best price for me compared to my current plan with 3 Hong Kong (88/mon, I use around 1400 min per month). I pay around extra &lt;del&gt;$1083.84&lt;/del&gt; $411.84 totally in two years compared to my current one (deduct the price for iPhone 4S) with some benefit (I show the details later).&lt;/p&gt;
&lt;p&gt;I pay by the Manhattan Credit Card, so that I can enjoy additional offer: 1) $0 prepay ($4300 for a normal one. This is very nice, really.), 2) pay handset fee monthly ($19.16 each month) for 24 months, 3) waive of the HK$12 MTR/tunnel fee (nice, too), 4) VAS of $28 ($36 for a normal one) ($0 if subscribe the $56 1966 IDD package), 5) Unlimited local data usage for first 6 months.&lt;/p&gt;
&lt;p&gt;A summary of my plan and a comparison to my old plan are as follows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Old plan with 3 Hong Kong:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Month contract: $88 (1300 min basic + Environmental Friendly Plan).&lt;/p&gt;
&lt;p&gt;For 24 months in total: $88 x 24 = $2112&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;iPhone 4S plan with 3 Hong Kong:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The package: 1800 min basic + unlimited Wi-FI + 500MB (unlimited for the first 6 months) Local Data  + others.&lt;/p&gt;
&lt;p&gt;Month contract: $298&lt;/p&gt;
&lt;p&gt;VAS packages: &lt;del&gt;$28&lt;/del&gt; $0 (if subscribe the $56 1966 IDD package)&lt;/p&gt;
&lt;p&gt;MTR/tunnel fee: $0 (Waived)&lt;/p&gt;
&lt;p&gt;Handset (iPhone 4S 16G) price: $19.16&lt;/p&gt;
&lt;p&gt;Monthly fee in total: $298 &lt;del&gt;+ $28&lt;/del&gt; + $19.16 = &lt;del&gt;$345.16&lt;/del&gt; $317.16&lt;/p&gt;
&lt;p&gt;Fee for 24 months: &lt;del&gt;$345.16&lt;/del&gt; $317.16 x 24 = &lt;del&gt;$8283.84&lt;/del&gt; $7611.84&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Comparison:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Fee of iPhone 4S plan, deduct the price for iPhose 4S: &lt;del&gt;$8283.84&lt;/del&gt; $7611.84 &amp;#8211; $5088 (Apple&amp;#8217;s price) = &lt;del&gt;$3195.84&lt;/del&gt; $2523.84&lt;/p&gt;
&lt;p&gt;The difference (deduct my old plan): &lt;del&gt;$3195.84&lt;/del&gt; $2523.84 &amp;#8211; $2112 = &lt;del&gt;$1083.84&lt;/del&gt; $411.84&lt;/p&gt;
&lt;p&gt;For each month: &lt;del&gt;$1083.84&lt;/del&gt; $411.84 / 24 = &lt;del&gt;$45.16&lt;/del&gt; $17.16&lt;/p&gt;
&lt;p&gt;So I pay extra &lt;del&gt;$45.16&lt;/del&gt; $17.16 each month after subscribing the iPhone 4S plan. But I can get the benefit of 1) using iPhone 4S 16G just after Apple&amp;#8217;s release, 2) pay the iPhone 4S&amp;#8217;s price monthly for 24 months, 3) unlimited Wi-Fi + 500MB local data, 4) 3Screen one year (worth $3,380 according to 3), 5) &lt;del&gt;$28 VAS package and&lt;/del&gt; $0 MTR/tunnel fee.&lt;/p&gt;
&lt;p&gt;Although 3&amp;#8242;s signal is not very good according to others, I use 3 for more than 1 year and I am happy with it signal and the $56 unlimited IDD plan (I call to mainland China a lot), especially that only 3 has signal in the Lab where I stay in HKUST.&lt;/p&gt;
&lt;p&gt;The iPhone 4S plan is a good choice for those who want to use iPhone 4S but can not get into the pre-order phase and do not want to wait in the IFC mall before Apple Store for a very long time.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0o9nURPb2AQ1EnG3h9eYtFYiD2Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0o9nURPb2AQ1EnG3h9eYtFYiD2Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0o9nURPb2AQ1EnG3h9eYtFYiD2Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0o9nURPb2AQ1EnG3h9eYtFYiD2Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/1A6WbGlyDq4" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/1A6WbGlyDq4" height="1" width="1"/&gt;</description></item><item><title>Installing and Configuring 32-bit Firefox on 64-bit Linux (Fedora)</title><link>http://fclose.com/b/linux/3092/installing-and-configuring-32bit-firefox-on-64bit-linux-fedora/</link><pubDate>Sun, 30 Oct 2011 20:56:20 PDT</pubDate><description>&lt;p&gt;On a x86-64 64 bit Linux system, sometimes we may want to use the 32 bit Firefox, although the support to 64 bit Firefox is getting much better. Just for needed ones, this post introduces how to install 32 bit Firefox on 64 bit Linux (Fedora as the example).&lt;/p&gt;
&lt;h3&gt;Install 32-bit firefox&lt;/h3&gt;
&lt;p&gt;First, install firfox.i686 package.&lt;/p&gt;
&lt;pre&gt;# linux32
# yum install firefox.i686&lt;/pre&gt;
&lt;p&gt;Firefox can simply run now. But we still need to fix some issues.&lt;/p&gt;
&lt;p&gt;When run firefox, we may get these warnings:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(firefox:4860): Gtk-WARNING **: Unable to locate theme engine in module_path: &amp;#8220;clearlooks&amp;#8221;,&lt;/span&gt;&lt;br /&gt;
&lt;span&gt; Gtk-Message: Failed to load module &amp;#8220;pk-gtk-module&amp;#8221;: libpk-gtk-module.so: cannot open shared object file: No such file or directory&lt;/span&gt;&lt;br /&gt;
&lt;span&gt; Gtk-Message: Failed to load module &amp;#8220;canberra-gtk-module&amp;#8221;: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;To fix these warnings, install needed packages:&lt;/p&gt;
&lt;pre&gt;# yum install libcanberra-gtk2.i686 \
 gtk2-engines.i686 \
 PackageKit-gtk-module.i686&lt;/pre&gt;
&lt;p&gt;However, there is no input method. To enable ibus-gtk2 input method in 32bit Firefox, install the ibus-gtk2 package&lt;/p&gt;
&lt;pre&gt;# yum install ibus-gtk2.i686&lt;/pre&gt;
&lt;h3&gt;Install the flash-plugin&lt;/h3&gt;
&lt;p&gt;Enable rpmfusion repository: &lt;a href="http://fclose.com/t/go/enable-rpmfusion/"&gt;Enable RPM Fusion repositories&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Install flash plugin&lt;/p&gt;
&lt;pre&gt;# yum install flash-plugin.i386&lt;/pre&gt;
&lt;p&gt;Set up flash plugin&lt;/p&gt;
&lt;pre&gt;# /usr/lib/flash-plugin/setup&lt;/pre&gt;
&lt;p&gt;There is no sound in flash. For sound support and curl support, install&lt;/p&gt;
&lt;pre&gt;# yum install alsa-plugins-pulseaudio.i686 curl.i686&lt;/pre&gt;
&lt;p&gt;You should have sound. flash-plugin works.&lt;/p&gt;
&lt;p&gt;Firefox should complain nothing and work well now. Enjoy it.&lt;/p&gt;
&lt;p&gt;Additional gift:&lt;/p&gt;
&lt;p&gt;Force to run firefox in 32-bit mode:&lt;/p&gt;
&lt;pre&gt;#!/bin/bash

setarch i686 firefox -new-tab $*&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1pL91xmFrTXTFKW3mrV0160X-nQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1pL91xmFrTXTFKW3mrV0160X-nQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1pL91xmFrTXTFKW3mrV0160X-nQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1pL91xmFrTXTFKW3mrV0160X-nQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/B8XfyZM5OLQ" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/B8XfyZM5OLQ" height="1" width="1"/&gt;</description></item><item><title>How to Set Up and Configure NFS Server and Clients</title><link>http://fclose.com/b/linux/3396/how-to-set-up-and-configure-nfs-server-and-clients/</link><pubDate>Sun, 30 Oct 2011 08:42:09 PDT</pubDate><description>&lt;p&gt;NFS is widely deployed and used even after more than twenty year. NFS is easy to set up and easy to use. This introduces how to set up the NFS server and clients. We use the Fedora system as the example.&lt;/p&gt;
&lt;h3&gt;Set up a NFS Server&lt;/h3&gt;
&lt;p&gt;Configure /etc/exports to give clients the permission to use the NFS directories.&lt;/p&gt;
&lt;h4&gt;Edit /etc/exports&lt;/h4&gt;
&lt;p&gt;For example, to allow the servers inside subnet 10.0.0.1/24 to mount the /home directory with read/write permission. Add this line to /etc/exports:&lt;/p&gt;
&lt;pre&gt;/home 10.0.0.1/24(rw)&lt;/pre&gt;
&lt;p&gt;For details of the exports functions, please refer to &lt;a href="http://fclose.com/p/linux/man/5-exports/"&gt;export manual&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;Start up the NFS service&lt;/h4&gt;
&lt;p&gt;Enable nfs service on the NFS server so that the NFS service daemon automatically starts each time the server starts:&lt;/p&gt;
&lt;pre&gt;# /sbin/chkconfig nfs on&lt;/pre&gt;
&lt;p&gt;You may also manually start it&lt;/p&gt;
&lt;pre&gt;# service nfs start&lt;/pre&gt;
&lt;h3&gt;Client-slide configuration&lt;/h3&gt;
&lt;h4&gt;Package installation&lt;/h4&gt;
&lt;pre&gt;# yum nfs-utils&lt;/pre&gt;
&lt;h4&gt;Start the rpcbind service&lt;/h4&gt;
&lt;pre&gt;# service rpcbind restart&lt;/pre&gt;
&lt;p&gt;You may also set it to start automatically&lt;/p&gt;
&lt;p&gt;# chkconfig rpcbind on&lt;/p&gt;
&lt;h4&gt;Mount the NFS directory&lt;/h4&gt;
&lt;pre&gt;# mount NFS_SERVER:/lhome/userdir MOUNT_POINT&lt;/pre&gt;
&lt;p&gt;where NFS_SERVER is the NFS server&amp;#8217;s address, and MOUNT_POINT is the local mount point on the client side for the NFS directory.&lt;/p&gt;
&lt;p&gt;You may also consider using autofs on top of NFS as described in &lt;a href="http://fclose.com/281/unified-linux-login-and-home-directory-using-openldap-and-nfsautomount/"&gt;Unified Linux Login and Home Directory Using OpenLDAP and NFS/automount&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OTnt0ugxr340FZpV91ChApXg7Mk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OTnt0ugxr340FZpV91ChApXg7Mk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OTnt0ugxr340FZpV91ChApXg7Mk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OTnt0ugxr340FZpV91ChApXg7Mk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/_JAb6WS2Hv8" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/_JAb6WS2Hv8" height="1" width="1"/&gt;</description></item><item><title>x86-64 ISA / Assembly Programming References</title><link>http://fclose.com/b/programming/3024/x86-64-isa-assembly-references/</link><pubDate>Tue, 25 Oct 2011 10:24:03 PDT</pubDate><description>&lt;p&gt;This post collect the reference resource for x86-64 (also know as Intel 64, AMD 64) ISA / assembly language programming. x86-64 is a 64-bit extension of the Intel x86 instruction set.&lt;/p&gt;
&lt;h3&gt;x86-64 Assembly Programming&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://www.cs.cmu.edu/~fp/courses/15213-s07/resources.html" rel="nofollow"&gt;Introduction to Computer Systems Resources&lt;/a&gt; (15-213 Introduction to Computer Systems Resources from CMU) Lots materials for learning machine-level programming on the x86-64 machines.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.cs.cmu.edu/~fp/courses/15213-s07/misc/asm64-handout.pdf" rel="nofollow"&gt;x86-64 Machine-Level Programming&lt;/a&gt; This document supplements Chapter 3 of the CS:APP book.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.x86-64.org/documentation/assembly.html" rel="nofollow"&gt;Gentle Introduction to x86-64 Assembly&lt;/a&gt; This document summarizes differences between x86-64 and i386 assembly. The readers should already know the i386 gas syntax.&lt;/p&gt;
&lt;h3&gt;x86-64 (and x86) ISA Reference&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html" rel="nofollow"&gt;Intel® 64 and IA-32 Architectures Software Developer Manuals&lt;/a&gt; Official reference from Intel.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.amd.com/documentation/guides/Pages/default.aspx#developer_guides" rel="nofollow"&gt;AMD64 Architecture Programmer&amp;#8217;s&lt;/a&gt; Manual Official reference from AMD.&lt;/p&gt;
&lt;h3&gt;Others&lt;/h3&gt;
&lt;h4&gt;&lt;a href="http://fclose.com/t/go/programming/softwareoptimization/" rel="nofollow"&gt;Software Optimization Resources&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Software optimization resources. Optimization manual for advanced assembly language programmers and compiler makers, details about the internal working of various microprocessors, instruction latencies, execution unit throughputs, micro-operation breakdown and other details for all application instructions of most microprocessors from Intel, AMD and VIA.&lt;/p&gt;
&lt;h4&gt;i386 References and Learning Resource&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/book/csapp/" rel="nofollow"&gt;Computer Systems: A Programmer&amp;#8217;s Perspective, 2/E (CS:APP2e)&lt;/a&gt; This text book introduces assembly programming on x86 machines.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sourceware.org/binutils/docs-2.20/as/i386_002dDependent.html#i386_002dDependent" rel="nofollow"&gt;80386 Dependent Features of &lt;em&gt;as&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.drpaulcarter.com/pcasm/" rel="nofollow"&gt;PC Assembly Tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sandpile.org/" rel="nofollow"&gt;x86 processor information&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Binary interface&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://www.sco.com/developers/gabi/latest/contents.html" rel="nofollow"&gt;System V Application Binary Interface&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Update history:&lt;/strong&gt; Nov. 11, 2011. Add optimization resource.&lt;/span&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/5vF0aw66ISc" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/5vF0aw66ISc" height="1" width="1"/&gt;</description></item><item><title>Howto for New Git Users</title><link>http://fclose.com/b/linux/3358/howto-for-new-git-user/</link><pubDate>Thu, 13 Oct 2011 00:54:03 PDT</pubDate><description>&lt;p&gt;This post is a tutorial for new users to set up git and clone and use the first repository. This post introduces how to start using git for new users. This post does not introduce details of how to use git commands. Please refer to the &lt;a href="http://fclose.com/p/linux/man/1-git/"&gt;git manual &lt;/a&gt;or other tutorials for how to commit, push, etc.&lt;/p&gt;
&lt;p&gt;In this post, we introduce how to set up keys for git, how to configure non-standard SSH port for git, and how to use the first git repository.&lt;/p&gt;
&lt;h3&gt;Users’ SSH private/public key pairs&lt;/h3&gt;
&lt;p&gt;Every user of git, administrator or a normal user, need to have a private/public SSH key pairs in ~/.ssh.&lt;/p&gt;
&lt;p&gt;New users need to generate the key pairs (if they don’t have one) by executing this command:&lt;/p&gt;
&lt;pre&gt;$ ssh-keygen -t rsa&lt;/pre&gt;
&lt;p&gt;After generating the key pairs, the user can give the public key (~/.ssh/id_rsa.pub) to the git server administrator and ask he/she to create a account and repository.&lt;/p&gt;
&lt;p&gt;After the git server administrator adds the new user by its public key to the git server, the user can starts to use git.&lt;/p&gt;
&lt;h3&gt;Non-standard SSH port&lt;/h3&gt;
&lt;p&gt;This section only for the git servers that use non-stardard SSH port, i.e. other than 22.&lt;/p&gt;
&lt;p&gt;If sshd is listening on non-standard port(s) on the git server, for example 22111, the user should set SSH to use the special port. We use example.org:22111 as the example here.&lt;/p&gt;
&lt;p&gt;Put these two lines in your &lt;em&gt;~/.ssh/config&lt;/em&gt; file:&lt;/p&gt;
&lt;pre&gt;Host example.org
  Port 22111&lt;/pre&gt;
&lt;p&gt;If this &lt;em&gt;~/.ssh/config&lt;/em&gt; file doesn’t exist, you should create it first and set it’s mod to 744:&lt;/p&gt;
&lt;pre&gt;$ chmod 744 ~/.ssh/config&lt;/pre&gt;
&lt;h3&gt;Create the new repository&lt;/h3&gt;
&lt;p&gt;This section only for users to create new repository. If the user is to use an already exist repository, please skip this section. Besides, the steps in this section only need to be done once for one repository.&lt;/p&gt;
&lt;p&gt;We use the example that the administrator create repository &lt;em&gt;repo1&lt;/em&gt; for &lt;em&gt;user1&lt;/em&gt; and give &lt;em&gt;user1&lt;/em&gt; write privilege to this repository. We assume the address for this repository is &lt;em&gt;git@example.org:repo1.git&lt;/em&gt; . Now we introduce how does &lt;em&gt;user1&lt;/em&gt; create the new repository &lt;em&gt;repo1&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;As &lt;em&gt;user1&lt;/em&gt; has the write privilege on the &lt;em&gt;repo1&lt;/em&gt; repository, it can create this repository on it’s local machine first and then push it to the git server. After pushing it to the git server.&lt;/p&gt;
&lt;p&gt;These operations are done by &lt;em&gt;user1 &lt;/em&gt;on its local machine:&lt;/p&gt;
&lt;pre&gt;$ mkdir repo1
$ cd repo1
$ git init
$ touch README
$ git add README
$ git commit -a -m 'first commit'
$ git remote add origin git@example.org:repo1.git
$ git push origin master&lt;/pre&gt;
&lt;p&gt;If it successes, the new repository is created on the git server.&lt;/p&gt;
&lt;h3&gt;Use the repository&lt;/h3&gt;
&lt;p&gt;Please note that step 1 only need to be done for the first time. After getting the repository to a local directory on the user&amp;#8217;s local machine, the user only need to follow step 2 to step 5.&lt;/p&gt;
&lt;p&gt;1. Clone the repository for the first-time. You only need to do it once for the first time, for the later usage of this repository, you continue use this local directory.&lt;/p&gt;
&lt;pre&gt;$ git clone git@example.org:repo1.git&lt;/pre&gt;
&lt;p&gt;A directory named repo1 will be created in the current directory.&lt;/p&gt;
&lt;p&gt;If you want to use the repository directory in the previous section, just add these line to the end of &lt;em&gt;.git/config&lt;/em&gt;:&lt;/p&gt;
&lt;pre&gt;[branch "master"]
remote = origin
merge = refs/heads/master&lt;/pre&gt;
&lt;p&gt;2. Pull the updates made before by you or the others. Use &lt;em&gt;&amp;#8220;git pull&amp;#8221;&lt;/em&gt; command in the repository’s directory.&lt;/p&gt;
&lt;pre&gt;$ cd repo1
$ git pull&lt;/pre&gt;
&lt;p&gt;Then you can work on this updated copy of the repository by editing the files.&lt;/p&gt;
&lt;p&gt;If you add a file or directory (for example, add directory a/b and file a/t.txt), you can add it to the repository by:&lt;/p&gt;
&lt;pre&gt;$ git add a/b a/t.txt&lt;/pre&gt;
&lt;p&gt;3. Commit the changes made by you with a message&lt;/p&gt;
&lt;pre&gt;$ git commit -a -m 'update the files'&lt;/pre&gt;
&lt;p&gt;4. Push it to the git server&lt;/p&gt;
&lt;pre&gt;$ git push&lt;/pre&gt;
&lt;p&gt;By now, your changes have been pushed to the git server. When the others use &amp;#8220;&lt;em&gt;git pull&amp;#8221;&lt;/em&gt; command, they will get the new version of the source codes that have changed by you.&lt;/p&gt;
&lt;p&gt;You can use &lt;em&gt;&amp;#8220;git log&amp;#8221;&lt;/em&gt; to see the logs of all the commits of this repository.&lt;/p&gt;
&lt;p&gt;You may be also interested in more &lt;a href="http://fclose.com/b/linux/2481/git-solutions/"&gt;git solutions&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W_5dVffv_LQubqmCrAeLgQASxOE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W_5dVffv_LQubqmCrAeLgQASxOE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W_5dVffv_LQubqmCrAeLgQASxOE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W_5dVffv_LQubqmCrAeLgQASxOE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/UY1BhhaRRR4" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/UY1BhhaRRR4" height="1" width="1"/&gt;</description></item><item><title>Installing the Flash Plugin for 64-bit Firefox in Linux x86-64</title><link>http://fclose.com/b/linux/3185/installing-the-flash-plugin-for-64-bit-firefox-in-linux-x86-64/</link><pubDate>Wed, 28 Sep 2011 10:20:49 PDT</pubDate><description>&lt;p&gt;This post introduces how to install flash plugin to 64-bit firefox on a x86-64 Linux (Fedora as the example). Both 64-bit and 32-bit plugin are available.&lt;/p&gt;
&lt;h3&gt;64-bit flash plugin for Firefox on Linux&lt;/h3&gt;
&lt;p&gt;First, download &lt;a href="http://fclose.com/t/go/linux/flashplayer-64-linux/" rel="nofollow"&gt;Flash Player Release &lt;/a&gt; for 64-bit Linux from Adobe Labs.&lt;/p&gt;
&lt;p&gt;Then, unpack the package:&lt;/p&gt;
&lt;pre&gt;$ tar xf flashplayer.tar.gz&lt;/pre&gt;
&lt;p&gt;Check whether all needed library is ready for it. If not, install the needed packages.&lt;/p&gt;
&lt;pre&gt;$ ldd libflashplayer.so&lt;/pre&gt;
&lt;p&gt;Give it executable attribute:&lt;/p&gt;
&lt;pre&gt;$ chmod +x libflashplayer.so&lt;/pre&gt;
&lt;p&gt;Copy the plugin to the plugin directory so that Firefox can use it:&lt;/p&gt;
&lt;pre&gt;$ cp libflashplayer.so ~/.mozilla/plugins/&lt;/pre&gt;
&lt;h3&gt;32-bit flash plugin for Firefox on Linux&lt;/h3&gt;
&lt;p&gt;32-bit flash plugin can also work well for 64-bit firefox on 64-bit Linux. We can use the rpm packages from adobe&amp;#8217;s repository.&lt;/p&gt;
&lt;p&gt;First, install adobe release repository:&lt;/p&gt;
&lt;pre&gt;# rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm&lt;/pre&gt;
&lt;p&gt;Install nspluginwrapper so that 32-bit plugins can run on 64-bit system, and 32-bit alsa plugin for pulseaudio so that the 32-bit flash plugin can play sound on the 64-bit system.&lt;/p&gt;
&lt;pre&gt;# yum install nspluginwrapper.{x86_64,i686} \
 alsa-plugins-pulseaudio.i686 --disablerepo=adobe-linux-i386&lt;/pre&gt;
&lt;p&gt;Install the 32-bit flash plugin:&lt;/p&gt;
&lt;pre&gt;# su -c 'yum install flash-plugin'&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uzsxJr_y3iELl4Br9PATDr-Z7es/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uzsxJr_y3iELl4Br9PATDr-Z7es/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uzsxJr_y3iELl4Br9PATDr-Z7es/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uzsxJr_y3iELl4Br9PATDr-Z7es/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LinuxandVirtualization/~4/yPIWP423dr0" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/yPIWP423dr0" height="1" width="1"/&gt;</description></item><item><title>New Blog Address</title><link>http://fclose.com/b/web/3014/new-blog-address/</link><pubDate>Fri, 19 Aug 2011 20:41:27 PDT</pubDate><description>&lt;p&gt;The blog domain is changed to fclose.com on Oct 20, 2010.&lt;/p&gt;
&lt;p&gt;The latest address is pkill.info&lt;/p&gt;
&lt;p&gt;The blog is moved to zhiqiangma.info from Jan. 22 2010.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/n94ad0TGfs_tUbkiGOVtekfpaNc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n94ad0TGfs_tUbkiGOVtekfpaNc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/n94ad0TGfs_tUbkiGOVtekfpaNc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/n94ad0TGfs_tUbkiGOVtekfpaNc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/H30ssZ1v6wA" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/H30ssZ1v6wA" height="1" width="1"/&gt;</description></item><item><title>A Free Personal WordPress Blog Solution</title><link>http://fclose.com/b/web/3012/a-free-personal-wordpress-blog-solution/</link><pubDate>Fri, 19 Aug 2011 20:39:49 PDT</pubDate><description>&lt;p&gt;If you want to have a wordpress blog for FREE co.cc + x10hosting is the best choice. I will introduce both in this post.&lt;/p&gt;
&lt;p&gt;I will briefly introduce how to set up a wordpress blog like my blog. The overall that I paid for this blog is only $0.89. I can say that it is nearly free. And the 5G traffic is enough for my blog. There are many free blog service providers such as wordpress.com and blogger. But I prefer to set up it by myself because I can control the domain name, the program and the content of my site and I can bakup the site very easily.&lt;/p&gt;
&lt;p&gt;1. Domain registration:&lt;/p&gt;
&lt;p&gt;Ff you do not want to pay for the domain you can also get a CO.CC domain for FREE from www.co.cc. You will have full dns or forwarding control of the co.cc domain you have. Dns server, CNAME, MX record, forwarding are all available. They provides an easy configuration choice for google application.&lt;/p&gt;
&lt;p&gt;I register my domain at the low price of $0.89 from GoDaddy.com .info domain is very cheap for registration. And the annual renew fee is $7.9. If the .com domain is more convenient, you can register one at the price about $10/year.&lt;/p&gt;
&lt;p&gt;2. Hosting service:&lt;/p&gt;
&lt;p&gt;I am now using hostso&amp;#8217;s HK$48/y plan. I decide to pay for a good hosting service to host my blog. With a hosting service that I pay I can get a better service.&lt;/p&gt;
&lt;p&gt;If a free hosting service is needed, I still give my recommendations:&lt;/p&gt;
&lt;p&gt;When considering the free hosting service, I have several rules:&lt;br /&gt;
* It should have some way for earning money. I don&amp;#8217;t like to see that my site disappear because the site runs out of their money.&lt;br /&gt;
* It should provides PHP + MySQL solution. I mainly using WordPress.&lt;br /&gt;
* It should allow ad-free. I don&amp;#8217;t like to have a big banner on top or at the bottom of my site.&lt;br /&gt;
* It should have a good availability rate and performance.&lt;br /&gt;
* It will be better if my friends in China can also browse the site on there servers.&lt;/p&gt;
&lt;p&gt;x10Hosting.com is the best free hosting service I have ever found. My blog is running on their servers now. Their service can fulfil all my requirements listed above ;) . They provides 500MB disk space 10G bandwidth and 3 MySQL database, which is far enough for my personal blog. They provides .htaccess support and FTP account. And what&amp;#8217;s best is that my friends in China can also browse my blog directly now. Their control panel and web design are much professional, I like it very much. Compared to the other free hosting service, I highly recommend x10hosting.&lt;/p&gt;
&lt;p&gt;Before x10hosting, I used the free hosting plan of freehostia.com. I don&amp;#8217;t recommend the service of 000webhost.com now even they offer a &amp;#8220;1500 MB Disk Space, 100 GB Data Transfer&amp;#8221; plan at the price of $0.00. I like the 000webhost&amp;#8217;s service plan and the user interface better. But it seems they don&amp;#8217;t accept new application now. I thought I wouldn&amp;#8217;t spend time on transferring my site because their free 5G traffic plan is enough for me. If more disk space or traffic is needed for your site, you can consider the paid service plan. But the x10hosting&amp;#8217;s service is good enough for persuading me to transfer ;)&lt;/p&gt;
&lt;p&gt;So, with overall fee of $0.89, I get a personal blog. And I thank the guys that make wordpress and it&amp;#8217;s useful plugins available to us for free! WordPress is my favourite blog. I can choose any theme that I like and the most beautiful thing is that there are all kinds of plugins ready for using!&lt;/p&gt;
&lt;p&gt;The theme and plugins I am using are:&lt;br /&gt;
Theme: iBlog2 (A MacOS X style theme)&lt;br /&gt;
Plugins: Akismet (Anti spam), All in One SEO Pack (SEO plugin), KB Robots.txt (Edit robots.txt file), Sociable (Add share and enjoy), WP Super Cache (Save CPU usage of the server), Yet Another Related Posts Plugin (Recommend related posts).&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sXuQcyzUpNIp6I8hs4PEak2dViA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sXuQcyzUpNIp6I8hs4PEak2dViA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sXuQcyzUpNIp6I8hs4PEak2dViA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sXuQcyzUpNIp6I8hs4PEak2dViA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/TmTlM7Qw6E8" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/TmTlM7Qw6E8" height="1" width="1"/&gt;</description></item><item><title>This Blog Passes W3C XHTML 1.0 Transitional Validation</title><link>http://fclose.com/b/web/3010/this-blog-passes-w3c-xhtml-1-0-transitional-validation/</link><pubDate>Fri, 19 Aug 2011 20:38:38 PDT</pubDate><description>&lt;p&gt;I have made this blog pass the W3C XHTML 1.0 transitional validation! I changed the theme code and made sure the theme have pass it. I also test the homepage and most of the links that can find on the homepage. Some of the post may not pass the validation because of the post content. If you find some post that can not pass it, please kindly notify me by comments or email :) .&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;&lt;!-- XHTML pass --&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://validator.w3.org/check?uri=referer"&gt;&lt;img src="http://www.w3.org/Icons/valid-xhtml10-blue.png" alt="Valid XHTML 1.0 Transitional" width="88" height="31" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;!-- End XHTML pass --&gt;&lt;/p&gt;
&lt;p&gt;&lt;!-- CSS3 pass --&gt;&lt;/p&gt;
&lt;p&gt;CSS level 3 validation is also passed after changing the CSS file of the theme and the plugins.&lt;a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3"&gt;&lt;br /&gt;
&lt;img style="border: 0pt none;width: 88px;height: 31px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!" /&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;!-- End CSS3 pass --&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Updated on 5 Mar. 2010. CSS3 validation passed.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AwYyxLZkI7aNVUEZMaaP5-faBtQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AwYyxLZkI7aNVUEZMaaP5-faBtQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AwYyxLZkI7aNVUEZMaaP5-faBtQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AwYyxLZkI7aNVUEZMaaP5-faBtQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/ZxsCxGdKkAQ" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/ZxsCxGdKkAQ" height="1" width="1"/&gt;</description></item><item><title>Links</title><link>http://fclose.com/b/web/3008/links/</link><pubDate>Fri, 19 Aug 2011 20:35:21 PDT</pubDate><description>&lt;h3&gt;Frequently used links&lt;/h3&gt;
&lt;h4&gt;Social networks&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://weibo.com/ericzqma" rel="nofollow"&gt;Weibo&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://twitter.com/#%21/ericzma" rel="nofollow"&gt;Twitter&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.facebook.com/zhiqiang.eric.ma" rel="nofollow"&gt;Facebook&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://renren.com/ericzqma" rel="nofollow"&gt;Renren&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Website tools&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://statcounter.com/" rel="nofollow"&gt;Statcounter&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.google.com/webmasters/" rel="nofollow"&gt;Google Webmasters&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.google.com/analytics/" rel="nofollow"&gt;Google Analytics&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://feedburner.google.com" rel="nofollow"&gt;Feedburner&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://www.google.com/adsense/" rel="nofollow"&gt;AdSense&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.infolinks.com/" rel="nofollow"&gt;InfoLinks&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.alimama.com/" rel="nofollow"&gt;Alimama&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://fclose.com/t/go/trafficrevenue/" rel="nofollow"&gt;TrafficRevenue&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;TV programs&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://tv.sohu.com/s2010/nikita/" rel="nofollow"&gt;Nikita&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://tv.sohu.com/s2010/bigbang/index.shtml" rel="nofollow"&gt;The Big bang theory&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.youku.com/show_page/id_z5754ea7ace0211e0a046.html" rel="nofollow"&gt;Desperate Housewives (on youku)&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.qiyi.com/dianshiju/fkzf8.html" rel="nofollow"&gt;Desperate Housewives (on Qiyi)&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Banks and online pay&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://bank.hangseng.com" rel="nofollow"&gt;Hang Seng&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.bochk.com" rel="nofollow"&gt;BOC HK&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.boci.com.hk/chi/index.php" rel="nofollow"&gt;BOC credit cart&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.hkbea.com" rel="nofollow"&gt;BEA HK&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.standardchartered.com.hk" rel="nofollow"&gt;Standard Chartered HK&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://bank.pingan.com/" rel="nofollow"&gt;Pingan&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://www.alipay.com" rel="nofollow"&gt;Alipay&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://www.paypal.com" rel="nofollow"&gt;Paypal&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://en.unionpay.com/front_ExchangeRate.html" rel="nofollow"&gt;UnionPay exchange rage&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Sites I like&lt;strong&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://stackoverflow.com/"&gt;Stack Overflow&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://lwn.net/"&gt;lwn&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.linuxjournal.com/"&gt;linux journal&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://wordpress.org/extend/plugins/"&gt;wordpress plugins&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://wordpress.org/extend/themes/"&gt;wordpress themes&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://codex.wordpress.org"&gt;wordpress codex&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.bedaux.net/cpp2html/"&gt;a c/c++ code to html tool&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/"&gt;w3schools, many good tutorials&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.no3dfx.com/polaroid/"&gt;Polaroid Open Source Flash Photo Gallery&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://baijia.info"&gt;Baijia.info&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.linuxquestions.org/"&gt;LinuxQuestions&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://fedoraforum.org/"&gt;fedoraforum.org&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.linuxforums.org"&gt;LinuxForums&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dmoz.org/"&gt;dmoz.org&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.archive.org"&gt;Archive: the internet time machine&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.websiteoptimization.com/services/analyze/"&gt;Web Page Analyzer&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Peoples and friends&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://www.cs.helsinki.fi/u/torvalds/"&gt;Linus Torvalds&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www2.research.att.com/~bs/homepage.html"&gt;Bjarne Stroustrup&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.tbray.org/ongoing/"&gt;Tim Bray&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://watzmann.net/"&gt;David Lutterkort&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://craig-henderson.blogspot.com/"&gt;Craig Henderson&lt;/a&gt;&lt;br /&gt;
Tim Green&lt;br /&gt;
&lt;a href="http://yeefeelee.blogbus.com"&gt;Yifei Li&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://blog.sina.com.cn/twocold"&gt;韩寒&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.yanxinxue.com/blog/"&gt;Yanxin Xue&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Blog directories&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://www.bloghub.com/" target="_blank"&gt;Bloghub&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.blogsrater.com"&gt;Blograter&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dmegs.com"&gt;Dmegs Web Directory&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.millionrss.com"&gt;millionRSS&lt;/a&gt;&lt;br /&gt;
&lt;a title="blogville" href="http://blogville.us/"&gt;blog directory&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.bloggernow.com"&gt;BloggerNow.com&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.globeofblogs.com/"&gt;Globe of Blogs&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.5z5.com/Directory/Computers/Operating%20Systems/" rel="nofollow, external"&gt;5z5.com&lt;/a&gt;&lt;br /&gt;
&lt;a title="Search Engine Optimization Tips" href="http://www.ongsono.com/seo_guide/" target="_blank"&gt;SEO Tips&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.blogdigger.com/"&gt;blogdigger.com&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;My sites&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://www.cse.ust.hk/~zma/"&gt;http://www.cse.ust.hk/~zma/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://ihome.ust.hk/~zma/"&gt;http://ihome.ust.hk/~zma/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://blog.ust.hk/ericma/"&gt;http://blog.ust.hk/ericma/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://gopeta.com"&gt;http://GoPeta.com&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://fclose-com.blogspot.com/"&gt;http://fclose-com.blogspot.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.cnblogs.com/ericlinux"&gt;http://www.cnblogs.com/ericlinux&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.cnblogs.com/pkill"&gt;http://www.cnblogs.com/pkill &lt;/a&gt;&lt;br /&gt;
&lt;a href="http://ericzqma.livejournal.com/"&gt;http://ericzqma.livejournal.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://ericzma.wordpress.com/"&gt;http://ericzma.wordpress.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://hi.baidu.com/ericzqma"&gt;http://hi.baidu.com/ericzqma&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://mazhiqiang.blogbus.com/"&gt;http://mazhiqiang.blogbus.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.linuxquestions.org/questions/blog/ericzqma-508796/"&gt;Blog on linuxquestions&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Other links&lt;/h3&gt;
&lt;p&gt;If you want to appear in my blog&amp;#8217;s links list or you like me to delete the link to your blog, feel free to &lt;a href="http://fclose.com/b/ericma/contact/"&gt;leave me a message&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FTOqL4TqOHsASa_GeQ9m8wyzU2o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FTOqL4TqOHsASa_GeQ9m8wyzU2o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FTOqL4TqOHsASa_GeQ9m8wyzU2o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FTOqL4TqOHsASa_GeQ9m8wyzU2o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/andIIyGDiEw" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/andIIyGDiEw" height="1" width="1"/&gt;</description></item><item><title>婚纱照</title><link>http://fclose.com/b/ericma/3283/婚纱照/</link><pubDate>Tue, 16 Aug 2011 21:21:39 PDT</pubDate><description>&lt;p&gt;摄于2010年.&lt;/p&gt;

&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/婚纱照-2/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/0-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/1/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/1-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/2/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/2-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/3/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/3-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/4-2/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/4-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/5/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/5-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/6/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/6-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/7/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/7-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/8/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/8-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/9/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/9-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/10/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/10-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/11/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/11-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/12/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/12-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/13/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/13-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/14/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/14-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/15/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/15-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3283/婚纱照/attachment/16/" title="婚纱照"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/08/16-180x180.jpg" class="attachment-thumbnail" alt="婚纱照" title="婚纱照" /&gt;&lt;/a&gt;


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/x_dUlZMijL9ZqZFYC8coXvSm7SY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x_dUlZMijL9ZqZFYC8coXvSm7SY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/x_dUlZMijL9ZqZFYC8coXvSm7SY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x_dUlZMijL9ZqZFYC8coXvSm7SY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/b535GJvP1Vs" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/HPI5TgedtFc" height="1" width="1"/&gt;</description></item><item><title>一个段子</title><link>http://fclose.com/b/ericma/3272/一个段子/</link><pubDate>Tue, 16 Aug 2011 06:22:56 PDT</pubDate><description>&lt;p&gt;上大学时, 刚刚交了女朋友. 有天在寝室, 记得是中午, 跟室友玩扑克三张牌. 开始时我一直输, 都笑说 &amp;#8220;情场得意, 赌场失意&amp;#8221;. 我们想验证一下, 就一直玩下去. 最后结果是我连续输了30手 (如果没有记错).&lt;/p&gt;
&lt;p&gt;后来证明连输30手牌是值得的: 当时的女朋友现在已经是我老婆.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kPIQXk3GrlCXaqevUystW2eec2Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kPIQXk3GrlCXaqevUystW2eec2Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kPIQXk3GrlCXaqevUystW2eec2Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kPIQXk3GrlCXaqevUystW2eec2Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/OP-wC6gXqhM" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/XpQLb3_u740" height="1" width="1"/&gt;</description></item><item><title>Photos Taken in Kota Kinabalu and Kapalai, Sabah, Malaysia</title><link>http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/</link><pubDate>Fri, 08 Jul 2011 19:37:00 PDT</pubDate><description>&lt;p&gt;Photos taken in Kota Kinabalu and Kapalai, Sabah, Malaysia, during our honeymoon travel in the summer of 2011.&lt;/p&gt;
&lt;p&gt;The photo gallery:&lt;/p&gt;

&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2152/" title="IMG_2152"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2152-180x180.jpg" class="attachment-thumbnail" alt="IMG_2152" title="IMG_2152" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2153/" title="IMG_2153"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2153-180x180.jpg" class="attachment-thumbnail" alt="IMG_2153" title="IMG_2153" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2161/" title="IMG_2161"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2161-180x180.jpg" class="attachment-thumbnail" alt="IMG_2161" title="IMG_2161" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2162/" title="IMG_2162"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2162-180x180.jpg" class="attachment-thumbnail" alt="IMG_2162" title="IMG_2162" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2165/" title="IMG_2165"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2165-180x180.jpg" class="attachment-thumbnail" alt="IMG_2165" title="IMG_2165" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2174/" title="IMG_2174"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2174-180x180.jpg" class="attachment-thumbnail" alt="IMG_2174" title="IMG_2174" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2182/" title="IMG_2182"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2182-180x180.jpg" class="attachment-thumbnail" alt="IMG_2182" title="IMG_2182" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2187/" title="IMG_2187"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2187-180x180.jpg" class="attachment-thumbnail" alt="IMG_2187" title="IMG_2187" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2188/" title="IMG_2188"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2188-180x180.jpg" class="attachment-thumbnail" alt="IMG_2188" title="IMG_2188" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2241/" title="IMG_2241"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2241-180x180.jpg" class="attachment-thumbnail" alt="IMG_2241" title="IMG_2241" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2244/" title="IMG_2244"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2244-180x180.jpg" class="attachment-thumbnail" alt="IMG_2244" title="IMG_2244" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2264/" title="IMG_2264"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2264-180x180.jpg" class="attachment-thumbnail" alt="IMG_2264" title="IMG_2264" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2265/" title="IMG_2265"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2265-180x180.jpg" class="attachment-thumbnail" alt="IMG_2265" title="IMG_2265" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2269/" title="IMG_2269"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2269-180x180.jpg" class="attachment-thumbnail" alt="IMG_2269" title="IMG_2269" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2273/" title="IMG_2273"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2273-180x180.jpg" class="attachment-thumbnail" alt="IMG_2273" title="IMG_2273" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2307/" title="IMG_2307"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2307-180x180.jpg" class="attachment-thumbnail" alt="IMG_2307" title="IMG_2307" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2312/" title="IMG_2312"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2312-180x180.jpg" class="attachment-thumbnail" alt="IMG_2312" title="IMG_2312" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2317/" title="IMG_2317"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2317-180x180.jpg" class="attachment-thumbnail" alt="IMG_2317" title="IMG_2317" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2337/" title="IMG_2337"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2337-180x180.jpg" class="attachment-thumbnail" alt="IMG_2337" title="IMG_2337" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2390/" title="IMG_2390"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2390-180x180.jpg" class="attachment-thumbnail" alt="IMG_2390" title="IMG_2390" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2391/" title="IMG_2391"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2391-180x180.jpg" class="attachment-thumbnail" alt="IMG_2391" title="IMG_2391" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2395/" title="IMG_2395"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2395-180x180.jpg" class="attachment-thumbnail" alt="IMG_2395" title="IMG_2395" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2418/" title="IMG_2418"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2418-180x180.jpg" class="attachment-thumbnail" alt="IMG_2418" title="IMG_2418" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2457/" title="IMG_2457"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2457-180x180.jpg" class="attachment-thumbnail" alt="IMG_2457" title="IMG_2457" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2459/" title="IMG_2459"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2459-180x180.jpg" class="attachment-thumbnail" alt="IMG_2459" title="IMG_2459" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2463/" title="IMG_2463"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2463-180x180.jpg" class="attachment-thumbnail" alt="IMG_2463" title="IMG_2463" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2464/" title="IMG_2464"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2464-180x180.jpg" class="attachment-thumbnail" alt="IMG_2464" title="IMG_2464" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2472/" title="IMG_2472"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2472-180x180.jpg" class="attachment-thumbnail" alt="IMG_2472" title="IMG_2472" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2496/" title="IMG_2496"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2496-180x180.jpg" class="attachment-thumbnail" alt="IMG_2496" title="IMG_2496" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2534/" title="IMG_2534"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2534-180x180.jpg" class="attachment-thumbnail" alt="IMG_2534" title="IMG_2534" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2540/" title="IMG_2540"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2540-180x180.jpg" class="attachment-thumbnail" alt="IMG_2540" title="IMG_2540" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2568/" title="IMG_2568"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2568-180x180.jpg" class="attachment-thumbnail" alt="IMG_2568" title="IMG_2568" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2573/" title="IMG_2573"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2573-180x180.jpg" class="attachment-thumbnail" alt="IMG_2573" title="IMG_2573" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2576/" title="IMG_2576"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2576-180x180.jpg" class="attachment-thumbnail" alt="IMG_2576" title="IMG_2576" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2578/" title="IMG_2578"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2578-180x180.jpg" class="attachment-thumbnail" alt="IMG_2578" title="IMG_2578" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2601/" title="IMG_2601"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2601-180x180.jpg" class="attachment-thumbnail" alt="IMG_2601" title="IMG_2601" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2649/" title="IMG_2649"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2649-180x180.jpg" class="attachment-thumbnail" alt="IMG_2649" title="IMG_2649" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2650/" title="IMG_2650"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2650-180x180.jpg" class="attachment-thumbnail" alt="IMG_2650" title="IMG_2650" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2652/" title="IMG_2652"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2652-180x180.jpg" class="attachment-thumbnail" alt="IMG_2652" title="IMG_2652" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2653/" title="IMG_2653"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2653-180x180.jpg" class="attachment-thumbnail" alt="IMG_2653" title="IMG_2653" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2657/" title="IMG_2657"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2657-180x180.jpg" class="attachment-thumbnail" alt="IMG_2657" title="IMG_2657" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2658/" title="IMG_2658"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2658-180x180.jpg" class="attachment-thumbnail" alt="IMG_2658" title="IMG_2658" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2659/" title="IMG_2659"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2659-180x180.jpg" class="attachment-thumbnail" alt="IMG_2659" title="IMG_2659" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2668/" title="IMG_2668"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2668-180x180.jpg" class="attachment-thumbnail" alt="IMG_2668" title="IMG_2668" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2668-2/" title="IMG_2668"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2668-180x180.jpg" class="attachment-thumbnail" alt="IMG_2668" title="IMG_2668" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2670/" title="IMG_2670"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2670-180x180.jpg" class="attachment-thumbnail" alt="IMG_2670" title="IMG_2670" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2695/" title="IMG_2695"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2695-180x180.jpg" class="attachment-thumbnail" alt="IMG_2695" title="IMG_2695" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2711/" title="IMG_2711"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2711-180x180.jpg" class="attachment-thumbnail" alt="IMG_2711" title="IMG_2711" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2725/" title="IMG_2725"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2725-180x180.jpg" class="attachment-thumbnail" alt="IMG_2725" title="IMG_2725" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2737/" title="IMG_2737"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2737-180x180.jpg" class="attachment-thumbnail" alt="IMG_2737" title="IMG_2737" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2758/" title="IMG_2758"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2758-180x180.jpg" class="attachment-thumbnail" alt="IMG_2758" title="IMG_2758" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2776/" title="IMG_2776"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2776-180x180.jpg" class="attachment-thumbnail" alt="IMG_2776" title="IMG_2776" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2814/" title="IMG_2814"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2814-180x180.jpg" class="attachment-thumbnail" alt="IMG_2814" title="IMG_2814" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2820/" title="IMG_2820"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2820-180x180.jpg" class="attachment-thumbnail" alt="IMG_2820" title="IMG_2820" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2861/" title="IMG_2861"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2861-180x180.jpg" class="attachment-thumbnail" alt="IMG_2861" title="IMG_2861" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2896/" title="IMG_2896"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2896-180x180.jpg" class="attachment-thumbnail" alt="IMG_2896" title="IMG_2896" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2899/" title="IMG_2899"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2899-180x180.jpg" class="attachment-thumbnail" alt="IMG_2899" title="IMG_2899" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2900/" title="IMG_2900"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2900-180x180.jpg" class="attachment-thumbnail" alt="IMG_2900" title="IMG_2900" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2903/" title="IMG_2903"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2903-180x180.jpg" class="attachment-thumbnail" alt="IMG_2903" title="IMG_2903" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2906/" title="IMG_2906"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2906-180x180.jpg" class="attachment-thumbnail" alt="IMG_2906" title="IMG_2906" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2914/" title="IMG_2914"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2914-180x180.jpg" class="attachment-thumbnail" alt="IMG_2914" title="IMG_2914" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2921/" title="IMG_2921"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2921-180x180.jpg" class="attachment-thumbnail" alt="IMG_2921" title="IMG_2921" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2926/" title="IMG_2926"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2926-180x180.jpg" class="attachment-thumbnail" alt="IMG_2926" title="IMG_2926" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2935/" title="IMG_2935"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2935-180x180.jpg" class="attachment-thumbnail" alt="IMG_2935" title="IMG_2935" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2938/" title="IMG_2938"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2938-180x180.jpg" class="attachment-thumbnail" alt="IMG_2938" title="IMG_2938" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2962/" title="IMG_2962"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2962-180x180.jpg" class="attachment-thumbnail" alt="IMG_2962" title="IMG_2962" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_2989/" title="IMG_2989"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_2989-180x180.jpg" class="attachment-thumbnail" alt="IMG_2989" title="IMG_2989" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_3015/" title="IMG_3015"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_3015-180x180.jpg" class="attachment-thumbnail" alt="IMG_3015" title="IMG_3015" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_3029/" title="IMG_3029"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_3029-180x180.jpg" class="attachment-thumbnail" alt="IMG_3029" title="IMG_3029" /&gt;&lt;/a&gt;
&lt;a href="http://fclose.com/b/ericma/3065/photos-taken-in-kota-kinabalu-and-kapalai-sabah-malaysia/img_3035/" title="IMG_3035"&gt;&lt;img width="180" height="180" src="http://fclose.com/b/ericma/files/2011/07/IMG_3035-180x180.jpg" class="attachment-thumbnail" alt="IMG_3035" title="IMG_3035" /&gt;&lt;/a&gt;


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qMyxIKPv7xeDEhv__C-V-J1D2UQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qMyxIKPv7xeDEhv__C-V-J1D2UQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qMyxIKPv7xeDEhv__C-V-J1D2UQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qMyxIKPv7xeDEhv__C-V-J1D2UQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/tuwx83ovDjw" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/tuwx83ovDjw" height="1" width="1"/&gt;</description></item><item><title>Google PageRank Update 2011</title><link>http://fclose.com/b/web/3002/google-pagerank-update-2011/</link><pubDate>Mon, 27 Jun 2011 21:11:55 PDT</pubDate><description>&lt;p&gt;Update 3: Fclose.com sees minor PageRank updates on November 8, 2011. For example, some tooles (&lt;a href="http://fclose.com/t/proxy/"&gt;Web Proxy&lt;/a&gt;, &lt;a href="http://fclose.com/p/lyrics/"&gt;Lyrics&lt;/a&gt;, &lt;a href="http://fclose.com/p/gold-price/"&gt;Gold Price&lt;/a&gt;, &lt;a href="http://fclose.com/t/search/"&gt;Fclose.com Search&lt;/a&gt;, etc.) and some posts (&lt;a href="http://fclose.com/b/linux/3358/howto-for-new-git-user/"&gt;Howto for New Git Users&lt;/a&gt;, &lt;a href="http://fclose.com/b/linux/3185/installing-the-flash-plugin-for-64-bit-firefox-in-linux-x86-64/"&gt;Installing the Flash Plugin for 64-bit Firefox in Linux x86-64&lt;/a&gt;, etc.) get PageRank of 3 from 0. Update: Confirmed that Google updates the PageRank in toolbar on November 8 2011.&lt;/p&gt;
&lt;p&gt;Update 2: Google updates the PageRank in toolbar on August 05 2011.&lt;/p&gt;
&lt;p&gt;Update 1: Google updates the PageRank in toolbar on July 18 2011.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Google updates the PageRank displayed in toolbar on Jun. 27, 2011. Google PageRank is just one of factors that determine the position of the page in the search result page. But seeing the growth of Google PageRank is fun for webmasters. The fclose.com&amp;#8217;s PageRank is 0 from its birth after the site moves from pkill.info and the changing is done after the first Google PageRank update in January 2011. However, I believe the PageRanks of fclose.com should be quite good after it updates since the PageRank of pkill.info and original one at blog.ust.hk is around 3 and 4.&lt;/p&gt;
&lt;p&gt;Today, when I open my site, I am still surprised, the &lt;a href="http://fclose.com/b/linux/"&gt;Linux homepage&lt;/a&gt; and &lt;a href="http://fclose.com/zma/"&gt;my homepage&lt;/a&gt;&amp;#8216;s PageRank changes to 4 and the other for blogs (&lt;a href="http://fclose.com/b/cloud-computing/"&gt;Cloud Computing&lt;/a&gt;, &lt;a href="http://fclose.com/b/web/"&gt;Web&lt;/a&gt;, &lt;a href="http://fclose.com/b/programming/"&gt;Programming&lt;/a&gt;, &lt;a href="http://fclose.com/b/software/"&gt;Software&lt;/a&gt;) has PageRank of 3 in homepage. In addition, and most important, a large number of posts (especially the ones that are linked to from the homepage) get the PageRank of 3 or 2.&lt;/p&gt;
&lt;p&gt;That&amp;#8217;s a fun thing (although it is not so important) which is a prize of writing blogs. And I also thank for my readers support to this site.&lt;/p&gt;
&lt;p&gt;Summary of the Google PageRank updates in 2011:&lt;/p&gt;
&lt;p&gt;PageRank updated on November 08 2011&lt;br /&gt;
PageRank updated on August 05 2011&lt;br /&gt;
PageRank updated on July 18 2011&lt;br /&gt;
PageRank updated on June 27 2011&lt;br /&gt;
PageRank updated on January 20 2011&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xvMZbUIQEWfLIk0kOk048zYbJ34/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xvMZbUIQEWfLIk0kOk048zYbJ34/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xvMZbUIQEWfLIk0kOk048zYbJ34/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xvMZbUIQEWfLIk0kOk048zYbJ34/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/KjWOUW1TPXA" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/KjWOUW1TPXA" height="1" width="1"/&gt;</description></item><item><title>GNU glibc Manual</title><link>http://fclose.com/b/programming/3006/gnu-glibc-manual/</link><pubDate>Wed, 08 Jun 2011 20:13:43 PDT</pubDate><description>&lt;p&gt;&amp;#8220;The C language provides no built-in facilities for performing such common operations as input/output, memory management, string manipulation, and the like. Instead, these facilities are defined in a standard &lt;dfn&gt;library&lt;/dfn&gt;, which you compile and link with your programs. &lt;a name="index-library-1"&gt;&lt;/a&gt; The GNU C library, described in this document, defines all of the library functions that are specified by the ISO C standard, as well as additional features specific to POSIX and other derivatives of the Unix operating system, and extensions specific to the GNU system.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&amp;#8220;The GNU C library includes several &lt;dfn&gt;header files&lt;/dfn&gt;, each of which provides definitions and declarations for a group of related facilities; this information is used by the C compiler when processing your program. For example, the header file&lt;samp&gt;stdio.h&lt;/samp&gt;declares facilities for performing input and output, and the header file&lt;samp&gt;string.h&lt;/samp&gt;declares string processing utilities. The organization of this manual generally follows the same division as the header files.&amp;#8221;&lt;/p&gt;
&lt;p&gt;The manual for glibc on gnu.org:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gnu.org/s/libc/manual/html_mono/libc.html"&gt;HTML &lt;/a&gt; version with entirely on one web page.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gnu.org/s/libc/manual/html_node/index.html"&gt;HTML&lt;/a&gt; version with one web page per node.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gnu.org/s/libc/manual/pdf/libc.pdf"&gt;PDF version&lt;br /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/IM6Wkazizkg" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/IM6Wkazizkg" height="1" width="1"/&gt;</description></item><item><title>Conferences on Cloud Computing 2012</title><link>http://fclose.com/b/cloud-computing/3027/conferences-on-cloud-computing-2012/</link><pubDate>Wed, 11 May 2011 00:50:38 PDT</pubDate><description>&lt;p&gt;This post lists important conferences on Cloud Computing in year 2012. This post is kept updating.&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.usenix.org/events/osdi12/" rel="nofollow"&gt;OSDI 2012&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;10th USENIX Symposium on Operating Systems Design and Implementation (OSDI &amp;#8217;12)&lt;/p&gt;
&lt;p&gt;October 8–10, 2012, Hollywood, CA&lt;/p&gt;
&lt;p&gt;&amp;#8220;The tenth OSDI seeks to present innovative, exciting research in computer systems. OSDI brings together professionals from academic and industrial backgrounds in what has become a premier forum for discussing the design, implementation, and implications of systems software.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Complete paper submissions: Thursday, May 3, 2012, 9:00 p.m. PDT&lt;/p&gt;
&lt;p&gt;Notification of acceptance: Friday, July 20, 2012&lt;/p&gt;
&lt;p&gt;Final papers: Wednesday, September 5, 2012&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://eurosys2012.unibe.ch/home" rel="nofollow"&gt;EuroSys 2012&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;April 11–13, 2012. &lt;a href="http://www.bern.ch/" rel="nofollow"&gt;Bern&lt;/a&gt;, Switzerland.&lt;/p&gt;
&lt;p&gt;&amp;#8220;It has a strong focus on systems research and development: operating systems, data base systems, real-time systems and middleware for networked, distributed, parallel, or embedded computing systems.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Paper pre-submission: September 20, 2011&lt;/p&gt;
&lt;p&gt;Abstract submission: October 14, 2011&lt;/p&gt;
&lt;p&gt;Full paper submission: October 20, 2011&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.usenix.org/event/atc12/" rel="nofollow"&gt;USENIX ATC &amp;#8217;12&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;2012 USENIX Annual Technical Conference (USENIX ATC &amp;#8217;12)&lt;/p&gt;
&lt;p&gt;June 13–15, 2012, Boston, MA&lt;/p&gt;
&lt;p&gt;&amp;#8220;USENIX ATC has always been the place to present groundbreaking research and cutting-edge practices in a wide variety of technologies and environments. USENIX ATC &amp;#8217;12 will be no exception. &amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Paper titles and abstracts: January 10, 2012, 11:59 p.m. EST&lt;/p&gt;
&lt;p&gt;Complete paper submissions: January 17, 2012, 11:59 p.m. EST&lt;/p&gt;
&lt;p&gt;Notification to authors: March 26, 2012&lt;/p&gt;
&lt;p&gt;Final papers due: May 2, 2012&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://research.microsoft.com/en-us/um/cambridge/events/asplos_2012/" rel="nofollow"&gt;ASPLOS 2012&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Architectural Support for Programming Languages and Operating Systems.&lt;/p&gt;
&lt;p&gt;&amp;#8220;ASPLOS is a multi-disciplinary conference for research that spans the boundaries of hardware, computer architecture, compilers, languages, operating systems, networking, and applications. ASPLOS provides a high quality forum for scientists and engineers to present their latest research findings in these rapidly changing fields. It has captured some of the major computer systems innovations of the past two decades (e.g., RISC and VLIW processors, small and large-scale multiprocessors, clusters and networks-of-workstations, optimizing compilers, RAID, and network-storage system designs).&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;London, UK, March 3–7 2012&lt;/p&gt;
&lt;p&gt;Abstract deadline: Monday, July 18, 2011 (noon, EDT)&lt;/p&gt;
&lt;p&gt;Full paper deadline: Monday, July 25, 2011 (noon, EDT)&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.cl.cam.ac.uk/research/srg/netos/vee_2012/" rel="nofollow"&gt;VEE 2012&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Eighth Annual International Conference on Virtual Execution Environments (VEE 2012)&lt;/p&gt;
&lt;p&gt;&amp;#8220;Virtualization has a central role on modern systems, nowadays being a key aspect of how systems are developed, executed, and managed in environments ranging from mobile computing devices to large-scale data centers. Virtualization techniques are applied at many interfaces, from hardware, to OS system calls, to high-level language run times, to cloud management stacks. While these approaches differ dramatically in implementation, they target similar benefits and often must tackle related challenges.&lt;/p&gt;
&lt;p&gt;The 2012 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments brings together researchers across the many applications of virtualization in today&amp;#8217;s systems. We invite original papers on topics relating to virtualization – especially those that will have broad appeal across these approaches.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;London, UK, March 3–4 2012&lt;/p&gt;
&lt;p&gt;Full paper deadline: Wednesday, November 2, 2011 (midnight, PST)&lt;/p&gt;
&lt;p&gt;Author Rebuttal Period: December 8-9, 2011&lt;/p&gt;
&lt;p&gt;Notification of acceptance: December 19, 2011&lt;/p&gt;
&lt;p&gt;Final copy deadline: January 11, 2012&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.usenix.org/events/nsdi12/"&gt;NSDI 2012&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;9th USENIX Symposium on Networked Systems Design and Implementation&lt;/p&gt;
&lt;p&gt;&amp;#8220;NSDI &amp;#8217;12 focuses on the design principles, implementation, and practical evaluation of large-scale networked and distributed systems.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;April 25–27, 2012, San Jose, CA&lt;/p&gt;
&lt;p&gt;Paper titles and abstracts: September 27, 2011, 5:00 p.m. PDT&lt;/p&gt;
&lt;p&gt;Complete paper submissions: October 4, 2011, 5:00 p.m. PDT&lt;/p&gt;
&lt;p&gt;Notification of acceptance: December 20, 2011&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://fclose.com/t/go/hotpar12/" rel="nofollow"&gt;HotPar &amp;#8217;12&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;4th USENIX Workshop on Hot Topics in Parallelism (HotPar &amp;#8217;12)&lt;/p&gt;
&lt;p&gt;June 7–8, 2012, Berkeley, CA&lt;/p&gt;
&lt;p&gt;&amp;#8220;HotPar &amp;#8217;12 will bring together researchers and practitioners doing innovative work in the area of parallel computing. HotPar recognizes the broad impact of multicore computing and seeks relevant contributions in all fields, including application design, languages and compilers, systems, and architecture.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Important Dates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Paper registration (abstract submission): Tuesday, January 24, 2012, 11:59 p.m. PST&lt;/p&gt;
&lt;p&gt;Paper submissions: Tuesday, January 31, 2012, 11:59 p.m. PST&lt;/p&gt;
&lt;p&gt;Notification to authors: Late March 2012&lt;/p&gt;
&lt;p&gt;Electronic files of final papers due: Monday, April 30, 2012&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YvTaX32LMywFEVbnD9QWPyFzc3U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YvTaX32LMywFEVbnD9QWPyFzc3U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YvTaX32LMywFEVbnD9QWPyFzc3U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YvTaX32LMywFEVbnD9QWPyFzc3U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/i1YmEKY0PqM" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/i1YmEKY0PqM" height="1" width="1"/&gt;</description></item><item><title>Pitfalls and Lessons on Configuing and Tuning Hadoop</title><link>http://fclose.com/b/cloud-computing/3022/pitfalls-and-lessons-on-configuing-and-tuning-hadoop/</link><pubDate>Tue, 26 Apr 2011 01:41:12 PDT</pubDate><description>&lt;p&gt;This post lists pitfalls and lessons learning when configuring and tuning Hadoop.&lt;/p&gt;
&lt;h3&gt;Hadoop with IPv6&lt;/h3&gt;
&lt;p&gt;Hadoo doesn&amp;#8217;t support IPv6 currently (up to 0.20.2 and 0.21.0): &lt;a rel="nofollow" href="http://wiki.apache.org/hadoop/HadoopIPv6"&gt;Hadoop and IPv6&lt;/a&gt;. The performance of the cluster may suffer from turning IPv6 on in clusters: &lt;a rel="nofollow" href="http://old.nabble.com/Warning-on-turning-on-ipv6-on-your-Hadoop-clusters-td21064533.html"&gt;mail archive&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One good practice is to&lt;a href="http://fclose.com/b/linux/3232/disable-ipv6-on-linux/"&gt; disable IPv6&lt;/a&gt; on servers in the Hadoop cluster.&lt;/p&gt;
&lt;h3&gt;Hostname vs. IP&lt;/h3&gt;
&lt;p&gt;Hostname is preferred. Using hostname instead of IP address may possible &lt;a rel="nofollow" href="http://www.prohadoopbook.com/forum/topics/reduce-tasks-failing-regularly?commentId=3280390%3AComment%3A3322"&gt;solve some problem magically&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CM0jsQ15v-V8XoRRvqNJIiBWcW0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CM0jsQ15v-V8XoRRvqNJIiBWcW0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CM0jsQ15v-V8XoRRvqNJIiBWcW0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CM0jsQ15v-V8XoRRvqNJIiBWcW0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/A8EefL_UAio" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/A8EefL_UAio" height="1" width="1"/&gt;</description></item><item><title>Hostgator Coupon</title><link>http://fclose.com/b/web/2997/hostgator-coupon/</link><pubDate>Wed, 06 Apr 2011 08:43:24 PDT</pubDate><description>&lt;p&gt;This post contains collection of coupons for Hostgator hosting service.&lt;/p&gt;
&lt;p&gt;Enter Code &lt;strong&gt;FCLOSECOM25OFF&lt;/strong&gt; and save 25% on all plans.&lt;/p&gt;
&lt;p&gt;This coupon applies only to your first billing cycle. For more details about the Hosting  packages, please visit &lt;a href="http://fclose.com/t/g/hostgator/" rel="nofollow"&gt;HostGator’s website&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;25% off Hostgator coupon:&lt;/h3&gt;
&lt;pre&gt;&lt;span&gt;&lt;strong&gt;FCLOSECOM25OFF&lt;/strong&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;The price is&lt;span&gt; $3.71/month&lt;/span&gt; which is much lower than Hostgator&amp;#8217;s default price 3.96/month.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Km5yVqjxH16SVmayp9bsc-0qKNk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Km5yVqjxH16SVmayp9bsc-0qKNk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Km5yVqjxH16SVmayp9bsc-0qKNk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Km5yVqjxH16SVmayp9bsc-0qKNk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/ip4zoAQlqi0" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/ip4zoAQlqi0" height="1" width="1"/&gt;</description></item><item><title>Setting Up Standalone (Local) Hadoop</title><link>http://fclose.com/b/cloud-computing/3008/setting-up-standalone-local-hadoop/</link><pubDate>Tue, 05 Apr 2011 09:56:02 PDT</pubDate><description>&lt;p&gt;Hadoop is designed to run on &lt;a href="http://fclose.com/b/290/hadoop-tutorial/"&gt;hundreds to thousands of computers&lt;/a&gt; inside cluster. However, Hadoop is configured to run things in a non-distributed        mode as a single Java process by default. This is specially useful for debugging since distributed debugging is really a nightmare. This post introduces how to set up a standalone Hadoop environment.&lt;/p&gt;
&lt;h3&gt;1. Hadoop package and software installation&lt;/h3&gt;
&lt;p&gt;Follow the instruction of &amp;#8220;1. Install needed packages&amp;#8221; part in &lt;a href="http://fclose.com/b/290/hadoop-tutorial/"&gt;Hadoop Installation Tutorial&lt;/a&gt; to install packages. Fllow &amp;#8220;4. Hadoop Concigurations&amp;#8221; to configure hadoop-env.sh (this file only).&lt;/p&gt;
&lt;h3&gt;2. Just run Hadoop!&lt;/h3&gt;
&lt;p&gt;Just run hadoop jobs whose input and output is in local directories. We use a simple example to show how to start a Hadoop job.&lt;/p&gt;
&lt;p&gt;The example finds and displays every match of the given regular          expression. Output is written to the given output directory.&lt;/p&gt;
&lt;pre&gt;$ mkdir input
$ cp conf/*.xml input
$ bin/hadoop jar hadoop-mapred-examples-0.21.0.jar grep input output '[a-z.]+'
$ cat output/*
&lt;/pre&gt;
&lt;p&gt;The jar file&amp;#8217;s name may be different depending on the Hadoop distribution&amp;#8217;s version.&lt;/p&gt;
&lt;p&gt;Is it simple? Enjoy it and go further to play  &lt;a href="http://fclose.com/b/290/hadoop-tutorial/"&gt; Fully-distributed Hadoop Installation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/29FRc_Gsg45FbljPW_ghAHRM16c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/29FRc_Gsg45FbljPW_ghAHRM16c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/29FRc_Gsg45FbljPW_ghAHRM16c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/29FRc_Gsg45FbljPW_ghAHRM16c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/9mCJ134S22k" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/9mCJ134S22k" height="1" width="1"/&gt;</description></item><item><title>Conferences on Cloud Computing 2011</title><link>http://fclose.com/b/cloud-computing/2989/conferences-on-cloud-computing/</link><pubDate>Mon, 28 Mar 2011 11:15:39 PDT</pubDate><description>&lt;p&gt;This post lists important conferences on Cloud Computing in year 2011.&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://socc2011.gsd.inesc-id.pt/"&gt;ACM Symposium on Cloud Computing&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;October 27 and 28, 2011, Cascais, Portugal&lt;/p&gt;
&lt;p&gt;Submission Deadline: April 30, 2011&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://sosp2011.gsd.inesc-id.pt/"&gt;23rd ACM Symposium on Operating Systems Principles (SOSP)&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;October 23-26, 2011, Cascais, Portugal&lt;/p&gt;
&lt;p&gt;Submission deadline: March 18, 2011, 11:59 PM GMT&lt;/p&gt;
&lt;h3&gt;&lt;a rel="nofollow" href="http://eurosys2011.cs.uni-salzburg.at/welcome.php"&gt;EuroSys 2011&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;April 10-13, 2011. Salzburg, Austria.&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://www.iaria.org/conferences2011/CLOUDCOMPUTING11.html"&gt;CLOUD COMPUTING   2011&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The Second International Conference on Cloud Computing, GRIDs, and Virtualization&lt;/p&gt;
&lt;p&gt;September 25-30, 2011 &amp;#8211; Rome, Italy&lt;/p&gt;
&lt;p&gt;Submission (full paper):                 April 20, 2011&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Y49L5EndrvKLuyAxvld1VCerAmQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y49L5EndrvKLuyAxvld1VCerAmQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Y49L5EndrvKLuyAxvld1VCerAmQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y49L5EndrvKLuyAxvld1VCerAmQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/oQfQyoWT9R8" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/oQfQyoWT9R8" height="1" width="1"/&gt;</description></item><item><title>Printing Notes on a PDF File</title><link>http://fclose.com/b/software/3040/printing-notes-on-a-pdf-file/</link><pubDate>Sat, 19 Mar 2011 00:39:00 PDT</pubDate><description>&lt;p&gt;I tried several software on Windows and Linux to print notes, especially sticky notes on a PDF file. Finally, I find the only working software is Adobe Acrobat. Unfortunately, Adobe Reader doesn&amp;#8217;t provide a way to print sticky notes.&lt;/p&gt;
&lt;p&gt;The detailed method is posted on Adobe&amp;#8217;s blog: &lt;a href="http://fclose.com/t/go/software/printing-notes-on-a-pdf-file/"&gt;Printing Sticky Notes on a PDF&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qg0ETA1SMoD6cvU-04WzaHLgsVs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qg0ETA1SMoD6cvU-04WzaHLgsVs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qg0ETA1SMoD6cvU-04WzaHLgsVs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qg0ETA1SMoD6cvU-04WzaHLgsVs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/URmrw0U_go8" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/URmrw0U_go8" height="1" width="1"/&gt;</description></item><item><title>GDB Cheat Sheet</title><link>http://fclose.com/b/programming/2995/gdb-cheat-sheet/</link><pubDate>Sun, 13 Mar 2011 06:36:15 PDT</pubDate><description>&lt;p&gt;Here is a collection of good &lt;strong&gt;GDB Cheat Sheets&lt;/strong&gt; from the Internet.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" href="http://users.ece.utexas.edu/~adnan/gdb-refcard.pdf"&gt;&lt;strong&gt;&lt;a href="http://www.digilife.be/quickreferences/QRC/GDB%20Quick%20Reference.pdf"&gt;GDB QUICK REFERENCE GDB Version 5&lt;/a&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;cd=4&amp;amp;ved=0CCgQFjAD&amp;amp;url=http%3A%2F%2Fdarkdust.net%2Ffiles%2FGDB%2520Cheat%2520Sheet.pdf&amp;amp;ei=Mcd8TfjtHoGycbnd-LcG&amp;amp;usg=AFQjCNHCDpbVUfxmJyacITfnesZ0PKBKqg&amp;amp;sig2=wXR-SQSy07X6-aP4jTEFyg"&gt;GDB Cheat Sheet&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;cd=6&amp;amp;ved=0CDgQFjAF&amp;amp;url=http%3A%2F%2Fwww.cs.cmu.edu%2Fafs%2Fcs.cmu.edu%2Facademic%2Fclass%2F15213-f99%2Fhandouts%2Fgdbnotes.pdf&amp;amp;ei=Mcd8TfjtHoGycbnd-LcG&amp;amp;usg=AFQjCNE3A76IgT8OS1dUJ4Rby3vU1BrHeQ&amp;amp;sig2=KpQcz-qjR6uzP1IdEeIuEQ"&gt;gdb Cheatsheet&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://web.cecs.pdx.edu/~jrb/cs201/lectures/handouts/gdbcomm.txt"&gt;GDB commands by function &amp;#8211; simple guide&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/sqr3Kz0XYXY" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/sqr3Kz0XYXY" height="1" width="1"/&gt;</description></item><item><title>复旦大学2005级CS专业毕业典礼照片 (FD05CS)</title><link>http://fclose.com/b/ericma/3041/复旦大学2005级cs专业毕业典礼照片-fd05cs/</link><pubDate>Thu, 10 Mar 2011 02:14:34 PST</pubDate><description>&lt;p&gt;以此留念我的大学生活.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;一些毕业时照的照片:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;如果你不想你的照片出现在这里,请跟我联系.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Wih_AWQuu_BReBle7Y-DErVnDeo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Wih_AWQuu_BReBle7Y-DErVnDeo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Wih_AWQuu_BReBle7Y-DErVnDeo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Wih_AWQuu_BReBle7Y-DErVnDeo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/6keFIe_xp5k" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/OXFojLt1ufI" height="1" width="1"/&gt;</description></item><item><title>HP Compaq BIOS Crisis Recovery from a Failed BIOS Flashing</title><link>http://fclose.com/b/software/3022/hp-compaq-bios-crisis-recovery-from-a-failed-bios-flashing/</link><pubDate>Thu, 03 Feb 2011 05:07:29 PST</pubDate><description>&lt;p&gt;I tried to flash my HP Compaq CQ35-240TX&amp;#8217;s BIOS to F.15 but unfortunately failed. The computer turned to white screen. When I restarted (powered off then boot again), this is no response any more: the hard disk and caps lock&amp;#8217;s LED keep blinding. I thought &amp;#8220;Oh my God! I must send it to HP to repair it!&amp;#8221;.&lt;/p&gt;
&lt;p&gt;But after searching on the Internet and find there is a &amp;#8220;crisis recovery&amp;#8221; mechanism to recovery the BIOS even the CMOS don&amp;#8217;t work. I finally managed to recovery the BIOS with a help of USB flash disk. I will introduce the procedure to crisis recovery my HP Compaq laptop. You need to prepare a USB flash disk and another computer that is connected to the Internet (we need to download the BIOS image from HP).&lt;/p&gt;
&lt;p&gt;The steps to recovery the BIOS are as follows.&lt;/p&gt;
&lt;p&gt;1. Format the USB flash disk&amp;#8217;s filesystem to FAT16 on another computer.&lt;/p&gt;
&lt;p&gt;2. Get the BIOS image from HP&amp;#8217;s website (I use F15 version).&lt;/p&gt;
&lt;p&gt;Download the BIOS update file from HP&amp;#8217;s website (an exe file). Execute the BIOS update file on another computer. It will decompress the files. Select a directory to store the files and you can close the program. In the directory selected, we can get WinFlash.exe. Unzip WinFlash.exe using a program like WinRAR. We can find two .FD files. For my computer and the BIOS version I use, the two files are 306DF15.FD and 306EF15.FD. There are two model for Compaq CQ35 computers, so there are two .FD files. You may try one by one to see which model your computer use. Actually this model can be found in &amp;#8220;BIOS Setup&amp;#8221; (we can&amp;#8217;t start it as the CMOS is bad)&lt;/p&gt;
&lt;p&gt;3. Copy the file 306DF15.FD to USB disk&amp;#8217;s root directory and rename it to 306D.bin. (the file may be different depending on the model)&lt;/p&gt;
&lt;p&gt;4. Remove the AC power and battery from the lapttop.&lt;/p&gt;
&lt;p&gt;5. Plug in the USB flash disk to the laptop.&lt;/p&gt;
&lt;p&gt;6. Hold two keys: WinKey + B.&lt;/p&gt;
&lt;p&gt;7. Plug in the AC power.&lt;/p&gt;
&lt;p&gt;8. Hold the Power Button for 5 seconds, then release.&lt;/p&gt;
&lt;p&gt;9. Push the Power button as normal to power on the computer.&lt;/p&gt;
&lt;p&gt;10. After the laptop starts short beeping, release WinKey+B.&lt;/p&gt;
&lt;p&gt;11. The laptop will keep short beeping for about one minute, it will power off itself after recovering the BIOS.&lt;/p&gt;
&lt;p&gt;If the laptop keeps long beeping or beeping for more than 3 minutes, the recovery fails, possibly because of the wrong image file or the USB flash disk doesn&amp;#8217;t work on the laptop. In this case, you may try another image file or another USB flash disk.&lt;/p&gt;
&lt;p&gt;12. Normally power on the laptop after recovering the BIOS and you will see the Compaq logo appearing again.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XiIyzKgoAvb6bJDuSm4CO9ju_MY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XiIyzKgoAvb6bJDuSm4CO9ju_MY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XiIyzKgoAvb6bJDuSm4CO9ju_MY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XiIyzKgoAvb6bJDuSm4CO9ju_MY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/ZO2rvZ4PtUI" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/ZO2rvZ4PtUI" height="1" width="1"/&gt;</description></item><item><title>Latex Cheat Sheet</title><link>http://fclose.com/b/software/2902/latex-cheat-sheet/</link><pubDate>Thu, 23 Dec 2010 21:44:50 PST</pubDate><description>&lt;p&gt;Latex cheat sheet by Winston Chang (www.stdout.org/~winston/):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/latexsheet/"&gt;Download latex cheat sheet&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ny-JbwRkIOAalalDGg3iYDte7xY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ny-JbwRkIOAalalDGg3iYDte7xY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ny-JbwRkIOAalalDGg3iYDte7xY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ny-JbwRkIOAalalDGg3iYDte7xY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/vE4tcU7CcrA" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/vE4tcU7CcrA" height="1" width="1"/&gt;</description></item><item><title>fclose – Close a Stream</title><link>http://fclose.com/b/programming/2775/fclose-close-a-stream/</link><pubDate>Mon, 15 Nov 2010 13:33:54 PST</pubDate><description>&lt;p&gt;&lt;em&gt;fclose&lt;/em&gt; is a frequently used C standard library which closes the file associated with the &lt;em&gt;stream&lt;/em&gt; and disassociates it.&lt;/p&gt;
&lt;h3&gt;NAME&lt;/h3&gt;
&lt;p&gt;fclose &amp;#8211; close a stream&lt;/p&gt;
&lt;h3&gt;SYNOPSIS&lt;/h3&gt;
&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
int fclose(FILE *fp);&lt;/pre&gt;
&lt;h3&gt;DESCRIPTION&lt;/h3&gt;
&lt;p&gt;The fclose() function will flushes the stream pointed to by fp (writing any buffered output data using fflush()) and closes the underlying file descriptor.&lt;/p&gt;
&lt;h3&gt;RETURN VALUE&lt;/h3&gt;
&lt;p&gt;Upon successful completion 0 is returned.  Otherwise, EOF is returned and errno is set to indicate the error.  In either  case any further access (including another call to fclose()) to the stream results in undefined behaviour.&lt;/p&gt;
&lt;h3&gt;ERRORS&lt;/h3&gt;
&lt;p&gt;EBADF  The file descriptor underlying fp is not valid.&lt;/p&gt;
&lt;p&gt;The fclose() function may also fail and set errno for any of the errors  specified  for  the  routines  close(),&lt;br /&gt;
write() or fflush().&lt;/p&gt;
&lt;h3&gt;CONFORMING TO&lt;/h3&gt;
&lt;p&gt;C89, C99.&lt;/p&gt;
&lt;h3&gt;NOTES&lt;/h3&gt;
&lt;p&gt;Note  that  fclose()  only  flushes the user space buffers provided by the C library.  To ensure that the data is physically stored on disk the kernel buffers must be flushed too, for example, with sync() or fsync().&lt;/p&gt;
&lt;p&gt;From Linux Programmer&amp;#8217;s Manual&lt;/p&gt;
&lt;h3&gt;EXAMPLE&lt;/h3&gt;
&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
int main(int argc, char* args[])
{
  FILE * fp;
  pFile = fopen ("file_to_write.txt","wt");
  fprintf (fp, "fclose example");
  fclose (fp);
  return 0;
}&lt;/pre&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/5N6xomwdHrM" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/5N6xomwdHrM" height="1" width="1"/&gt;</description></item><item><title>Speeding Up the Site With Apache GZIP Compression</title><link>http://fclose.com/b/web/2503/speeding-up-the-site-with-apache-gzip-compression/</link><pubDate>Tue, 14 Sep 2010 09:01:56 PDT</pubDate><description>&lt;p&gt;We can speed up the site with compression while save bandwidth at the same time. As most of the modern browsers support gzip encoding, we can set it up to let the users enjoy faster speed. The Apache &lt;em&gt;mod_deflate&lt;/em&gt; is easy to set up and standard. It compress the content on the fly.&lt;/p&gt;
&lt;p&gt;We can enable output compression in Apache by adding the following into the &lt;em&gt;.htaccess&lt;/em&gt; file in the root directory of the website:&lt;/p&gt;
&lt;pre&gt;# Compress html, text, javascript, css and xml content:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/x-javascript&lt;/pre&gt;
&lt;p&gt;If the .htaccess file can&amp;#8217;t be edited or the mode isn&amp;#8217;t enabled, there is another alternative solution for php supported environment:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/b/1194/speeding-up-the-site-by-using-php-gzip-compression/"&gt;Speeding Up the Site by Using PHP GZIP Compression&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/U5YDKWf3kCdZsfmgBThGqZAxwUg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U5YDKWf3kCdZsfmgBThGqZAxwUg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/U5YDKWf3kCdZsfmgBThGqZAxwUg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U5YDKWf3kCdZsfmgBThGqZAxwUg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/wW1xb3W2llI" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/wW1xb3W2llI" height="1" width="1"/&gt;</description></item><item><title>Information for Living and Travelling in Hong Kong</title><link>http://fclose.com/b/ericma/2439/information-for-living-and-travelling-in-hong-kong/</link><pubDate>Sat, 28 Aug 2010 23:22:33 PDT</pubDate><description>&lt;p&gt;This is a collection of useful online information for living and travelling in Hong Kong. This collection is kept updating.&lt;/p&gt;
&lt;h3&gt;Map&lt;/h3&gt;
&lt;p&gt;Hong Kong map: &lt;a href="http://hk.centamap.com/gc/home.aspx" rel="nofollow"&gt;CentaMap&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Public transportation&lt;/h3&gt;
&lt;p&gt;The train roadmap:&lt;a href="http://www.mtr.com.hk/jplanner/eng/planner_index.php" rel="nofollow"&gt; MTR journey planner&lt;/a&gt;. A &lt;a href="http://www.mtr.com.hk/jplanner/images/maps/routemap.pdf" rel="nofollow"&gt;PDF version&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Road search and road info: &lt;a href="http://ptes.td.gov.hk/" rel="nofollow"&gt;Public Transport Enquiry Service.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Snapshots and live webcast of transportation condition from &lt;a href="http://traffic.td.gov.hk/" rel="nofollow"&gt;GovHK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Public transportation in Hong Kong from &lt;a href="http://www.gov.hk/en/residents/transport/publictransport/#/en/residents/transport/publictransport/" rel="nofollow"&gt;GovHK&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Weather&lt;/h3&gt;
&lt;p&gt;Current weather and 7-day weather forecast: &lt;a href="http://www.hko.gov.hk/contente.htm" rel="nofollow"&gt;Hong Kong Observatory&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Beach&lt;/h3&gt;
&lt;p&gt;Beach water quality from &lt;a href="http://www.epd.gov.hk/epd/english/environmentinhk/water/beach_quality/bwq_current.html" rel="nofollow"&gt;EPD&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Dinning&lt;/h3&gt;
&lt;p&gt;Hong Kong restaurants guide: &lt;a href="http://www.openrice.com/english" rel="nofollow"&gt;OpenRice&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Dim Sum menu with Cantonese pronunciation and names in Chinese and English: &lt;a href="http://www.discoverhongkong.com/eng/jsp/dimsum/dimsum-guide-index.jsp" rel="nofollow"&gt;Dim Sum guide&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Movie and cinema&lt;/h3&gt;
&lt;p&gt;Hong Kong film guide: &lt;a href="http://wmoov.com/" rel="nofollow"&gt;wmoov&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Travel guide&lt;/h3&gt;
&lt;p&gt;Official travel guide from the Hong Kong Tourism Board: &lt;a href="http://www.discoverhongkong.com/eng/index.html" rel="nofollow"&gt;Discover Hong Kong&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.geopark.gov.hk/en_index.html" rel="nofollow"&gt;Hong Kong National Geopark.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.thepeak.com.hk/en/home.asp" rel="nofollow"&gt;The Peak.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.discoverhongkong.com/eng/attractions/victoria-harbour.html" rel="nofollow"&gt;Victoria Harbour.&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Hiking in Hong Kong&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://hkwalkers.net/eng/planing_a_trip/planing_a_trip.htm" rel="nofollow"&gt;Enjoy hiking&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Disable Caller ID&lt;/h3&gt;
&lt;p&gt;Hide the caller&amp;#8217;s phone number by prefixing the number 133. For example, I want to call 88888888 but I don&amp;#8217;t want them know my phone number, I can call 13388888888.&lt;/p&gt;
&lt;h3&gt;VISA&lt;/h3&gt;
&lt;p&gt;For non-permanent residents (such as Student VISA): &lt;a href="http://www.gov.hk/en/residents/immigration/nonpermanent/applyextensionstay/othernpr.htm" rel="nofollow"&gt;Online Application for Extension of Stay (for Other Non-Permanent Residents)&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;HKID&lt;/h3&gt;
&lt;p&gt;Change the address in HKID card: &lt;a title="Form ROP18: Notification of Change of Particulars Previously Registered" href="http://www.immd.gov.hk/ehtml/rop18.htm" rel="nofollow"&gt;Notification of Change of Particulars Previously Registered&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WkBgN3RrPbVX0i3o1spu5D4g8cc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WkBgN3RrPbVX0i3o1spu5D4g8cc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WkBgN3RrPbVX0i3o1spu5D4g8cc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WkBgN3RrPbVX0i3o1spu5D4g8cc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/zWVypISm81A" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/zWVypISm81A" height="1" width="1"/&gt;</description></item><item><title>Changing the Font Size of WordPress’s Visual Editor</title><link>http://fclose.com/b/web/2320/changing-the-font-size-of-wordpresss-visual-editor/</link><pubDate>Sat, 07 Aug 2010 00:17:04 PDT</pubDate><description>&lt;p&gt;The font size of WordPress&amp;#8217;s visual editor is too small for me on my screen display. The default font size is 13px which is hard for my eye on my screen. There are two ways to change the default font size in the visual editor. One is changing WordPress&amp;#8217;s css file for the editor while the other is using a plugin.&lt;/p&gt;
&lt;h3&gt;Method 1: Change WordPress&amp;#8217;s CSS file&lt;/h3&gt;
&lt;p&gt;This is the most direct way. This method will apply to all the contributors&amp;#8217; editors.&lt;/p&gt;
&lt;p&gt;The CSS file for the visual editor&amp;#8217;s font is: &lt;em&gt;wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css&lt;/em&gt; in WordPress&amp;#8217;s installation directory.&lt;/p&gt;
&lt;p&gt;First download this file and open if with an text editor that you like. Then find these lines:&lt;/p&gt;
&lt;pre&gt;body.mceContentBody {
    font: 13px/19px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
    padding: 0.6em;
    margin: 0;
}
&lt;/pre&gt;
&lt;p&gt;The &lt;em&gt;font&lt;/em&gt; here specifies the font size of WordPress&amp;#8217;s visual editor. If we want to change the font size to 16px, just change that line to:&lt;/p&gt;
&lt;pre&gt;font: 16px/19px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;&lt;/pre&gt;
&lt;p&gt;Then save this CSS file and uploaded to the hosting server. It&amp;#8217;s done!&lt;/p&gt;
&lt;h3&gt;Method 2: Use WordPress plugin&lt;/h3&gt;
&lt;p&gt;This method will not modify WordPress&amp;#8217;s files. But it requires us to install a plugin: &lt;a rel="external nofollow" href="http://wordpress.org/extend/plugins/visual-editor-font-size/"&gt;Visual Editor Font Size&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After installing this plugin, you will find a &amp;#8220;Visual Editor Font Size&amp;#8221; tool bar under the editor (maybe a little far away from it). You can click the &amp;#8220;+&amp;#8221; and the &amp;#8220;-&amp;#8221; button to make the font larger or smaller.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0L8-xIJp-fMs6hIthpJJUTY5_0A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0L8-xIJp-fMs6hIthpJJUTY5_0A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0L8-xIJp-fMs6hIthpJJUTY5_0A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0L8-xIJp-fMs6hIthpJJUTY5_0A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/0s_xCHpjvKQ" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/0s_xCHpjvKQ" height="1" width="1"/&gt;</description></item><item><title>RGBlite WordPress Theme</title><link>http://fclose.com/b/web/1728/rgblite-wordpress-theme/</link><pubDate>Sat, 29 May 2010 07:39:49 PDT</pubDate><description>&lt;p&gt;&lt;a href="http://picasaweb.google.com/lh/photo/ky_3c67DYisSPvMgaA959w?feat=embedwebsite" rel="nofollow"&gt;&lt;img src="http://lh6.ggpht.com/_9GCSB4c6Upw/TAnhrGK4b2I/AAAAAAAAA8A/YFDKtJvb7N8/s800/screenshot.png" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;About RGBlite Theme&lt;/h3&gt;
&lt;p&gt;RGBlite Theme is a simple and light-weight theme for WordPress. RGBlite Theme provides a green-red-blue mixed style, bright view and fast rendering experience to the users.&lt;/p&gt;
&lt;p&gt;RGBlite Theme passes W3C XHTML 1.0 and W3C CSS level 3 validation. This theme works well on WordPress 2.9.x and WordPress 3.0.&lt;/p&gt;
&lt;p&gt;RGBlite theme is among the top 10 most fastest WordPress themes in one measurement: &lt;a href="http://www.123milliseconds.com/wordpress-themes/page-load-times-dynamic-tables.htm" rel="nofollow"&gt;430 WordPress themes: Page load time measures&lt;/a&gt;. Here is the detailed &lt;a href="http://www.123milliseconds.com/wordpress-themes/rgblite/rgblite.htm" rel="nofollow"&gt;measurement result&lt;/a&gt; and the overall rank image from the result:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://fclose.com/f/2011/rgblite-nostats-allrank.png" alt="WordPress theme graph" width="400" height="200" /&gt;&lt;/p&gt;
&lt;h3&gt;How to install&lt;/h3&gt;
&lt;p&gt;Download the theme from the link below. Then upload it to the /wp-content/themes/ directory and select it in WordPress console will make this theme work.&lt;/p&gt;
&lt;h3&gt;Build in support for plugins&lt;/h3&gt;
&lt;p&gt;It is recommended to install these plugins while using this theme and the page template:&lt;br /&gt;
&lt;a href="http://wordpress.org/extend/plugins/wordpress-popular-posts/" rel="nofollow"&gt;WordPress Popular Posts&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.dagondesign.com/articles/sitemap-generator-plugin-for-wordpress/" rel="nofollow"&gt;Sitemap Generator for WordPress&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please install these plugins when you using this theme. These plugins will make this theme function well as the &lt;a href="http://fclose.com/b/"&gt;blog&lt;/a&gt; it is originally designed to.&lt;/p&gt;
&lt;h3&gt;Preview, download and Licence&lt;/h3&gt;
&lt;p&gt;Free to download, free to use, free to customize.&lt;br /&gt;
Released under the &lt;a href="http://www.gnu.org/licenses/gpl.html" rel="nofollow" target="_blank"&gt;GPL License&lt;/a&gt; (&lt;a href="http://en.wikipedia.org/wiki/GNU_General_Public_License" rel="nofollow" target="_blank"&gt;What is the GPL&lt;/a&gt;?)&lt;/p&gt;
&lt;p&gt;Preview is available: &lt;a href="http://fclose.com/b/rgblite-demo/"&gt;RGBlite Theme Demo&lt;/a&gt; or on &lt;a href="http://wordpress.org/extend/themes/rgblite" target="_blank"&gt;WordPress.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Download: &lt;a href="http://fclose.com/t/go/rgblite-theme-1-3/" rel="nofollow"&gt;RGBlite WP Theme&lt;/a&gt;.(Version 1.3, Feb. 3, 2012)&lt;/p&gt;
&lt;h3&gt;How to get the homepage like the demo screenshot&lt;/h3&gt;
&lt;p&gt;If you like the homepage style in the demo screenshot which is different from the default recent posts list, you can easily follow these steps:&lt;/p&gt;
&lt;p&gt;1. Create a page for the homepage. The content of this page will disappear on the top side. Select &lt;strong&gt;&amp;#8220;Homepage&amp;#8221;&lt;/strong&gt; for the template on the right side of the page editing page.&lt;/p&gt;
&lt;p&gt;2. In &amp;#8220;Settings-&amp;gt;Reading&amp;#8221; in WordPress&amp;#8217;s control panel, select &amp;#8220;A static page&amp;#8221; in the &amp;#8220;Front page displays&amp;#8221; section. Select the page you have created in step 1 for the &amp;#8220;front page&amp;#8221;.&lt;/p&gt;
&lt;p&gt;3. The &amp;#8220;Featured posts&amp;#8221; part in the homepage requires &amp;#8220;WordPress Popular Posts&amp;#8221; plugin. After install this plugin, the &amp;#8220;Featured posts&amp;#8221; will appear.&lt;/p&gt;
&lt;p&gt;The top part of the right sidebar is actually a &amp;#8220;Text widget&amp;#8221; which can be designed by yourself.&lt;/p&gt;
&lt;h3&gt;Translation&lt;/h3&gt;
&lt;p&gt;Thanks to the people that translate this theme to other languages:&lt;/p&gt;
&lt;p&gt;Romanian, Alexander Ovsov (&lt;a href="http://fclose.com/t/go/alexanderovsov/"&gt;Web Geek Sciense&lt;/a&gt;).&lt;/p&gt;
&lt;h3&gt;Change Logs&lt;/h3&gt;
&lt;p&gt;Feb. 3, 2012. Update to version 1.3.&lt;br /&gt;
Feb. 1, 2011. Add page load speed measurement result.&lt;br /&gt;
Version 1.1.3. Fix lots bugs; delete archive.php, missing.php; use add_theme_support(&amp;#8216;automatic-feed-links&amp;#8217;); smaller footer font;&lt;br /&gt;
Jul. 22, 2010 Add &amp;#8220;How to get the homepage like the demo screenshot&amp;#8221; part.&lt;br /&gt;
Version 1.1.2. Prettied default sidebar; Search form always stays on top of the sidebar; Search functions run now.&lt;br /&gt;
Version 1.1.1 Add nav menu support; Add body_class(); add wp_link_page(); Add default sidebar; Add search form in default sidebar;&lt;br /&gt;
Version 1.1.0   Change post meta in post to two lines and add the right part of first line; Add text before content; Move post meta from file to function; No border between content and sidebar; Homepage has page number; no border-bottom for header; post font 12px; h2 28px; h3 22px; h4 16px; Change title format. Head logo and the menu is on two lines; Change tag cloud line-height to 2em;&lt;br /&gt;
May 31, 2010. Change index.php.&lt;br /&gt;
May 29, 2010. The first version 1.0.0 released.&lt;/p&gt;
&lt;div&gt;https://docs.google.com/leaf?id=0BxXe2zOqYbxmNmIxZDhmZmEtMWY3Mi00MWVhLThlMjgtMzU5NmZlZmVmZDQ4&amp;amp;hl=en&lt;/div&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YdWYjfwbxFyKj8s9R8VpMub7Lgg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YdWYjfwbxFyKj8s9R8VpMub7Lgg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YdWYjfwbxFyKj8s9R8VpMub7Lgg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YdWYjfwbxFyKj8s9R8VpMub7Lgg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Web/~4/zImOuFxI14s" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/zImOuFxI14s" height="1" width="1"/&gt;</description></item><item><title>Setting Up POP3/IMAP Email Box on Nokia E71</title><link>http://fclose.com/b/software/1533/setting-up-pop3imap-email-box-on-nokia-e71/</link><pubDate>Wed, 12 May 2010 10:27:39 PDT</pubDate><description>&lt;p&gt;The software in Nokia E71 already support POP3 and IMAP email box. But we may lead to install Nokia messaging and setting up account of Nokia messaging. Storing our emails in remote servers isn&amp;#8217;t a secure way. And why not use IMAP directly if it is supported by the system software? How to set up POP3 or IMAP email box on Nokia E71 will be introduced in this post.&lt;/p&gt;
&lt;p&gt;First create a new mailbox by select:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Menu -&amp;gt; Communic. -&amp;gt; Messaging -&amp;gt; Optioins -&amp;gt; Settings -&amp;gt; E-mail -&amp;gt; Options -&amp;gt; New mailbox -&amp;gt; Start&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Allow connection?&lt;/em&gt; select &lt;strong&gt;&lt;em&gt;NO&lt;/em&gt;&lt;/strong&gt;. This is the &lt;strong&gt;most important&lt;/strong&gt; part. Otherwise, we will be lead to install Nokia Messaging again.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;E-mail address:&lt;/em&gt; your email address&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Password:&lt;/em&gt; password&lt;/p&gt;
&lt;p&gt;&lt;em&gt;User name:&lt;/em&gt; user name&lt;/p&gt;
&lt;p&gt;Then you will get a message that the account can&amp;#8217;t be defined. It will ask us for the email client:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://picasaweb.google.com/lh/photo/uO5Ukt4foZJvLXklNSTGiA?feat=embedwebsite" rel="nofollow"&gt;&lt;img src="http://lh6.ggpht.com/_9GCSB4c6Upw/TAnhqeE72bI/AAAAAAAAA70/-JnKiKBi7zk/s400/IMG_0589.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Select POP3/IMAP in the next screen:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://picasaweb.google.com/lh/photo/Af1se2bFPxhBRR-m7dr08Q?feat=embedwebsite" rel="nofollow"&gt;&lt;img src="http://lh5.ggpht.com/_9GCSB4c6Upw/TAnhqgJtVmI/AAAAAAAAA74/PuE5amJqdVE/s400/IMG_0591.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You will get a wizard after that:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://picasaweb.google.com/lh/photo/zATsUZK3W9mGROBFIV8RVQ?feat=embedwebsite" rel="nofollow"&gt;&lt;img src="http://lh3.ggpht.com/_9GCSB4c6Upw/TAnhqoDHESI/AAAAAAAAA78/iYgs20DsNVc/s400/IMG_0592.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then just follow the wizard and you will set up a email account using POP3 or IMAP.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uvul26l1pgVWObUOCDcBHEAHEbw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uvul26l1pgVWObUOCDcBHEAHEbw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uvul26l1pgVWObUOCDcBHEAHEbw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uvul26l1pgVWObUOCDcBHEAHEbw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/wFbybitIZ30" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/wFbybitIZ30" height="1" width="1"/&gt;</description></item><item><title>Calling Three Hong Kong’s Customer Service</title><link>http://fclose.com/b/ericma/1567/calling-three-hong-kongs-customer-service/</link><pubDate>Mon, 12 Apr 2010 05:09:18 PDT</pubDate><description>&lt;p&gt;3&amp;#8242;s hot line number for 3G service is 31623333. 8 in the main menu is the default key to connect to the customer service manager, but I always get &amp;#8220;Sorry, there is error in you input, please input again.&amp;#8221; After some tries, I find out the quick way to the customer service:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Main menu -&amp;gt; &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Press 6 (Service Application &amp;amp; Value-Added Service Inquiry) -&amp;gt; &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Press 1 (Services application.) -&amp;gt; &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Press 5 (The other services application.)&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You will get the message &amp;#8220;Please wait for a while, our customer service manager will answer your call&amp;#8230;&amp;#8221;. Wait for a while and then you will get serviced :)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Update history:&lt;/strong&gt;&lt;br /&gt;
Jun. 29, 2011. Update to current selection #.&lt;br /&gt;
Oct. 29, 2011. Update to current selection # 6 first.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OpBfAz6l0DIXYhGLJRyytAYgNaA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OpBfAz6l0DIXYhGLJRyytAYgNaA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OpBfAz6l0DIXYhGLJRyytAYgNaA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OpBfAz6l0DIXYhGLJRyytAYgNaA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/ericma/~4/VDBKSSo0GOw" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/VDBKSSo0GOw" height="1" width="1"/&gt;</description></item><item><title>Vim Formatting C/C++ Code</title><link>http://fclose.com/b/programming/1419/vim-formatting-cc-code/</link><pubDate>Sat, 13 Mar 2010 05:55:14 PST</pubDate><description>&lt;p&gt;Vim provides some basic formatting commands. A combination of these commands with the editing commands will make the programmer happy.&lt;/p&gt;
&lt;p&gt;A list of basic text formatting commands in Vim:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;tt&gt;=&lt;/tt&gt;&lt;/strong&gt; is an operator that formats/indents text.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;tt&gt;i{&lt;/tt&gt;&lt;/strong&gt; is a text object that specifies the surrounding code block. It should be used together with &lt;strong&gt;&lt;em&gt;v&lt;/em&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;em&gt;=&lt;/em&gt;&lt;/strong&gt;, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some basic but useful operation that are combination of the two basic ones above:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;tt&gt;vi{&lt;/tt&gt;&lt;/strong&gt; visually selects the inner code block around the cursor.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;tt&gt;=i{&lt;/tt&gt;&lt;/strong&gt; formats the code block.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;tt&gt;=2i{&lt;/tt&gt;&lt;/strong&gt; formats the current block and the block around it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;tt&gt;==&lt;/tt&gt;&lt;/strong&gt; formats current line.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The method to format a block of C/C++ or Java code:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First, go to the start point of codes to be formatted, then press &lt;strong&gt;&lt;em&gt;v&lt;/em&gt;&lt;/strong&gt; to start selection.&lt;/li&gt;
&lt;li&gt;Second, go to the end point.&lt;/li&gt;
&lt;li&gt;Third, press &lt;strong&gt;&lt;em&gt;=&lt;/em&gt;&lt;/strong&gt; to format the codes that have been selected. All braces and indentations will be aligned.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A short way to format the whole buffer:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;gg=G&lt;/li&gt;
&lt;/ul&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/KLDMkFacnP4" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/KLDMkFacnP4" height="1" width="1"/&gt;</description></item><item><title>The C Programming Style that I Follow</title><link>http://fclose.com/b/programming/1352/the-c-programming-style-that-i-follow/</link><pubDate>Thu, 04 Mar 2010 23:54:53 PST</pubDate><description>&lt;p&gt;C programming language allow any style the programmer like. A good style can make the code easy to understand and maintain, while a bad style will make the project a nightmare.&lt;/p&gt;
&lt;p&gt;This is the C programming styles that I follows:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. For each source file (*.c), there is a header file (*.h) that have the same name with it as it&amp;#8217;s interface.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. The header file starts with&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;#ifndef _HEADER_NAME_H
#  define  _HEADER_NAME_H
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt; And end with:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;#endif // _HEADER_NAME_H&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;3. #include is only used in source file usually.  ONLY when it is really necessary, #include can be used in header file.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. There is NO definition in header file. &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. Global variable defined in source file that is visible outside the module is declared as extern variable in the relevant header file. Global variable is used only when it is really necessary.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;An example that follow this style is &lt;a href="http://fclose.com/p/mrcc/"&gt;mrcc&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/iYi7BajFe00" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/iYi7BajFe00" height="1" width="1"/&gt;</description></item><item><title>Keep Firefox Open After Closing the Last Tab</title><link>http://fclose.com/b/software/1248/keep-firefox-open-after-closing-the-last-tab/</link><pubDate>Mon, 22 Feb 2010 07:49:29 PST</pubDate><description>&lt;p&gt;Firefox should always be ready there for us, right? Even after we closing the last tab, we would like firefox to be still open. At least I like to treat it in this way.&lt;/p&gt;
&lt;p&gt;But unfortunately, Firefox will close after we closing the last tab as default in version 3.5. But the good news is that this behaviour is configurable  through Firefox&amp;#8217;s configuration editor. Now, let&amp;#8217;s open it:&lt;/p&gt;
&lt;p&gt;Type in this into the address bar and hit enter:&lt;/p&gt;
&lt;pre&gt;about:config
&lt;/pre&gt;
&lt;p&gt;Firefox will warn us changing these configuration may be harmful. Okay, tell it we&amp;#8217;ll be careful by clicking the button.&lt;/p&gt;
&lt;p&gt;The type in this in to the filter field:&lt;/p&gt;
&lt;pre&gt;LastTab
&lt;/pre&gt;
&lt;p&gt;You will find this item with name:&lt;/p&gt;
&lt;pre&gt;browser.tabs.closeWindowWithLastTab
&lt;/pre&gt;
&lt;p&gt;That&amp;#8217;s exactly what we are looking for! Double click it to change it&amp;#8217;s value to &lt;em&gt;&amp;#8220;false&amp;#8221;&lt;/em&gt;.&lt;br /&gt;
Okay, that&amp;#8217;s it. Close this tab now and try closing all the tabs by using lots of &amp;#8220;CTRL + w&amp;#8221;. See what? Firefox is still there open even after we closing the last tab.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/x8VRWDsIL7RNcIurcrZiPbcqBfQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x8VRWDsIL7RNcIurcrZiPbcqBfQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/x8VRWDsIL7RNcIurcrZiPbcqBfQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x8VRWDsIL7RNcIurcrZiPbcqBfQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/eCryJqt96Cs" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/eCryJqt96Cs" height="1" width="1"/&gt;</description></item><item><title>mrcc – A Distributed C Compiler System on MapReduce</title><link>http://fclose.com/b/cloud-computing/699/mrcc-a-distributed-c-compiler-system-on-mapreduce/</link><pubDate>Sat, 16 Jan 2010 07:18:29 PST</pubDate><description>&lt;p&gt;The mrcc project&amp;#8217;s homepage is here:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://fclose.com/p/mrcc/"&gt;mrcc project&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Abstract&lt;/h3&gt;
&lt;p&gt;mrcc&lt;sup&gt;[3]&lt;/sup&gt; is an open source compilation system that uses MapReduce&lt;sup&gt;[1]&lt;/sup&gt; to distribute C code compilation across the servers of the cloud computing platform. mrcc is built to use Hadoop&lt;sup&gt;[2] &lt;/sup&gt;by default, but it is easy to port it to other could computing platforms, such as MRlite&lt;sup&gt;[8]&lt;/sup&gt;, by only changing the interface to the platform. The mrcc project homepage is &lt;a href="http://fclose.com/p/mrcc/"&gt;http://fclose.com/p/mrcc/&lt;br /&gt;
&lt;/a&gt; and the source code is public available.&lt;/p&gt;
&lt;h3&gt;Introduction&lt;/h3&gt;
&lt;p&gt;Compiling a big project such as Linux may cost much time. Usually, a big project consists of many small source code files and many of these source files can be compiled simultaneously. Parallel compilation on distributed servers is a way to accelerate the compilation.&lt;/p&gt;
&lt;p&gt;In this project, we build a compilation system on top of MapReduce for distributed compilation.&lt;/p&gt;
&lt;h3&gt;Design and architecture&lt;/h3&gt;
&lt;p&gt;The system of mrcc consists of one master server that controls the job and many slave servers that do the compilation work as shown in Figure 1. The master and the slaves can be one of the jobtracker or the tasktracker of the MapReduce system.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://lh5.ggpht.com/_9GCSB4c6Upw/S1HXGh-9FoI/AAAAAAAAAyw/QfiwMoQnTU4/s400/mrcc_f1.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 1: The architecture of mrcc&lt;/p&gt;
&lt;p&gt;&lt;em&gt;mrcc&lt;/em&gt; runs as a front end of &lt;em&gt;cc&lt;/em&gt;. When compiling one project, the user only need to add &lt;em&gt;“-jN”&lt;/em&gt; parameter and &lt;em&gt;“CC=mrcc”&lt;/em&gt; at the end of the normal &lt;em&gt;“make”&lt;/em&gt; arguments and make the project on the master server. make will build a dependency tree of the project source files and then fork multiple &lt;em&gt;mrcc&lt;/em&gt; instances when several source files can be compiled in parallel.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;mrcc&lt;/em&gt; will first do preprocessing such as expanding the options and inserting the header files into the source file. Then &lt;em&gt;mrcc&lt;/em&gt; will determines whether the job can be done on MapReduce depending on the compiler&amp;#8217;s options. For ensuring the correctness of the compilation, mrcc only distributes the jobs to slaves when they are safe. The other jobs are done on the master server locally.&lt;/p&gt;
&lt;p&gt;When doing remote compilation, &lt;em&gt;mrcc&lt;/em&gt; first put the preprocessed source file into the network file system which is HDFS when using Hadoop, then it runs the job on MapReduce. Only the mapper which is called &lt;em&gt;mrcc-map&lt;/em&gt; is used in this system. &lt;em&gt;mrcc-map&lt;/em&gt; first gets the source file from the network file system, and then it calls the compiler locally on the slave. After the compilation finished, &lt;em&gt;mrcc-map&lt;/em&gt; puts the object file which is the result of the compilation back into the network file system. After &lt;em&gt;mrcc-map&lt;/em&gt; finished, &lt;em&gt;mrcc&lt;/em&gt; on the master server get the object file from network file system and puts it into the local file system on the master node. By now, the compilation of one source file is finished. &lt;em&gt;make&lt;/em&gt; can go on to compile the other files that depends on the completed one.&lt;/p&gt;
&lt;h3&gt;Implementation&lt;/h3&gt;
&lt;p&gt;The mrcc compilation system consists of two core parts: the main program &lt;em&gt;mrcc&lt;/em&gt; and the mapper for MapReduce called &lt;em&gt;mrcc-map&lt;/em&gt;. This project is open source and all the source code can be downloaded from [3].&lt;/p&gt;
&lt;p&gt;The overall system consists of seven parts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The main program &lt;em&gt;mrcc&lt;/em&gt; (mrcc.c, compile.c, remote.c, safeguard.c, exec.c);&lt;/li&gt;
&lt;li&gt;The mapper &lt;em&gt;mrcc-map&lt;/em&gt; (mrcc-map.c);&lt;/li&gt;
&lt;li&gt;The compiler options processing part (args.c);&lt;/li&gt;
&lt;li&gt;The logging part (trace.c, traceenv.c);&lt;/li&gt;
&lt;li&gt;The network file system and MapReduce interface part (netfsutils.c, mrutils.c);&lt;/li&gt;
&lt;li&gt;The temporary files cleaning up part (tempfile.c, cleanup.c);&lt;/li&gt;
&lt;li&gt;Some other utilities for processing string, file path and name, and I/O operation (utils.c, files.c, io.c).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this report, we only introduce the two core parts of this system: &lt;em&gt;mrcc&lt;/em&gt; and &lt;em&gt;mrcc-map&lt;/em&gt;.&lt;/p&gt;
&lt;h4&gt;mrcc&lt;/h4&gt;
&lt;p&gt;The work flow is shown as Figure 2. There are five time lines in the process: mrcc is called, begins to compile locally or remotely while source file is being preprocessed, the preprocessing finishes, mrcc returns and mrcc finishes. During this process one or two new process is created by mrcc for source preprocessing or compiling. And some other works such as logging are done which we will not introduce. In the work flow graph, only the core functions are shown.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://lh4.ggpht.com/_9GCSB4c6Upw/S1HXGpLkElI/AAAAAAAAAy0/iJLK35_NbL0/s400/mrcc_f2.png" alt="" /&gt;&lt;br /&gt;
Figure 2: Work flow of mrcc&lt;/p&gt;
&lt;p&gt;When mrcc is called, it first preprocesses the compiler options by functions such as &lt;em&gt;expand_preprocessor_options()&lt;/em&gt; which expands the arguments passed to preprocessor. Then&lt;em&gt; make_tmpnam()&lt;/em&gt; is called to creates a temporary file inside the temporary directory and registers it for later cleanup. In &lt;em&gt;make_tmpnam()&lt;/em&gt; a random number is generated for the temporary file. We use this random number as the id of the job and the object file name. The temporary output directory of the MapReduce job will be generated from this id to avoid name conflict ion. For example, if the temporary file name for storing a preprocessed source file is “/tmp/mrcc_36994a30.i”, the object file name and the output directory name are “/tmp/mrcc_36994a30.o” and “/tmp/mrcc_36994a30.odir” on the network file system.&lt;/p&gt;
&lt;p&gt;mrcc then scans the options to determine whether this job can be done on remote server by calling scan_args&lt;em&gt;()&lt;/em&gt;. While scanning the arguments, mrcc should also determine the default output file name according to the input source name. It is a little hard because the cc option rules are pretty complex. After that, mrcc calls the &lt;em&gt;cpp_maybe()&lt;/em&gt; function to fork another process to run the preprocessor. The preprocessor insert header files into the source file. So the compiler version on the master and slaves needn&amp;#8217;t to be identical since the remote server needn&amp;#8217;t to do preprocessing.&lt;/p&gt;
&lt;p&gt;Then &lt;em&gt;mrcc&lt;/em&gt; compiles the source remotely or locally depending on the compiler options. Local compilation is straight forward. mrcc wait for the preprocessor process to complete and fork another process to do the compilation.&lt;/p&gt;
&lt;p&gt;If the source file can be compiled on remote server, mrcc calls the function &lt;em&gt;compile_remote()&lt;/em&gt;. mrcc should first wait for preprocessor to complete. Then mrcc put the preprocessed file into the network file system. After that, mrcc calls &lt;em&gt;call_mapper()&lt;/em&gt; to generate relevant options and arguments from the id of the temporary file and the options and arguments of the compiler. The it runs the job on MapReduce. In this project, we use Hadoop Streaming to run the mrcc-map on the slaves. The options for mrcc-map are passed with the streaming job options.&lt;/p&gt;
&lt;p&gt;After mrcc-map successfully finishes the job, the object file now exists on the network file system. mrcc generates the output file name from the id of the temporary file and calls &lt;em&gt;get_result_fs()&lt;/em&gt; to retrieve the object file from the network file system.&lt;/p&gt;
&lt;p&gt;As soon as mrcc gets the object file, it returns so that &lt;em&gt;make&lt;/em&gt; can continue to compile other source files that may depend on the completed one. But there are still several temporary files and directories on the network file system and local disk that needed to be cleaned up. We use a tricky function &lt;em&gt;atexit()&lt;/em&gt; to do the cleaning up work after mrcc returns. By using &lt;em&gt;atexit()&lt;/em&gt; some of the clean up I/O operation are done while the next compilation is running to improve the overall performance.&lt;/p&gt;
&lt;h4&gt;mrcc-map&lt;/h4&gt;
&lt;p&gt;mrcc-map is put in local directories on all the slaves servers. We doing this to avoid distributing the mrcc-map when the job is called because the mrcc-map does not changed during compiling one project. The flow of mrcc-map is simpler than mrcc as shown in Figure 3.&lt;/p&gt;
&lt;p&gt;mrcc-map first parse it&amp;#8217;s arguments and finds out the file id generated by mrcc and the compilation options and arguments. Then mrcc-map gets the preprocessed file from net file system according to the id. After getting the preprocessed file, mrcc-map calls the local gcc/cc compiler and passes the compilation options and arguments to it. Then mrcc-map puts the object file to the netwrok file system and returns immediately. The clean up work is done after mrcc-map finishes to parallel I/O operation and the compilation in the same way that mrcc does.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://lh5.ggpht.com/_9GCSB4c6Upw/S1HXG5NErUI/AAAAAAAAAy4/W78Q1TRPP44/s400/mrcc_f3.png" alt="" /&gt;&lt;br /&gt;
Figure 3: mrcc-map work flow&lt;/p&gt;
&lt;h3&gt;Evaluation&lt;/h3&gt;
&lt;p&gt;Please refer to this paper for the evaluation experiments and results:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Z. Ma&lt;/strong&gt; and L. Gu.&lt;em&gt;The Limitation of MapReduce: A Probing Case and a Lightweight Solution&lt;/em&gt;. In Proc. of the 1st Intl. Conf. on Cloud Computing, GRIDs, and Virtualization (CLOUD COMPUTING 2010). Nov. 21-26, 2010, Lisbon, Portugal. (&lt;a href="http://www.cse.ust.hk/~zma/publication/ma2010mrlite.pdf"&gt;PDF&lt;/a&gt; from one author&amp;#8217;s homepage)&lt;/p&gt;
&lt;p&gt;&lt;a name="installation"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Installation and configuration&lt;/h3&gt;
&lt;h4&gt;Install hadoop&lt;/h4&gt;
&lt;p&gt;Install Hadoop into a directory, such as /lhome/zma/hadoop and start Hadoop.&lt;/p&gt;
&lt;p&gt;Please refer to this tutorial for how to install and start Hadoop: &lt;a href="http://fclose.com/b/cloud-computing/290/hadoop-tutorial/"&gt;Hadoop Installation Tutorial&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Configuration&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;In netfsutils.c:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As an example, we assume hadoop command&amp;#8217;s full path is: /lhome/zma/hadoop/bin/hadoop&lt;/p&gt;
&lt;p&gt;Set the variables as follows (We use the full path to avoid bad PATH environment).&lt;/p&gt;
&lt;pre&gt;const char* put_file_fs_cmd = "/lhome/zma/hadoop/bin/hadoop dfs -put";
const char* get_file_fs_cmd = "/lhome/zma/hadoop/bin/hadoop dfs -get";
const char* del_file_fs_cmd = "/lhome/zma/hadoop/bin/hadoop dfs -rm";
const char* del_dir_fs_cmd = "/lhome/zma/hadoop/bin/hadoop dfs -rmr";&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;In mrutils.c&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Set the variables and We also use the full path.&lt;/p&gt;
&lt;pre&gt;const char* mr_exec_cmd_prefix = "/lhome/zma/hadoop/bin/hadoop jar /lhome/zma/hadoop/contrib/streaming/hadoop-0.20.2-streaming.jar -mapper ";
const char* mr_exec_cmd_mapper = "/home/zma/bin/mrcc-map ";
const char* mr_exec_cmd_parameter = "-numReduceTasks 0 -input null -output ";&lt;/pre&gt;
&lt;h4&gt;Compile and install:&lt;/h4&gt;
&lt;pre&gt;$ make
# make install&lt;/pre&gt;
&lt;h3&gt;How to use it&lt;/h3&gt;
&lt;h4&gt;Compile the project using mrcc on MapReduce&lt;/h4&gt;
&lt;p&gt;As building a project:&lt;/p&gt;
&lt;pre&gt;$ make -j16 CC=mrcc&lt;/pre&gt;
&lt;p&gt;-jN: N is the maximum parallel compilation number. N may be set to the number of CPUs in the cluster.&lt;/p&gt;
&lt;h4&gt;Enable detailed logging if needed&lt;/h4&gt;
&lt;p&gt;On master node in the same shell where mrcc runs:&lt;/p&gt;
&lt;pre&gt;$ . docs/mrcc.export&lt;/pre&gt;
&lt;p&gt;Or set environment variables:&lt;/p&gt;
&lt;pre&gt;MRCC_LOG=./mrcc.log
MRCC_VERBOSE=1
export MRCC_LOG
export MRCC_VERBOSE&lt;/pre&gt;
&lt;h3&gt;Related work&lt;/h3&gt;
&lt;p&gt;GNU make&lt;sup&gt;[7]&lt;/sup&gt; can execute many commands simultaneously by using “-j” option. But make can only execute many commands on local machine. mrcc makes use of this feature of make and distributed these commands (compilation) across servers on MapReduce.&lt;/p&gt;
&lt;p&gt;distcc&lt;sup&gt;[6]&lt;/sup&gt; is a program to distribute compilation of C/C++ Objective C/C++ code between several machines on a network. distcc must use a daemon on every slaves and the master must controls all the jobs details such as load balance and failure tolerance. distcc is easy to set up and fast in a cluster with a small amount of machines, but it will be hard to manage this system when distcc is running on a computing platform with thousands of machines.&lt;/p&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;p&gt;[1] Dean, J. and Ghemawat, S. 2004. MapReduce: simplified data processing on large clusters. In Proceedings of the 6th Conference on Symposium on Operating Systems Design &amp;amp; Implementation &amp;#8211; Volume 6 (San Francisco, CA, December 06 &amp;#8211; 08, 2004).&lt;br /&gt;
[2] Hadoop project. &lt;a href="http://hadoop.apache.org/"&gt;http://hadoop.apache.org/&lt;br /&gt;
&lt;/a&gt;[3] mrcc project. &lt;a href="http://fclose.com/p/mrcc/"&gt;http://fclose.com/p/mrcc/&lt;/a&gt;&lt;br /&gt;
[4] Hadoop 0.20.1. &lt;a href="http://hadoop.apache.org/common/releases.html#Download"&gt;http://hadoop.apache.org/common/releases.html#Download&lt;/a&gt;&lt;br /&gt;
[5] Linux. &lt;a href="http://www.kernel.org"&gt;http://www.kernel.org&lt;/a&gt;&lt;br /&gt;
[6] distcc project. &lt;a href="http://code.google.com/p/distcc/"&gt;http://code.google.com/p/distcc/&lt;/a&gt;&lt;br /&gt;
[7] GNU make. &lt;a href="http://www.gnu.org/software/make/"&gt;http://www.gnu.org/software/make/&lt;br /&gt;
&lt;/a&gt;[8] Zhiqiang Ma and Lin Gu.&lt;em&gt;The Limitation of MapReduce: A Probing Case and a Lightweight Solution&lt;/em&gt;. In Proc. of the 1st Intl. Conf. on Cloud Computing, GRIDs, and Virtualization (CLOUD COMPUTING 2010). Nov. 21-26, 2010, Lisbon, Portugal.&lt;a href="http://www.gnu.org/software/make/"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;span&gt;&lt;strong&gt;Update history:&lt;br /&gt;
&lt;/strong&gt;Jun. 1, 2010. Revise the report;&lt;br /&gt;
Jun. 2, 2010. Change this to mrcc&amp;#8217;s documents.;&lt;br /&gt;
Nov. 19, 2010. Change mrcc project homepage URL;&lt;br /&gt;
Feb. 25, 2011. Add paper reference for evaluation result;&lt;br /&gt;
Aug. 6, 2011. Add MRlite.&lt;br /&gt;
Spe. 8, 2011. Add installation, configuration and how to use it.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ReZXl8YwtFM1UeCCVLQCJiBWyGc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ReZXl8YwtFM1UeCCVLQCJiBWyGc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ReZXl8YwtFM1UeCCVLQCJiBWyGc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ReZXl8YwtFM1UeCCVLQCJiBWyGc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/BwE1PDiAyNg" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/BwE1PDiAyNg" height="1" width="1"/&gt;</description></item><item><title>Vim + cgdb</title><link>http://fclose.com/b/programming/324/vim-cgdb/</link><pubDate>Tue, 15 Dec 2009 04:33:17 PST</pubDate><description>&lt;p&gt;I begin to use vim for programming. I like the tools that focus on one function. I used to use emacs. But I think I like vim more.&lt;/p&gt;
&lt;p&gt;For debugging, I use gdb. But I use the front end cgdb. I can see the codes with the cursor when debugging. I can use F8 for next instead of n + enter. And F10 for step instead of s + enter. i is the key for enter gdb command mode. And ESC can change the user to command mode. But ESC is too far away from my finger, so I prefer &amp;#8220;Ctrl + [&amp;#8221; to ESC ;)&lt;/p&gt;
&lt;p&gt;My configuration files can be found here if they are useful for someone:&lt;br /&gt;
&lt;a href="http://github.com/zma/config_files"&gt;http://github.com/zma/config_files&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the config file of cgdb:&lt;br /&gt;
&amp;#8220;set winsplit=top_big: is for letting the code window bigger than the gdb command windows, which is convenient for debugging.&lt;/p&gt;
&lt;p&gt;A list of useful cgdb shortcuts:&lt;/p&gt;
&lt;pre&gt;`F5'
     Send a run command to GDB.
`F6'
     Send a continue command to GDB.
`F7'
     Send a finish command to GDB.
`F8'
     Send a next command to GDB.
`F10'
     Send a step command to GDB.
`spacebar'
     Sets a breakpoint at the current line number.
`t'
     Sets a temporary breakpoint at the current line number.
`i'
     Puts the user into "GDB mode".
`I'
     Puts the user into "TTY mode".
&lt;/pre&gt;
&lt;p&gt;These short cuts is available in cgdb 0.6.5.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Updated on Apr. 2 2010. Short cuts are added.&lt;/span&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/q71Zhx_N07k" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/q71Zhx_N07k" height="1" width="1"/&gt;</description></item><item><title>Default Descending Sort Order and Inline Quote When Reply in Thunderbird</title><link>http://fclose.com/b/software/310/default-descending-sort-order-and-inline-quote-when-reply-in-thunderbird/</link><pubDate>Thu, 03 Dec 2009 20:53:57 PST</pubDate><description>&lt;p&gt;I like to descending sort order when read mails. And I like inline quote when reply.&lt;/p&gt;
&lt;p&gt;This is the configuration:&lt;/p&gt;
&lt;pre&gt;mail.reply_quote_inline = true
mailnews.default_sort_order = 2
&lt;/pre&gt;
&lt;p&gt;Here: mailnews.default_sort_order: ascending 1, descending 2&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YakSLMF4tdBOWwVHj1YRePIIWPA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YakSLMF4tdBOWwVHj1YRePIIWPA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YakSLMF4tdBOWwVHj1YRePIIWPA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YakSLMF4tdBOWwVHj1YRePIIWPA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/bLpyJiTCyI4" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/bLpyJiTCyI4" height="1" width="1"/&gt;</description></item><item><title>Hadoop Installation Tutorial</title><link>http://fclose.com/b/cloud-computing/290/hadoop-tutorial/</link><pubDate>Tue, 24 Nov 2009 01:48:37 PST</pubDate><description>&lt;p&gt;Hadoop mainly consists of two parts: Hadoop MapReduce and HDFS. Hadoop MapReduce is a programming model and software framework for writing applications, which is an open-source variant of MapReduce that is initially designed and implemented by Google for processing and generating large data sets [1]. HDFS is Hadoop&amp;#8217;s underlying data persistency layer, which is loosely modelled after Google file system GFS [2]. Hadoop has seen active development activities and increasing adoption. Many cloud computing services, such as Amazon EC2, provide MapReduce functions, and the research community uses MapReduce and Hadoop to solve data-intensive problems in bioinformatics, computational finance, chemistry, and environmental science [3]. Although MapReduce has its limitations [3], it is an important framework to process large data sets.&lt;/p&gt;
&lt;p&gt;How to set up a Hadoop environment in a cluster is introduced in this tutorial. In this tutorial, we set up a Hadoop cluster, one node runs as the NameNode, one node runs as the JobTracker and many nodes runs as the TaskTracker (slaves).&lt;/p&gt;
&lt;p&gt;First we assume we have created a Linux user &amp;#8220;hadoop&amp;#8221; on each nodes that we use and the &amp;#8220;hadoop&amp;#8221; user&amp;#8217;s home directory is &amp;#8220;/home/hadoop/&amp;#8221;.&lt;/p&gt;
&lt;h3&gt;Enable &amp;#8220;hadoop&amp;#8221; user to password-less SSH login to slaves&lt;/h3&gt;
&lt;p&gt;Just for our convenience, make sure the &amp;#8220;hadoop&amp;#8221; user from NameNode and JobTracker can ssh to the slaves without password so that we need not to input the password every time.&lt;/p&gt;
&lt;p&gt;Details about password-less SSH login can be found &lt;a href="http://fclose.com/b/linux/1500/enabling-password-less-ssh-login/"&gt;Enabling Password-less ssh Login&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Install softwared needed by Hadoop&lt;/h3&gt;
&lt;h4&gt;Java JDK:&lt;/h4&gt;
&lt;p&gt;Java JDK can be downloaded form: http://java.sun.com/. Then we can install (actually copy the jdk directory) Java JDK on all nodes of the Hadoop cluster.&lt;/p&gt;
&lt;p&gt;As an example in this tutorial, the JDK is installed into&lt;/p&gt;
&lt;pre&gt;/home/hadoop/jdk1.6.0_24&lt;/pre&gt;
&lt;p&gt;I provide a simple bash script to duplicate the JDK directory to all nodes:&lt;/p&gt;
&lt;pre&gt;$ for i in `cat nodes`; do scp -rq /home/hadoop/jdk1.6.0_24 hadoop@$i:/home/hadoop/; done;&lt;/pre&gt;
&lt;p&gt;&amp;#8216;nodes&amp;#8217; is a file that contains all the nodes IPs or host names, one in one line.&lt;/p&gt;
&lt;h4&gt;Hadoop&lt;/h4&gt;
&lt;p&gt;Hadoop softwar can be downloaded from &lt;a href="http://fclose.com/t/go/hadoop/" rel="nofollow"&gt;here&lt;/a&gt;. In this tutorial, we use Hadoop 0.20.203.0.&lt;/p&gt;
&lt;p&gt;Then we can install Hadoop on all nodes of the Hadoop cluster.&lt;/p&gt;
&lt;p&gt;We can directly unpack it to a directory. In this example, we store it in&lt;/p&gt;
&lt;pre&gt;/home/hadoop/hadoop/&lt;/pre&gt;
&lt;p&gt;which is a directory under the hadoop Linux user&amp;#8217;s home directory.&lt;/p&gt;
&lt;p&gt;The hadoop directory can also be duplicated to all nodes using the script above.&lt;/p&gt;
&lt;h3&gt;Configure environment variables of &amp;#8220;hadoop&amp;#8221; user&lt;/h3&gt;
&lt;p&gt;We assume the &amp;#8220;hadoop&amp;#8221; user use bash as its shell.&lt;/p&gt;
&lt;p&gt;Add these two lines at the bottom of ~/.bashrc on all nodes:&lt;/p&gt;
&lt;pre&gt;export HADOOP_COMMON_HOME="/home/hadoop/hadoop/"
export PATH=$HADOOP_COMMON_HOME/bin/:$PATH&lt;/pre&gt;
&lt;p&gt;The HADOOP_COMMON_HOME environment variable is used by Hadoop&amp;#8217;s utility scripts, and it must be set, otherwise the scripts may report an error message &amp;#8220;Hadoop common not found&amp;#8221;.&lt;/p&gt;
&lt;p&gt;The second line adds hadoop&amp;#8217;s bin directory to the PATH sothat we can directly run hadoop&amp;#8217;s commands without specifying the full path to it.&lt;/p&gt;
&lt;h3&gt;Configure Hadoop&lt;/h3&gt;
&lt;h4&gt;conf/hadoop-env.h&lt;/h4&gt;
&lt;p&gt;Add or change these lines to specify the JAVA_HOME and directory to store the logs:&lt;/p&gt;
&lt;pre&gt;export JAVA_HOME=/home/hadoop/jdk1.6.0_24
export HADOOP_LOG_DIR=/home/hadoop/data/logs&lt;/pre&gt;
&lt;h4&gt;conf/core-site.xml&lt;/h4&gt;
&lt;p&gt;Here the NameNode runs on 10.1.1.30.&lt;/p&gt;
&lt;pre&gt;&amp;lt;configuration&amp;gt;
&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;fs.default.name&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;hdfs://10.1.1.30:9000&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;
&lt;h4&gt;conf/hdfs-site.xml&lt;/h4&gt;
&lt;pre&gt;&amp;lt;configuration&amp;gt;

&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;dfs.replication&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;3&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;dfs.name.dir&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;/lhome/hadoop/data/dfs/name/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;dfs.data.dir&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;/lhome/hadoop/data/dfs/data/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

&amp;lt;/configuration&amp;gt;&lt;/pre&gt;
&lt;p&gt;dfs.replication is the number of replicas of each block. dfs.name.dir is the path on the local filesystem where the NameNode stores the namespace and transactions logs persistently. dfs.data.dir is comma-separated list of paths on the local filesystem of a DataNode where it stores its blocks.&lt;/p&gt;
&lt;h4&gt;conf/mapred-site.xml&lt;/h4&gt;
&lt;p&gt;Here the JobTracker runs on 10.1.1.2.&lt;/p&gt;
&lt;pre&gt;&amp;lt;configuration&amp;gt;

&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;mapred.job.tracker&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;10.1.1.2:9001&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;mapred.system.dir&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;/hadoop/data/mapred/system/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;mapred.local.dir&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;/lhome/hadoop/data/mapred/local/&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;

&amp;lt;/configuration&amp;gt;&lt;/pre&gt;
&lt;p&gt;mapreduce.jobtracker.address is host or IP and port of JobTracker. mapreduce.jobtracker.system.dir is the path on the HDFS where where the Map/Reduce framework stores system files. mapreduce.cluster.local.dir is comma-separated list of paths on the local filesystem where temporary MapReduce data is written.&lt;/p&gt;
&lt;h4&gt;conf/slaves&lt;/h4&gt;
&lt;p&gt;Delete &lt;em&gt;localhost&lt;/em&gt; and add all the names of the TaskTrackers, each in on line. For example:&lt;/p&gt;
&lt;pre&gt;jobtrackname1
jobtrackname2
jobtrackname3
jobtrackname4
jobtrackname5
jobtrackname6&lt;/pre&gt;
&lt;h3&gt;Duplicate Hadoop configuration files to all nodes&lt;/h3&gt;
&lt;p&gt;We may duplicate the configuration files under conf diretory to all nodes. The script mentioned above can be used.&lt;/p&gt;
&lt;p&gt;By now, we have finished copying Hadoop softwares and configuring the Hadoop. Now let&amp;#8217;s have some fun with Hadoop.&lt;/p&gt;
&lt;h3&gt;Start Hadoop&lt;/h3&gt;
&lt;p&gt;We need to start both the HDFS and MapReduce to start Hadoop.&lt;/p&gt;
&lt;h4&gt;Format a new HDFS&lt;/h4&gt;
&lt;p&gt;On NameNode (10.1.1.30):&lt;/p&gt;
&lt;pre&gt;$ hadoop namenode -format&lt;/pre&gt;
&lt;p&gt;Remember to delete HDFS&amp;#8217;s local files on all nodes before re-formating it:&lt;/p&gt;
&lt;pre&gt;$ rm /home/hadoop/data /tmp/hadoop-hadoop -rf&lt;/pre&gt;
&lt;h4&gt;Start HDFS&lt;/h4&gt;
&lt;p&gt;On NameNode (10.1.1.30):&lt;/p&gt;
&lt;pre&gt;$ start-dfs.sh&lt;/pre&gt;
&lt;h4&gt;Check the HDFS status:&lt;/h4&gt;
&lt;p&gt;On NameNode (10.1.1.30):&lt;/p&gt;
&lt;pre&gt;$ hadoop dfsadmin -report&lt;/pre&gt;
&lt;p&gt;There may be less nodes listed in the report than we actually have. We can try it again.&lt;/p&gt;
&lt;h4&gt;Start mapred:&lt;/h4&gt;
&lt;p&gt;On JobTracker (10.1.1.2):&lt;/p&gt;
&lt;pre&gt;$ start-mapred.sh&lt;/pre&gt;
&lt;h4&gt;Check job status:&lt;/h4&gt;
&lt;pre&gt;$ hadoop job -list&lt;/pre&gt;
&lt;h3&gt;Run Hadoop jobs&lt;/h3&gt;
&lt;h4&gt;A simple example&lt;/h4&gt;
&lt;p&gt;We run a simple example built in Hadoop&amp;#8217;s distribution. For easy-to-run and more larger tests, please consider the &lt;a href="http://fclose.com/b/cloud-computing/3094/simple-sort-benchmark-on-hadoop/"&gt;Simple Sort Benchmark on Hadoop&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Copy the input files into the distributed filesystem:&lt;/p&gt;
&lt;pre&gt;$ hadoop fs -put /home/hadoop/hadoop/conf input&lt;/pre&gt;
&lt;p&gt;Run some of the examples:&lt;/p&gt;
&lt;pre&gt;$ hadoop jar /home/hadoop/hadoop/hadoop-examples-*.jar grep input output 'dfs[a-z.]+'&lt;/pre&gt;
&lt;p&gt;Examine the output files:&lt;/p&gt;
&lt;p&gt;Copy the output files from the distributed filesystem to the local&lt;br /&gt;
filesytem and examine them:&lt;/p&gt;
&lt;pre&gt;$ hadoop fs -get output output
$ cat output/*&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;View the output files on the distributed filesystem:&lt;/p&gt;
&lt;pre&gt;$ hadoop fs -cat output/*&lt;/pre&gt;
&lt;h3&gt;Shut down Hadoop cluster&lt;/h3&gt;
&lt;p&gt;We can stop Hadoop when we no long use it.&lt;/p&gt;
&lt;p&gt;Stop HDFS on NameNode (10.1.1.30):&lt;/p&gt;
&lt;pre&gt;$ stop-dfs.sh&lt;/pre&gt;
&lt;p&gt;Stop JobTracker and TaskTrackers on JobTracker (10.1.1.2):&lt;/p&gt;
&lt;pre&gt;$ stop-mapred.sh&lt;/pre&gt;
&lt;h3&gt;Some possible problems&lt;/h3&gt;
&lt;h4&gt;Firewall blocks connections&lt;/h4&gt;
&lt;p&gt;Configure &lt;em&gt;iptables&lt;/em&gt;: We can configure &lt;em&gt;iptables&lt;/em&gt; to allow all connections, if these nodes are in a secure local area network which is most of the situation, by this command on all nodes:&lt;/p&gt;
&lt;pre&gt;# iptables -F
# service iptables save&lt;/pre&gt;
&lt;p&gt;For a list of the default ports used by Hadoop, please refer to: &lt;a href="http://fclose.com/b/cloud-computing/3101/hadoop-default-ports/"&gt;Hadoop Default Ports&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;&lt;a href="http://fclose.com/b/3022/pitfalls-and-lessons-on-configuing-and-tuning-hadoop/"&gt;Pitfalls and Lessons&lt;/a&gt;&lt;/h4&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;p&gt;[1] J. Dean and S. Ghemawat, &amp;#8220;MapReduce: simplified data processing on large clusters.&amp;#8221; in the 6th Conference on Symposium on Operating Systems Design &amp;amp; Implementation, vol. 6, San Francisco, CA, 2004, pp. 137–150.&lt;br /&gt;
[2] S. Ghemawat, H. Gobioff, and S.-T. Leung, &amp;#8220;The Google filesystem,&amp;#8221; in Proc. of the 9th ACM Symposium on Operating Systems Principles (SOSP’03), 2003, pp. 29–43.&lt;br /&gt;
[3] Z. Ma and L. Gu. The limitation of MapReduce: A probing case and a lightweight solution. In CLOUD COMPUTING 2010: Proc. of the 1st Intl. Conf. on Cloud Computing, GRIDs, and Virtualization, pages 68–73, 2010.&lt;/p&gt;
&lt;h3&gt;Other Hadoop tutorials&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://hadoop.apache.org/common/docs/current/cluster_setup.html" rel="nofollow"&gt;Cluster Setup&lt;/a&gt; from Apache.&lt;br /&gt;
&lt;a href="http://developer.yahoo.com/hadoop/tutorial/module7.html" rel="nofollow"&gt;Managing a Hadoop Cluster&lt;/a&gt; from Yahoo.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Lx8jx1iYpOOcbna3itOdinmKC30/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lx8jx1iYpOOcbna3itOdinmKC30/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Lx8jx1iYpOOcbna3itOdinmKC30/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lx8jx1iYpOOcbna3itOdinmKC30/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/CloudComputing/~4/xy2fSVvygnM" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/xy2fSVvygnM" height="1" width="1"/&gt;</description></item><item><title>Generating a Mixed Source and Assembly List Using GCC</title><link>http://fclose.com/b/programming/240/generate-a-mixed-source-and-assembly-listing-using-gcc/</link><pubDate>Mon, 02 Nov 2009 06:53:40 PST</pubDate><description>&lt;p&gt;When do debugging and optimization, we sometimes need to generate and investigate into the assembly generated by the compiler. Generating a mixed source and assembly list will help the programmer a lot for debugging and optimization. gcc can achieve this by working the the assembler.&lt;/p&gt;
&lt;h3&gt;Generate assembly list mixed with the source code&lt;/h3&gt;
&lt;p&gt;Just add these gcc compile options:&lt;/p&gt;
&lt;pre&gt;-Wa,-adhln -g&lt;/pre&gt;
&lt;p&gt;The command:&lt;/p&gt;
&lt;pre&gt;$ gcc -Wa,-adhln -g source_code.c &amp;gt; assembly_list.s&lt;/pre&gt;
&lt;p&gt;The options:&lt;/p&gt;
&lt;pre&gt; -g: Produce debugging information
 -Wa,option: Pass option as an option to the assembler
 -adhln:
 a: turn on listings
 d: omit debugging directives; n: omit forms processing
 h: include high-level source
 l: include assembly&lt;/pre&gt;
&lt;h3&gt;One example&lt;/h3&gt;
&lt;p&gt;The source code:&lt;/p&gt;
&lt;p&gt;helloworld.c:&lt;/p&gt;
&lt;pre&gt;#include &amp;lt;stdio.h&amp;gt;
int main()
{
  printf("Helloworld!n");
  return 0;
}&lt;/pre&gt;
&lt;p&gt;The command:&lt;/p&gt;
&lt;pre&gt;$ gcc -Wa,-adhln -g helloworld.c &amp;gt; helloworld.s&lt;/pre&gt;
&lt;p&gt;helloworld.s:&lt;/p&gt;
&lt;pre&gt;...

0:helloworld.c  **** #include &amp;lt;stdio.h&amp;gt;
1:helloworld.c  ****
2:helloworld.c  **** int main()
3:helloworld.c  **** {
19                            .loc 1 4 0
20                            .cfi_startproc
21 0000 55                    pushq   %rbp
22                    .LCFI0:
23                            .cfi_def_cfa_offset 16
24 0001 4889E5                movq    %rsp, %rbp
25                            .cfi_offset 6, -16
26                    .LCFI1:
27                            .cfi_def_cfa_register 6
4:helloworld.c  ****   printf("Helloworld!n");
28                            .loc 1 5 0
29 0004 BF000000              movl    $.LC0, %edi
29      00
30 0009 E8000000              call    puts
30      00
5:helloworld.c  ****   return 0;
31                            .loc 1 6 0
32 000e B8000000              movl    $0, %eax
32      00
6:helloworld.c  **** }

...&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Updated history&lt;br /&gt;
17 Mar. 2010. Add example source code.&lt;/span&gt;&lt;br /&gt;
&lt;span&gt;24 Feb. 2010.&lt;br /&gt;
Oct. 19, 2011. revise and make the writting better.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/_cQ_rjmWI0s" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/_cQ_rjmWI0s" height="1" width="1"/&gt;</description></item><item><title>Set Up SSH Server on Windows XP</title><link>http://fclose.com/b/software/191/set-up-ssh-server-on-windows-xp/</link><pubDate>Fri, 18 Sep 2009 00:18:05 PDT</pubDate><description>&lt;p&gt;It is useful sometimes to set up a sshd server on a Windows. One example is using remote forwards tunnel to pass through the firewall.&lt;/p&gt;
&lt;p&gt;My platform is Windows XP SP3.&lt;/p&gt;
&lt;p&gt;The sshd server is sshwindows. It can be dowloaded from here: http://sshwindows.sourceforge.net/. The version I use here is 3.8p1-1 20040709.&lt;/p&gt;
&lt;p&gt;It is really easy:&lt;/p&gt;
&lt;p&gt;1) Run sshwindows installer and click OK and OK&amp;#8230;&lt;/p&gt;
&lt;p&gt;2) Run cmd.exe:&lt;/p&gt;
&lt;p&gt;3) cd C:Program FilesOpenSSHbin (it depends on the sshd&amp;#8217;s install location)&lt;/p&gt;
&lt;p&gt;4) mkgroup -l &amp;gt;&amp;gt; ..etcgroup&lt;/p&gt;
&lt;p&gt;5) mkpasswd -l &amp;gt;&amp;gt; ..etcpasswd&lt;br /&gt;
Now all local users are added to the sshd users list. More details can be found in the readme.txt file.&lt;/p&gt;
&lt;p&gt;6) Configuration the firewall and let it allow the sshd service listening on port 22&lt;/p&gt;
&lt;p&gt;7) Start the sshd service: &amp;#8220;net start &amp;#8220;OpenSSH Server&amp;#8221;"&lt;/p&gt;
&lt;p&gt;Now it is OK ;) Try to ssh to the windows and have fun.&lt;/p&gt;
&lt;p&gt;There are some problems such as the default home is &amp;#8220;/home/USERNAME&amp;#8221;, but you just get a warning and you can change to the directory by yourself. At least, it works.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Updated on 7 Mar. 2010.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VxRZMT6VYGexPnaBuqb12XCu0P8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VxRZMT6VYGexPnaBuqb12XCu0P8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VxRZMT6VYGexPnaBuqb12XCu0P8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VxRZMT6VYGexPnaBuqb12XCu0P8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/beXUNFd5U7w" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/beXUNFd5U7w" height="1" width="1"/&gt;</description></item><item><title>Firefox Add-ons For Easier and Happier Web Life</title><link>http://fclose.com/b/software/186/firefox-add-ons-for-easier-and-happier-web-life/</link><pubDate>Fri, 04 Sep 2009 02:59:27 PDT</pubDate><description>&lt;p&gt;Firefox is highly configurable and there are lots add-ons for it. I compile a list of the add-ons that make my life easier and happier.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/software/firegestures/" rel="nofollow"&gt;&lt;strong&gt;FireGestures&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8220;A customizable mouse gestures extension which enables to execute various commands and user scripts with five types of gestures.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/software/adblockplus/" rel="nofollow"&gt;&lt;strong&gt;Adbock Plus&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8220;Annoyed by adverts? Troubled by tracking? Bothered by banners? Install Adblock Plus now to regain control of the internet and change the way that you view the web.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/software/flashblock/" rel="nofollow"&gt;&lt;strong&gt;Flashblock&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;#8220;Never be annoyed by a Flash animation again! Blocks Flash so it won&amp;#8217;t get in your way, but if you want to see it, just click on&amp;#8230;&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/software/foxyproxy/" rel="nofollow"&gt;&lt;strong&gt;FoxyProxy&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8220;FoxyProxy is an advanced proxy management tool that completely replaces Firefox&amp;#8217;s limited proxying capabilities. It offers more features than SwitchProxy, ProxyButton, QuickProxy, xyzproxy, ProxyTex, TorButton, etc.&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/software/firebug/" rel="nofollow"&gt;&lt;strong&gt;Firebug&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8220;Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page&amp;#8230;&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://fclose.com/t/go/software/screenshoter/" rel="nofollow"&gt;&lt;strong&gt;Screenshoter&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8220;Pretty simple and sexy screen capturing tool&amp;#8221;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Obsolete ones&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I list some add-ons that I ever used but not using now.&lt;/p&gt;
&lt;p&gt;&lt;del&gt;&lt;strong&gt;Google Toolbar&lt;/strong&gt;: I use it to check the site&amp;#8217;s PageRank (PR) and bookmark my favourite site to Google bookmark.&lt;/del&gt;&lt;/p&gt;
&lt;p&gt;&lt;del datetime="2011-10-15T19:11:18+00:00"&gt;&lt;strong&gt;Hide Menubar&lt;/strong&gt;: Hide the menubar which are not used most of the time.&lt;br /&gt;
or Compact Menu 2: Duplicates the menubar on the toolbar&lt;/del&gt;&lt;br /&gt;
The newer version of Firefox can do this natively.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eSSNiL7Q-2592AxLpK36gCQfzzI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eSSNiL7Q-2592AxLpK36gCQfzzI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eSSNiL7Q-2592AxLpK36gCQfzzI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eSSNiL7Q-2592AxLpK36gCQfzzI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/9jqnidsU3oU" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/9jqnidsU3oU" height="1" width="1"/&gt;</description></item><item><title>Thunderbird中使用Google Calendar及它的SMS功能</title><link>http://fclose.com/b/software/183/thunderbird中使用google-calendar及它的sms功能/</link><pubDate>Tue, 25 Aug 2009 18:44:54 PDT</pubDate><description>&lt;p&gt;Google Calendar可以自动发短信提醒,这是一个非常棒的功能.为何不把它集成到Thunderbird中来呢.&lt;/p&gt;
&lt;p&gt;首先安装Thunderbird的插件:&lt;br /&gt;
Lightning 0.9&lt;/p&gt;
&lt;p&gt;然后下载:&lt;br /&gt;
Provider for Google Calendar 0.5.2&lt;/p&gt;
&lt;p&gt;provider默认加入的提醒是pop-up.其实要把它改成sms非常简单:&lt;/p&gt;
&lt;p&gt;将下载下来的.xpi文件unzip, 它就是一个zip包:)&lt;/p&gt;
&lt;p&gt;然后修改其中的calGoogleUtils.js JavaScript文件, 将其中的两个pop-up修改为sms.&lt;/p&gt;
&lt;p&gt;然后打包,再到Thunderbird下安装即可.&lt;/p&gt;
&lt;p&gt;这样就把Google Calendar和Thunderbird集成到一直来啦.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dyoVl-z_5jdv9Pa-1dZsgjFTk6g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dyoVl-z_5jdv9Pa-1dZsgjFTk6g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dyoVl-z_5jdv9Pa-1dZsgjFTk6g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dyoVl-z_5jdv9Pa-1dZsgjFTk6g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/vnnAab5qXjc" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/knwk8aURDTQ" height="1" width="1"/&gt;</description></item><item><title>Windows XP SP3 换号</title><link>http://fclose.com/b/software/170/windows-xp-sp3-换号/</link><pubDate>Thu, 23 Jul 2009 23:49:07 PDT</pubDate><description>&lt;p&gt;运行&lt;/p&gt;
&lt;pre&gt;regedit.exe&lt;/pre&gt;
&lt;p&gt;找到&lt;/p&gt;
&lt;pre&gt;HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\WPA\Events&lt;/pre&gt;
&lt;p&gt;然后随便修改其中的一个字符 运行&lt;/p&gt;
&lt;pre&gt;oobe/msoobe /a&lt;/pre&gt;
&lt;p&gt;激活，选择电话，换号 然后重启即可。&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/r7FLojqEFVJveRmPyKSbqKhnpEs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/r7FLojqEFVJveRmPyKSbqKhnpEs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/r7FLojqEFVJveRmPyKSbqKhnpEs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/r7FLojqEFVJveRmPyKSbqKhnpEs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/fclose/Software/~4/3icMI9P4FEI" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/E5qF1BSoh0w" height="1" width="1"/&gt;</description></item><item><title>MFC中屏蔽ESC和回车关闭对话框</title><link>http://fclose.com/b/programming/169/mfc中屏蔽esc和回车关闭对话框/</link><pubDate>Sat, 04 Jul 2009 04:31:42 PDT</pubDate><description>&lt;p&gt;解决方法是在CDialog::PreTranslateMessage() 的重载函数中将ESC和回车按键的消息处理掉.&lt;br /&gt;
直接上代码:&lt;/p&gt;
&lt;pre&gt;
BOOL
CResultCollectorDlg::PreTranslateMessage(MSG* pMsg)
{
  if(pMsg-&amp;gt;message == WM_KEYDOWN) {
    switch(pMsg-&amp;gt;wParam) {
      case VK_RETURN: //回车
        return TRUE;
      case VK_ESCAPE: //ESC
        return TRUE;
    }
  }
  return CDialog::PreTranslateMessage(pMsg);
}
&lt;/pre&gt;
&lt;img src="http://feeds.feedburner.com/~r/fclose/programming/~4/0sUHleylZfE" height="1" width="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/fclosefeed/~4/D_oeLYOJ8nA" height="1" width="1"/&gt;</description></item></channel></rss>

