<?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>HHdem:s blog &#187; coder</title>
	<atom:link href="http://hhdem.com/tag/coder/feed/" rel="self" type="application/rss+xml" />
	<link>http://hhdem.com</link>
	<description>飞向自由的天空</description>
	<lastBuildDate>Fri, 03 Feb 2012 02:16:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Google Map API V3 加入可拖动的路径功能</title>
		<link>http://hhdem.com/2010/10/09/google-map-api-v3-%e5%8a%a0%e5%85%a5%e5%8f%af%e6%8b%96%e5%8a%a8%e7%9a%84%e8%b7%af%e5%be%84%e5%8a%9f%e8%83%bd/</link>
		<comments>http://hhdem.com/2010/10/09/google-map-api-v3-%e5%8a%a0%e5%85%a5%e5%8f%af%e6%8b%96%e5%8a%a8%e7%9a%84%e8%b7%af%e5%be%84%e5%8a%9f%e8%83%bd/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 06:18:51 +0000</pubDate>
		<dc:creator>hhdem</dc:creator>
				<category><![CDATA[coder]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://hhdem.com/?p=387</guid>
		<description><![CDATA[<a href="http://hhdem.com/2010/10/09/google-map-api-v3-%e5%8a%a0%e5%85%a5%e5%8f%af%e6%8b%96%e5%8a%a8%e7%9a%84%e8%b7%af%e5%be%84%e5%8a%9f%e8%83%bd/" title="Google Map API V3 加入可拖动的路径功能"></a>到目前还没有在API文档中体现, 不过已经在官方实例中给DirectionsRendererOptions加入了draggable属性,例子如下： 如果要监听路径改变,可以监听DirectionsRenderer对象的directions_changed时间, 例子如下：]]></description>
			<content:encoded><![CDATA[<a href="http://hhdem.com/2010/10/09/google-map-api-v3-%e5%8a%a0%e5%85%a5%e5%8f%af%e6%8b%96%e5%8a%a8%e7%9a%84%e8%b7%af%e5%be%84%e5%8a%9f%e8%83%bd/" title="Google Map API V3 加入可拖动的路径功能"></a><p>到目前还没有在API文档中体现, 不过已经在官方实例中给<a href="http://code.google.com/intl/zh-CN/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions" target="_blank">DirectionsRendererOptions</a>加入了draggable属性,例子如下：</p>
<pre class="brush: jscript; highlight: [5]; title: ; notranslate">

var directionDisplay;

directionsDisplay = new google.maps.DirectionsRenderer({

draggable: true,

suppressPolylines:false,markerOptions:{visible : false}

});
</pre>
<p>如果要监听路径改变,可以监听<a href="http://code.google.com/intl/zh-CN/apis/maps/documentation/javascript/reference.html#DirectionsRenderer" target="_blank">DirectionsRenderer</a>对象的directions_changed时间, 例子如下：</p>
<pre class="brush: jscript; title: ; notranslate">
google.maps.event.addListener(directionsDisplay, 'directions_changed', function() {
     alert(directionsDisplay.getDirections());
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://hhdem.com/2010/10/09/google-map-api-v3-%e5%8a%a0%e5%85%a5%e5%8f%af%e6%8b%96%e5%8a%a8%e7%9a%84%e8%b7%af%e5%be%84%e5%8a%9f%e8%83%bd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web.xml 中 CompressingFilter 定义的位置也会导致文件加载异常</title>
		<link>http://hhdem.com/2010/04/17/error-cause-the-compressingfilter/</link>
		<comments>http://hhdem.com/2010/04/17/error-cause-the-compressingfilter/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 18:42:29 +0000</pubDate>
		<dc:creator>hhdem</dc:creator>
				<category><![CDATA[coder]]></category>
		<category><![CDATA[errors]]></category>

		<guid isPermaLink="false">http://hhdem.com/?p=249</guid>
		<description><![CDATA[<a href="http://hhdem.com/2010/04/17/error-cause-the-compressingfilter/" title="Web.xml 中 CompressingFilter 定义的位置也会导致文件加载异常"></a>如果碰到加载js / css / images 等文件出现莫名奇妙问题(如：类加载错误、$符号未定义、图片显示不了、css引用有的行有的不行等等等等)的时候，在你检查过文件引用路径，审视过相关文件的引用顺序，吐着鲜血在google hk 上挠头皮的时候，不要忘记检查下你的Filter的解析顺序，尤其是在你引用了 SpringSecurity 并想通过 UrlRewrite 实现简化路径的目的时，切记，谨记，铭记在心。 片段： 一定要放在 之后，btw springSecurityFilterChain 要在 rewriteFilter 之前解析。]]></description>
			<content:encoded><![CDATA[<a href="http://hhdem.com/2010/04/17/error-cause-the-compressingfilter/" title="Web.xml 中 CompressingFilter 定义的位置也会导致文件加载异常"></a><p>如果碰到加载js / css / images 等文件出现莫名奇妙问题(如：<span style="color: #ff0000;">类加载错误</span>、<span style="color: #ff0000;">$符号未定义</span>、<span style="color: #ff0000;">图片显示不了</span>、<span style="color: #ff0000;">css引用有的行有的不行</span>等等等等)的时候，在你检查过文件引用路径，审视过相关文件的引用顺序，吐着鲜血在google hk 上挠头皮的时候，不要忘记检查下你的Filter的解析顺序，尤其是在你引用了 SpringSecurity 并想通过 UrlRewrite 实现简化路径的目的时，切记，谨记，铭记在心。<br />
片段：</p>
<pre class="brush: xml; title: ; notranslate">
&lt;filter-mapping&gt;
    	&lt;filter-name&gt;CompressingFilter&lt;/filter-name&gt;
    	&lt;url-pattern&gt;/*&lt;/url-pattern&gt;
    	&lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;
    	&lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt;
&lt;/filter-mapping&gt;
</pre>
<p>一定要放在</p>
<pre class="brush: xml; title: ; notranslate">
&lt;filter-mapping&gt;
        &lt;filter-name&gt;springSecurityFilterChain&lt;/filter-name&gt;
        &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
&lt;/filter-mapping&gt;
&lt;filter-mapping&gt;
	&lt;filter-name&gt;rewriteFilter&lt;/filter-name&gt;
	&lt;url-pattern&gt;/*&lt;/url-pattern&gt;
&lt;/filter-mapping&gt;
</pre>
<p>之后，btw<span style="color: #3366ff;"> springSecurityFilterChain</span> 要在 <span style="color: #993366;">rewriteFilter</span> 之前解析。</p>
]]></content:encoded>
			<wfw:commentRss>http://hhdem.com/2010/04/17/error-cause-the-compressingfilter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我说我的rss格式那么恶心呢！</title>
		<link>http://hhdem.com/2009/12/23/%e6%88%91%e8%af%b4%e6%88%91%e7%9a%84rss%e6%a0%bc%e5%bc%8f%e9%82%a3%e4%b9%88%e6%81%b6%e5%bf%83%e5%91%a2%ef%bc%81/</link>
		<comments>http://hhdem.com/2009/12/23/%e6%88%91%e8%af%b4%e6%88%91%e7%9a%84rss%e6%a0%bc%e5%bc%8f%e9%82%a3%e4%b9%88%e6%81%b6%e5%bf%83%e5%91%a2%ef%bc%81/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 06:56:19 +0000</pubDate>
		<dc:creator>hhdem</dc:creator>
				<category><![CDATA[coder]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://hhdem.com/?p=100</guid>
		<description><![CDATA[<a href="http://hhdem.com/2009/12/23/%e6%88%91%e8%af%b4%e6%88%91%e7%9a%84rss%e6%a0%bc%e5%bc%8f%e9%82%a3%e4%b9%88%e6%81%b6%e5%bf%83%e5%91%a2%ef%bc%81/" title="我说我的rss格式那么恶心呢！"></a>wp-includes 下面的 feed-rss2.php 文件的 替换为: 替换前，rss格式简直是一陀&#8230;&#8230; 替换后，天空都晴朗了，畅快。]]></description>
			<content:encoded><![CDATA[<a href="http://hhdem.com/2009/12/23/%e6%88%91%e8%af%b4%e6%88%91%e7%9a%84rss%e6%a0%bc%e5%bc%8f%e9%82%a3%e4%b9%88%e6%81%b6%e5%bf%83%e5%91%a2%ef%bc%81/" title="我说我的rss格式那么恶心呢！"></a><p>wp-includes 下面的 feed-rss2.php 文件的</p>
<pre class="brush: php; title: ; notranslate">&lt;description&gt;&lt;![CDATA[&lt;?php the_excerpt_rss() ?&gt;]]&gt;&lt;/description&gt;</pre>
<p>替换为:</p>
<pre class="brush: php; title: ; notranslate">&lt;description&gt;&lt;![CDATA[&lt;?php the_content() ?&gt;]]&gt;&lt;/description&gt;</pre>
<p>替换前，rss格式简直是一陀&#8230;&#8230;</p>
<p>替换后，天空都晴朗了，畅快。</p>
]]></content:encoded>
			<wfw:commentRss>http://hhdem.com/2009/12/23/%e6%88%91%e8%af%b4%e6%88%91%e7%9a%84rss%e6%a0%bc%e5%bc%8f%e9%82%a3%e4%b9%88%e6%81%b6%e5%bf%83%e5%91%a2%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make better code from Joel</title>
		<link>http://hhdem.com/2009/12/03/how-to-make-better-code-from-joel/</link>
		<comments>http://hhdem.com/2009/12/03/how-to-make-better-code-from-joel/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 03:38:28 +0000</pubDate>
		<dc:creator>hhdem</dc:creator>
				<category><![CDATA[coder]]></category>
		<category><![CDATA[joel]]></category>

		<guid isPermaLink="false">http://hhdem.com/?p=16</guid>
		<description><![CDATA[Do you use source control? 
Can you make a build in one step? 
Do you make daily builds? 
Do you have a bug database? 
Do you fix bugs before writing new code? 
Do you have an up-to-date schedule? 
Do you have a spec? 
Do programmers have quiet working conditions? 
Do you use the best tools money can buy? 
Do you have testers? 
Do new candidates write code during their interview? 
Do you do hallway usability testing?
发现，公司的运作机制竟让我越来越远离正常的better code模式<p class="read-more"><a href="http://hhdem.com/2009/12/03/how-to-make-better-code-from-joel/">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://hhdem.com/2009/12/03/how-to-make-better-code-from-joel/" title="How to make better code from Joel"></a><p>Do you use source control?<br />
Can you make a build in one step?<br />
Do you make daily builds?<br />
Do you have a bug database?<br />
Do you fix bugs before writing new code?<br />
Do you have an up-to-date schedule?<br />
Do you have a spec?<br />
Do programmers have quiet working conditions?<br />
Do you use the best tools money can buy?<br />
Do you have testers?<br />
Do new candidates write code during their interview?<br />
Do you do hallway usability testing?<br />
<span id="more-16"></span><br />
发现，公司的运作机制竟让我越来越远离正常的better code模式</p>
]]></content:encoded>
			<wfw:commentRss>http://hhdem.com/2009/12/03/how-to-make-better-code-from-joel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

