<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JeffHung.Blog &#187; Programming</title>
	<atom:link href="http://www.jeffhung.net/blog/categories/devel/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffhung.net/blog</link>
	<description>(My smile insists of having nose. :-)</description>
	<lastBuildDate>Mon, 01 Mar 2010 07:53:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unescape URL in Perl</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/2424/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/2424/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 18:51:08 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=2424</guid>
		<description><![CDATA[看 log 時快速解碼用的，一行搞定。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/2424/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 真難用</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1086/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1086/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:23:09 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1086</guid>
		<description><![CDATA[兩個工作資歷加起來超過 15 年，可跨 UNIX/Windows 開發軟體的工程師，為了要在 Ubuntu 上編譯 C 的 hello world 程式，竟然要花上半小時。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1086/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Where to place mutable members in class?</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1191/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1191/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 17:54:05 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1191</guid>
		<description><![CDATA[在 C++ 裡，若 member data 被宣告為 mutable，表示即使是在「常數情境」下，如物件本身被宣告為 const，或執行於宣告成 const 的 member function 裡時，該 member data 仍然可以被修改...]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1191/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoid anonymous namespace in header files</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/2144/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/2144/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 14:29:59 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=2144</guid>
		<description><![CDATA[不過因為今天寫 C++ 程式的時候，碰到這樣的 warning：warning: 'Foo' has a field 'Foo::impl_' whose type uses the anonymous namespace. 原來是因為，我在 foo.hpp 這個 header 檔裡，寫了一個 anonymous namespace…]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/2144/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simple continuous test solution via make</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/2156/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/2156/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 05:28:54 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[shellscript]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=2156</guid>
		<description><![CDATA[Perl hacker gugod demoed Test::Continuous in OSDC.tw 2008 lightning talk. This is a great idea that breaks the code/build/debug cycle so we can continuously focus on the code we're writing and let the build/debug stuffs go background (mentally). But Test::Continuous is a perl module that best suite for perl hacking. I'm a C/C++ programmer now [...]]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/2156/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>API Name Postfix</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1846/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1846/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 14:09:23 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Murmuring]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1846</guid>
		<description><![CDATA[Windows SDK API 裡有個奇怪的命名慣例 (naming convention)，學過 Windows Programming 應該都耳熟能詳：API 的加強版，通常是在原來的名字後面，加上個 Ex 後綴字尾以命名之。例如，CreateWindow() 的加強版，就叫做 CreateWindowEx()。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1846/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>libcurl, openssl, and ca-bundle - on Windows</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1966/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1966/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 14:18:35 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1966</guid>
		<description><![CDATA[整理一下在 Windows 上，應付 libcurl、openssl 與 ca-bundle 的筆記。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1966/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>用程式檢查程式 - 一定要引入的 header</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1205/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1205/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 14:25:20 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1205</guid>
		<description><![CDATA[專案一大，就會設定一些「慣例」，以簡化專案複雜度。但是我們無法叫 compiler 幫我們檢查「慣例」，久而久之，這些「慣例」反而會成為混亂的來源。因此，最終還是得想個辦法，自動檢查這些「慣例」是否有被遵守才行。例如，檢查某個一定要被引入的 header 有否被引入。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1205/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building VC Projects in Console Mode</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1922/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1922/#comments</comments>
		<pubDate>Fri, 08 May 2009 09:52:13 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1922</guid>
		<description><![CDATA[通常我們在 Visual C++ 裡開發，是以其圖形介面的 IDE 為主要操作環境。若為了要把一些工作自動化，就必須要找到方法，在 console mode 下編譯建置專案。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1922/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wp2docbook.pl - DocBook from wordpress export</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1006/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1006/#comments</comments>
		<pubDate>Thu, 07 May 2009 14:55:06 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1006</guid>
		<description><![CDATA[看到 gslin 最近連續寫了兩篇文章，談論 wordpress 的 export 檔，就想起之前在 wordpress 2.3 的時候，寫過一個 wp2docbook.pl，可以將 wordpress export 檔，轉成 DocBook 格式。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1006/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>字串處理風格</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1870/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1870/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 14:44:01 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[visualbasic]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1870</guid>
		<description><![CDATA[最近有在用 wxWidgets 寫一些東西練功，初步的感想是…]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1870/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>650 行的 constructor</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1838/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1838/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 06:51:04 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Murmuring]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1838</guid>
		<description><![CDATA[原來我也會寫出 650 行的 constructor。XD]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1838/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Who&#039;s code caught the error, who deal with it?</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1016/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1016/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 14:53:14 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Murmuring]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1016</guid>
		<description><![CDATA[這是一個很久很久以前就有的 murmur。在工作上，有時候會聽到這樣的怒吼：「吼～又是你的 assertion 把程式當掉。」可是…]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1016/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Marginal Leak vs. Fixed Leak</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1787/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1787/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 14:44:06 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1787</guid>
		<description><![CDATA[在實務上，一般我們將 resource leak 分成兩大類，一種是程式執行一次，僅會發生一次的 leak，另一種則會隨著每次運算而屢次發生的 leak。今天我突發奇想，這兩者，是否可稱之為「fixed leak」與「marginal leak」？]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1787/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Code Review 什麼時候沒有用？</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1776/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1776/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 01:49:53 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Murmuring]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1776</guid>
		<description><![CDATA[今天早上一上班，看到上禮拜下班前跑的測試，果然還是死掉了。
面對體無完膚，多個臟器破裂，到處都是還沒找到的破洞，在這個情況之下，這種內出血嚴重的程式模組，code review 已經沒有用了。
更別提原作者在會中，一直嚷嚷，看起來都沒問題啊。XD
2009-03-23 13:00 更新：補一下這篇《The only valid measurement of code quality: WTF/m》。
]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1776/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>真㊣的 porting</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1744/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1744/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 13:17:14 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[tcpip]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1744</guid>
		<description><![CDATA[在工作上，常常需要把同樣的功能，porting 到不同的平台上去。有些 porting 很簡單，找出對應的 API 代換即可，但有些 porting，就真的很需要對各個平台，非常細緻的理解與熟習。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1744/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>好大的嵌入式資料庫</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1712/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1712/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 13:06:16 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1712</guid>
		<description><![CDATA[剛剛在裝 MySQL 5.1 for Windows，直接選 msi 檔安裝，然後就看到下面這個畫面…]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1712/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>謹慎使用 atoi()</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1635/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1635/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 15:01:53 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1635</guid>
		<description><![CDATA[剛剛追一個 bug，結果發現問題出在 atoi()，果然還是要用 C++ 才會比較有 type-safety，要不然碰到這類問題，連自己死了都不知道。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1635/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>英文的斷句也很重要</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1646/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1646/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 06:46:36 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1646</guid>
		<description><![CDATA[剛剛在讀 MSDN，被一句參數說明嚇到，本以為是 MSDN 白爛，後來仔細一想，才發覺其實是斷句的問題…]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1646/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Catch All in Thread Function/Proxy</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/1591/</link>
		<comments>http://www.jeffhung.net/blog/articles/jeffhung/1591/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 04:30:40 +0000</pubDate>
		<dc:creator>jeffhung</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cpp]]></category>

		<guid isPermaLink="false">http://www.jeffhung.net/blog/?p=1591</guid>
		<description><![CDATA[因為某人說我的文章，看第一眼就不想看了，因為用膝蓋想也可以知道，太花腦筋。所以我還是改變一下風格，多寫點簡短的好了，剛好可以把一些零散的程式設計經驗，記錄下來，以後有空再集結整理。]]></description>
		<wfw:commentRss>http://www.jeffhung.net/blog/articles/jeffhung/1591/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
