<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>Yining.write() &#187; Geek</title>
	<atom:link href="http://www.yining.org/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yining.org</link>
	<description>public virtual stream Yining.write()</description>
	<lastBuildDate>Fri, 04 Jun 2010 12:01:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>		<item>
		<title>Meet the Brothers</title>
		<link>http://www.yining.org/2010/05/30/meet-the-brothers/</link>
		<comments>http://www.yining.org/2010/05/30/meet-the-brothers/#comments</comments>
		<pubDate>Sun, 30 May 2010 11:42:24 +0000</pubDate>
		<dc:creator>Yining</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[brothers]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook-pro]]></category>
		<category><![CDATA[mackbookpro]]></category>
		<category><![CDATA[mbp]]></category>
		<category><![CDATA[兄弟]]></category>
		<category><![CDATA[苹果]]></category>

		<guid isPermaLink="false">http://www.yining.org/?p=400</guid>
		<description><![CDATA[
:) :)
more, and the most interesting one ;)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/zendragon/4651677601/" title="Brothers by Zhang Erning, on Flickr"><img src="http://farm5.static.flickr.com/4057/4651677601_fcc3840426.jpg" width="500" height="375" alt="Brothers" /></a></p>
<p>:) :)</p>
<p><a href="http://www.flickr.com/search/?w=94315637%40N00&#038;q=apple+desktop&#038;m=tags">more</a>, and <a href="http://www.flickr.com/photos/zendragon/4651701833/">the most interesting one</a> ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yining.org/2010/05/30/meet-the-brothers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Code Swarm</title>
		<link>http://www.yining.org/2010/05/12/codeswarm/</link>
		<comments>http://www.yining.org/2010/05/12/codeswarm/#comments</comments>
		<pubDate>Tue, 11 May 2010 16:34:34 +0000</pubDate>
		<dc:creator>Yining</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[codeswarm]]></category>
		<category><![CDATA[code_swarm]]></category>
		<category><![CDATA[infographics]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.yining.org/?p=380</guid>
		<description><![CDATA[codeswarm 是个很有意思的工具，它把一个软件开发项目中开发者往代码管理工具(git/hg/svn等)提交代码的历史记录用视频的方式表现出来。
这是我把之前在做的一个项目的svn log 做成的codeswarm演示:

稍微注意就能看出，项目初期过了一段时间commit才开始活跃起来，code base比较小，代码也比较集中，后来虽然项目比较赶，但在公共假期（十一元旦春节）内，没有或者几乎没有代码提交。
这个视频在两个月前一次员工培训的PPT里演示过，发现从一个有趣、动态的角度来观察自己的工作让工程师们在感到非常新奇之外，能有效激发他们频繁提交代码的动力（使用中心化的scm如svn时，工程师们不是那么积极提交，即使口头上说过好几次）。建议不妨给项目写个脚本定期制作和发布codeswarm的视频，让工程师们主动频繁提交代码的效果也许比任何考核要好。
虽然直接运行codeswarm就能得好很不错的效果，它还提供了灵活的配置选项，比如我这个codeswarm里就添加了legend,并且自定义了不同文件类型所对应的颜色。
除了scm的提交历史外，codeswarm目前已经mediawiki的更新记录，维基百科的志愿者不妨试试，也许能从一个新的角度去了解和介绍维基百科。
另外提一下，随着web的发展，越来越多的数据被产生，因此数据分析的要求也必然会越来越多，而用图形来展示不同数据之间的关系（即data visualization, infographics）也会越来越重要。这又要提一下processing这个很适合制作infographics的语言，codeswarm就是用了processing的。

Code_swarm的主页
google code上的项目代码，wiki上有制作视频的步骤的详细介绍，在这就不写了。

]]></description>
			<content:encoded><![CDATA[<p>codeswarm 是个很有意思的工具，它把一个软件开发项目中开发者往代码管理工具(git/hg/svn等)提交代码的历史记录用视频的方式表现出来。</p>
<p>这是我把之前在做的一个项目的svn log 做成的codeswarm演示:</p>
<p><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=87c52cd96a&#038;photo_id=4434166299"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=87c52cd96a&#038;photo_id=4434166299" height="300" width="400"></embed></object></p>
<p>稍微注意就能看出，项目初期过了一段时间commit才开始活跃起来，code base比较小，代码也比较集中，后来虽然项目比较赶，但在公共假期（十一元旦春节）内，没有或者几乎没有代码提交。</p>
<p>这个视频在两个月前一次员工培训的PPT里演示过，发现从一个有趣、动态的角度来观察自己的工作让工程师们在感到非常新奇之外，能有效激发他们频繁提交代码的动力（使用中心化的scm如svn时，工程师们不是那么积极提交，即使口头上说过好几次）。建议不妨给项目写个脚本定期制作和发布codeswarm的视频，让工程师们主动频繁提交代码的效果也许比任何考核要好。</p>
<p>虽然直接运行codeswarm就能得好很不错的效果，它还提供了灵活的配置选项，比如我这个codeswarm里就添加了legend,并且自定义了不同文件类型所对应的颜色。</p>
<p>除了scm的提交历史外，codeswarm目前已经mediawiki的更新记录，维基百科的志愿者不妨试试，也许能从一个新的角度去了解和介绍维基百科。</p>
<p>另外提一下，随着web的发展，越来越多的数据被产生，因此数据分析的要求也必然会越来越多，而用图形来展示不同数据之间的关系（即data visualization, infographics）也会越来越重要。这又要提一下<a href="http://processing.org/">processing</a>这个很适合制作infographics的语言，codeswarm就是用了processing的。</p>
<ul>
<li><a href="http://vis.cs.ucdavis.edu/~ogawa/codeswarm/">Code_swarm的主页</a></li>
<li><a href="http://code.google.com/p/codeswarm/">google code上的项目代码</a>，wiki上有制作视频的步骤的详细介绍，在这就不写了。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.yining.org/2010/05/12/codeswarm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s in my history?</title>
		<link>http://www.yining.org/2008/04/13/whats-in-my-history/</link>
		<comments>http://www.yining.org/2008/04/13/whats-in-my-history/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 13:00:42 +0000</pubDate>
		<dc:creator>Yining</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[meme]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.yining.org/?p=151</guid>
		<description><![CDATA[This meme is spreading in the tech/geek blogosphere these days, it&#8217;s fun to join.

$ history&#124;awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'&#124;sort -rn&#124;head
  237   git
   71   ant
   58   ll
   26   cd
   24   gvim
   19   [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://plasmasturm.org/log/497/">This</a> <a href="http://www.dehora.net/journal/2008/04/10/that-looks-about-right/">meme</a> <a href="http://www.weiqigao.com/blog/2008/04/11/whats_in_your_history.html">is</a> <a href="http://www.b-list.org/weblog/2008/apr/10/meme/">spreading</a> in the tech/geek blogosphere these days, it&#8217;s fun to join.</p>
<pre>
$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head
  237   git
   71   ant
   58   ll
   26   cd
   24   gvim
   19   sudo
   17   exit
   11   vi
    5   du
    5   cat
</pre>
<p>Some notes:</p>
<ol>
<li>I started playing with git last few days, that&#8217;s why it reaches the top, and I use esvn for most of Subversion commands, so svn won&#8217;t end up here;</li>
<li>my laptop disk space is getting filled up, that&#8217;s why the du;</li>
</ol>
<p>Now, what&#8217;s in your history?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yining.org/2008/04/13/whats-in-my-history/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What&#8217;s Your Programmer Personality?</title>
		<link>http://www.yining.org/2007/06/06/programmer-personality-test/</link>
		<comments>http://www.yining.org/2007/06/06/programmer-personality-test/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 13:18:57 +0000</pubDate>
		<dc:creator>Yining</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[personality]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.yining.org/2007/06/06/programmer-personality-test/</guid>
		<description><![CDATA[My programmer personality type is:
DHSB
You&#8217;re a Doer.
You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.
自我评论：这个不准，虽然我是很希望自己完全是这样的。
You like coding at a High level.
The world is made up of objects and components, [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://www.doolwind.com/index.php?page=11">programmer personality type</a> is:</p>
<p><b>DHSB</b></p>
<p>You&#8217;re a <b>D</b>oer.<br />
You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.</p>
<p>自我评论：这个不准，虽然我是很希望自己完全是这样的。</p>
<p>You like coding at a <b>H</b>igh level.<br />
The world is made up of objects and components, you should create your programs in the same way.</p>
<p>自我评价：差不多吧，Java, PHP, Javascript, C#&#8230; 想low level也难不是？</p>
<p>You work best in a <b>S</b>olo situation.<br />
The best way to program is by yourself. There&#8217;s no communication problems, you know every part of the code allowing you to write the best programs possible.</p>
<p>自我评价：是这样的，过几天关于这点要专门写一些。</p>
<p>You are a li<b>B</b>eral programmer.<br />
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We&#8217;re not writing on paper anymore so we can take up as much room as we need.</p>
<p>自我评价：原则如此，但不喜欢太多和不必要的空白和注释。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yining.org/2007/06/06/programmer-personality-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
