<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 使用帮助？</title>
	<atom:link href="http://erlang-china.org/help/feed" rel="self" type="application/rss+xml" />
	<link>http://erlang-china.org</link>
	<description>erlang 中文社区</description>
	<lastBuildDate>Wed, 28 Jul 2010 06:52:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: 棘手问题高手请帮忙解答</title>
		<link>http://erlang-china.org/help/comment-page-1#comment-9867</link>
		<dc:creator>棘手问题高手请帮忙解答</dc:creator>
		<pubDate>Fri, 02 Jan 2009 12:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/help/#comment-9867</guid>
		<description>The goal of this assignment is to make a distributed fault-tolerant application for a simple
computation of prime numbers. (Large prime numbers are user in security algorithms, if you
like to know a practical application of this algorithm).
A prime number is a number that is only dividable by 1 and itself, i.e. for N to be prime it
must hold that for all M between 2 and N-1 the erlang expression N rem M evaluates to
something unequal zero. The first few prime numbers are 1,2,3,5,7,11,13,…
Write a demonstrator for a fault-tolerant distributed application. A number of computers
should be connected in a network, say 1 to N.
It is known how they are positioned, i.e., 1 nest to 2, next to 3, … next to N.
On each computer you run the same program. This program computes the prime numbers, but
it skips numbers that other computers have already analyzed. Thus, if computer 1 starts to
compute whether 1 is a prime, then it informs the others, which decide to go on to the next
number (2, 3, 4, etc). In the end, all computers print a list of all prime numbers, but never
compute a prime number if one of the other computers already took that task.
As soon as a computer is disconnected from the network, or the Erlang node that it runs is
killed (simulating a crash), then the other computers continue working.
When a crashed computer is restarted (or the Erlang node restarted), the program joins the
pool and starts doing computations again.</description>
		<content:encoded><![CDATA[<p>The goal of this assignment is to make a distributed fault-tolerant application for a simple<br />
computation of prime numbers. (Large prime numbers are user in security algorithms, if you<br />
like to know a practical application of this algorithm).<br />
A prime number is a number that is only dividable by 1 and itself, i.e. for N to be prime it<br />
must hold that for all M between 2 and N-1 the erlang expression N rem M evaluates to<br />
something unequal zero. The first few prime numbers are 1,2,3,5,7,11,13,…<br />
Write a demonstrator for a fault-tolerant distributed application. A number of computers<br />
should be connected in a network, say 1 to N.<br />
It is known how they are positioned, i.e., 1 nest to 2, next to 3, … next to N.<br />
On each computer you run the same program. This program computes the prime numbers, but<br />
it skips numbers that other computers have already analyzed. Thus, if computer 1 starts to<br />
compute whether 1 is a prime, then it informs the others, which decide to go on to the next<br />
number (2, 3, 4, etc). In the end, all computers print a list of all prime numbers, but never<br />
compute a prime number if one of the other computers already took that task.<br />
As soon as a computer is disconnected from the network, or the Erlang node that it runs is<br />
killed (simulating a crash), then the other computers continue working.<br />
When a crashed computer is restarted (or the Erlang node restarted), the program joins the<br />
pool and starts doing computations again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erlang-China &#187; Blog Archive &#187; 加了Erlang代码的语法加亮，show一下</title>
		<link>http://erlang-china.org/help/comment-page-1#comment-49</link>
		<dc:creator>Erlang-China &#187; Blog Archive &#187; 加了Erlang代码的语法加亮，show一下</dc:creator>
		<pubDate>Mon, 16 Apr 2007 13:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://erlang-china.org/help/#comment-49</guid>
		<description>[...] 完整的示例可以参考这里。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 完整的示例可以参考这里。 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
