<?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>Windhood's Weblog</title>
	<atom:link href="http://windhood.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://windhood.wordpress.com</link>
	<description>J2EE expert who loves Ruby On Rails</description>
	<lastBuildDate>Tue, 24 Aug 2010 23:38:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='windhood.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Windhood's Weblog</title>
		<link>http://windhood.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://windhood.wordpress.com/osd.xml" title="Windhood&#039;s Weblog" />
	<atom:link rel='hub' href='http://windhood.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to use google analytics to track 404 error?</title>
		<link>http://windhood.wordpress.com/2010/08/24/how-to-use-google-analytics-to-track-404-error/</link>
		<comments>http://windhood.wordpress.com/2010/08/24/how-to-use-google-analytics-to-track-404-error/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 23:38:54 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=77</guid>
		<description><![CDATA[http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&#38;answer=86927<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=77&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=86927">http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=86927</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=77&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2010/08/24/how-to-use-google-analytics-to-track-404-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting Flex/AS3 Components</title>
		<link>http://windhood.wordpress.com/2009/11/21/interesting-flexas3-components/</link>
		<comments>http://windhood.wordpress.com/2009/11/21/interesting-flexas3-components/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 01:57:34 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=71</guid>
		<description><![CDATA[Today I found this flex component in flashden.net: http://activeden.net/item/advanced-simplified-xml-css-flex-image-gallery/70592 This is the first time I saw something worth looking at flashden (in terms of flex components) This component is AS2, but its design is cool: http://activeden.net/item/xml-gallery-v80/70857 Also flexden.net has some good components too. Update: This guy has a lot of flex components too: http://activeden.net/user/loziosecchi<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=71&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I found this flex component in flashden.net:</p>
<p>http://activeden.net/item/advanced-simplified-xml-css-flex-image-gallery/70592</p>
<p>This is the first time I saw something worth looking at flashden (in terms of flex components)</p>
<p>This component is AS2, but its design is cool:</p>
<p>http://activeden.net/item/xml-gallery-v80/70857</p>
<p>Also flexden.net has some good components too.</p>
<p>Update:</p>
<p>This guy has a lot of flex components too: http://activeden.net/user/loziosecchi</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=71&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/11/21/interesting-flexas3-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting flex resource</title>
		<link>http://windhood.wordpress.com/2009/11/12/interesting-flex-resource/</link>
		<comments>http://windhood.wordpress.com/2009/11/12/interesting-flex-resource/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 10:25:56 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=68</guid>
		<description><![CDATA[An open source as3 only video player http://apdevblog.com/as3-open-source-videoplayer-out-now/ &#160; and the module framework http://jvalentino.blogspot.com/2009/05/command-module-framework.html I forgot another framework with decent support for module. If someone can think of one, please let me know.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=68&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An open source as3 only video player</p>
<p>http://apdevblog.com/as3-open-source-videoplayer-out-now/</p>
<p>&nbsp;</p>
<p>and the module framework</p>
<p>http://jvalentino.blogspot.com/2009/05/command-module-framework.html</p>
<p>I forgot another framework with decent support for module. If someone can think of one, please let me know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=68&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/11/12/interesting-flex-resource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Interview Questions</title>
		<link>http://windhood.wordpress.com/2009/11/05/google-interview-questions/</link>
		<comments>http://windhood.wordpress.com/2009/11/05/google-interview-questions/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 23:54:11 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/2009/11/05/google-interview-questions/</guid>
		<description><![CDATA[问题：一辆校车能装下多少个高尔夫球？ 应聘职位：产品经理 问题：如果让你清洗西雅图市所有的窗户，你会对此索价多少？ 应聘职位：产品经理 问题：在一个重男轻女的国家里，每家每户都想生男孩。若一户人家生了一个女孩，便会再生一个，直到生下的是男孩为止。请问这个国家的男女比例是多少？ 应聘职位：产品经理 问题：全世界共有多少位钢琴调音师？ 应聘职位：产品经理 问题：下水道井盖为什么是圆的？ 应聘职位：软件工程师 问题：为旧金山市设计一个紧急疏散方案。 应聘职位：产品经理 问题：时钟的指针一天内总共会重合多少次？ 应聘职位：产品经理 问题：阐释“死牛肉”的意义所在。 应聘职位：软件工程师 问题：一个人开车来到旅馆，变得一无所有。究竟发生了什么事情？ 应聘职位：软件工程师 问题：你想知道好友鲍勃是否有你正确的电话号码，但又不能直接问他。你必须在卡片上留言，让伊芙将卡片较交给鲍勃。除了问题以外，你还应该在卡片上写什么，才能既确保鲍勃能看懂留言，又使伊芙看不出卡片上写有你的电话号码。 应聘职位：软件工程师 问题：你是一艘海盗船的船长，你的船员要投票决定如何平分金条。如果与你意见一致的船员数量少于一半，你将被杀死。你应该如何提议分配金条，才能既分得较多赃物，又能活下来？ 应聘职位：工程经理 问题：你有8个大小一样的球，其中7个重量相同，只有一个略重一些。给你一个天平，而且只准称两次，如何找出重量不同的那个球？ 应聘职位：产品经理 问题：你在一幢100层高的大楼中，给了你两个鸡蛋。鸡蛋有时非常易碎，有时又异常坚韧。这意味着，如果在第1层扔下鸡蛋，鸡蛋或许会碎裂，而如果是从第100层扔下鸡蛋，鸡蛋或许安然无恙。这两只鸡蛋一模一样。你需要计算出，最高从哪层楼扔下时，鸡蛋不会碎。问题是，你需要扔多少次鸡蛋才能算出该楼层。整个过程中，你只允许打碎两个鸡蛋。 应聘职位：产品经理 问题：向你8岁的侄子或外甥解释什么是数据库，只能用三个句子。 应聘职位：产品经理 问题：你缩小到只有一枚五分硬币那么高，你的质量也成比例缩小以保持原有密度不变。随后你被扔到一个空的玻璃搅拌器里，搅拌刀片将在60秒后开始运转，你该怎么办？ 应聘职位：产品经理<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=66&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>问题：一辆校车能装下多少个高尔夫球？</p>
<p>应聘职位：产品经理</p>
<p>问题：如果让你清洗西雅图市所有的窗户，你会对此索价多少？</p>
<p>应聘职位：产品经理</p>
<p>问题：在一个重男轻女的国家里，每家每户都想生男孩。若一户人家生了一个女孩，便会再生一个，直到生下的是男孩为止。请问这个国家的男女比例是多少？</p>
<p>应聘职位：产品经理</p>
<p>问题：全世界共有多少位钢琴调音师？</p>
<p>应聘职位：产品经理</p>
<p>问题：下水道井盖为什么是圆的？</p>
<p>应聘职位：软件工程师</p>
<p>问题：为旧金山市设计一个紧急疏散方案。</p>
<p>应聘职位：产品经理</p>
<p>问题：时钟的指针一天内总共会重合多少次？</p>
<p>应聘职位：产品经理</p>
<p>问题：阐释“死牛肉”的意义所在。</p>
<p>应聘职位：软件工程师</p>
<p>问题：一个人开车来到旅馆，变得一无所有。究竟发生了什么事情？</p>
<p>应聘职位：软件工程师</p>
<p>问题：你想知道好友鲍勃是否有你正确的电话号码，但又不能直接问他。你必须在卡片上留言，让伊芙将卡片较交给鲍勃。除了问题以外，你还应该在卡片上写什么，才能既确保鲍勃能看懂留言，又使伊芙看不出卡片上写有你的电话号码。</p>
<p>应聘职位：软件工程师</p>
<p>问题：你是一艘海盗船的船长，你的船员要投票决定如何平分金条。如果与你意见一致的船员数量少于一半，你将被杀死。你应该如何提议分配金条，才能既分得较多赃物，又能活下来？</p>
<p>应聘职位：工程经理</p>
<p>问题：你有8个大小一样的球，其中7个重量相同，只有一个略重一些。给你一个天平，而且只准称两次，如何找出重量不同的那个球？</p>
<p>应聘职位：产品经理</p>
<p>问题：你在一幢100层高的大楼中，给了你两个鸡蛋。鸡蛋有时非常易碎，有时又异常坚韧。这意味着，如果在第1层扔下鸡蛋，鸡蛋或许会碎裂，而如果是从第100层扔下鸡蛋，鸡蛋或许安然无恙。这两只鸡蛋一模一样。你需要计算出，最高从哪层楼扔下时，鸡蛋不会碎。问题是，你需要扔多少次鸡蛋才能算出该楼层。整个过程中，你只允许打碎两个鸡蛋。</p>
<p>应聘职位：产品经理</p>
<p>问题：向你8岁的侄子或外甥解释什么是数据库，只能用三个句子。</p>
<p>应聘职位：产品经理</p>
<p>问题：你缩小到只有一枚五分硬币那么高，你的质量也成比例缩小以保持原有密度不变。随后你被扔到一个空的玻璃搅拌器里，搅拌刀片将在60秒后开始运转，你该怎么办？</p>
<p>应聘职位：产品经理</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=66&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/11/05/google-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>Agile planning</title>
		<link>http://windhood.wordpress.com/2009/04/04/agile-planning/</link>
		<comments>http://windhood.wordpress.com/2009/04/04/agile-planning/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 08:29:58 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Agile]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=64</guid>
		<description><![CDATA[smartagile.com has a good explanation and sample of agile planning: http://www.smartagile.com/2007/10/agile-project-planning.html I have this page bookmarked for reference<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=64&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>smartagile.com has a good explanation and sample of agile planning:</p>
<p>http://www.smartagile.com/2007/10/agile-project-planning.html</p>
<p>I have this page bookmarked for reference</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=64&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/04/04/agile-planning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>Communications between Managers in Mate</title>
		<link>http://windhood.wordpress.com/2009/03/26/managers-communication-between-mate/</link>
		<comments>http://windhood.wordpress.com/2009/03/26/managers-communication-between-mate/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 17:47:08 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=49</guid>
		<description><![CDATA[Mate is an amazing flex framework, but people come from Cairngom world would be curious how can one &#8216;Manager&#8217; talk to another &#8216;Manager&#8217;? such as AuthorizationManager has a User object which is a login user, AccessManager wants to use the AuthorizationManager.user.Unlike Cairngorm, you can not access the object by the singleton method,i.e. AuthorizationManager.getInstance().user. Mate promotes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=49&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Mate is an amazing flex framework, but people come from Cairngom world would be curious how can one &#8216;Manager&#8217; talk to another &#8216;Manager&#8217;? such as AuthorizationManager has a User object which is a login user, AccessManager wants to use the AuthorizationManager.user.Unlike Cairngorm, you can not access the object by the singleton method,i.e. AuthorizationManager.getInstance().user. Mate promotes depency injection and loose couple coding style, so there are different ways to do it under different use case:</p>
<ol>
<li>Property Injector<br />
<blockquote><p>Using this when a manager needs an object from another manager, and should be updated automatically when it changes.</p>
<p>Set the registerTarget attribute to true when creating the receiving manager (by default it is true so this is not necessary), and create a Injectors that sets up a binding. The receiving manager will be updated just like a view or presentation model object would.</p>
<pre><code>&lt;EventHandlers type="{FlexEvent.PREINITIALIZE}"&gt;
  &lt;ObjectBuilder
         generator="{ApplicationManager}"
    registerTarget="true"/&gt;
&lt;/EventHandlers&gt;

&lt;Injectors target="{ApplicationManager}"&gt;
  &lt;PropertyInjector
    targetKey="saveNeeded"
       source="{DocumentManager}"
    sourceKey="documentDirty"/&gt;
&lt;/Injectors&gt;</code></pre>
</blockquote>
</li>
<li>Events<br />
When a manager must be able to notify the application of something.</p>
<p>Inject a dispatcher into the manager when it is created. The manager can use this dispatcher to dispatch events that can be heard in the event map.</p>
<blockquote>
<pre><code>&lt;EventHandlers type="{FlexEvent.PREINITIALIZE}"&gt;
  &lt;ObjectBuilder generator="{ApplicationManager}"&gt;
    &lt;Properties dispatcher="{scope.dispatcher}"/&gt;
  &lt;/ObjectBuilder&gt;
&lt;/EventHandlers&gt;

&lt;EventHandlers type="{ApplicationEvent.EXIT}"&gt;
  &lt;MethodInvoker
    generator="{NavigationManager}"
       method="navigate"
    arguments="{[NavigationManager.EXIT]}"/&gt;
&lt;/EventHandlers&gt;</code></pre>
<p>In ApplicationManager:</p>
<pre><code>dispatcher.dispatchEvent(new ApplicationEvent(ApplicationEvent.EXIT</code></pre>
</blockquote>
</li>
<li>DataCopierWhen a property on a manager is needed as an argument in a method call.Use a DataCopier to place the object temporarily on the data object, for easy access in the arguments attribute of a MethodInvoker tag.
<pre><code>&lt;DataCopier
     destination="data"
  destinationKey="user"
          source="{UserManager}"
       sourceKey="user"/&gt;

&lt;MethodInvoker
  generator="{NavigationManager}"
     method="navigate"
  arguments="{[NavigationManager.USER_PAGE, data.user]}"/&gt;</code></pre>
</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=49&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/03/26/managers-communication-between-mate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>RockBooth went live</title>
		<link>http://windhood.wordpress.com/2009/03/26/rockbooth-went-live/</link>
		<comments>http://windhood.wordpress.com/2009/03/26/rockbooth-went-live/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 17:12:11 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=47</guid>
		<description><![CDATA[although a little bit late, but RockBooth.com did go live on March 1. It is an amazing cover song contest website, built with Flex, RoR and  YouTube data API. Kudo to the RockBooth.com team!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=47&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>although a little bit late, but RockBooth.com did go live on March 1. It is an amazing cover song contest website, built with Flex, RoR and  YouTube data API. Kudo to the RockBooth.com team!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=47&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/03/26/rockbooth-went-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>A good discussion about Flex(Mate) Architecture</title>
		<link>http://windhood.wordpress.com/2009/03/26/a-good-discussion-about-flexmate-architecture/</link>
		<comments>http://windhood.wordpress.com/2009/03/26/a-good-discussion-about-flexmate-architecture/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 18:14:42 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=58</guid>
		<description><![CDATA[I found this link is quite good, people discussed mate application architecture, such as Managers, Presentation Model, Value objects etc http://mate.asfusion.com/forums/topic.php?id=217, here is the diagram: http://blog.wrench.com.au/wp-content/uploads/2008/12/presentation_model_flow_diagram_mk_4d.png Especially this part is interesting: From this example, it seems that, in general, best practice would be to divide each big component into 6 parts Not quite. If every [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=58&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found this link is quite good, people discussed mate application architecture, such as Managers, Presentation Model, Value objects etc</p>
<p>http://mate.asfusion.com/forums/topic.php?id=217, here is the diagram:</p>
<p>http://blog.wrench.com.au/wp-content/uploads/2008/12/presentation_model_flow_diagram_mk_4d.png</p>
<p>Especially this part is interesting:</p>
<p><em>From this example, it seems that, in general, best practice would be to divide each big component into 6 parts</em></p>
<p>Not quite. If every view mapped right to a model entity, then perhaps, but otherwise I don&#8217;t think that it&#8217;s a good description. Let me go though the parts you list and explain them one by one, and then put them against each other.</p>
<ul>
<li> <strong>Model object</strong> (for example <code>Document</code>): This is the representation of the data in your application.</li>
<li> <strong>Manager</strong> (for example <code>DocumentManager</code>): A manager keeps track of model objects and provides a transactional interface for working with the model. It&#8217;s not quite as simple as one manager for each kind of model object, in some situations there might be managers that don&#8217;t handle model objects at all (for example a <code>NavigationManager</code>), or two managers handling objects of the same kind, it depends.</li>
<li> <strong>Application controller</strong> (event maps in Mate): Controllers map actions (events) to methods on managers, and wires the application together by setting up bindings between managers and views. Local event maps can be used to create subcontrollers that act as mini-applications within a larger application.</li>
<li> <strong>Actions a.k.a. User Gestures</strong> (events): These represent the actions the user (or application) can perform. Actions map more or less 1:1 to methods on managers (there are exceptions where more than one method on a manager needs to be called, or methods on several managers, but these are more rare, but also not bad in any way). Actions carry any data needed to identify in which context to perform the action, and with which data (for exampe by passing along the object that should be manipulated, as well as the objects that should be passed as arguments).</li>
<li> <strong>View</strong> and <strong>Presentation Model</strong>: Presentation models act as mediators between the application and the view and contain all view logic. They insulate the view from the specifics of the application by presenting a simple, view-centric interface of the model to the view. For example, if a view should display the details of an employee, instead of handing the <code>Employee</code> object directly to the view the presentation model presents an interface containing the properties <code>name</code>, <code>phone</code> and <code>email</code>. Behind the scenes the <code>name</code> property is created by concatenating the <code>firstName</code> and <code>lastName</code> properties of the <code>Employee</code> object. The view call methods on the presentation model, and the presentation model translates these method calls into actions that the application understands.</li>
</ul>
<p>Now, what goes where?</p>
<ul>
<li> <strong>Model object</strong> vs. <strong>Manager</strong>: Model objects contain all the code for manipulating their own state. The manager only provides an interface for calling methods on model objects in a safe way.Many times a manager will have methods that have the same name and the same parameters as the model object. The manager may check the parameters before calling the model object, or it may register that the action has been perform (for example to provide undo-capabilities).A manager may also have methods that acts on the current item of some kind, without the caller having to have a reference to the object representing the current item &#8212; but it is still the model object that does the work.Model objects should not have a mutable interface, i.e. they should not have public methods that change their internal state. Instead any methods that change state should be hidden so that only managers can call these (you can always get around this, but it&#8217;s a conceptual kind of hiding, more like marking the methods so that it&#8217;s obvious that they should not be called willy-nilly).</li>
<li> <strong>Manager</strong> vs. <strong>Presentation Model</strong>: Managers are the model, they keep track of model objects, modify them and move them around. Presentation models adapt the model for views. In some ways managers and presentation models are similar, they keep track of objects and present an interface for working with these objects &#8212; and to the view, it&#8217;s presentation model <em>is</em> the model. It doesn&#8217;t know anything beyond.You ask specifically why we can&#8217;t ditch the managers and do all the things managers do in our presentation models instead. One reason is that each view class has it&#8217;s own presentation model class, so there would be code duplication. Managers provide a single interface for manipulating the model, leaving no room for errors that occur when different parts of the application do the same thing slightly differently. By having a single interface we can also add side-effects to some actions/user gestures; side-effects like saving only when it is needed or keeping an undo history.</li>
<li> <strong>Manager</strong> vs. <strong>Event Map</strong>: Event maps should be kept as simple as possible, essentially only mapping events to method calls, or remote calls (besides creating managers and setting up injectors). Event maps only wire things together, they should not contain any logic more complex than moving some data around and wating for the response of a remote call. Event maps should be stateless (they act the same regardless of when an even arrives) &#8212; managers, however are stateful and do what is relevant for the situation.</li>
<li> <strong>Presentation Model</strong> vs. <strong>View</strong>: everything that is not display object related can go in the presentation model. The view should bind to properties and call methods on the presentation model, and it should avoid to do things like concatenating properties or filtering lists by itself. The idea is to make the view code as simple as possible, and all the view logic testable.The idea of using presentation models is to fool the view into thinking that the interface that the presentation model presents is the whole application. That way it becomes simple, reusable and it will contain so little logic that it doesn&#8217;t even need to be tested.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=58&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/03/26/a-good-discussion-about-flexmate-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>JPA Inheritance Overview</title>
		<link>http://windhood.wordpress.com/2009/03/03/jpa-inheritance-overview/</link>
		<comments>http://windhood.wordpress.com/2009/03/03/jpa-inheritance-overview/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 20:37:34 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jpa]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=43</guid>
		<description><![CDATA[Just want to list pros and cons of each JPA inheritance strategy. The default strategy is to select a class to have its fields persisted in the table of the base class. There is only one table per inheritance hierarchy. In JPA1 this is known as SINGLE_TABLE. Hibernate call this &#8216;Table per class hierarchy&#8217;. &#8220;SINGLE_TABLE&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=43&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just want to list pros and cons of each JPA inheritance strategy.</p>
<ul>
<li>The <em>default strategy</em> is to select a class to have its fields persisted in the table of the                      base class. There is only one table per inheritance hierarchy.                      In JPA1 this is known as <a href="http://www.jpox.org/docs/1_2/jpa_orm/inheritance.html#singletable"><strong>SINGLE_TABLE</strong></a>. Hibernate call this &#8216;Table per class hierarchy&#8217;.</li>
</ul>
<blockquote><p>&#8220;SINGLE_TABLE&#8221; strategy is where the root class has a table and all subclasses are also persisted into that table. This corresponds to JDO2s &#8220;new-table&#8221; for the root class and &#8220;superclass-table&#8221; for all subclasses. This has the advantage that retrieval of an object is a single SQL call to a single table. It also has the disadvantage that the single table can have a very large number of columns, and database readability and performance can suffer, and additionally that a discriminator column is required. In many cases, this mapping is a winner in terms of both performance and simplicity. it is the best-performing way to represent polymorphism. Schema evolution is straightforward. There is one major problem: Columns for properties declared by subclasses must be declared to be nullable.</p></blockquote>
<ul>
<li>The next way is to have a table for each class in the inheritance hierarchy, and for each table to                     only hold columns for the fields of that class. Fields of superclasses are persisted into the table                     of the superclass. Consequently to get all field values for a subclass object a join is made                     of all tables of superclasses.                     In JPA1 this is referred to as <a href="http://www.jpox.org/docs/1_2/jpa_orm/inheritance.html#joined"><strong>JOINED. Hibernate call this  &#8216;Table per subclass&#8217;<br />
</strong></a></li>
</ul>
<blockquote><p>&#8220;JOINED&#8221; strategy means that each table in the inheritance hierarchy has its own table and that the table of each class only contains columns for that class. Inherited fields are persisted into the tables of the superclass(es). This corresponds to JDO2s &#8220;new-table&#8221; (for all classes in the inheritance hierarchy). This has the advantage of being the most normalised data definition. It also has the disadvantage of being slower in performance since multiple tables will need to be accessed to retrieve an object of a sub-type.</p></blockquote>
<ul>
<li>The third way is what Hibernate called &#8220;Table per concret class with implicit polymorphism&#8221;</li>
</ul>
<blockquote><p>This is the simplest solution, you don&#8217;t have to do anthing special in Hibernate/JPA to enable polymorphic behaviour. The mapping of  subclasses are straightforward, each in its own entity &lt;class&gt; element, as we  have done alreadyfor classes without a superclass (or persistence interfaces). Hibernate still knows about the superclass because it scans the persistent classes on startup. The main problem with this approach is that it does not support polymorphic associates very well (no foreign key). Polymorphic queries are also problematic. A query against the superclass must be executed as several SQL selects. We recommend this approach only for top level of your class hierarchy where polymorphism isn&#8217;t usually required, and when modification of the superclass in the future is unlikely. Also  the java persistence interfaces don&#8217;t support full polymorphic queries, only mapped enitityes can be officially part of a Java Persistence query. If you&#8217;re relying on this implicit polymophism, you map concrete classes with @Entity, as usual. However you also have to duplicate the properties of the superclass to map them to all concrete class tables. By default, properties of the superclass are ignored and not persistent. You need to annotate the superclass to enable embedding of its properties in the concrete subclass tables (using @MappedSuperclass)</p></blockquote>
<ul>
<li>The fourth way is like <em>JOINED</em> except that each table will also contain columns for all inherited fields. In JPA1 this is referred to as <a href="http://www.jpox.org/docs/1_2/jpa_orm/inheritance.html#tableperclass"><strong>TABLE_PER_CLASS<br />
</strong></a></li>
</ul>
<blockquote><p>In Hibernate it is called &#8216;Table per concrete class with unions&#8217;. This strategy is like &#8220;JOINED&#8221; except that in addition to each class having its own table, the table also holds columns for all inherited fields. The first advantage you may notice with this strategy is the shared declaration of superclass (or interface)  properties.  another much more important advantage is the ability to handle polymorphic associations (by using union).</p></blockquote>
<blockquote></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=43&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2009/03/03/jpa-inheritance-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
		<item>
		<title>GitHub and public key</title>
		<link>http://windhood.wordpress.com/2008/10/02/github-and-public-key/</link>
		<comments>http://windhood.wordpress.com/2008/10/02/github-and-public-key/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 23:56:17 +0000</pubDate>
		<dc:creator>Wenhu</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://windhood.wordpress.com/?p=41</guid>
		<description><![CDATA[When run the shell script according to http://sites.google.com/a/insoshi.com/insoshi-guides/Git-Guides/quick-git-setup, sh configure_insoshi_local.sh &#60;GitHub account name&#62; I got the following error: Permission denied (publickey). fatal: The remote end hung up unexpectedly error: failed to push to 'git@github.com:windhood/stage.git' To solve this error, you need do as following: $ cd ~/.ssh $ ssh-add id_rsa id_rsa is the public key name [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=41&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When run the shell script according to http://sites.google.com/a/insoshi.com/insoshi-guides/Git-Guides/quick-git-setup,</p>
<pre>sh configure_insoshi_local.sh &lt;GitHub account name&gt;

I got the following error:
<code>Permission denied (publickey).
fatal: The remote end hung up unexpectedly
error: failed to push to 'git@github.com:windhood/stage.git'</code>

To solve this error, you need do as following:

<code>$ cd ~/.ssh
$ ssh-add id_rsa
id_rsa is the public key name file you used for your github</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/windhood.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/windhood.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/windhood.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/windhood.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/windhood.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/windhood.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/windhood.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/windhood.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=windhood.wordpress.com&amp;blog=1744811&amp;post=41&amp;subd=windhood&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://windhood.wordpress.com/2008/10/02/github-and-public-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e3e3a6ffceecd7bc1b718faf7ec89c10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">windhood</media:title>
		</media:content>
	</item>
	</channel>
</rss>
