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

<channel>
	<title>U.F.M&#039;s Homepage &#187; erlang</title>
	<atom:link href="http://blog.ufm.su/archives/tag/erlang/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ufm.su</link>
	<description>Очередной кошмарный блог на WordPress</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:01:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>На сколько, всё таки, выразительный язык, да.</title>
		<link>http://blog.ufm.su/archives/656</link>
		<comments>http://blog.ufm.su/archives/656#comments</comments>
		<pubDate>Sun, 20 Sep 2009 20:52:29 +0000</pubDate>
		<dc:creator>Fyodor Ustinov</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[гыгы]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=656</guid>
		<description><![CDATA[case S#s.status of
    [_&#124;_] -&#62;
         send_error(S);
 ]]></description>
			<content:encoded><![CDATA[<pre>case S#s.status of
    [_|_] -&gt;
         send_error(S);</pre>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=656" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/656/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Непонятка</title>
		<link>http://blog.ufm.su/archives/630</link>
		<comments>http://blog.ufm.su/archives/630#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:10:53 +0000</pubDate>
		<dc:creator>Fyodor Ustinov</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=630</guid>
		<description><![CDATA[Есть для меня в эрланге один момент, который я до сих пор понять не могу. А именно &#8211; если есть списки, зачем вводить в язык еще одну сущность &#8211; кортежи? Ну или наоборот, если сначала сделали кортежи, то зачем потом добавляли списки? Нет, я понимаю чем работа с ними отличается в эрланге в принципе, только [...]]]></description>
			<content:encoded><![CDATA[<p>Есть для меня в эрланге один момент, который я до сих пор понять не могу. А именно &#8211; если есть списки, зачем вводить в язык еще одну сущность &#8211; кортежи? Ну или наоборот, если сначала сделали кортежи, то зачем потом добавляли списки? Нет, я понимаю чем работа с ними отличается в эрланге в принципе, только такое ощущение, что убрать это различие &#8211; несколько переписанных BIF. </p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=630" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/630/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blog.ufm.su/archives/620</link>
		<comments>http://blog.ufm.su/archives/620#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:17:21 +0000</pubDate>
		<dc:creator>Fyodor Ustinov</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=620</guid>
		<description><![CDATA[К чему тяжело привыкнуть в эрланге, это к принципу &#8220;дай ему умереть&#8221;.
P.S. А вобще этопросто проверка кросспоста в FB.
 ]]></description>
			<content:encoded><![CDATA[<p>К чему тяжело привыкнуть в эрланге, это к принципу &#8220;дай ему умереть&#8221;.</p>
<p>P.S. А вобще этопросто проверка кросспоста в FB.</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=620" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/620/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DETS &amp; BLOB</title>
		<link>http://blog.ufm.su/archives/617</link>
		<comments>http://blog.ufm.su/archives/617#comments</comments>
		<pubDate>Tue, 01 Sep 2009 07:19:28 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=617</guid>
		<description><![CDATA[Далее интересно только тем, кто пишет на эрланге.

Хочу просто предупредить тех, кто
пользуется DETS и/или  Mnesia на 32-х битных системах и у кого размеры
DAT приближаются к 2Г &#8211; оно умеет портить DAT файлы. Вот пример, там
всё видно.:
ufm@imac:~/src$ erl
Erlang R13B01 (erts-5.7.2) [source] [smp:2:2] [rq:2] [async-threads:0]
[kernel-poll:false]
Eshell V5.7.2  (abort with ^G)
1&#62; BigL = lists:seq(1,2000000).
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
23,24,25,26,27,28,29&#124;...]
2&#62; dets:open_file(tab,[{type,set}]).
{ok,tab}
3&#62; dets:info(tab).
[{type,set},
{keypos,1},
{size,0},
{file_size,5432},
{filename,"tab"}]
4&#62; lists:foreach(fun(X) -&#62; dets:insert(tab,{X,BigL}) [...]]]></description>
			<content:encoded><![CDATA[<p>Далее интересно только тем, кто пишет на эрланге.</p>
<p><span id="more-617"></span><br />
Хочу просто предупредить тех, кто<br />
пользуется DETS и/или  Mnesia на 32-х битных системах и у кого размеры<br />
DAT приближаются к 2Г &#8211; оно умеет портить DAT файлы. Вот пример, там<br />
всё видно.:</p>
<p>ufm@imac:~/src$ erl<br />
Erlang R13B01 (erts-5.7.2) [source] [smp:2:2] [rq:2] [async-threads:0]<br />
[kernel-poll:false]</p>
<p>Eshell V5.7.2  (abort with ^G)<br />
1&gt; BigL = lists:seq(1,2000000).<br />
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,<br />
23,24,25,26,27,28,29|...]<br />
2&gt; dets:open_file(tab,[{type,set}]).<br />
{ok,tab}<br />
3&gt; dets:info(tab).<br />
[{type,set},<br />
{keypos,1},<br />
{size,0},<br />
{file_size,5432},<br />
{filename,"tab"}]<br />
4&gt; lists:foreach(fun(X) -&gt; dets:insert(tab,{X,BigL}) end, lists:seq<br />
(1,50)).<br />
ok<br />
5&gt; dets:info<br />
(tab).<br />
[{type,set},<br />
{keypos,1},<br />
{size,50},<br />
{file_size,848861394},<br />
{filename,"tab"}]<br />
6&gt; dets:close(tab).<br />
ok<br />
7&gt; dets:open_file(tab,<br />
[{type,set}]).<br />
{ok,tab}<br />
8&gt; dets:info<br />
(tab).<br />
[{type,set},<br />
{keypos,1},<br />
{size,50},<br />
{file_size,848861666},<br />
{filename,"tab"}]<br />
9&gt; lists:foreach(fun(X) -&gt; dets:insert(tab,{X,BigL}) end, lists:seq<br />
(50,200)).<br />
ok<br />
10&gt; dets:info<br />
(tab).<br />
[{type,set},<br />
{keypos,1},<br />
{size,126},<br />
{file_size,2066820196},<br />
{filename,"tab"}]<br />
11&gt; dets:close<br />
(tab).<br />
{error,{{bad_object,read_buckets},&#8221;tab&#8221;}}<br />
12&gt; dets:close<br />
(tab).<br />
{error,not_owner}<br />
13&gt; dets:info<br />
(tab).<br />
undefined<br />
14&gt; dets:open_file(tab,<br />
[{type,set}]).<br />
dets: file &#8220;tab&#8221; not properly closed, repairing &#8230;<br />
{error,{no_more_space_on_file,&#8221;tab.TMP&#8221;}}<br />
15&gt;</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=617" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/617/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Но все равно не аккуратненько</title>
		<link>http://blog.ufm.su/archives/614</link>
		<comments>http://blog.ufm.su/archives/614#comments</comments>
		<pubDate>Thu, 27 Aug 2009 18:31:53 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=614</guid>
		<description><![CDATA[ufm@imac:~$ erl
Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [kernel-poll:false]
Eshell V5.6.5  (abort with ^G)
1&#62; A=[255&#124;&#124;X&#60;-lists:seq(1,20000000)],ok.
ok
2&#62; B=list_to_binary(A).
&#60;&#60;&#8221;\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377&#8243;&#8230;&#62;&#62;
3&#62;
3&#62; byte_size(B).
20000000
4&#62; byte_size(B).
20000000
5&#62; byte_size(B).
20000000
Crash dump was written to: erl_crash.dump
eheap_alloc: Cannot allocate 912262800 bytes of memory (of type &#8220;heap&#8221;).
Aborted
 ]]></description>
			<content:encoded><![CDATA[<p>ufm@imac:~$ erl<br />
Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [kernel-poll:false]</p>
<p>Eshell V5.6.5  (abort with ^G)<br />
1&gt; A=[255||X&lt;-lists:seq(1,20000000)],ok.<br />
ok<br />
2&gt; B=list_to_binary(A).<br />
&lt;&lt;&#8221;\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377&#8243;&#8230;&gt;&gt;<br />
3&gt;<br />
3&gt; byte_size(B).<br />
20000000<br />
4&gt; byte_size(B).<br />
20000000<br />
5&gt; byte_size(B).<br />
20000000</p>
<p>Crash dump was written to: erl_crash.dump<br />
eheap_alloc: Cannot allocate 912262800 bytes of memory (of type &#8220;heap&#8221;).<br />
Aborted</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=614" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/614/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Буратино был тупой</title>
		<link>http://blog.ufm.su/archives/611</link>
		<comments>http://blog.ufm.su/archives/611#comments</comments>
		<pubDate>Thu, 27 Aug 2009 18:17:22 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=611</guid>
		<description><![CDATA[L=lists:seq(1,256).
Ага. Список. От 1 до 256. И как я 256 собрался в binary переводить?
 ]]></description>
			<content:encoded><![CDATA[<p>L=lists:seq(1,256).</p>
<p>Ага. Список. От 1 до 256. И как я 256 собрался в binary переводить?</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=611" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/611/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Как все плохо-то, оказывается, в эрланге с памятью.</title>
		<link>http://blog.ufm.su/archives/609</link>
		<comments>http://blog.ufm.su/archives/609#comments</comments>
		<pubDate>Thu, 27 Aug 2009 12:45:29 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=609</guid>
		<description><![CDATA[Но что прям так плохо будет &#8211; не ожидал.
L=lists:seq(1,20000000) &#8211; выжирает память как не в себя.
Вот это &#8211; тоже весело:
1&#62; L=lists:seq(1,256).
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
23,24,25,26,27,28,29&#124;...]
2&#62; B=list_to_binary(L).
** exception error: bad argument
in function  list_to_binary/1
called as list_to_binary([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
23,24,25,26,27,28&#124;...])
ну и напоследок:
34&#62; f().
ok
35&#62; L=lists:seq(1,256).
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
23,24,25,26,27,28,29&#124;...]
Crash dump was written to: erl_crash.dump
eheap_alloc: Cannot allocate 1425410620 bytes of memory (of type &#8220;heap&#8221;).
Aborted
 ]]></description>
			<content:encoded><![CDATA[<p>Но что прям так плохо будет &#8211; не ожидал.<br />
L=lists:seq(1,20000000) &#8211; выжирает память как не в себя.</p>
<p>Вот это &#8211; тоже весело:</p>
<blockquote><p>1&gt; L=lists:seq(1,256).<br />
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,<br />
23,24,25,26,27,28,29|...]<br />
2&gt; B=list_to_binary(L).<br />
** exception error: bad argument<br />
in function  list_to_binary/1<br />
called as list_to_binary([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,<br />
23,24,25,26,27,28|...])</p></blockquote>
<p>ну и напоследок:</p>
<blockquote><p>34&gt; f().<br />
ok<br />
35&gt; L=lists:seq(1,256).<br />
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,<br />
23,24,25,26,27,28,29|...]</p>
<p>Crash dump was written to: erl_crash.dump<br />
eheap_alloc: Cannot allocate 1425410620 bytes of memory (of type &#8220;heap&#8221;).<br />
Aborted</p></blockquote>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=609" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/609/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Что-то мне подсказывает</title>
		<link>http://blog.ufm.su/archives/607</link>
		<comments>http://blog.ufm.su/archives/607#comments</comments>
		<pubDate>Thu, 27 Aug 2009 06:56:57 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=607</guid>
		<description><![CDATA[что самая распространенная ошибка при программировании на erlang &#8211; передача в функцию не того параметра. Ну по крайней мере эта ошибка распространена сейчас среди меня. Что я имею в виду: допустим обрабатываем по цепочке данные. Как бы я это писал на Цэ:
tmt = 5;
tmt = fun1(tmt);
tmt = fun2(tmt);
tmt = fun3(tmt);
Как это приходится писать на эрланге
Tmt [...]]]></description>
			<content:encoded><![CDATA[<p>что самая распространенная ошибка при программировании на erlang &#8211; передача в функцию не того параметра. Ну по крайней мере эта ошибка распространена сейчас среди меня. Что я имею в виду: допустим обрабатываем по цепочке данные. Как бы я это писал на Цэ:</p>
<blockquote><p>tmt = 5;<br />
tmt = fun1(tmt);<br />
tmt = fun2(tmt);<br />
tmt = fun3(tmt);</p></blockquote>
<p>Как это приходится писать на эрланге</p>
<blockquote><p>Tmt = 5,<br />
Tmt1 = fun1(Tmt),<br />
Tmt2 = fun2(Tmt1),<br />
Tmt3 = fun3(Tmt2).</p></blockquote>
<p>В результате достаточно в третьей строчке ошибиться и написать Tmt (при копипейстинге из другого места, реорганизации кода или просто опечататься) и ловить эту ошибку придется достаточно долго. Особенно когда переменная Tmt1 используется между функциями fun1 и fun2 &#8211; компилятор даже предупреждения не даст, что переменная нигде не используется.<br />
Хотя, конечно, возможно это просто у меня с непривычки.</p>
<p>P.S. А постоянное слежение за тем, когда писать &#8216;,&#8217; когда &#8216;;&#8217; а когда вобще ничего &#8211; это отдельная песня. :)</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=607" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/607/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Развлекушечки&#8230;</title>
		<link>http://blog.ufm.su/archives/594</link>
		<comments>http://blog.ufm.su/archives/594#comments</comments>
		<pubDate>Fri, 21 Aug 2009 17:02:15 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=594</guid>
		<description><![CDATA[Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [kernel-poll:false]
Eshell V5.6.5  (abort with ^G)
1&#62; c(&#8220;/home/ufm/src/tmt&#8221;, [{outdir, "/home/ufm/src/"}]).
{ok,tmt}
2&#62; tmt:pow(2,16).
65536
3&#62; tmt:pow(2,2).
4
4&#62; tmt:pow(1024,1024).
352497141210838265713481483980028154643914213439664710603913826057310702768547493650483
302964736638624569681553952983739732590494759431136198883386731161336668147068707652719
076562056460186083699855587212676703217390319386338332818891926201584265318069231442392
697268763999519611919803480232917034723057637824103945897589345856311110781204353030326
888187514464352913713571717556327753629326947950763134366874696380043276893902467353218
558306108568659249137608267637760032658517165573342106422773434757577997804990215598224
124342750870843172934551295704067075900020717046731355275335432173559875681076975779467
857964124560483600729656168710248662446500810590681830381345185142229871868373945980198
595129936003792361901975768389050807333599890946870089994162477220200619925599314018723
573797084885850036669659306097304307741074074940180653658450770943205347006923544001698
241315783891536569167546822524255627428950268220861122361857689319404333240786923864636
423780292915823845509040122842652771246674528169856593374975809915925102014797665008774
278345666191563143881075857435462890675510524340756781953453733639195713232101136226155
117651343296272079557936053768928759383576728708813056793055212933599754278019219975348
914740908681134673577843597833830910857171008072284250312267769851973643594046830415066
139436466661994548993636858018487767296858378032282161138338547424434092214804502325631
304177096253207949716727377373859839755200477399781651249069168579319609024073978415366
576503787580124091572059395130853242824392901089090690365154306903599631529865877499305
168806703261450369876070529616967815564185509662018228218579780200625368240156976209572
227380655388321870974098595026691965890259611994487589973737929731917233355497723948788
740508545327859224758228364037939866231931740209314323814184370227604126822763829893548
396254532412898071082609051342346791309548675704473545497601746910070785284527450279949
438532294805445123688313787611196816167193276373081423151051205287046835151820383202250
786653139117317493642556212844343049454372146094060086405209720295099554355680948888157
014704194108891565239711821728144232741409554280705943283816670482867719728577034355258
035447078345677740272066141434199824101092619306983110108578748668407438514728576453309
291695484037510844947258937293554504737710599868010583420219027353676279009748723681378
389963973798981614548259709107328582027812829739376428479733818386729806933990394293426
130015951489680820100160610223162428423676727412654054345531072966235596044133263521405
296181711754506578842550993346187227316979201855824371823913976733011681606825166392147
065669814659617313748089491317423647529930783263677141170014042109302515381324422193350
726720968651846913030271569624397770537072865839497640551512918164025464624527191347971
790992102335775962779256460318241722748740845621134400433973951910654736207171042506860
408965809287008425939191732838445314709522056008744823024885238670745329077812649908653
518446848070122080391082875645348545004863915388760636114766656202302948114683518353740
72060530215907909311281816131942219776
 ]]></description>
			<content:encoded><![CDATA[<p>Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [kernel-poll:false]</p>
<p>Eshell V5.6.5  (abort with ^G)<br />
1&gt; c(&#8220;/home/ufm/src/tmt&#8221;, [{outdir, "/home/ufm/src/"}]).</p>
<p>{ok,tmt}</p>
<p>2&gt; tmt:pow(2,16).<br />
65536</p>
<p>3&gt; tmt:pow(2,2).<br />
4</p>
<p>4&gt; tmt:pow(1024,1024).<br />
352497141210838265713481483980028154643914213439664710603913826057310702768547493650483<br />
302964736638624569681553952983739732590494759431136198883386731161336668147068707652719<br />
076562056460186083699855587212676703217390319386338332818891926201584265318069231442392<br />
697268763999519611919803480232917034723057637824103945897589345856311110781204353030326<br />
888187514464352913713571717556327753629326947950763134366874696380043276893902467353218<br />
558306108568659249137608267637760032658517165573342106422773434757577997804990215598224<br />
124342750870843172934551295704067075900020717046731355275335432173559875681076975779467<br />
857964124560483600729656168710248662446500810590681830381345185142229871868373945980198<br />
595129936003792361901975768389050807333599890946870089994162477220200619925599314018723<br />
573797084885850036669659306097304307741074074940180653658450770943205347006923544001698<br />
241315783891536569167546822524255627428950268220861122361857689319404333240786923864636<br />
423780292915823845509040122842652771246674528169856593374975809915925102014797665008774<br />
278345666191563143881075857435462890675510524340756781953453733639195713232101136226155<br />
117651343296272079557936053768928759383576728708813056793055212933599754278019219975348<br />
914740908681134673577843597833830910857171008072284250312267769851973643594046830415066<br />
139436466661994548993636858018487767296858378032282161138338547424434092214804502325631<br />
304177096253207949716727377373859839755200477399781651249069168579319609024073978415366<br />
576503787580124091572059395130853242824392901089090690365154306903599631529865877499305<br />
168806703261450369876070529616967815564185509662018228218579780200625368240156976209572<br />
227380655388321870974098595026691965890259611994487589973737929731917233355497723948788<br />
740508545327859224758228364037939866231931740209314323814184370227604126822763829893548<br />
396254532412898071082609051342346791309548675704473545497601746910070785284527450279949<br />
438532294805445123688313787611196816167193276373081423151051205287046835151820383202250<br />
786653139117317493642556212844343049454372146094060086405209720295099554355680948888157<br />
014704194108891565239711821728144232741409554280705943283816670482867719728577034355258<br />
035447078345677740272066141434199824101092619306983110108578748668407438514728576453309<br />
291695484037510844947258937293554504737710599868010583420219027353676279009748723681378<br />
389963973798981614548259709107328582027812829739376428479733818386729806933990394293426<br />
130015951489680820100160610223162428423676727412654054345531072966235596044133263521405<br />
296181711754506578842550993346187227316979201855824371823913976733011681606825166392147<br />
065669814659617313748089491317423647529930783263677141170014042109302515381324422193350<br />
726720968651846913030271569624397770537072865839497640551512918164025464624527191347971<br />
790992102335775962779256460318241722748740845621134400433973951910654736207171042506860<br />
408965809287008425939191732838445314709522056008744823024885238670745329077812649908653<br />
518446848070122080391082875645348545004863915388760636114766656202302948114683518353740<br />
72060530215907909311281816131942219776</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=594" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/594/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Зря разработчики остановились</title>
		<link>http://blog.ufm.su/archives/578</link>
		<comments>http://blog.ufm.su/archives/578#comments</comments>
		<pubDate>Tue, 11 Aug 2009 18:22:07 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[гыгы]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=578</guid>
		<description><![CDATA[Надо было по мимо &#8220;равно&#8221; (==), &#8220;строго равно&#8221; (=:=), &#8220;не равно&#8221; (/=) и &#8220;строго не равно&#8221; (=/=) ввести еще
&#8220;мамой клянусь равно&#8221;, &#8220;что-то типа&#8221;, &#8220;даже рядом не лежало с&#8221; и &#8220;в общем то по барабану&#8221;.
 ]]></description>
			<content:encoded><![CDATA[<p>Надо было по мимо &#8220;равно&#8221; (==), &#8220;строго равно&#8221; (=:=), &#8220;не равно&#8221; (/=) и &#8220;строго не равно&#8221; (=/=) ввести еще</p>
<p>&#8220;мамой клянусь равно&#8221;, &#8220;что-то типа&#8221;, &#8220;даже рядом не лежало с&#8221; и &#8220;в общем то по барабану&#8221;.</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=578" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/578/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>так даже более правильно.</title>
		<link>http://blog.ufm.su/archives/576</link>
		<comments>http://blog.ufm.su/archives/576#comments</comments>
		<pubDate>Tue, 11 Aug 2009 18:12:41 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=576</guid>
		<description><![CDATA[-module(sum).
-export([sum/1,sum/2]).
sum(N) -&#62; sum_acc(1,N,0).
sum(B,N) -&#62; sum_acc(B,N,0).
sum_acc(B,N,A) when B =:= N -&#62; A+N;
sum_acc(B,N,_) when B &#62; N -&#62; throw({&#8216;EXIT&#8217;,{wrong_param,sum_acc}});
sum_acc(B,N,A) -&#62; sum_acc(B,N-1,A+N).
 ]]></description>
			<content:encoded><![CDATA[<p>-module(sum).<br />
-export([sum/1,sum/2]).</p>
<p>sum(N) -&gt; sum_acc(1,N,0).<br />
sum(B,N) -&gt; sum_acc(B,N,0).</p>
<p>sum_acc(B,N,A) when B =:= N -&gt; A+N;<br />
sum_acc(B,N,_) when B &gt; N -&gt; throw({&#8216;EXIT&#8217;,{wrong_param,sum_acc}});<br />
sum_acc(B,N,A) -&gt; sum_acc(B,N-1,A+N).</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=576" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/576/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Как дети в школу.</title>
		<link>http://blog.ufm.su/archives/574</link>
		<comments>http://blog.ufm.su/archives/574#comments</comments>
		<pubDate>Tue, 11 Aug 2009 17:57:47 +0000</pubDate>
		<dc:creator>ufm</dc:creator>
				<category><![CDATA[Блог]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.ufm.su/?p=574</guid>
		<description><![CDATA[-module(sum).
-export([sum/1]).
sum(N) -&#62; sum_acc(N,0).
sum_acc(1,A) -&#62; A+1;
sum_acc(N,A) -&#62; sum_acc(N-1,A+N).
P.S. Кто угадает название учебника? :)
 ]]></description>
			<content:encoded><![CDATA[<p>-module(sum).<br />
-export([sum/1]).</p>
<p>sum(N) -&gt; sum_acc(N,0).<br />
sum_acc(1,A) -&gt; A+1;<br />
sum_acc(N,A) -&gt; sum_acc(N-1,A+N).</p>
<p>P.S. Кто угадает название учебника? :)</p>
 <img src="http://blog.ufm.su/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=574" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.ufm.su/archives/574/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
