<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Weiqi Gao&#039;s Observations</title>
  <link>http://www.weiqigao.com/blog/</link>
  <description>Sharing My Experience...</description>
  <language>en</language>
  <copyright>Weiqi Gao</copyright>
  <lastBuildDate>Fri, 12 Mar 2010 13:16:11 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://pebble.sourceforge.net/common/images/powered-by-pebble.gif</url>
    <title>Weiqi Gao&#039;s Observations</title>
    <link>http://www.weiqigao.com/blog/</link>
  </image>
  
  
  <item>
    <title>Friday Java Quiz: Know Your IDEs Capabilities</title>
    <link>http://www.weiqigao.com/blog/2010/03/12/friday_java_quiz_know_your_ides_capabilities.html</link>
    
      
        <description>
          &lt;p&gt;It has been my experience that most Java developers nowadays use an IDE (or IDEs) for their daily work.  Knowing the capabilities of these IDEs may make you more productive.  However, most developers also has a tendency to learn just enough of their IDEs to &#034;get the job done&#034; and then stop at that point.&lt;/p&gt;

&lt;p&gt;Pair programming is a wonderful avenue for transmitting IDE know-hows between programmers on a team.  &#034;Just hit Ctrl-F12,&#034; Brian told me in a recent pair programming session.  I liked what I saw and have been hitting Ctrl-F12 all the time ever since.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Q&lt;/b&gt;: What does Ctrl-F12 do?&lt;/p&gt;

&lt;p&gt;Strict rules apply: no Bing-ing; and you have to write down your final answer before hitting Ctrl-F12.  The question is biased towards JetBrain&#039;s IntelliJ IDEA.  I don&#039;t know what Ctrl-F12 does in other IDEs.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Bonus Q&lt;/b&gt;: How can your IDEs help you when you receive a stack trace in an email form your testers or customers?&lt;/p&gt;

&lt;p&gt;&#034;I didn&#039;t know you can do that!&#034; was the reaction from Mike the last time I used the feature in a pairing session.&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2010/03/12/friday_java_quiz_know_your_ides_capabilities.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2010/03/12/friday_java_quiz_know_your_ides_capabilities.html</guid>
    <pubDate>Fri, 12 Mar 2010 13:16:11 GMT</pubDate>
  </item>
  
  <item>
    <title>Tianjin Trip Pictures</title>
    <link>http://www.weiqigao.com/blog/2010/03/05/tianjin_trip_pictures.html</link>
    
      
        <description>
          &lt;p&gt;I&#039;ve been back from the Tianjin trip for 12 days.  Aside from visiting family, I also played tourist in my home town.  Here&#039;s some pictures and impressions.&lt;/p&gt;

&lt;center&gt;
&lt;img class=&#034;photo&#034; src=&#034;http://www.weiqigao.com/blog/images/tianta-small.jpg&#034;/&gt;
&lt;p&gt;The Tianjin Radio and Television Tower (天塔) from the back window&lt;/p&gt;&lt;/center&gt;

&lt;p&gt;The tower was the &lt;a href= &#034;http://en.wikipedia.org/wiki/List_of_towers&#034; &gt;tallest tower in Asia&lt;/a&gt; and the third tallest in the World, behind the CN Tower in Toronto and the Ostankino Tower in Moscow, when it was completed in 1991.  You can see how prominent it is in the Tianjin skyline in the &lt;a href= &#034;http://upload.wikimedia.org/wikipedia/commons/0/0b/Tianjin_Skyline_2009.jpg&#034; &gt;Wikipedia picture&lt;/a&gt; that I used in the last blog entry.&lt;/p&gt;

&lt;center&gt;
&lt;img class=&#034;photo&#034; src=&#034;http://www.weiqigao.com/blog/images/tianjin-guwenhuajie.jpg&#034;/&gt;
&lt;p&gt;Tianjin Ancient Culture Street (古文化街)&lt;/p&gt;&lt;/center&gt;

&lt;p&gt;The &#034;Ancient Culture Street&#034; is a pedestrian street of about half a mile long, lined with shops and restaurants in traditional Chinese style buildings.  The street has been in existence for more than 800 years.  The buildings, however, are &#034;rebuilt to restore the ancient scene&#034; in the 1990&#039;s.&lt;/p&gt;

