<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>江枫渔火</title>
	<atom:link href="https://garfeildma.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://garfeildma.wordpress.com</link>
	<description>Nothing to you</description>
	<lastBuildDate>Fri, 12 Aug 2011 02:39:08 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<site xmlns="com-wordpress:feed-additions:1">7841405</site><cloud domain='garfeildma.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s2.wp.com/i/webclip.png</url>
		<title>江枫渔火</title>
		<link>https://garfeildma.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://garfeildma.wordpress.com/osd.xml" title="江枫渔火" />
	<atom:link rel='hub' href='https://garfeildma.wordpress.com/?pushpress=hub'/>
	<item>
		<title>疑似两个.NET的bug</title>
		<link>https://garfeildma.wordpress.com/2011/08/12/two-dot-net-bugs/</link>
					<comments>https://garfeildma.wordpress.com/2011/08/12/two-dot-net-bugs/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Fri, 12 Aug 2011 02:39:08 +0000</pubDate>
				<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[.NET]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/?p=28593</guid>

					<description><![CDATA[3.5 的System.Web.HttpUtility.HtmlAttributeEncode没法转义单引号  [&#8230;]]]></description>
										<content:encoded><![CDATA[<ol>
<li>3.5 的System.Web.HttpUtility.HtmlAttributeEncode没法转义单引号  &#8216; ，4.0的就没问题了</li>
<li>64位的.NET4.0编译lambda表达式式如果有dynamic类型的参数会导致cpu内存使用狂飙，占满为止，32位下没问题</li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2011/08/12/two-dot-net-bugs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28593</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>k3入手，读书吧</title>
		<link>https://garfeildma.wordpress.com/2010/12/03/k3%e5%85%a5%e6%89%8b%ef%bc%8c%e8%af%bb%e4%b9%a6%e5%90%a7/</link>
					<comments>https://garfeildma.wordpress.com/2010/12/03/k3%e5%85%a5%e6%89%8b%ef%bc%8c%e8%af%bb%e4%b9%a6%e5%90%a7/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Fri, 03 Dec 2010 15:18:06 +0000</pubDate>
				<category><![CDATA[读书]]></category>
		<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[Reading]]></category>
		<category><![CDATA[work]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/?p=28588</guid>

					<description><![CDATA[纠结了好久终于下决心买了kindle，希望以后可以多读一些书。 年底了又，今年的读书目标又没有达到，SICP看 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>纠结了好久终于下决心买了kindle，希望以后可以多读一些书。<br />
年底了又，今年的读书目标又没有达到，SICP看了一年终于看了一般左右，其他技术类的书籍大都和工作直接相关的。不过今年的书中感觉收获最大的是两本非技术书，<a title="如何阅读一本书" href="http://book.douban.com/subject/1013208/" target="_blank">《如何阅读一本书》</a>和<a title="学会提问" href="http://book.douban.com/subject/1504957/" target="_blank">《学会提问-批判思维指南》</a>，读完发现这么多年原来我一直都是不会读书不会思考的。希望以后可以坚持按书中的方法进行下去。<br />
今年换到了产品部，一年中半年多时间都在加班，读书的时间也少了很多，不知道这算不算借口，是不是该换个地方了？</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2010/12/03/k3%e5%85%a5%e6%89%8b%ef%bc%8c%e8%af%bb%e4%b9%a6%e5%90%a7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28588</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>做前端开发表示压力很大</title>
		<link>https://garfeildma.wordpress.com/2010/12/01/%e5%81%9a%e5%89%8d%e7%ab%af%e5%bc%80%e5%8f%91%e8%a1%a8%e7%a4%ba%e5%8e%8b%e5%8a%9b%e5%be%88%e5%a4%a7/</link>
					<comments>https://garfeildma.wordpress.com/2010/12/01/%e5%81%9a%e5%89%8d%e7%ab%af%e5%bc%80%e5%8f%91%e8%a1%a8%e7%a4%ba%e5%8e%8b%e5%8a%9b%e5%be%88%e5%a4%a7/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Wed, 01 Dec 2010 02:20:29 +0000</pubDate>
				<category><![CDATA[乱七八糟]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/2010/12/01/%e5%81%9a%e5%89%8d%e7%ab%af%e5%bc%80%e5%8f%91%e8%a1%a8%e7%a4%ba%e5%8e%8b%e5%8a%9b%e5%be%88%e5%a4%a7/</guid>

					<description><![CDATA[代码很容易能看到，还有firebug啥的那么多工具，写了烂代码就太丢人了]]></description>
										<content:encoded><![CDATA[<p>代码很容易能看到，还有firebug啥的那么多工具，写了烂代码就太丢人了</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2010/12/01/%e5%81%9a%e5%89%8d%e7%ab%af%e5%bc%80%e5%8f%91%e8%a1%a8%e7%a4%ba%e5%8e%8b%e5%8a%9b%e5%be%88%e5%a4%a7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28589</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>IE6不死是因为我们开发者</title>
		<link>https://garfeildma.wordpress.com/2010/05/17/ie6-does-not-die-because-of-developers/</link>
					<comments>https://garfeildma.wordpress.com/2010/05/17/ie6-does-not-die-because-of-developers/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Mon, 17 May 2010 15:40:11 +0000</pubDate>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[browser]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/?p=28582</guid>

					<description><![CDATA[前几天参加CSDN举办的大师见面会，听了下Douglas Crockford 大师的演讲，讲了讲关于JavaS [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>前几天参加CSDN举办的大师见面会，听了下<em><a href="http://www.crockford.com/" target="_blank">Douglas Crockford</a><span style="font-style:normal;"> 大师的演讲，讲了讲关于JavaScript现在的问题和以后的发展。Douglas多次提到IE6必须要死，并且说IE6还活着完全是因为我们前台开发者，我们太“NB”了，IE6都能搞定，给人们机会继续使用，IE6不死也正常。</span></em></p>
<p>DC可能只是开玩笑的说法，我们总是习惯说支持IE6是因为存在大量的用户，特别是客户明确要求支持，不过如果所有从开发者都开始不支持IE6强迫用户升级，开发可以省下很大的力气，相信用户也能获得更好的体验。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2010/05/17/ie6-does-not-die-because-of-developers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28582</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>用Fibonacci数列转换英里和千米</title>
		<link>https://garfeildma.wordpress.com/2010/01/15/using-fibonacci-numbers-to-convert-from-miles-to-kilometers-and-vice-versa/</link>
					<comments>https://garfeildma.wordpress.com/2010/01/15/using-fibonacci-numbers-to-convert-from-miles-to-kilometers-and-vice-versa/#comments</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Fri, 15 Jan 2010 03:02:00 +0000</pubDate>
				<category><![CDATA[翻译]]></category>
		<category><![CDATA[数学]]></category>
		<category><![CDATA[math]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/2010/01/15/%e7%94%a8fibonacci%e6%95%b0%e5%88%97%e8%bd%ac%e6%8d%a2%e8%8b%b1%e9%87%8c%e5%92%8c%e5%8d%83%e7%b1%b3/</guid>

					<description><![CDATA[在网上闲逛时发现一篇文章，直接Fibnacci数列直接转换英里和千米。两个相邻的数就是等长的英里和千米，可以先 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>在网上闲逛时发现一篇<a href="http://www.catonmat.net/blog/using-fibonacci-numbers-to-convert-from-miles-to-kilometers/" target="_blank">文章</a>，直接<a href="http://en.wikipedia.org/wiki/Fibonacci_number" target="_blank">Fibnacci数列</a>直接转换英里和千米。两个相邻的数就是等长的英里和千米，可以先对照Fib数列来看一下：</p>
<table class="wikitable">
<tbody>
<tr>
<td><em>F</em><sub>0</sub></td>
<td><em>F</em><sub>1</sub></td>
<td><em>F</em><sub>2</sub></td>
<td><em>F</em><sub>3</sub></td>
<td><em>F</em><sub>4</sub></td>
<td><em>F</em><sub>5</sub></td>
<td><em>F</em><sub>6</sub></td>
<td><em>F</em><sub>7</sub></td>
<td><em>F</em><sub>8</sub></td>
<td><em>F</em><sub>9</sub></td>
<td><em>F</em><sub>10</sub></td>
<td><em>F</em><sub>11</sub></td>
<td><em>F</em><sub>12</sub></td>
<td><em>F</em><sub>13</sub></td>
<td><em>F</em><sub>14</sub></td>
<td><em>F</em><sub>15</sub></td>
<td><em>F</em><sub>16</sub></td>
<td><em>F</em><sub>17</sub></td>
<td><em>F</em><sub>18</sub></td>
<td><em>F</em><sub>19</sub></td>
<td><em>F</em><sub>20</sub></td>
</tr>
<tr>
<td>0</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>5</td>
<td>8</td>
<td>13</td>
<td>21</td>
<td>34</td>
<td>55</td>
<td>89</td>
<td>144</td>
<td>233</td>
<td>377</td>
<td>610</td>
<td>987</td>
<td>1597</td>
<td>2584</td>
<td>4181</td>
<td>6765</td>
</tr>
</tbody>
</table>
<p>比如5和8，5miles正好是8km。还有21和34，21miles是33.79km，基本相等。</p>
<p>对于不在fib数列里的数可以把数拆开，让他等于几个fib数的和，然后再把几个fib数的邻居相加，就可以得到结果。比如100，fib数列里是没有的，不过100=89 + 8 + 3，89，8，3是在数列里的，找到右邻居相加144+13+5=162。100miles=160.93km，误差在1%之内，结果是可以接受的。</p>
<p>将千米转换成英里也是同样，只是要寻找左邻居罢了。比如400km，400=377+21+2，找到377，21，2的前一个数，233+13+1=247miles，准确一点是248.55miles，误差也不是很大。</p>
<p>相当简单吧，Miles转kilometres只要找大一个的数，反过来就找小一位的。虽然存在误差，不过作者指出如果直接转换对大于21的数误差在0.5%左右，对于不在数列里需要拆分的数误差在sqrt(n)*0.5%左右，n是拆分成的fib数的个数。</p>
<p>作者在下边也给出了基本的证明，相邻的Fibnacci数符合<a href="http://en.wikipedia.org/wiki/Golden_ratio" target="_blank">黄金分割（Golden ratio）</a>,1.618，1mile是1.609km，误差小于0.5%。对于需要分解的数字，因为两个数字之间的比例是固定的，分解之后相加多了sqrt(n)倍的误差。</p>
<p>作者不光给出了这个trick，也给出了证明，对我的水平刚好能看懂这个证明。再详细的比如证明fib数列符合Golden ratio就不懂了。初看这个东西还觉得很其妙，不过看<a href="http://www.reddit.com/r/programming/comments/ap47g/using_fibonacci_numbers_to_convert_from_miles_to/" target="_blank">reddit</a>上大家反映虽然比较多不过似乎搞笑的居多，觉得这没什么高深的。再一次遭受大家，继续好好学数学:)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2010/01/15/using-fibonacci-numbers-to-convert-from-miles-to-kilometers-and-vice-versa/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28580</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>Browser detect果然够evil</title>
		<link>https://garfeildma.wordpress.com/2010/01/10/browser-detect-is-really-evil/</link>
					<comments>https://garfeildma.wordpress.com/2010/01/10/browser-detect-is-really-evil/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Sun, 10 Jan 2010 11:55:35 +0000</pubDate>
				<category><![CDATA[项目]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[工作]]></category>
		<category><![CDATA[browser]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/?p=28575</guid>

					<description><![CDATA[虽然早就被教育说broswer detect is evil,2好多浏览器都可以修改useragent字符串， [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>虽然早就被教育说<a href="http://www.quirksmode.org/blog/archives/2006/08/the_dangers_of.html" target="_blank">broswer detect is evil</a>,<a href="https://developer.mozilla.org/en/Browser_Detection_and_Cross_Browser_Support" target="_blank">2</a>好多浏览器都可以修改useragent字符串，不过在项目中图方便就直接用了Ext.isIE6这样的判断，在开发过程的测试一直没发现什么大问题。不过放到客户手里内测，各种环境都有，问题就出现了。</p>
<p>测试的同事发现在遨游下界面死活都有问题， 不过在ie6下却没问题。按理说遨游用的就是IE内核，实在想不通为什么会出现这种情况。后来隐约记得遨游有个功能是修改useragent的功能，打开遨游设置的高级选项一看，果然，这丫的把自己伪装成了IE7，悲剧就这么发生了，我们IE6only的代码就无效了。据机器主人那姐姐说软件还是别人帮忙装的，看来是有高手故意帮我们制造点难题，还得好好谢谢那位同志。</p>
<p>下周工作第一项就是先把基于useragent的browser detect的代码换掉吧。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2010/01/10/browser-detect-is-really-evil/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28575</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>又一年</title>
		<link>https://garfeildma.wordpress.com/2009/12/31/new-year-10/</link>
					<comments>https://garfeildma.wordpress.com/2009/12/31/new-year-10/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Thu, 31 Dec 2009 15:28:47 +0000</pubDate>
				<category><![CDATA[乱七八糟]]></category>
		<guid isPermaLink="false">http://garfeildma.wordpress.com/?p=28572</guid>

					<description><![CDATA[09年久这么要过去了，本来还想写点总结展望的，太晚了，给自己找个借口算了吧。今年还是有些收获的，希望明年有个好 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>09年久这么要过去了，本来还想写点总结展望的，太晚了，给自己找个借口算了吧。今年还是有些收获的，希望明年有个好的开始，有个更好的收成，希望父母身体健康，希望明年几个兄弟都加薪，都能找个合适的妞。</p>
<p>新年快乐</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2009/12/31/new-year-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28572</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaScript 迭代器</title>
		<link>https://garfeildma.wordpress.com/2009/12/07/javascript-%e8%bf%ad%e4%bb%a3%e5%99%a8/</link>
					<comments>https://garfeildma.wordpress.com/2009/12/07/javascript-%e8%bf%ad%e4%bb%a3%e5%99%a8/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Mon, 07 Dec 2009 02:54:00 +0000</pubDate>
				<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://garfeildma.yo2.cn/articles/javascript-%e8%bf%ad%e4%bb%a3%e5%99%a8.html</guid>

					<description><![CDATA[各个javascript类库都提供了迭代器，each也好，forEach也罢，用起来很方便。不过Nichola [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>各个javascript类库都提供了迭代器，each也好，forEach也罢，用起来很方便。不过<a href="http://www.nczonline.net/">Nicholas Zakas</a>在关于提升javascript效率的<a href="http://www.slideshare.net/nzakas/writing-efficient-javascript">演讲</a>中提到过使用迭代器会对循环造成很大的影响，大概要有8倍的性能差距，开始很奇怪既然效率这么差为什么还要提供这样的方法，而且类库内部也大量使用了这个东西。不过看看<a href="http://ejohn.org/">John</a>哥哥的<a href="http://ejohn.org/apps/learn/#63">教程</a>就很明白了，这是生成一个临时的作用域保存要迭代的index和item。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2009/12/07/javascript-%e8%bf%ad%e4%bb%a3%e5%99%a8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28537</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>国图读者</title>
		<link>https://garfeildma.wordpress.com/2009/12/01/readers-in-national-library/</link>
					<comments>https://garfeildma.wordpress.com/2009/12/01/readers-in-national-library/#respond</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Tue, 01 Dec 2009 13:59:34 +0000</pubDate>
				<category><![CDATA[读书]]></category>
		<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[programmer]]></category>
		<guid isPermaLink="false">http://garfeildma.yo2.cn/?p=28450</guid>

					<description><![CDATA[晚上去国图，发现其他地方的读者明显比周末的时候少，但是计算机类书籍旁边的读者却一点不少，噼里啪啦敲代码的人也一 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>晚上去国图，发现其他地方的读者明显比周末的时候少，但是计算机类书籍旁边的读者却一点不少，噼里啪啦敲代码的人也一大堆，看来程序员的确压力大啊。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2009/12/01/readers-in-national-library/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28450</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
		<item>
		<title>【翻译】如何招聘程序员</title>
		<link>https://garfeildma.wordpress.com/2009/12/01/how-to-hire-programmer/</link>
					<comments>https://garfeildma.wordpress.com/2009/12/01/how-to-hire-programmer/#comments</comments>
		
		<dc:creator><![CDATA[garfeildma]]></dc:creator>
		<pubDate>Tue, 01 Dec 2009 06:19:06 +0000</pubDate>
				<category><![CDATA[翻译]]></category>
		<category><![CDATA[工作]]></category>
		<category><![CDATA[招聘]]></category>
		<guid isPermaLink="false">http://garfeildma.yo2.cn/?p=28442</guid>

					<description><![CDATA[原文：http://www.aaronsw.com/weblog/hiring 好吧，必须承认，我的英语和中文 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>原文：<a href="http://www.aaronsw.com/weblog/hiring" target="_blank">http://www.aaronsw.com/weblog/hiring</a></p>
<p><em>好吧，必须承认，我的英语和中文都足够糟糕，英语听说读写样样稀松，写中文也是差的很。另外看了<a href="http://www.lixiaolai.com/" target="_blank">笑来</a>老师的文章，<a href="http://www.lixiaolai.com/index.php/archives/7832.html" target="_blank">过了20岁再培养精读能力几乎是不可能的了</a>，实在吓了一跳。现在每天在网上看很多东西，不过的确精度很少，大部分浏览一下就过了。后来想想反正读的很多都是英文文章，尝试着翻译一下会不会有好处，这个不清楚，试试吧。<a href="http://www.aaronsw.com/" target="_blank">Aaron Swartz</a>老大写的一篇文章，关于招聘程序员，大家似乎很有共鸣，很多老大都做了回应，GR上也有超过100人标记了like。昨晚花了两个小时翻译了一下，有几个地方还不太理解，而且也没校对，估计错误不少。闲话少说，上文。</em></p>
<hr />
<div style="border-collapse:separate;color:#000000;font-family:'YaHei Consolas Hybrid';font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;">
<p>当招聘一个程序员时需要从三个方面来考虑（其他职业也一样）：他够不够聪明，能不能完成任务，能否与之共事。有的人很聪明但总是完不成工作，他适合做你的朋友但不是雇员。你可以在他工作的时候向他谈你的工作。有的人不够聪明虽然能完成工作但是以一种效率低下的方式：他会用一种很复杂的方式解决问题，与这种人一起工作总是很慢并且让人绝望（沮丧）。有的人你可以跟他们共事，有些不行。</p>
<p>通常，招聘程序员的传统流程是这样的：1)读简历2)电话面试问一些困难的问题3)让他们自己解决一个编程题。我觉得这样招聘时很恐怖的。你只能从简历里边了解到很少的信息，当你通过提问面试会让人非常紧张。编程不是一个高压力的工作，看一个人在压力下的表现实在没什么用。面试时的问题也总是选一些非常困难的。我自认为是一个优秀的程序员，但是我从来没有通过这样的面试而且我觉得我永远不会。</p>
<p>当我招聘的时候，我只是看他们是不是符合这三个条件。想知道他们能不能完成任务就问问他们做过什么。如果他以前能完成现在也可以。没有经验很难成为一个优秀的程序员并且现在几乎每个人都会想开源软件贡献代码，我可以向应聘者要一份代码和一个DEMO来看看是否够好。你可以快速判断大量的应聘者，因为你不是一个个问他们问题，而是看他们实际的代码。代码是不是足够简洁，清晰，优雅，可重用性好？你是不是想在自己的项目中使用这些代码？</p>
<p>判断一个人是不是聪明，我喜欢与他们进行一段临时性的对话。我尽量减轻他们的压力：我安排在咖啡馆见面，明确这不是面试，尽量让我随便和友善。我不会问他们任何标准面试的问题，就像在party上认识的朋友那样交谈。如果你在party上问一个人他最大的优点和缺点，让他们估算Chicago有多少架钢琴，你肯定脑袋进水了。我觉得通过平常的交谈很容易分辨一个人是否聪明。我经常通过谈话判断对方是不是够聪明，就像我经常判断对方是不是有吸引力一样。</p>
<p>但是如果让我必须写下什么看起来是聪明，我会强调三点。第一，问他们一个东西？问问他们是否仔细思考或者探索过这个东西。他们是否对细节有所了解？他们能否解释清楚？（清楚的解释意味着良好的理解。）他们是否知道你不知道的东西？</p>
<p>第二，他们是否有好奇心。他们是不是也向你提问？他们是真的感兴趣还是出于礼貌？他们是否会接着问你刚刚谈到的问题？他们的问题能否带给你思考？</p>
<p>第三，他们是不是爱学习。在谈话中你可能需要向他们解释一些东西。他们真的懂得还是只是点头微笑？许多人知道某一小部分但是对其他部分并不敢兴趣。还有一些只是感兴趣但不去学习，他们问一些问题但不认真去听。你需要能够做所有者三件事的。</p>
<p>最后，我通过延长时间来判断一个人是否适合合作。许多聪明人在一个小时的谈话中让人非常喜欢，但是时间长了他们的怪癖就慢慢显现出来了。所以，结束谈话之后，邀请他参加你们team的聚餐或者游戏。再次强调，让事情看起来很平常。关键就是看对方是否因为你紧张。</p>
<p>如果条件都符合了那么我就准备雇佣他了，不过还有最后一项精神检查来确保我没有被愚弄：我让他来做部分工作。通常这意味着从我们的工作中选择一个单独的模块来让他完成。（如果你真的想考察他在压力下的表现，给他一个期限。）如果有必要，你可以为这部分工作支付薪水，不过我发现大部分程序员不会在意给他一个和他们参与的开源项目差不多的任务。这项测试不是单独进行的，如果他们也通过了前三项测试，那证明他们没有忽悠你，他们可以担任这份工作。</p>
<p>（我预料到许多人可能会说“好，为什么我们不雇佣你一个月来看看效果呢？”这看起来并好。如果不能通过一个小项目来判断对方是否适合，纳闷一个月的工作也做不到。最好的办法是拒绝然后找更适合的）</p>
<p>我很高兴使用这个方法。当我略过某些步骤，我经常雇佣到不合适的人选。但是当我按照这个流程走下来，我能够选择做够好的员工。我很奇怪为什么那么多公司用很多愚蠢的方法来代替。</p></div>
<hr />
<p><em>看完文章发现如过Aaron老大来面试，我是铁定不符合条件的，继续努力吧。</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://garfeildma.wordpress.com/2009/12/01/how-to-hire-programmer/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28442</post-id>
		<media:content url="https://0.gravatar.com/avatar/6a70f2966213f0dcf994283b03ae546cc246a55fe770d834323d50158b1f7c76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">garfeildma</media:title>
		</media:content>
	</item>
	</channel>
</rss>
