<?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"
	>

<channel>
	<title>Suave's Blog</title>
	<atom:link href="http://www.surui.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surui.net</link>
	<description>anyway, so far so good, just keep going!</description>
	<pubDate>Thu, 25 Sep 2008 17:52:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>I love good-enough</title>
		<link>http://www.surui.net/2008/09/25/i-love-good-enough/</link>
		<comments>http://www.surui.net/2008/09/25/i-love-good-enough/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 17:52:18 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bug]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.surui.net/?p=220</guid>
		<description><![CDATA[在 agilechina 邮件组看到一个说法很不错：
对于相对复杂的产品或系统来说，zero-bug 是一种理想，good-enough 是我们的原则。Good-enough 原则就是一种权衡投入产出比的原则：不充分的测试是不负责... ]]></description>
			<content:encoded><![CDATA[<p>在 agilechina 邮件组看到一个说法很不错：</p>
<p>对于相对复杂的产品或系统来说，zero-bug 是一种理想，good-enough 是我们的原则。Good-enough 原则就是一种权衡投入产出比的原则：不充分的测试是不负责任的；过分的测试是一种资源的浪费，同样也是一种不负责任的表现。我们的操作困难在于：如何界定什么样的测试是不充分的，什么样的测试是过分的。目前状况唯一可用的答案是：制定最低测试通过标准和测试内容，然后具体问题具体分析。</p>
<p>的确在开发中想解决100%的 bug 是不现实的，想测试 100% 的代码也同样是困难的。很多的问题需要大范围、长时间的使用才能发现，有句名言说的好：任何 bug 在足够多的眼球之前都会暴露无疑！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/09/25/i-love-good-enough/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Code crash?</title>
		<link>http://www.surui.net/2008/09/25/google-code-crash/</link>
		<comments>http://www.surui.net/2008/09/25/google-code-crash/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 17:11:14 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Every day]]></category>

		<category><![CDATA[googlecode]]></category>

		<guid isPermaLink="false">http://www.surui.net/?p=218</guid>
		<description><![CDATA[从昨天开始 google code 的 svn 一直不能用，直接访问 googlecode.com 会被重定向到 google.com，持续了24小时多，现在终于好了。googlecode 生病刚好赶上了项目的一个关键时间点，SCM 的健康状态对项目真... ]]></description>
			<content:encoded><![CDATA[<p>从昨天开始 google code 的 svn 一直不能用，直接访问 <a href="http://googlecode.com" title="http://googlecode.com" target="_blank">googlecode.com</a> 会被重定向到 <a href="http://google.com" title="http://google.com" target="_blank">google.com</a>，持续了24小时多，现在终于好了。googlecode 生病刚好赶上了项目的一个关键时间点，SCM 的健康状态对项目真是非常重要！</p>
<p>昨天有遇到同样问题的朋友么？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/09/25/google-code-crash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>upgrade my blogs to wordpress 2.6</title>
		<link>http://www.surui.net/2008/09/24/upgrade-my-blogs-to-wordpress-26/</link>
		<comments>http://www.surui.net/2008/09/24/upgrade-my-blogs-to-wordpress-26/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 11:09:03 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Every day]]></category>

		<category><![CDATA[Web Related]]></category>

		<category><![CDATA[gears]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.surui.net/?p=216</guid>
		<description><![CDATA[前两天看到消息说 Safari 支持 Google Gears 了，大快人心，终于不用在龟速的 FireFox 上面用 GDocs 了。后来发现 Wordpress 2.6 也支持 Gears，就异想天开的以为 WP 也可以直接离线发文了，于是乎决定给... ]]></description>
			<content:encoded><![CDATA[<p>前两天看到消息说 Safari 支持 <a href="http://gears.google.com" target="_blank">Google Gears</a> 了，大快人心，终于不用在龟速的 FireFox 上面用 GDocs 了。后来发现 Wordpress 2.6 也支持 Gears，就异想天开的以为 WP 也可以直接离线发文了，于是乎决定给我的两个 blog 都升级一下，之前 <a href="http://surui.net" target="_blank">surui.net</a> 是 WP 2.0.x，<a href="http://1jia4kou.com" target="_blank">1jia4kou.com</a> 是 2.3.x。</p>
<p>先 ssh 我的服务器上，下载最新的 <a href="http://wordpress.org/download" target="_blank">wordpress 版本</a>，然后删除旧版的文件（保留自己的 plugins &amp; themes 即可），需要注意的是 2.6 版 wp-config.php 改了，所以不能保留旧版的。新的 wp-config.php 多了三个 secret key 要设置，<a href="http://api.wordpress.org/secret-key/1.1/" target="_blank">WP 官网上还提供了密钥生成功能</a>，服务到家。最后在浏览器里面输入 http://your-blog-address/wp-admin/upgrade.php 即可完成升级，一路下来挺顺利。</p>
<p>接下来再搞 <a href="http://surui.net" title="http://surui.net" target="_blank">surui.net</a>，这个版本更旧一些，而且那会的WP还不支持 tag，我用了 Ulimate Tag Warrior 处理的，想来升级可能会遇到点问题。照刚才的步骤再搞一次，升级成功，但是一访问 blog 傻眼，全是乱码了。Google 一下发现 N 多人遇到类似问题，<a href="http://www.feedou.com/articlepickservlet?commandkey=singlearticle&amp;articleID=5aea25e613cd3ca90113cdc400b90b31" target="_blank">有一个简单的办法</a>就是把 wp-config.php 里面的 </p>
<blockquote><p>define(’;DB_CHARSET’;, ‘;utf8′;);<br />
define(’;DB_COLLATE’;, ”;);</p></blockquote>
<p>这两行注释掉。试了一下果然奏效，但是不确定会不会有什么副作用 &#8230;</p>
<p>再搜索一下找到一个号称“<a href="http://www.hmqq.net/2007/05/19/wp22-mysql-utf8/" target="_blank">终极解决方案</a>”，乱码的问题所在是 mysql 的 charset 和 collation 设置不对，查查我的 mysql，charset=latin1, collation=latin1-swedish-ci，的确是有问题，参照“终极解决方案” 建了一个新库，charset=utf8, collation=utf8-general-ci，然后把就数据 dump 到新库里面，修改下 wp-config.php 指向新库，再去掉刚才的两行注释。一刷新发现乱码依旧！</p>
<p>现在只好暂时用注释掉那两行的方法解决。</p>
<p>然后处理 tag 的问题，2.6 和 UlimateTagWarrior 有冲突，我先删掉了插件，blog 显示正常只是没有以前的 tag 了。后来在管理后台的 Manage 中发现一个 import 功能，可以导入之前 UlimateTagWarrior 的 tag，试了一下果然不错，从后台看原来的文章都已经加上了 tag，但是前台还看不到，估计是 theme 的问题。</p>
<p>最后就是这 Wordpress + Gears 了，在后台右上角果然发现一个 Turbo 的链接，点击之后询问是否开启 gears，同步搞定，赶紧断开网络体验一下离线写 blog 的快感，整了半天发现不行 ;(</p>
<p>再重新连线 Google 一下，结果才知道 WordPress 2.6 只是用 Gears 缓存了一下后台的 js, css 之类的东西用来加速后台的速度！靠，和预期的完全不一样，不过后台用起来确实比以前快了不少，到了一个可接受的速度了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/09/24/upgrade-my-blogs-to-wordpress-26/feed/</wfw:commentRss>
		</item>
		<item>
		<title>卖房</title>
		<link>http://www.surui.net/2008/09/19/%e5%8d%96%e6%88%bf/</link>
		<comments>http://www.surui.net/2008/09/19/%e5%8d%96%e6%88%bf/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 17:38:20 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Every day]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[house]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/09/19/%e5%8d%96%e6%88%bf/</guid>
		<description><![CDATA[有了孩子以后原来的住处就不够用了，准备卖掉，朋友们有感兴趣的尽快联系我（suave.su # gmail.com 把#换成@），也欢迎大家帮忙推荐我家这个精品房源！
海淀南路的房子，一室一厅，建筑面积48... ]]></description>
			<content:encoded><![CDATA[<p>有了孩子以后原来的住处就不够用了，准备卖掉，朋友们有感兴趣的尽快联系我（suave.su # <a href="http://gmail.com" title="http://gmail.com" target="_blank">gmail.com</a> 把#换成@），也欢迎大家帮忙推荐我家这个精品房源！<br />
海淀南路的房子，一室一厅，建筑面积48.08，东南朝向（在塔楼里是金角），阳光充足，有装修，自己住过三年，现在准备卖了，75万（低于这条街的均价）。</p>
<p><a href="http://tu.6.cn/pic/show/id/622993"><img src="http://i3.6.cn/cvbnm/37/a8/dc/f6777b1a7aab9a32b0a64fd9aa4c707e.jpg" /></a>先说缺点，就一个，单气（这条街上好几栋楼都是这样）</p>
<p>再说说优点：</p>
<p>第一，交通便利，距地铁10号线海淀黄庄站50米，公交车也巨多。</p>
<p>第二，生活便利，方圆500米内有海淀剧院，海淀医院，游泳馆，中关村购物广场，新中关，当代商城，家乐福，超市发，海龙，鼎好，吃饭地也巨多，楼下还有一个学校，食堂对外开放。</p>
<p>第三，周围学校多，人大附中，北大附中，八一中学，中关村一、二、三小，人民大学（我们晚上经常去跑步）</p>
<p>总之周围应有尽有了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/09/19/%e5%8d%96%e6%88%bf/feed/</wfw:commentRss>
		</item>
		<item>
		<title>读《日本非营利组织》</title>
		<link>http://www.surui.net/2008/09/19/%e8%af%bb%e3%80%8a%e6%97%a5%e6%9c%ac%e9%9d%9e%e8%90%a5%e5%88%a9%e7%bb%84%e7%bb%87%e3%80%8b/</link>
		<comments>http://www.surui.net/2008/09/19/%e8%af%bb%e3%80%8a%e6%97%a5%e6%9c%ac%e9%9d%9e%e8%90%a5%e5%88%a9%e7%bb%84%e7%bb%87%e3%80%8b/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 16:43:31 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Read Minute]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Japan]]></category>

		<category><![CDATA[NGO]]></category>

		<category><![CDATA[NPO]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/09/19/%e8%af%bb%e3%80%8a%e6%97%a5%e6%9c%ac%e9%9d%9e%e8%90%a5%e5%88%a9%e7%bb%84%e7%bb%87%e3%80%8b/</guid>
		<description><![CDATA[这两天读了上次在民促会买的《日本非营利组织》，是国家级的考察团去日本考察回来后出的一本书，比较客观的介绍了日本非盈利组织的情况，主要介绍了很多日本相关的政策法规，发展历... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.douban.com/subject/2991216/"><img style="padding: 0pt 20px 20px 0pt; float: left" src="http://otho.douban.com/lpic/s3035548.jpg" /></a>这两天读了上次在民促会买的《日本非营利组织》，是国家级的考察团去日本考察回来后出的一本书，比较客观的介绍了日本非盈利组织的情况，主要介绍了很多日本相关的政策法规，发展历史，还有几个 very huge 的组织。</p>
<p>看过之后，觉得日本和中国的情况有很多类似的地方，虽然法律政策相对比较开放，也比较扶持，但真正运作良好的大多还是很有资历，带些政府大企业背景的机构。缺少支持体系，以募款、培训为主的机构比较少，不能很好的支持一线从事活动的机构。草根组织同样生存困难，而且很多都需要自己从事经营活动以满足自己的经费，这倒是有点像社会企业的方式了。</p>
<p>和中国不同的是，日本是宗教大国，很多组织有宗教背景。日本的天皇起着很重要的作用，虽然没有政权，但是在社会工作、公益互助方便仍然可以显示他的皇权威力，在社会、企业家中很有影响力。<br />
下面有些读书过程中的摘录：</p>
<p>91年，日本邮政设立了国际志愿者邮政储蓄制度，将邮政储蓄利息的一部分（20%-100%）以捐赠形式支援在发展中国家开展海外公益活动的日本NGO。</p>
<p>日本和中国一样，传统上是国家主导的社会。日本主要媒体在20世纪90年代才开始关注NPO一词。</p>
<p>95年，阪神大地震突显NPO的作用，在政府相关部门处于瘫痪的情况下，有130万-170万志愿者奔赴灾区抢险救援，受到社会各界的高度好评，促使国会、政府对NPO推出相关政策《特定非营利活动促进法》（简称NPO法），这才在日本出现一个以市民公益活动为主流的高潮。</p>
<p>日本政府正在将越来越多的公共设施交给NPO管理，并为比设值了各种针对NPO的公开募集型补助金制度以及委托管理事业费，以购买NPO的服务。</p>
<p>市川市2006年4月开始实施市川市1%支援制度，以立法的形式要求政府将税收的1%用于支援NPO，至于给哪一个NPO，由市民（纳税人）投票决定，企业也纷纷创立了许多支援NPO的赞助金、捐款制度，企业自行设立的财团也增加了面向NPO的项目。这也是《特定非营利活动促进法》设定之后产生的作用和影响力。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/09/19/%e8%af%bb%e3%80%8a%e6%97%a5%e6%9c%ac%e9%9d%9e%e8%90%a5%e5%88%a9%e7%bb%84%e7%bb%87%e3%80%8b/feed/</wfw:commentRss>
		</item>
		<item>
		<title>开始用 rails edge &#038; git</title>
		<link>http://www.surui.net/2008/08/18/%e5%bc%80%e5%a7%8b%e7%94%a8-rails-edge-git/</link>
		<comments>http://www.surui.net/2008/08/18/%e5%bc%80%e5%a7%8b%e7%94%a8-rails-edge-git/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 14:49:28 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Ruby and Rails]]></category>

		<category><![CDATA[edge]]></category>

		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/08/18/%e5%bc%80%e5%a7%8b%e7%94%a8-rails-edge-git/</guid>
		<description><![CDATA[通过 git 在本地创建一个 rails edge：

git clone github.com/rails/rails.git

以后用 rails edge 创建 rails 项目的时候需要先更新一下 edge，然后用 edge 里面的 rails 脚本来创建项目：

cd ~/rails
git pull
ruby ~/rails/... ]]></description>
			<content:encoded><![CDATA[<p>通过 git 在本地创建一个 rails edge：</p>
<blockquote></blockquote>
<p>git clone <a href="git://github.com/rails/rails.git" title="git://github.com/rails/rails.git" target="_blank">github.com/rails/rails.git</a></p>
<blockquote></blockquote>
<p>以后用 rails edge 创建 rails 项目的时候需要先更新一下 edge，然后用 edge 里面的 rails 脚本来创建项目：</p>
<blockquote></blockquote>
<p>cd ~/rails<br />
git pull<br />
ruby ~/rails/railties/bin/rails myapp</p>
<blockquote></blockquote>
<p>然后在项目中初始化一下 git repository:</p>
<blockquote></blockquote>
<p>git init</p>
<blockquote></blockquote>
<p>此时用 git status 查看可以看到项目中的所有目录都是 untacked，先创建一个 .gitignore，设置一下 git 的文件忽略规则：</p>
<blockquote></blockquote>
<p>log/*.log<br />
tmp/**/*<br />
doc/api<br />
doc/plugin<br />
doc/app<br />
vendor/rails<br />
config/database.yml</p>
<blockquote></blockquote>
<p>由于 git 不会管理空目录，所以如果我们想添加一个空的 log/ 和 tmp/ 到 git repository 中的话可以在两个目录里面分别创建一个 .gitignore:</p>
<blockquote></blockquote>
<p>touch tmp/.gitignore<br />
touch log/.gitignore</p>
<blockquote></blockquote>
<p>然后添加所有 untracked file 并 commit 所有的东西：</p>
<blockquote></blockquote>
<p>git add .<br />
git commit -m &#8216;init rails project&#8217;</p>
<blockquote></blockquote>
<p>再用 git status 看看，nothing to commit (working directory clean)</p>
<p>最后添加一下远程 repository 的地址再将所有刚才 commit 的东西 push 到远端：</p>
<blockquote></blockquote>
<p>git remote add origin your_repository_path<br />
git push origin master</p>
<blockquote></blockquote>
<p>这时就完成所有的提交工作了。</p>
<p>以后写代码的时候，先创建自己的一个 branch，尽量不要在 master branch 上直接修改：</p>
<blockquote></blockquote>
<p>git branch -b my_branch</p>
<blockquote></blockquote>
<p>修改完成准备提交的时候，回到 master branch 上和自己刚才工作的 branch 进行 merge，然后再提交：</p>
<blockquote></blockquote>
<p>git checkout master<br />
git merge my_branch</p>
<blockquote></blockquote>
<p>因为要用 rails edge，所以肯定要在 vendor/ 中 freeze rails edge，一个可以用 rake rails:freeze:edge，这样是下载 <a href="http://rubyonrails.org" title="http://rubyonrails.org" target="_blank">rubyonrails.org</a> 上面的一个 edge.zip；另一种方法可以使用从 rails edge 的 git repository 上 clone 一个：</p>
<blockquote></blockquote>
<p>git submodule add <a href="git://github.com/rails/rails.git" title="git://github.com/rails/rails.git" target="_blank">github.com/rails/rails.git</a> vendor/rails<br />
git submodule init<br />
git submodule update</p>
<blockquote></blockquote>
<p>好了现在基本可以干活了。</p>
<p>参考文章：<br />
<a target="_blank" href="http://www.robinlu.com/blog/archives/194">http://www.robinlu.com/blog/archives/194</a><br />
<a target="_blank" href="http://toolmantim.com/article/2007/12/5/setting_up_a_new_rails_app_with_git">http://toolmantim.com/article/2007/12/5/setting_up_a_new_rails_app_with_git</a><br />
<a target="_blank" href="http://www.caiwangqin.com/post/527">http://www.caiwangqin.com/post/527</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/08/18/%e5%bc%80%e5%a7%8b%e7%94%a8-rails-edge-git/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ruby gems compatible issue</title>
		<link>http://www.surui.net/2008/08/12/ruby-gems-compatible-issue/</link>
		<comments>http://www.surui.net/2008/08/12/ruby-gems-compatible-issue/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 16:00:12 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Ruby and Rails]]></category>

		<category><![CDATA[redcloth]]></category>

		<category><![CDATA[rubyforge]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/08/12/ruby-gems-compatible-issue/</guid>
		<description><![CDATA[装了 Rails 2.1 以后升级了一些相应的 gems，比如 rubyforge, rubygem 之类。再到一个 Rails 1.2.3 的项目下运行 script/server, 收到错误提示：
can&#8217;t activate rubyforge (=0.4.4), already activated rubyforge-1.0.0
搜索... ]]></description>
			<content:encoded><![CDATA[<p>装了 Rails 2.1 以后升级了一些相应的 gems，比如 rubyforge, rubygem 之类。再到一个 Rails 1.2.3 的项目下运行 script/server, 收到错误提示：</p>
<blockquote><p>can&#8217;t activate rubyforge (=0.4.4), already activated rubyforge-1.0.0</p></blockquote>
<p>搜索一下很多人遇到同样的问题，因为安装的 rubyforge 版本太多了，解决方法就是删掉所有的再装一个最新版：</p>
<blockquote><p>sudo gem uninstall -a rubyforge<br />
sudo gem install rubyforge</p></blockquote>
<p>再运行又遇到问题：</p>
<blockquote><p>RedCloth is not a class (TypeError)</p></blockquote>
<p>RedCloth 之前用的 3.0.4，后来装了 4.0.1，据说 4.x 的 main class 不再是 RedCloth，而改成了 RedCloth::TextileDoc，无语。后来发现新的 rubygems 可以指定版本来引入 gem：</p>
<blockquote><p>require &#8216;rubygems&#8217;<br />
gem &#8216;RedCloth&#8217;, &#8216;3.0.4&#8242;</p></blockquote>
<p>再测试问题解决，或许将 3.0.4 freeze 到 vendor 下更好些？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/08/12/ruby-gems-compatible-issue/feed/</wfw:commentRss>
		</item>
		<item>
		<title>undefine method &#8216;require_gem&#8217;</title>
		<link>http://www.surui.net/2008/08/10/undefine-method-require_gem/</link>
		<comments>http://www.surui.net/2008/08/10/undefine-method-require_gem/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 03:41:53 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Ruby and Rails]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[gem]]></category>

		<category><![CDATA[rake]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/08/10/undefine-method-require_gem/</guid>
		<description><![CDATA[最近开始用 Rails 2.1，升级了 gem，之后在以前的 1.2.3 的项目中使用 rake db:migrate，提示
undefined method `require_gem&#8217; for main:Object (NoMethodError)
搜索结果说 require_gem 变成了 gem，有个解决方法是装新... ]]></description>
			<content:encoded><![CDATA[<p>最近开始用 Rails 2.1，升级了 gem，之后在以前的 1.2.3 的项目中使用 rake db:migrate，提示</p>
<blockquote><p>undefined method `require_gem&#8217; for main:Object (NoMethodError)</p></blockquote>
<p>搜索结果说 require_gem 变成了 gem，有个解决方法是装新版的 rake:</p>
<blockquote><p>gem install &#8211;remote rake</p></blockquote>
<p>问题解决，今天用 rails 创建新项目的时候又遇到 undefine method &#8216;require_gem&#8217; 的问题，直接将 rails 脚本里面的一个 require_gem 改成 gem，问题解决。</p>
<p>但是别的包里面的 require_gem 怎么办呢？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/08/10/undefine-method-require_gem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>多背一公斤招募网站开发人员</title>
		<link>http://www.surui.net/2008/07/20/%e5%a4%9a%e8%83%8c%e4%b8%80%e5%85%ac%e6%96%a4%e6%8b%9b%e5%8b%9f%e7%bd%91%e7%ab%99%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/</link>
		<comments>http://www.surui.net/2008/07/20/%e5%a4%9a%e8%83%8c%e4%b8%80%e5%85%ac%e6%96%a4%e6%8b%9b%e5%8b%9f%e7%bd%91%e7%ab%99%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 12:12:58 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[NGO&amp;NPO]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[1kg.org]]></category>

		<category><![CDATA[招聘]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/07/20/%e5%a4%9a%e8%83%8c%e4%b8%80%e5%85%ac%e6%96%a4%e6%8b%9b%e5%8b%9f%e7%bd%91%e7%ab%99%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/</guid>
		<description><![CDATA[自己所在的团队正在寻找第二位网站开发人员，欢迎自荐/推荐。
&#8212;&#8211;
多背一公斤(1KG.org) 是一个创新的社会企业，我们关注公益的创新和传播，致力于通过大众的参与为乡村带来可持续... ]]></description>
			<content:encoded><![CDATA[<p>自己所在的团队正在寻找第二位网站开发人员，欢迎自荐/推荐。</p>
<p>&#8212;&#8211;<br />
多背一公斤(<a href="http://1kg.org">1KG.org</a>) 是一个创新的社会企业，我们关注公益的创新和传播，致力于通过大众的参与为乡村带来可持续的发展。</p>
<p>我们目前有一个小小的全职团队和分布全国的志愿者，目前网站全部的开发工作由一人完成。现在，我们努力寻找，期待第二位 Developer 的加盟。工作内容包括但不限于 <a href="http://1kg.org">1KG.org</a> 的新功能开发，提升用户体验，性能优化，新技术实践。</p>
<p>如果你希望用自己的能力让世界（而不仅仅是自己的钱包）变得更美好，欢迎加入我们，成为我们公益创业团队的一份子。我们期望通过您的能力可以给我们的用户带来更好的基于互联网的公益参与体验，让 公益真正成为每个人生活的乐趣。</p>
<p>这个职位需要你：<br />
喜欢 Agile Development &#038; Ruby on Rails，乐于迎接变化，快速交付；<br />
喜欢挑战、探索，能忍受使用年轻的 open source 工具带来的不稳定和不完善，并乐于在工作的同时帮助它们改善<br />
乐于身兼数职，独挡N面，愿意实践各种技术，而不是专注于某一项什么<br />
细心，耐心，追求完美，将改善用户体验为己任<br />
热爱旅游和儿童（不是必须，但毫无疑问是一个优势！）</p>
<p>下面的内容你了解的越多越好：<br />
Ruby on Rails<br />
XHTML, CSS, Javascript, 写浏览器兼容的用户界面<br />
AJAX, jQuery, Prototype, <a href="http://script.aculo.us" title="http://script.aculo.us" target="_blank">script.aculo.us</a><br />
MySQL，了解数据库优化<br />
Nginx, Lighttpd, Apache，web server 的维护与调优<br />
Linux，系统配置和维护</p>
<p>我们接受全职和实习生的申请，实习生每周需要工作 3-4 天。</p>
<p>工作地点：北京（如果你愿意也有机会经常旅行）</p>
<p>欢迎你用各种方式展示你的激情和能力，请联系 <a href="http://1kg.org" title="http://1kg.org" target="_blank">1kg.org</a>@gmail.com，标题以 [DEV] 为前缀。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/07/20/%e5%a4%9a%e8%83%8c%e4%b8%80%e5%85%ac%e6%96%a4%e6%8b%9b%e5%8b%9f%e7%bd%91%e7%ab%99%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/feed/</wfw:commentRss>
		</item>
		<item>
		<title>解决 svn 在 terminal 里面的乱码问题</title>
		<link>http://www.surui.net/2008/07/06/%e8%a7%a3%e5%86%b3-svn-%e5%9c%a8-terminal-%e9%87%8c%e9%9d%a2%e7%9a%84%e4%b9%b1%e7%a0%81%e9%97%ae%e9%a2%98/</link>
		<comments>http://www.surui.net/2008/07/06/%e8%a7%a3%e5%86%b3-svn-%e5%9c%a8-terminal-%e9%87%8c%e9%9d%a2%e7%9a%84%e4%b9%b1%e7%a0%81%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 11:52:09 +0000</pubDate>
		<dc:creator>suave.su</dc:creator>
		
		<category><![CDATA[Tech Mess]]></category>

		<category><![CDATA[乱码]]></category>

		<category><![CDATA[locale]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.surui.net/2008/07/06/%e8%a7%a3%e5%86%b3-svn-%e5%9c%a8-terminal-%e9%87%8c%e9%9d%a2%e7%9a%84%e4%b9%b1%e7%a0%81%e9%97%ae%e9%a2%98/</guid>
		<description><![CDATA[前几天用 macport 装 git 的时候顺带升级了一下 svn，没想到原来的英文提示变成了乱码，莫非支持中文了？在 terminal 里面看上去超级不爽，但当时急事在身就没管。
今天搜了下，解决方法很简单... ]]></description>
			<content:encoded><![CDATA[<p>前几天用 macport 装 git 的时候顺带升级了一下 svn，没想到原来的英文提示变成了乱码，莫非支持中文了？在 terminal 里面看上去超级不爽，但当时急事在身就没管。</p>
<p>今天搜了下，解决方法很简单，是 terminal locale 和 svn 编码不符，编辑 ~/.bash_profile，加上 export LANG=en_US，搞定!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surui.net/2008/07/06/%e8%a7%a3%e5%86%b3-svn-%e5%9c%a8-terminal-%e9%87%8c%e9%9d%a2%e7%9a%84%e4%b9%b1%e7%a0%81%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