&lt;center&gt;
&lt;img class=&#034;photo&#034; src=&#034;http://www.weiqigao.com/blog/images/tianjin-book-tower.jpg&#034;/&gt;
&lt;p&gt;Tianjin Book Tower (图书大厦)&lt;/p&gt;&lt;/center&gt;

&lt;p&gt;One of the many high rise buildings that has sprout up in the last twenty years.  The first seven floors constitutes a giant book store.  Educational books/DVDs are popular here due to Chinese traditional values that puts education in (very) high esteem.  One of the many television screens shows a classroom lecture of high school geometry.&lt;/p&gt;

&lt;center&gt;
&lt;img class=&#034;photo&#034; src=&#034;http://www.weiqigao.com/blog/images/wanghailou.jpg&#034;/&gt;
&lt;p&gt;Wang Hai Lou Church (望海楼)&lt;/p&gt;&lt;/center&gt;

&lt;p&gt;A Catholic church built in the 1860&#039;s by the French after part of Tianjin was conceded to the West in the &lt;a href= &#034;http://en.wikipedia.org/wiki/Second_Opium_War&#034; &gt;Second Opium War&lt;/a&gt; of 1856-1858.&lt;/p&gt;  

&lt;center&gt;
&lt;img class=&#034;photo&#034; src=&#034;http://www.weiqigao.com/blog/images/liangqichao.jpg&#034;/&gt;
&lt;p&gt;Statute of Liang Qichao (梁启超) in front of his old residence (now a museum)&lt;/p&gt;&lt;/center&gt;

&lt;p&gt;&lt;a href= &#034;http://en.wikipedia.org/wiki/Liang_Qichao&#034; &gt;Liang Qichao (梁启超, 1873-1929)&lt;/a&gt; was a scholar/politician in the late Qing Dynasty and early Republic period.  He was instrumental in the failed 1898 100-day reform movement and went to exile until the 1911 revolution that established the Republic.  He lived in Tianjin in his later life, after his political career.&lt;/p&gt;

&lt;center&gt;
&lt;img class=&#034;photo&#034; src=&#034;http://www.weiqigao.com/blog/images/tianjin-traffic.jpg&#034;/&gt;
&lt;p&gt;Tianjin traffic&lt;/p&gt;&lt;/center&gt;

&lt;p&gt;And I would be remiss if I don&#039;t show you a scene of Tianjin traffic.  There were many times when I thought &#034;I should take a picture&#034; when I was in the crazy traffic.  In this picture, a taxi driver (the red dot on the dashboard says &#034;empty taxi&#034;) decided that he has waited at a red light long enough and the the gap between our car and the car in front of us is wide enough for him the turn around and go the other way.&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2010/03/05/tianjin_trip_pictures.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2010/03/05/tianjin_trip_pictures.html</guid>
    <pubDate>Fri, 05 Mar 2010 13:39:01 GMT</pubDate>
  </item>
  
  <item>
    <title>Happy Chinese New Year</title>
    <link>http://www.weiqigao.com/blog/2010/02/21/happy_chinese_new_year.html</link>
    
      
        <description>
          &lt;p&gt;&lt;a href= &#034;http://www.weiqigao.com/blog/2005/08/09/when_is_next_tuesday.html&#034; &gt;Next next Sunday&lt;/a&gt;, February 14, 2010, will be the Chinese New Year. The year of Ox ends and the year of Tiger begins.&lt;/p&gt;

&lt;center&gt; 
&lt;span style=&#034;color:red;font-size:Large&#034;&gt;恭喜发财! 过年好!&lt;/span&gt; 
&lt;/center&gt; 

&lt;p&gt;This message comes to you early because I&#039;m leaving for China in a few of hours.  I will be visiting family in &lt;a href= &#034;http://en.wikipedia.org/wiki/Tianjin&#034; &gt;Tianjin&lt;/a&gt; for a couple of weeks.&lt;/p&gt;

&lt;center&gt;
&lt;img src=&#034;http://www.weiqigao.com/blog/images/Tianjin_Skyline_2009.jpg&#034; alt=&#034;Tianjin Skyline 2009&#034; title=&#034;Tianjin Skyline 2009&#034; /&gt;
&lt;/center&gt;

