<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for ROCBOT</title>
	<atom:link href="http://rocbot.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://rocbot.com/blog</link>
	<description>去改变你能改变的, 接受你无法改变的 -- Roc的机器人</description>
	<pubDate>Fri, 10 Sep 2010 09:54:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on fs2you 被和谐后的访问方法－－替换成rayfile by 电器</title>
		<link>http://rocbot.com/blog/2008/08/fs2you-%e8%a2%ab%e5%92%8c%e8%b0%90%e5%90%8e%e7%9a%84%e8%ae%bf%e9%97%ae%e6%96%b9%e6%b3%95%ef%bc%8d%ef%bc%8d%e6%9b%bf%e6%8d%a2%e6%88%90rayfile/#comment-27</link>
		<dc:creator>电器</dc:creator>
		<pubDate>Sat, 15 Nov 2008 23:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=131#comment-27</guid>
		<description>文章好啊。我转载一下。是不是博主原产的啊。用不用注明出处.</description>
		<content:encoded><![CDATA[<p>文章好啊。我转载一下。是不是博主原产的啊。用不用注明出处.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python的八荣八耻 by Mili</title>
		<link>http://rocbot.com/blog/2008/04/python%e7%9a%84%e5%85%ab%e8%8d%a3%e5%85%ab%e8%80%bb/#comment-26</link>
		<dc:creator>Mili</dc:creator>
		<pubDate>Tue, 28 Oct 2008 17:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=40#comment-26</guid>
		<description>Interesting to know.</description>
		<content:encoded><![CDATA[<p>Interesting to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on [Google Adsense] 游戏规则 &#8212; 广告展示位置 by Roc</title>
		<link>http://rocbot.com/blog/2008/05/google-adsense-%e6%b8%b8%e6%88%8f%e8%a7%84%e5%88%99-%e5%b9%bf%e5%91%8a%e5%b1%95%e7%a4%ba%e4%bd%8d%e7%bd%ae/#comment-15</link>
		<dc:creator>Roc</dc:creator>
		<pubDate>Fri, 30 May 2008 07:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=92#comment-15</guid>
		<description>经过google adsense官方证实, 截止至2008.5.30. 一个页面可以做多投放的广告:

3+2+3+3 = 11</description>
		<content:encoded><![CDATA[<p>经过google adsense官方证实, 截止至2008.5.30. 一个页面可以做多投放的广告:</p>
<p>3+2+3+3 = 11</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 北京刚才地震了.~~~~ sigh~~~ by Roc</title>
		<link>http://rocbot.com/blog/2008/05/%e5%8c%97%e4%ba%ac%e5%88%9a%e6%89%8d%e5%9c%b0%e9%9c%87%e4%ba%86-sigh/#comment-13</link>
		<dc:creator>Roc</dc:creator>
		<pubDate>Mon, 12 May 2008 07:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=44#comment-13</guid>
		<description>google 资讯相关信息

http://news.google.cn/news?complete=1&#038;hl=zh-CN&#038;q=%E5%9B%9B%E5%B7%9D+%E5%9C%B0%E9%9C%87&#038;um=1&#038;ie=UTF-8&#038;sa=X&#038;oi=news_result&#038;resnum=1&#038;ct=title</description>
		<content:encoded><![CDATA[<p>google 资讯相关信息</p>
<p><a href="http://news.google.cn/news?complete=1&#038;hl=zh-CN&#038;q=%E5%9B%9B%E5%B7%9D+%E5%9C%B0%E9%9C%87&#038;um=1&#038;ie=UTF-8&#038;sa=X&#038;oi=news_result&#038;resnum=1&#038;ct=title" rel="nofollow">http://news.google.cn/news?complete=1&#038;hl=zh-CN&#038;q=%E5%9B%9B%E5%B7%9D+%E5%9C%B0%E9%9C%87&#038;um=1&#038;ie=UTF-8&#038;sa=X&#038;oi=news_result&#038;resnum=1&#038;ct=title</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 一个老问题 &#8212; 5个囚犯抓绿豆的问题 by Roc</title>
		<link>http://rocbot.com/blog/2008/04/%e4%b8%80%e4%b8%aa%e8%80%81%e9%97%ae%e9%a2%98-5%e4%b8%aa%e5%9b%9a%e7%8a%af%e6%8a%93%e7%bb%bf%e8%b1%86%e7%9a%84%e9%97%ae%e9%a2%98/#comment-7</link>
		<dc:creator>Roc</dc:creator>
		<pubDate>Fri, 18 Apr 2008 08:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=34#comment-7</guid>
		<description>具体分析求机率

设1号囚犯摸到的绿豆数为N。
则2号囚犯摸到的绿豆数为N+1或N-1。因为2号囚犯可以通过摸剩余绿豆的方法得知1号
囚犯摸到的绿豆数,2号囚犯摸到的绿豆数为N的话就会重复是找死，如果摸到的绿豆数与N
相差大于1的话，又会使得3号囚犯有机会使摸到的绿豆数居中。
3号囚犯也会使自己摸到的绿豆数与1、2号的紧密相邻，即使自己摸到的绿豆数比1、
2号的之中最大的大1，最小的小1。因为3号囚犯可以通过摸剩余绿豆的方法得知1、2号囚
犯摸到的绿豆总数，又知1、2号囚犯摸到的绿豆数相差为1，从而判断出1、2号囚犯各自摸
到的绿豆数。
4、5号囚犯与3号囚犯想法基本相同。即使自己摸到的绿豆数比自己前面所有的之中最
大的大1，最小的小1。
综上所述，5个囚犯摸到的绿豆数为5个连续整数。
1号囚犯存活机率。1号囚犯有两种情况必死：摸到的绿豆数最大或最小。摸到的绿豆
数最大或最小，只能由后4位囚犯决定，由分析可知后4位囚犯的摸到绿豆数的位置都只有
两个，即一组连续整数的两边。因此1号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1
/2）*（1/2）*（1/2）=1/16，最小时的机率也为1/16，1号囚犯存活机率为1-（1/16）*2
=7/8
2号囚犯存活机率。由对称性可知2号囚犯存活机率与1号相同，也为7/8。
3号囚犯存活机率。3号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）*（1/2）
=1/8，最小时的机率也为1/8，1号囚犯存活机率为1-（1/8）*2=3/4。
4号囚犯存活机率。4号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）=1/4，最
小时的机率也为1/4，4号囚犯存活机率为1-（1/4）*2=1/2。
5号囚犯存活机率。5号囚犯摸到的绿豆数不是最大就是最小，必死无疑。5号囚犯存活
机率为0。

[本题到此告一段落。但是5个囚犯的策略似乎有点问题：5号囚犯在必死无疑的情况下
，还会为前4人保驾护航吗？他会不会临死拉个垫背的？于是有了以下分析。]

5号囚犯的“觉醒”（临死拉个垫背的，在必死无疑的情况下多杀人）

1-4号囚犯策略如前，则4个囚犯摸到的绿豆数为4个连续整数，而5号囚犯的“觉醒”
促使他多杀人。要多杀人，他摸到的绿豆数必须为4个连续整数的中间两个，这样有4人必
死，只有1人存活。5号囚犯必死，4号囚犯摸到的绿豆数为4个连续整数的最大或最小值，
也必死，1-3号囚犯有可能存活。

先不考虑5号囚犯。

1号囚犯存活机率。1号囚犯摸到的绿豆数为4个连续整数的最大或最小值，则必死。1
号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）*（1/2）=1/8，最小时的机率也为
1/8，1号囚犯存活机率为1-（1/8）*2=3/4
2号囚犯存活机率。由对称性可知2号囚犯存活机率与1号相同，也为3/4。
3号囚犯存活机率。3号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）=1/4，最
小时的机率也为1/4，3号囚犯存活机率为1-（1/4）*2=1/2。

考虑5号囚犯。

由于5号囚犯摸到的绿豆数必为4个连续整数的中间两个，故1-3号囚犯存活机率都将减
半。即1、2号囚犯存活机率为（3/4）*（1/2）=3/8，3号囚犯存活机率（1/2）*（1/2）=
1/4。

[5号囚犯的“觉醒”等于宣判了4号囚犯的死刑，4号囚犯考虑到这一点后，随之“觉
醒”。]

4、5号囚犯共同“觉醒”

此情况很简单，大家同赴九泉。

综合考虑后，1、2号囚犯存活机率最大。</description>
		<content:encoded><![CDATA[<p>具体分析求机率</p>
<p>设1号囚犯摸到的绿豆数为N。<br />
则2号囚犯摸到的绿豆数为N+1或N-1。因为2号囚犯可以通过摸剩余绿豆的方法得知1号<br />
囚犯摸到的绿豆数,2号囚犯摸到的绿豆数为N的话就会重复是找死，如果摸到的绿豆数与N<br />
相差大于1的话，又会使得3号囚犯有机会使摸到的绿豆数居中。<br />
3号囚犯也会使自己摸到的绿豆数与1、2号的紧密相邻，即使自己摸到的绿豆数比1、<br />
2号的之中最大的大1，最小的小1。因为3号囚犯可以通过摸剩余绿豆的方法得知1、2号囚<br />
犯摸到的绿豆总数，又知1、2号囚犯摸到的绿豆数相差为1，从而判断出1、2号囚犯各自摸<br />
到的绿豆数。<br />
4、5号囚犯与3号囚犯想法基本相同。即使自己摸到的绿豆数比自己前面所有的之中最<br />
大的大1，最小的小1。<br />
综上所述，5个囚犯摸到的绿豆数为5个连续整数。<br />
1号囚犯存活机率。1号囚犯有两种情况必死：摸到的绿豆数最大或最小。摸到的绿豆<br />
数最大或最小，只能由后4位囚犯决定，由分析可知后4位囚犯的摸到绿豆数的位置都只有<br />
两个，即一组连续整数的两边。因此1号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1<br />
/2）*（1/2）*（1/2）=1/16，最小时的机率也为1/16，1号囚犯存活机率为1-（1/16）*2<br />
=7/8<br />
2号囚犯存活机率。由对称性可知2号囚犯存活机率与1号相同，也为7/8。<br />
3号囚犯存活机率。3号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）*（1/2）<br />
=1/8，最小时的机率也为1/8，1号囚犯存活机率为1-（1/8）*2=3/4。<br />
4号囚犯存活机率。4号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）=1/4，最<br />
小时的机率也为1/4，4号囚犯存活机率为1-（1/4）*2=1/2。<br />
5号囚犯存活机率。5号囚犯摸到的绿豆数不是最大就是最小，必死无疑。5号囚犯存活<br />
机率为0。</p>
<p>[本题到此告一段落。但是5个囚犯的策略似乎有点问题：5号囚犯在必死无疑的情况下<br />
，还会为前4人保驾护航吗？他会不会临死拉个垫背的？于是有了以下分析。]</p>
<p>5号囚犯的“觉醒”（临死拉个垫背的，在必死无疑的情况下多杀人）</p>
<p>1-4号囚犯策略如前，则4个囚犯摸到的绿豆数为4个连续整数，而5号囚犯的“觉醒”<br />
促使他多杀人。要多杀人，他摸到的绿豆数必须为4个连续整数的中间两个，这样有4人必<br />
死，只有1人存活。5号囚犯必死，4号囚犯摸到的绿豆数为4个连续整数的最大或最小值，<br />
也必死，1-3号囚犯有可能存活。</p>
<p>先不考虑5号囚犯。</p>
<p>1号囚犯存活机率。1号囚犯摸到的绿豆数为4个连续整数的最大或最小值，则必死。1<br />
号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）*（1/2）=1/8，最小时的机率也为<br />
1/8，1号囚犯存活机率为1-（1/8）*2=3/4<br />
2号囚犯存活机率。由对称性可知2号囚犯存活机率与1号相同，也为3/4。<br />
3号囚犯存活机率。3号囚犯摸到的绿豆数为最大时的机率为（1/2）*（1/2）=1/4，最<br />
小时的机率也为1/4，3号囚犯存活机率为1-（1/4）*2=1/2。</p>
<p>考虑5号囚犯。</p>
<p>由于5号囚犯摸到的绿豆数必为4个连续整数的中间两个，故1-3号囚犯存活机率都将减<br />
半。即1、2号囚犯存活机率为（3/4）*（1/2）=3/8，3号囚犯存活机率（1/2）*（1/2）=<br />
1/4。</p>
<p>[5号囚犯的“觉醒”等于宣判了4号囚犯的死刑，4号囚犯考虑到这一点后，随之“觉<br />
醒”。]</p>
<p>4、5号囚犯共同“觉醒”</p>
<p>此情况很简单，大家同赴九泉。</p>
<p>综合考虑后，1、2号囚犯存活机率最大。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dreamhost的blingy cluster问题 by Roc</title>
		<link>http://rocbot.com/blog/2008/04/dreamhost%e7%9a%84blingy-cluster%e9%97%ae%e9%a2%98/#comment-6</link>
		<dc:creator>Roc</dc:creator>
		<pubDate>Thu, 10 Apr 2008 02:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=32#comment-6</guid>
		<description>Update, April 8, 2008

Please see our other posting for details on the work we did on the effected file server:

http://www.dreamhoststatus.com/2008/04/06/30-min-blingy-downtime-tonight/

We are also continuing to offload data and are making good progress (it’s never as fast as we would like it to be of course). There’s excellent detail here in case you missed it:

http://blog.dreamhost.com/2008/04/07/another-anatomy/

which chronicles the situation and fills you in pretty much up to today. We’re seeing the data dip to 90% so we’re hoping to have it down in the 80’s by the end of the week (every percent we gain helps and as performance improves we can speed up the rate of moving but we’re still looking to hit critical mass where you get the proper level of performance).

Update, April 9, 2008

As we had hoped progress is speeding up as we free up more space - while the file server is showing 95% usage, around 11% of that is data that has already been moved and is no longer in use. Due to a software issue we haven’t been able to remove it yet (the admin team is working on the best way to execute that), but once that is gone we should be around 85% usage which is another large step forward.

In terms of effect, I have already seen improvement in site function for many customers as well as greatly increased speed in moving chunks of data off as well as receiving reports that mail is functioning quite a bit better. That said this issue remains at the High severity rating and in unresolved status as we have not reached a normal level of service. I can’t stress enough how sorry I am that our customers have had to put up with this but I thank those of you who have stuck with us (check the newsletter for details on what we’re doing for Blingy customers) and look forward to providing you with the level of service we strive for at DreamHost.</description>
		<content:encoded><![CDATA[<p>Update, April 8, 2008</p>
<p>Please see our other posting for details on the work we did on the effected file server:</p>
<p><a href="http://www.dreamhoststatus.com/2008/04/06/30-min-blingy-downtime-tonight/" rel="nofollow">http://www.dreamhoststatus.com/2008/04/06/30-min-blingy-downtime-tonight/</a></p>
<p>We are also continuing to offload data and are making good progress (it’s never as fast as we would like it to be of course). There’s excellent detail here in case you missed it:</p>
<p><a href="http://blog.dreamhost.com/2008/04/07/another-anatomy/" rel="nofollow">http://blog.dreamhost.com/2008/04/07/another-anatomy/</a></p>
<p>which chronicles the situation and fills you in pretty much up to today. We’re seeing the data dip to 90% so we’re hoping to have it down in the 80’s by the end of the week (every percent we gain helps and as performance improves we can speed up the rate of moving but we’re still looking to hit critical mass where you get the proper level of performance).</p>
<p>Update, April 9, 2008</p>
<p>As we had hoped progress is speeding up as we free up more space - while the file server is showing 95% usage, around 11% of that is data that has already been moved and is no longer in use. Due to a software issue we haven’t been able to remove it yet (the admin team is working on the best way to execute that), but once that is gone we should be around 85% usage which is another large step forward.</p>
<p>In terms of effect, I have already seen improvement in site function for many customers as well as greatly increased speed in moving chunks of data off as well as receiving reports that mail is functioning quite a bit better. That said this issue remains at the High severity rating and in unresolved status as we have not reached a normal level of service. I can’t stress enough how sorry I am that our customers have had to put up with this but I thank those of you who have stuck with us (check the newsletter for details on what we’re doing for Blingy customers) and look forward to providing you with the level of service we strive for at DreamHost.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dreamhost的blingy cluster问题 by Roc</title>
		<link>http://rocbot.com/blog/2008/04/dreamhost%e7%9a%84blingy-cluster%e9%97%ae%e9%a2%98/#comment-5</link>
		<dc:creator>Roc</dc:creator>
		<pubDate>Thu, 03 Apr 2008 02:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=32#comment-5</guid>
		<description>今天进展. 
Update, April 1, 2008

I apologize for the late update but we’ve been going over our options (while moving data of course). While we’re not seeing any real relief in terms of data uploads we do have some very large moves that are almost complete. Once those finish we can start deleting the data (for example one is around a half TB or around 500 GB which will be 4-5% of the total but it’s going to take until around Friday to delete it all, so we’re dealing with a ton of data). Tomorrow’s update should be earlier in the day and hopefully we’ll have some progress to reports from the large moves being complete.</description>
		<content:encoded><![CDATA[<p>今天进展.<br />
Update, April 1, 2008</p>
<p>I apologize for the late update but we’ve been going over our options (while moving data of course). While we’re not seeing any real relief in terms of data uploads we do have some very large moves that are almost complete. Once those finish we can start deleting the data (for example one is around a half TB or around 500 GB which will be 4-5% of the total but it’s going to take until around Friday to delete it all, so we’re dealing with a ton of data). Tomorrow’s update should be earlier in the day and hopefully we’ll have some progress to reports from the large moves being complete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 关于如何做好项目 by Roc</title>
		<link>http://rocbot.com/blog/2008/01/%e5%85%b3%e4%ba%8e%e5%a6%82%e4%bd%95%e5%81%9a%e5%a5%bd%e9%a1%b9%e7%9b%ae/#comment-3</link>
		<dc:creator>Roc</dc:creator>
		<pubDate>Mon, 28 Jan 2008 03:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=17#comment-3</guid>
		<description>嗯.是的. 这个非常重要 .但是目前我只有孤家寡人独自战斗.啊哈哈..等待战友加入.:)</description>
		<content:encoded><![CDATA[<p>嗯.是的. 这个非常重要 .但是目前我只有孤家寡人独自战斗.啊哈哈..等待战友加入.:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 关于如何做好项目 by Steven, Liu</title>
		<link>http://rocbot.com/blog/2008/01/%e5%85%b3%e4%ba%8e%e5%a6%82%e4%bd%95%e5%81%9a%e5%a5%bd%e9%a1%b9%e7%9b%ae/#comment-2</link>
		<dc:creator>Steven, Liu</dc:creator>
		<pubDate>Mon, 28 Jan 2008 02:43:05 +0000</pubDate>
		<guid isPermaLink="false">http://rocbot.com/blog/?p=17#comment-2</guid>
		<description>感觉应该再增加一个分类："团队"。这是我不太长工作时间中的感受，一个好的团队和一个一般的团队的执行能力；效率；生产质量；抵御重大变化能力等各方面都直接关系到产品或项目的成败呀~~~
另外，不做QA后越发感觉到测试意义的重大了，回头看看，发现自己在光芒也有很多作测试不到位的地方... :)</description>
		<content:encoded><![CDATA[<p>感觉应该再增加一个分类：&#8221;团队&#8221;。这是我不太长工作时间中的感受，一个好的团队和一个一般的团队的执行能力；效率；生产质量；抵御重大变化能力等各方面都直接关系到产品或项目的成败呀~~~<br />
另外，不做QA后越发感觉到测试意义的重大了，回头看看，发现自己在光芒也有很多作测试不到位的地方&#8230; <img src='http://rocbot.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