&lt;p&gt;I&#039;ll keep &lt;a href= &#034;http://www.weiqigao.com/blog/2009/01/25/happy_chinese_new_year.html&#034; &gt;a tradition&lt;/a&gt; that &lt;a href= http://www.weiqigao.com/blog/2008/02/06/happy_chinese_new_year.html&#034;&#034; &gt;I started two years&lt;/a&gt; ago going by offering a fresh English translation of a piece of ancient Chinese classics.  This year&#039;s passage comes from the &lt;a href= &#034;http://en.wikipedia.org/wiki/I_Ching&#034; &gt;I Ching&lt;/a&gt;, which I have started studying last year (I&#039;ve even quoted it &lt;a href= &#034;http://www.weiqigao.com/blog/2009/04/20/oracle_to_buy_sun.html&#034; &gt;several&lt;/a&gt; &lt;a href= &#034;http://www.weiqigao.com/blog/2009/11/18/closures_in_java_7_its_on_again.html&#034; &gt;times&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;The content of the I Ching was developed over a period of over 2000 years, starting from &lt;a href= &#034;http://en.wikipedia.org/wiki/Fu_Xi&#034; &gt;伏羲 (Fu Xi, mid 2800s BC)&lt;/a&gt; drawing the eight &lt;a href= &#034;http://en.wikipedia.org/wiki/Bagua_(concept)&#034;&gt;gua&lt;/a&gt; (trigrams), followed by &lt;a href= &#034;http://en.wikipedia.org/wiki/King_Wen_of_Zhou&#034; &gt;周文王 (King Wen of Zhou, 1099–1050 BC)&lt;/a&gt; arranging the &lt;a href= &#034;http://en.wikipedia.org/wiki/I_Ching_hexagram_64#Hexagram_64&#034; &gt;64 gua&lt;/a&gt; (hexagrams) and writing the decisions for each, and &lt;a href= &#034;http://en.wikipedia.org/wiki/Duke_of_Zhou&#034; &gt;周公 (Duke of Zhou, son of King Wen)&lt;/a&gt; writing the 387 decisions for each yao (line) of each gua, and culminating in &lt;a href= &#034;http://en.wikipedia.org/wiki/Confucius&#034; &gt;孔子 (Confucius, 551–479 BC)&lt;/a&gt; writing commentaries for all of the above.  It&#039;s been another 2500 years since its completion.&lt;/p&gt;

&lt;h4&gt;&lt;a href= &#034;http://chinese.dsturgeon.net/text.pl?node=25262&amp;if=gb&#034; &gt;I Ching (Qian, 15:1)&lt;/a&gt;&lt;/h4&gt;

&lt;p style=&#034;margin-left:3em&#034;&gt;&lt;span style= &#034;font-size:xx-large&#034;&gt;&amp;#x4dce;&lt;/span&gt;&lt;/p&gt;

&lt;p style=&#034;margin-left:3em&#034;&gt;&lt;em&gt;&lt;b&gt;(King Wen&#039;s Decision)&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p style=&#034;margin-left:6em&#034;&gt;Modesty: Progressing smoothly.  The noble man attains his end.&lt;/p&gt;

&lt;p style=&#034;margin-left:3em&#034;&gt;&lt;em&gt;&lt;b&gt;(Confucius&#039;s commentary on the text)&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p style=&#034;margin-left:6em&#034;&gt;Modesty, progressing smoothly,&lt;br/&gt;
the Tao of heaven aids down and shines bright,&lt;br/&gt;
the Tao of earth is humble and moves up.&lt;br/&gt;
The Tao of heaven decreases the full and benefits the modest,&lt;br/&gt;
the Tao of earth changes the full and flows the modest,&lt;br/&gt;
ghosts and spirits harm the full and bless the modest,&lt;br/&gt;
the Tao of man hates the full and loves the modest.&lt;br/&gt;
Modesty is noble and glorious, humble and cannot be exceeded, the end of the noble man.&lt;/p&gt;

&lt;p style=&#034;margin-left:3em&#034;&gt;&lt;em&gt;&lt;b&gt;(Confucius&#039;s commentary on the image)&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p style=&#034;margin-left:6em&#034;&gt;The earth has mountains, modesty; The noble man hence decrease the many and increase the few, weigh things and gives evenly.&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2010/02/21/happy_chinese_new_year.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2010/02/21/happy_chinese_new_year.html</guid>
    <pubDate>Sun, 21 Feb 2010 06:24:29 GMT</pubDate>
  </item>
  
  </channel>
</rss>
