<?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>Manio 马牛不是人</title>
	<atom:link href="http://manio.org/feed" rel="self" type="application/rss+xml" />
	<link>http://manio.org</link>
	<description>Computer science and life of Manio</description>
	<lastBuildDate>Sun, 15 Aug 2010 03:59:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>克里斯托夫•普尔讲述他的匿名网络论坛</title>
		<link>http://manio.org/christopher-moot-poole-the-case-for-anonymity-online-712.html</link>
		<comments>http://manio.org/christopher-moot-poole-the-case-for-anonymity-online-712.html#comments</comments>
		<pubDate>Thu, 24 Jun 2010 13:14:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[TED]]></category>
		<category><![CDATA[4chan]]></category>
		<category><![CDATA[christopher poole]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[moot]]></category>
		<category><![CDATA[互联网]]></category>
		<category><![CDATA[匿名]]></category>
		<category><![CDATA[文化]]></category>
		<category><![CDATA[演讲]]></category>

		<guid isPermaLink="false">http://manio.org/?p=712</guid>
		<description><![CDATA[克里斯托夫·普尔十四岁那年，建立了一个在线图片公告板（imageboard），名叫4Chan。如今，这个网站每月有七百万的访问量，每天有七十万篇帖子。这个网站是真正的“非主流”，它完全匿名，发帖者无需注册，网站没有存档，帖子过几天就没了。克里斯托夫·普尔脑子里想的是什么？这个网站为什么吸引了那么多人？]]></description>
			<content:encoded><![CDATA[<p>克里斯托夫·普尔十四岁那年，建立了一个在线图片公告板（imageboard），名叫4Chan。如今，这个网站每月有七百万的访问量，每天有七十万篇帖子。这个网站是真正的“非主流”，它完全匿名，发帖者无需注册，网站没有存档，帖子过几天就没了。克里斯托夫·普尔脑子里想的是什么？这个网站为什么吸引了那么多人？</p>
<p>在2008年7月之前，网络上没人知道4Chan的管理员是谁，直到《华尔街日报》披露克里斯托夫·普尔就是幕后神秘的管理员。他在网络上的名字是moot。克里斯托夫·普尔说，他的网络生活和现实生活是完全分开的，两者之间就像有一道防火墙一样。在2009年，克里斯托夫·普尔进入了《时代》杂志的2008年度最有影响力人物榜的候选人名单，然后，4Chan里的匿名的朋友们攻陷了《时代》的网站（《时代》的技术人员貌似没有承认）把moot（即克里斯托夫·普尔）推上了首位，更离谱的是，前21名获奖者的首字母被排成了“<a title="The  Game (mind game)" href="http://en.wikipedia.org/wiki/Marblecake_also_the_game#Hacking">mARBLECAKE. ALSO, THE GAME.</a>”。</p>
<p>4Chan被誉为“迷因工厂（<a href="http://en.wikipedia.org/wiki/Meme">Meme </a>factory）”，自由的氛围滋生了许多创意。4Chan上也有人肉搜索：有人在Youtube上发了一段虐猫视频，4Chan的网友们在24小时内找到了此人的真名，48小时内，此人就被逮捕了。</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="446" height="326" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/ChristopherPoole_2010-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/ChristopherPoole-2010.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=874&amp;introDuration=15330&amp;adDuration=4000&amp;postAdDuration=830&amp;adKeys=talk=christopher_m00t_poole_the_case_for_anonymity_online;year=2010;theme=the_creative_spark;theme=new_on_ted_com;theme=tales_of_invention;theme=ted_under_30;theme=design_like_you_give_a_damn;theme=media_that_matters;theme=art_unusual;theme=a_taste_of_ted2010;event=TED2010;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="446" height="326" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" flashvars="vu=http://video.ted.com/talks/dynamic/ChristopherPoole_2010-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/ChristopherPoole-2010.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=874&amp;introDuration=15330&amp;adDuration=4000&amp;postAdDuration=830&amp;adKeys=talk=christopher_m00t_poole_the_case_for_anonymity_online;year=2010;theme=the_creative_spark;theme=new_on_ted_com;theme=tales_of_invention;theme=ted_under_30;theme=design_like_you_give_a_damn;theme=media_that_matters;theme=art_unusual;theme=a_taste_of_ted2010;event=TED2010;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" bgcolor="#ffffff" wmode="transparent" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.ted.com/talks/christopher_m00t_poole_the_case_for_anonymity_online.html" target="_blank">Christopher &#8220;moot&#8221; Poole: The case for anonymity online</a></p>
<p>克里斯托夫·普尔认为，现在的人们都在追求隐私，但与此同时，他们也在渐渐失去一些有价值的东西。的确，规矩的存在会抹杀创意。但一个什么话都能说，且不用负责的地方是危险的，危险的不是说话人，而是听话人。2009年7月，4Chan被审查，AT&amp;T将4Chan下的几个子栏目屏蔽了一段时间。</p>
<p>实名还是匿名，平衡点在哪？你可以去4Chan看看，看看那的生态环境是不是你想要的。</p>
<p><a href="http://4chan.org" target="_blank">http://4chan.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/christopher-moot-poole-the-case-for-anonymity-online-712.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SESC Tutorial &#8211; TODO List</title>
		<link>http://manio.org/sesc-tutorial-todo-list-674.html</link>
		<comments>http://manio.org/sesc-tutorial-todo-list-674.html#comments</comments>
		<pubDate>Fri, 11 Jun 2010 04:39:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SESC Tutorial]]></category>
		<category><![CDATA[sesc]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[todo]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://manio.org/?p=674</guid>
		<description><![CDATA[This is a TODO list, listing what should be done next for this tutorial, to help researchers understand and modify SESC.]]></description>
			<content:encoded><![CDATA[<p>This is a TODO list, listing what should be done next for this tutorial, to help researchers understand and modify SESC.</p>
<ul>
<li><strong>How to run a therm/temperature test step by step</strong> <br />
		<span style="color: rgb(255, 0, 0);">Any contributors?</span></li>
<li><strong>How to run a benchmark<br />
		</strong></li>
<li><strong>How to modify the simulater configuration (.conf)</strong> Started. By Jun He(jhe24[at]iit.edu).</li>
<li><strong>Illustration of the key classes</strong>. The illustration should show the main functions of the classes (I mean why these classes exsit.) and relationships among them. So the readers can get the a clear picture of SESC. <span style="color: rgb(255, 0, 0);">Any contributors?</span></li>
<li><strong>How to modify the cache replace policy</strong>. We believe a good example worth thousands of words. This cache task is simple, without too many relations to other objects. So it might be the best simple example to demostrate hacking. Started. By&nbsp; Jun He(jhe24[at]iit.edu), Yao Wang(Yao.Wang[at]tudelft.nl).</li>
<li><strong>Set up a wiki?</strong></li>
<li><strong>Even more&#8230;</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/sesc-tutorial-todo-list-674.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>关于思考的思考</title>
		<link>http://manio.org/thoughts-about-thinking-668.html</link>
		<comments>http://manio.org/thoughts-about-thinking-668.html#comments</comments>
		<pubDate>Thu, 10 Jun 2010 06:01:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[创意]]></category>
		<category><![CDATA[创新]]></category>
		<category><![CDATA[心理学]]></category>
		<category><![CDATA[思维]]></category>
		<category><![CDATA[思维导图]]></category>
		<category><![CDATA[思考]]></category>
		<category><![CDATA[教育]]></category>

		<guid isPermaLink="false">http://manio.org/?p=668</guid>
		<description><![CDATA[这是关于思考的一篇文章。思考这件事我们每天都在做，但是，关于它的很多东西，却被我们忽略了。我们每天都在思考，但是，我们中的很多人都不是一个 好的思考者。我们从小学习数理化，用我们的脑子来想问题。但是，从小学到大学，都没有一门课来考我们如何思考，我们没有关于思考的知识系统，只能在我们的 学习过程中不断地改变。这种改变没有大方向的指导，只能是摸着石头过河。也许这个摸索的过程只要几年，或者是几十年。]]></description>
			<content:encoded><![CDATA[<p><em>这是一年多前写的文章，有人说挺好，我就从原来的BLOG复制过来吧。</em></p>
<p>这是关于思考的一篇文章。思考这件事我们每天都在做，但是，关于它的很多东西，却被我们忽略了。我们每天都在思考，但是，我们中的很多人都不是一个 好的思考者。我们从小学习数理化，用我们的脑子来想问题。但是，从小学到大学，都没有一门课来考我们如何思考，我们没有关于思考的知识系统，只能在我们的 学习过程中不断地改变。这种改变没有大方向的指导，只能是摸着石头过河。也许这个摸索的过程只要几年，或者是几十年。</p>
<p>大家的思考都多多少少存在一些盲点。一些事情，本来可以通过我们的思考变得更好的，可是因为我们已经习惯于原来的模式了，可能都不会意识到那里存在 问题。比如，我们会去思考一个项目怎么规划，存在什么问题，应该怎么解决。但很少人会发现自己的人生也是一个同样的问题，需要更多的时间去规划和解决其中 的问题。</p>
<p>我们又常常不相信自己思考的结果和别人的结论。往往一件事要经历过了才能会在心里留下个烙印，并告诉自己下次不能再做了。这就是，“失去了才真正懂 得去珍惜和拥有。”</p>
<p>其实，我们可以找到问题并解决之，或才用别人的经验来指导我们的行动的。我们缺少训练、思维的工具和方法。我经历过几次比赛的选题过程，这其实是一 个创意衍生的过程。但是，大家都没有系统的思维方法，只是在干想，依赖着灵感的突现。事实上，那个过程头脑因为压力而“缺氧”，效率低下。</p>
<p>思维导图可以帮助思考。思维导图是一个极好思维工具，但我发现身边的人很少在用它。它把我们思考的中心主题向周延伸，让我们的思维有章可循。我们注 意力只能关注到7+－2个点上，而脑的临时记忆容量也是有限的，把我们脑中的想法写下来或画下来，能帮助我们理清思路，可以让我们沿着思考的轨迹回溯。在 思维导图上，只要写下关键字即可，不要写太多话。另外，在思维导图上用小的示意图，更能得到形象的思维。思维导图可以用于寻找创意、记笔记、做演 讲&#8230;&#8230;XMind和FreeMind是两个免费的思维导图工具，可以到网上下载。它们比MS VISIO中的思维导图工具要方便得多了。</p>
<p>从大的方向来看，思编的方法有发散思维和聚合思维。发散思维重在求异，要找出一个问题的多种解法，围绕一个问题向四周（各个方面）思考。聚合思维重 在求同，它要找出不同事事物的共性，进行概括和总结。我们都知道思考的重要性，却少有人愿意花时间去练习。就像打球一下，光看不练是成不了高手的。比如要 训练发散思维，我们可以通过链式线性和辐射立体型发散思维进行。前者如，和平－和平鸽－&#8230;－战争，以前后相接的方式进行。后者如，大海－波涛－海风－ 海鸟－海盗－财宝，都围绕一个主题进行。</p>
<p>我们现在一直在强调创意、创新。上海南京路上有几个大字－“创新，是一个民族进步的灵魂”。很多人都存在一个误解，就是，创意是来自脑子突然一下闪 出的火花，这一切就是一瞬间的事。创意确实是实然闪出的火花，但这火花是有酝酿的过程的。我们用一个极端的例子来帮我们思考，就是，一个唐朝的农民是不会 有一个关于计算机的创意的。创意的产生要有知识的储备，要有广阔的知识面和经验积累。知识面是重要的一点，不同领域的知识的碰撞，往往能产生意想不到的效 果。在寻找创意的时，使用思维导图能取得很好的效果，把创意的主题画在中间，然后思维相四周发散，很快我们就可以看到，我们的思维延伸到了不同的多个领域 中。在思维导图的叶子结点上，我们可以看到一些初步的解决方案。关于创意，有几个步骤：<br />
1.充分占有资料。与思考的主题相关的东西，可以看到别人 是怎么想的。<br />
2.分析资料。用聚合思维找到这种好的东西的共性，从而站在更高的抽象层面上来审视自己的问题。<br />
3.酝酿。反复地思考问题， 使用发散的思维来寻找问题的解。<br />
4.豁朗。上一个过程的结果，经过长时间的反复思考，遇到外部刺激，联系起大脑中的各种信息，找到解决问题的关 键。<br />
5.验证。</p>
<p>另外，有些简单的方法可以帮助我们得到创意或是找到问题的关键所在。<br />
换个角度。利用外国人、聋子、瞎子、小孩、老人&#8230;..的眼光来看一 个事物，会看到不一样的东西，把这种东西记录下来。<br />
换个词。把描述问题的话写下来，试着更改其中一个词。如把“是”改成“不是”，把“好”改成 “坏”，把“你”改成“我”&#8230;&#8230;<br />
《你的灯还亮着吗？》里面讲到了这两个方法。</p>
<p>还可以，加一加，减一减，扩一扩，变一变，缩一缩，联一联，改一改，学一学，代一代，搬一搬，反一反，组一组。</p>
<p>大脑那强大，我们要用起来~</p>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/thoughts-about-thinking-668.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SESC Tutorial &#8211; 3. Prepare for Hacking</title>
		<link>http://manio.org/sesc-tutorial-3-prepare-for-hacking-621.html</link>
		<comments>http://manio.org/sesc-tutorial-3-prepare-for-hacking-621.html#comments</comments>
		<pubDate>Tue, 08 Jun 2010 09:26:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SESC Tutorial]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[computer architecture]]></category>
		<category><![CDATA[heterogeneous]]></category>
		<category><![CDATA[Jose Renau]]></category>
		<category><![CDATA[MPSoC]]></category>
		<category><![CDATA[parallel computing]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[sesc]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[uiuc]]></category>

		<guid isPermaLink="false">http://manio.org/?p=621</guid>
		<description><![CDATA[This chapter introduces you some tips to understand SESC. If you want to modify SESC for your research, this might be a good start.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="../category/computer-science/sesc-tutorial" target="_blank">http://manio.org/category/computer-science/sesc-tutorial</a></p>
<p style="text-align: center;">Written by <strong>Jun He</strong> (jhe24(at)iit.edu), June 2010.</p>
<p>This chapter introduces you some tips to understand SESC. If you want to modify SESC for your research, this might be a good start.</p>
<h3>Index</h3>
<ol>
<li><a href="#resources-for-learning-sesc">Resources for learning SESC</a></li>
<li><a href="#how-to-learn-sesc">How to Learn SESC?</a></li>
<li><a href="#pre-knowledge-for-hacking-sesc">Pre-knowledge for Hacking SESC</a></li>
<li><a href="#how-to-understand-sesc-and-start-hacking">How to Understand SESC and Start Hacking</a></li>
<li><a href="#the-illustration-of-sesc-source-code-tree">The Illustration of SESC Source Code Tree (mind map)</a></li>
<li><a href="#how-to-configure-a-heterogeneous-mpsoc">How to configure a heterogeneous MPSoC</a></li>
</ol>
<p><a name="resources-for-learning-sesc"></a></p>
<h3>Resources for learning SESC</h3>
<ul>
<li><a href="http://sesc.sourceforge.net/index.html" target="_blank">SESC website</a></li>
<li><strong><a href="http://sesc.sourceforge.net/sescdoc.pdf" target="_blank">sescdoc from SESC website</a></strong>, very very important for SESC hackers.</li>
<li><a href="http://sesc.sourceforge.net/slide1.pdf" target="_blank">slide1.pdf from SESC website</a></li>
<li><a href="https://lists.soe.ucsc.edu/mailman/listinfo/sesc" target="_blank">SESC maillist</a></li>
<li>README.xxx in src/docs</li>
<li>README in src subdirs</li>
<li>Comments in source files</li>
<li>The codes</li>
<li><a href="http://www.grid-appliance.org/wiki/index.php/Archer:SESC" target="_blank">Another howto for installing SESC</a></li>
</ul>
<h3><a name="how-to-learn-sesc"></a>How to Learn SESC?</h3>
<ol>
<li>Add http://sesc.sourceforge.net to your bookmark</li>
<li>Subscribe to sesc-news@lists.sourceforge.net</li>
<li>Read all the files in doc directory</li>
<li>See the ./src/main.cpp example</li>
<li>Understand the callbacks (DInst.h is easy)</li>
<li>Understand the configuration files (*.conf)</li>
</ol>
<p><em>From slide1.pdf</em> If someone wants to read the source codes of SESC, I think he/she should start from src/libcore/main.cpp Another tutorial is in the<strong> README.hacker</strong> in the src/<em>docs</em>. <strong>It&#39;s very important for SESC hackers.</strong> <strong> </strong></p>
<h3><a name="pre-knowledge-for-hacking-sesc"></a>Pre-knowledge for Hacking SESC</h3>
<p>Get a <strong>thick book on computer architecture</strong> on hand. <strong>Wikipedia</strong> and <strong>Google</strong> every unkown term you see.</p>
<h3><a name="how-to-understand-sesc-and-start-hacking"></a>How to Understand SESC and Start Hacking</h3>
<p>The booting of SESC/the main() of SESC. This is a wonderful demonstration of SESC or any simulator system. The whole system is OOPed. Every part in a real architecture is represented as an object in C++. If we want to change something, just change the according object.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> argc, <span style="color: #0000ff;">char</span> <span style="color: #000040;">**</span>argv, <span style="color: #0000ff;">char</span> <span style="color: #000040;">**</span>envp<span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span>
    DummyMemorySystem <span style="color: #000040;">*</span>cm<span style="color: #008000;">&#91;</span>NPROC<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
    MyProc <span style="color: #000040;">*</span>core<span style="color: #008000;">&#91;</span>NPROC<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
    osSim <span style="color: #000080;">=</span> <span style="color: #0000dd;">new</span> OSSim<span style="color: #008000;">&#40;</span>argc, argv, envp<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span>Pid_t i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i <span style="color: #000080;">&gt;</span> NPROC<span style="color: #008080;">;</span> i <span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span>
        cm<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span> <span style="color: #000080;">=</span> <span style="color: #0000dd;">new</span> DummyMemorySystem<span style="color: #008000;">&#40;</span>i<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
        core<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span> <span style="color: #000080;">=</span> <span style="color: #0000dd;">new</span> MyProc<span style="color: #008000;">&#40;</span>cm<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span>, i<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
    <span style="color: #008000;">&#125;</span>
    osSim<span style="color: #000040;">-</span><span style="color: #000080;">&gt;</span>boot<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
    <span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i <span style="color: #000080;">&lt;</span> NPROC<span style="color: #008080;">;</span> i <span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span>
        <span style="color: #0000dd;">delete</span> core<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
        <span style="color: #0000dd;">delete</span> cm<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
    <span style="color: #008000;">&#125;</span>
    <span style="color: #0000dd;">delete</span> osSim<span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>from slide1.pdf The real code is in the src/libcore/main.cpp</p>
<h3><a name="the-illustration-of-sesc-source-code-tree"></a>The Illustration of SESC Source Code Tree (mind map)</h3>
<p><a href="http://manio.org/wp-content/uploads/2010/06/IMG_0648.jpg"><img alt="" class="alignnone size-medium wp-image-633" height="375" src="http://manio.org/wp-content/uploads/2010/06/IMG_0648-500x375.jpg" title="IMG_0648" width="500" /></a></p>
<h3><a name="how-to-configure-a-heterogeneous-mpsoc"></a>How to configure a heterogeneous MPSoC</h3>
<p>refer to <a href="https://lists.soe.ucsc.edu/pipermail/sesc/2007-February/000175.html">https://lists.soe.ucsc.edu/pipermail/sesc/2007-February/000175.html</a> Also refer to a UCLA student&#39;s research progress using sesc: <a href="http://www.cs.ucla.edu/honors/UPLOADS/2006-07/salzman/progress.txt" target="_blank">http://www.cs.ucla.edu/honors/UPLOADS/2006-07/salzman/progress.txt</a>. It might give you some hints.</p>
<h3>To be continued&hellip;</h3>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/sesc-tutorial-3-prepare-for-hacking-621.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SESC Tutorial &#8211; 2. Run HelloWorld</title>
		<link>http://manio.org/sesc-tutorial-2-run-helloworld-600.html</link>
		<comments>http://manio.org/sesc-tutorial-2-run-helloworld-600.html#comments</comments>
		<pubDate>Tue, 08 Jun 2010 05:40:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SESC Tutorial]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[computer architecture]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Jose Renau]]></category>
		<category><![CDATA[parallel computing]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[sesc]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[uiuc]]></category>

		<guid isPermaLink="false">http://manio.org/?p=600</guid>
		<description><![CDATA[In this chapter, we compile and run the first program on SESC. After that, we can get a report from SESC.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://manio.org/category/computer-science/sesc-tutorial" target="_blank">http://manio.org/category/computer-science/sesc-tutorial</a></p>
<p style="text-align: center;">Written by <strong>Jun He</strong> (jhe24(at)iit.edu), June 2010.</p>
<p>In this chapter, we compile and run the first program on SESC. After that, we can get a report from SESC and check the performance.</p>
<h3>Index</h3>
<ol>
<li><a href="#how-to-setup-building-environment">How to Setup Building Environment</a></li>
<li><a href="#how-to-compile-a-program-and-run-it-on-SESC">How to compile a program and run it on SESC</a></li>
<li><a href="#how-to-run-multi-thread-program">How to run multi-thread program</a></li>
<li><a href="#how-to-visualize-the-report-file">How to visualize the report file</a></li>
</ol>
<p><a name="how-to-setup-building-environment"></a></p>
<h3>How to Setup Building Environment</h3>
<ol>
<li>$vim setupSescEnvironment</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">set</span> +h
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>sescutils<span style="color: #000000; font-weight: bold;">/</span>install<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>sesc-build:<span style="color: #007800;">$PATH</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Setup Finished!&quot;</span></pre></div></div>

<li>$source setupSescEnvironment</li>
</ol>
<h3><a name="how-to-compile-a-program-and-run-it-on-SESC"></a>How to compile a program and run it on SESC</h3>
<ol>
<li>$vim hellosesc.c</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">#include &lt;stdio.h&gt;</p>
<p>int main()<br />
{<br />
printf(&#8220;hello sesc\n&#8221;);<br />
return 0;<br />
}</td>
</tr>
</tbody>
</table>
<li>Compile hellosesc.c by mips gcc<br />
$mipseb-linux-gcc hellosesc.c</li>
<p>ERROR</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">/home/manio/sescutils/install/lib/gcc/mipseb-linux/3.4.4/../../../../mipseb-linux/bin/ld:   /home/manio/sescutils/install/lib/gcc/mipseb-linux/3.4.4/crtend.o: warning:   linking PIC files with non-PIC files</p>
<p>/home/manio/sescutils/install/lib/gcc/mipseb-linux/3.4.4/../../../../mipseb-linux/bin/ld:   /home/manio/sescutils/install/lib/gcc/mipseb-linux/3.4.4/../../../../mipseb-linux/lib/crtn.o:   warning: linking PIC files with non-PIC files</td>
</tr>
</tbody>
</table>
<p><em>Note: This is because you do not compile the .c file with the same options of glibc. So refer to the build options of glibc (</em><em>build-3-glibc) and set the gcc options as follows:</em></p>
<li>$mipseb-linux-gcc -O2 -mips2 -mabi=32 -fno-PIC -mno-abicalls hellosesc.c</li>
<li>Success built, <strong>BUT THE OUTPUT EXECUTABLE CANNOT BE RUN IN SESC!</strong></li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/sescworkdir$ <strong>sesc.tst -h0&#215;800000   -c../esesc/confs/mem.conf ./a.out &lt;../esesc/tests/tt.in</strong></p>
<p><strong>ERROR</strong>: .ctors data sections not contiguous</p>
<p>Segmentation fault</td>
</tr>
</tbody>
</table>
<p>The following references can help you understand this problem.</p>
<p><strong>Reference 1:</strong></p>
<p><a href="https://lists.soe.ucsc.edu/pipermail/sesc/2008-May/000466.html" target="_blank">https://lists.soe.ucsc.edu/pipermail/sesc/2008-May/000466.html</a></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">When you compile you need to use &#8220;-static -Wa,-non_shared&#8221;<br />
Also, when you link, make sure that all the sections are continues.<br />
You can do it<br />
adding this option to the linking process.<br />
-Wl,&#8211;script=$(XTOOLSPREFIX)/mipseb-linux/lib/ldscripts/mint.x,-static</td>
</tr>
</tbody>
</table>
<p><strong>Reference 2</strong></p>
<p><a href="https://lists.soe.ucsc.edu/pipermail/sesc/2007-October/000329.html" target="_blank">https://lists.soe.ucsc.edu/pipermail/sesc/2007-October/000329.html</a></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">I am not sure about the reason for the problem. My guess is that<br />
SESC/MINT interface<br />
requires continuous data sections (.bss,.data.text&#8230;.). Your program<br />
may have very large<br />
static data allocation and gcc may decide not to have continuous<br />
sections.<br />
If you use the &#8220;mipseb-linux-readelf -S foo&#8221; command where foo is<br />
your binary, it will<br />
tell you the sections.<br />
If you look at the mint.x file from gcc, it shows how to change it.<br />
Maybe your program<br />
uses some section not addressed on mint.x.</td>
</tr>
</tbody>
</table>
<p><strong>Reference 3</strong></p>
<p><a href="https://lists.soe.ucsc.edu/pipermail/sesc/2007-October/000328.html" target="_blank">https://lists.soe.ucsc.edu/pipermail/sesc/2007-October/000328.html</a></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">/usr/local/bin/mipseb-linux-g++ -mips2 -mno-abicalls -mabi=32 -mtune=r6000<br />
-msplit-addresses -I. -Wa,-non_shared -I.<br />
-I/usr/local/mipseb-linux/include/c++/3.2<br />
-I/usr/local/mipseb-linux/include/c++/3.2/backward<br />
-I/usr/local/mipseb-linux/include/c++/3.2/mips-linux-gnu -static  SOURCE<br />
FILES HERE -o test -Wl,&#8211;script=/usr/local/mipseb-linux/lib/ldscripts/mint.x</td>
</tr>
</tbody>
</table>
<li><strong>SOLUTION</strong></li>
<p>mint.x should be used to link the objects.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/sescworkdir$   mipseb-linux-gcc -mips2 -mabi=32 -static -Wa,-non_shared -mno-abicalls   -Wl,&#8211;script=/home/manio/sescutils/install/mipseb-linux/lib/ldscripts/mint.x,-static   hellosesc.c -o hellosesc.6</p>
<p>manio@jun-desktop:~/sescworkdir$</td>
</tr>
</tbody>
</table>
<p>In this solution, gcc passes some options to the linker(ld) by -Wl.</p>
<p><strong>-Wl,option</strong></p>
<p>Pass option as an option to the linker.  If option contains commas, it is split into multiple options at the commas.</p>
<p><strong>&#8211;script=scriptfile</strong></p>
<p>Use  scriptfile as the linker script.  This script replaces ld’s default linker script (rather than adding            to it), so commandfile must specify everything necessary to describe the  output  file.     If  scriptfile does not exist in the current directory, &#8220;ld&#8221; looks for it in the directories specified by any preceding -L options.  Multiple -T options accumulate.</p>
<p><strong>-static</strong></p>
<p>Do not link against shared libraries.  This is only meaningful on platforms for which shared libraries are supported.  The different variants of this option are for compatibility with various systems.  You may use this  option  multiple times on the command line: it affects library searching for -l options which follow it. This option also implies &#8211;unresolved-symbols=report-all.  This option  can  be  used  with  -shared. Doing  so  means  that a shared library is being created but that all of the library’s external references must be resolved by pulling in entries from static libraries.</ol>
<h3><a name="how-to-run-multi-thread-program"></a>How to run multi-thread program</h3>
<ol>
<li>$cd $HOME/esesc/src/libapp</li>
<li>add #include &lt;stdint.h&gt; to sescapi.h</li>
<li>create object of sesc_thread.c</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/esesc/src/libapp$   mipseb-linux-gcc -g -mips2 -mabi=32 -Wa,-non_shared -mno-abicalls -c -o   sesc_thread.o sesc_thread.c</td>
</tr>
</tbody>
</table>
<li>build executable. Please note: we should use mint.x, which is the elf for sesc mips.</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/esesc/src/libapp$   mipseb-linux-gcc -o hello.sesc hello.c -g -mips2 -mabi=32 -Wa,-non_shared   -mno-abicalls sesc_thread.o -static   -Wl,&#8211;script=/home/manio/sescutils/install/mipseb-linux/lib/ldscripts/mint.x,-static</td>
</tr>
</tbody>
</table>
<li>$cd ~/sesc-build</li>
<li>run the simulator</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/sesc-build$   ./sesc.smp -c ../esesc/confs/smp.conf.hello.multithread   ../esesc/src/libapp/hello.sesc</td>
</tr>
</tbody>
</table>
<li>show the report</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/sesc-build$   ../esesc/scripts/report.pl -last</td>
</tr>
</tbody>
</table>
<p><strong>References:</strong></p>
<p><a href="https://lists.soe.ucsc.edu/pipermail/sesc/2007-October/000308.html">https://lists.soe.ucsc.edu/pipermail/sesc/2007-October/000308.html</a></p>
<p><a href="http://ce.et.tudelft.nl/%7Epepijn/doc/sesc.html">http://ce.et.tudelft.nl/~pepijn/doc/sesc.html</a></ol>
<h3><a name="how-to-visualize-the-report-file"></a>How to visualize the report file</h3>
<p>Each line of the report file is consisted of:</p>
<p>Object which generated the data: field1 = value1: field2 = value2</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/sesc-build$   ../esesc/scripts/report.pl sesc_hellosesc.6.uJN6k3</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/sesc-tutorial-2-run-helloworld-600.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SESC Tutorial &#8211; 1. Install Whole SESC Step by Step</title>
		<link>http://manio.org/sesc-tutorial-1-instaall-whole-sesc-step-by-step-577.html</link>
		<comments>http://manio.org/sesc-tutorial-1-instaall-whole-sesc-step-by-step-577.html#comments</comments>
		<pubDate>Mon, 07 Jun 2010 16:45:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SESC Tutorial]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[computer architecture]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Jose Renau]]></category>
		<category><![CDATA[parallel computing]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[sesc]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[uiuc]]></category>

		<guid isPermaLink="false">http://manio.org/?p=577</guid>
		<description><![CDATA[SESC is good. But after so many years, there are still few documents.  Researchers are often dragged by some tiny troubles. The research can really start, once they can run the hello world. This tutorial aims to reduce the time spending on setuping the evnironment. It lets the researchers pass the tedious evironment setuping process and get down to the exciting researches as soon as possible.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://manio.org/category/computer-science/sesc-tutorial" target="_blank">http://manio.org/category/computer-science/sesc-tutorial</a></p>
<p style="text-align: center;">Written by <strong>Jun He</strong> (jhe24(at)iit.edu), June 2010.</p>
<p>SESC is good. But after so many years, there are still few documents.  Researchers are often dragged by some tiny troubles. The research can really start, after they can run the hello world. This tutorial aims to reduce the time spending on setuping the evnironment. It lets the researchers pass the tedious evironment setuping process and get down to the exciting researches as soon as possible.</p>
<p>This tutorial is written by <strong>Jun He</strong>. His e-mail is jhe24(AT)iit.edu. His homepage is <a href="http://manio.org" target="_blank">http://manio.org</a>. There may be some mistakes in this tutorial. Comments are appreciated. Also, <strong>I&#8217;ll be very glad if someone wants to work on this tutorial with me.</strong></p>
<p>In this tutorial, I also list the errors which might encounter, so the readers can find out what to do when they do something wrong.  The errors make the reader know more about SESC.</p>
<h2>Index</h2>
<ol>
<li><a href="#what-s-sesc">What&#8217;s SESC?</a></li>
<li><a href="#my-working-environment">My Working Environment</a></li>
<li><a href="#how-to-install-gcc34">How to Install Old GCC3.4 by deb package in Ubuntu 8.04</a></li>
<li><a href="#how-to-build-sese-utils">How to build SESC utils</a></li>
<li><a href="#how-to-build-sesc-source-code">How to Build SESC source code</a></li>
</ol>
<p><a name="what-s-sesc"></a></p>
<h3>What’s SESC ?</h3>
<p>Homepage: <a href="http://sesc.sourceforge.net/index.html">http://sesc.sourceforge.net/index.html</a></p>
<p><strong>SESC</strong> is a cycle accurate architectural simulator. It models a very wide set of architectures: single processors, CMPs, PIMs, and thread level speculation.</p>
<p>SESC started as the pet project of <a href="http://www.soe.ucsc.edu/%7Erenau">Jose Renau</a> while doing             his PhD at Urbana-Champaign in the <a href="http://iacoma.cs.uiuc.edu/">IACOMA             group</a>. Currently, he is a new faculty at <a href="http://www.soe.ucsc.edu/">University of             California, Santa Cruz</a>.<br />
<a name="my-working-environment"></a></p>
<h3>My Working Environment:</h3>
<ul>
<li><strong>Ubuntu 8.04 Desktop LTS</strong> (Mine is on VMWare 7.01) Accuatlly, you can run sesc in any Linux distributions which are not too old.</li>
<li><strong>SESC</strong>: checked out in <strong>05/25/2010</strong> by cvs.</li>
<li><strong>Internet Access. </strong>If you can access internet in Linux, the process of installing will be much easier, because you can use apt-get install.</li>
<li> <strong>gcc 3.4.x.</strong> Usually, this version of gcc is not installed in your OS. The way of installing this version of gcc will be introduced immediately.</li>
</ul>
<p><strong>Please follow the following howtos one by one to setup SESC.</strong></p>
<h3><a name="how-to-install-gcc34"></a>How to Install Old GCC3.4 by deb package in Ubuntu 8.04</h3>
<p><strong>Why we need a older version of gcc?</strong></p>
<p>Because the new version will cause errors, weird errors. The reason for this might be that some new features have been added to gcc 4.x, and they are not compatible with older codes. SESC were mainly developed around 2005, using gcc 3.4. If we use gcc 3.4, we’ll get the same SESC as Jose, the father of SESC.</p>
<ol>
<li>Download the following 3 deb packages from <a href="http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/">http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/</a><br />
a)         cpp-3.4_3.4.4-6ubuntu8_i386.deb (1707096 bytes<br />
b)        gcc-3.4_3.4.4-6ubuntu8_i386.deb (484408 bytes)<br />
c)        gcc-3.4-base_3.4.4-6ubuntu8_i386.deb (163028 bytes)</li>
<p><em>Note: the version number in the online archive may not match the ones above, but it’s ok. Please download only the three packages listed above, no more no less. Otherwise, you will encounter some errors. </em></p>
<li>Follow the instructions in <a href="http://ubuntuforums.org/showthread.php?t=79896">http://ubuntuforums.org/showthread.php?t=79896</a>, then you can have GCC.installed.</li>
<li>Now, if you want to install g++, you have to install them by dpkg. Because if you use GUI-double-click to install g++-3.4_3.4.6-1ubuntu2_i386, ubuntu says “libstdc++6-dev_3.4.6-1ubuntu2_i386 is needed”. But if you double click libstdc++6-dev_3.4.6-1ubuntu2_i386 first, ubuntu says “g++-3.4_3.4.6-1ubuntu2_i386 is needed”.</li>
<li>Download the tow g++ deb packages mentioned in step 3 from <a href="http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/">http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/</a></li>
<li>$sudo dpkg -i g++-3.4_3.4.6-1ubuntu2_i386.deb libstdc++6-dev_3.4.6-1ubuntu2_i386.deb</li>
<p><em>The following steps are from <a href="http://blog.sina.com.cn/s/blog_48a44f390100igad.html">http://blog.sina.com.cn/s/blog_48a44f390100igad.html</a> </em></p>
<li>After the steps above, gcc3.4 is installed in your system. So now you have two versions of gcc in you system. The default is gcc 4.4, we should change it, in order to compile source codes of SESC by gcc 3.4</li>
<li>List the all gcc you have in your system by:<br />
$ls /usr/bin/gcc* -l</li>
<li>Add options for gcc 3.4 and gcc 4.4. The version number might not match yours. If not, change yours to the correct ones.<br />
$ sudo update-alternatives &#8211;install /usr/bin/gcc gcc /usr/bin/gcc-4.2 40<br />
$ sudo update-alternatives &#8211;install /usr/bin/gcc gcc /usr/bin/gcc-3.4 30</li>
<li>Alternate to gcc 3.4

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">manio<span style="color: #000000; font-weight: bold;">@</span>jun-desktop:~<span style="color: #000000; font-weight: bold;">/</span>esesc<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libsuc$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> update-alternatives <span style="color: #660033;">--config</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">sudo</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> password <span style="color: #000000; font-weight: bold;">for</span> manio:
There are <span style="color: #000000;">2</span> alternatives <span style="color: #c20cb9; font-weight: bold;">which</span> provide <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">gcc</span><span style="color: #ff0000;">'.
Selection    Alternative
-----------------------------------------------
+        1    /usr/bin/gcc-4.2
*         2    /usr/bin/gcc-3.4
Press enter to keep the default[*], or type selection number:</span></pre></div></div>

</li>
<li>Enter 2, then gcc 3.4 will be chosen.</li>
<li>Now gcc 3.4 is successfully installed in your system. From now on, you should use the gcc 3.4 to compile SESC source code.</li>
</ol>
<h3><a name="how-to-build-sese-utils"></a>How to build SESC utils</h3>
<p><strong>What’s sescutils?</strong></p>
<p>Sescutils is a group of tools for building programs to run on SESC. These tools include gcc, gdb, glibc, etc.</p>
<p><strong>Why do we need utils in SESC?</strong></p>
<p>Actually, sescutils is a cross-compile toolchain, which is used to compile programs on PC for running on MIPS. SESC is a MIPS architecture simulator.</p>
<ol>
<li>Download the sescutils from <a href="https://sourceforge.net/project/showfiles.php?group_id=49065">https://sourceforge.net/project/showfiles.php?group_id=49065</a></li>
<li>move the package to your $HOME. My $HOME=/home/manio. In the following parts of this tutorial, I will use /home/manio directly. You should</li>
<li>$cd $HOME</li>
<li>$tar jxvf sescutils.tar.bz2</li>
<li>make /bin/sh link to /bin/bash by:</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">sudo rm /bin/sh</p>
<p>sudo ln -s /bin/bash /bin/sh</td>
</tr>
</tbody>
</table>
<p><em>Ubuntu uses dash, not bash. But the shell scripts in SESC are written by bash. So we have to change to bash.</em></p>
<li>modify file build-common in /home/manio/sescutils/build-mipseb-linux<br />
GNUSRC=$HOME/sescutils/src<br />
PREFIX=$HOME/sescutils/install<em><br />
<em>Note: GNUSRC is the position of the source codes. PREFIX is the position where the sescutils binary files will be installed to.</em></em></li>
<li>$cd $HOME/sescutils/build-mipseb-linux</li>
<li>$./build-1-binutils.<em><br />
error</em></li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">gcc -W -Wall -Wstrict-prototypes   -Wmissing-prototypes -g -O2 -o ar arparse.o arlex.o ar.o not-ranlib.o arsup.o   rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a   ../libiberty/libiberty.a ./../intl/libintl.a</p>
<p>arlex.o: In function `main&#8217;:</p>
<p>/home/manio/sescutils/build-mipseb-linux/obj/binutils-build/binutils/arlex.c:1:   multiple definition of `main&#8217;</p>
<p>arparse.o:/home/manio/sescutils/build-mipseb-linux/obj/binutils-build/binutils/arparse.c:1:   first defined here</p>
<p>ar.o: In function `main&#8217;:</p>
<p>/home/manio/sescutils/src/binutils/binutils/ar.c:342:   multiple definition of `main&#8217;</p>
<p>arparse.o:/home/manio/sescutils/build-mipseb-linux/obj/binutils-build/binutils/arparse.c:1:   first defined here</p>
<p>bucomm.o: In function `make_tempname&#8217;:</p>
<p>/home/manio/sescutils/src/binutils/binutils/bucomm.c:425:   warning: the use of `mktemp&#8217; is dangerous, better use `mkstemp&#8217; or `mkdtemp&#8217;</p>
<p>ar.o: In function `mri_emul&#8217;:</td>
</tr>
</tbody>
</table>
<p><em><em>Note: These errors are caused by the missing of bison and flex, which are used to parse the codes. So, we install them in the following steps. Before installing, make sure you can access the internet.</em></em></p>
<li>Install bison<br />
$sudo apt-get install bison</li>
<li>$./build-1-binutils. Same error with 3</li>
<li>$sudo apt-get install flex</li>
<li>./build-1-binutils<br />
Success</li>
<li>$./build-2-gcc-core<em><br />
<em>Note: if you use gcc <strong>4.x</strong> to compile sescutils, you will meet this error. To solve this problem, change to gcc3.4 by following the<a href="#how-to-install-gcc34"> How to Install old gcc3.4 by deb in Ubuntu 8.04.</a></em></em></li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">gcc -c     -g -O2 -DIN_GCC -DCROSS_COMPILE    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -pedantic -Wno-long-long    -Wno-error  -DHAVE_CONFIG_H    -I. -I.   -I/home/manio/sescutils/src/gcc-3.4/gcc/gcc   -I/home/manio/sescutils/src/gcc-3.4/gcc/gcc/.   -I/home/manio/sescutils/src/gcc-3.4/gcc/gcc/../include  c-parse.c -o c-parse.o</p>
<p>gcc: c-parse.c: No such file or directory</p>
<p>gcc: no input files</p>
<p>make[1]: *** [c-parse.o] Error 1</p>
<p>make[1]: Leaving directory   `/home/manio/sescutils/build-mipseb-linux/obj/gcc-core-build/gcc&#8217;</p>
<p>make: *** [all-gcc] Error 2</td>
</tr>
</tbody>
</table>
<li>$./build-3-glibc</li>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@jun-desktop:~/sescutils/build-mipseb-linux$   ./build-3-glibc</p>
<p>checking build system type&#8230; Invalid   configuration `unknown-linux&#8217;: machine `unknown&#8217; not recognized</p>
<p>configure: error: /bin/sh   /home/manio/sescutils/src/glibc-2.3.2/scripts/config.sub   unknown-linux failed</p>
<p>make: *** No rule to make target   `all&#8217;.  Stop.</td>
</tr>
</tbody>
</table>
<p><em>Note: This error is caused by the wrong value of BUILD in<em> build-common </em>file. The <em>uname –p </em>command cannot output the right version of the building system, i.e. your PC.<br />
To correct this problem, simply change the value of BUILD to “i686-pc-linux-gnu”. By the way, there is another value, <em>host</em>, which is the platform in which you want to run your compiled glibc. The target system is the platform in which you will run your program with glibc.<br />
The typical toolchain is: build=your pc, host=your pc, target=arm/mips…</em></p>
<li>$./build-3-glibc<br />
Success.</li>
<li>$./build-4-gcc<br />
Success</li>
<li>$./build-5-gdb</li>
<p>ERROR</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">checking for wctype&#8230; yes</p>
<p>checking for library containing   gethostbyname&#8230; none required</p>
<p>checking for library containing   socketpair&#8230; none required</p>
<p>checking for library containing   waddstr&#8230; no</p>
<p>checking for library containing   tgetent&#8230; no</p>
<p>configure: error: no termcap library   found</p>
<p>make: *** [configure-gdb] Error 1</td>
</tr>
</tbody>
</table>
<p><em>Note: A lib is missing. Install it by the following steps.</em></p>
<li>$ sudo apt-get install libncurses5-dev</li>
<li>$./build-5-gdb<br />
Success.</li>
<li>Now, the sescutils is completely built. You can use it to build programs for SESC later.</li>
</ol>
<h3><a name="how-to-build-sesc-source-code"></a>How to Build SESC source code</h3>
<ol>
<li>Install CVS<br />
$sudo apt-get install cvs</li>
<li>Download SESC source code by CVS<br />
$cvs -d:pserver:anonymous@sesc.cvs.sourceforge.net:/cvsroot/sesc login<br />
<em>Note: just press Enter when password is requested.</em><br />
$cvs -z3 -d:pserver:anonymous@sesc.cvs.sourceforge.net:/cvsroot/sesc co -P sesc</li>
<li>Move the source code to $HOME/esesc</li>
<li>Read the $HOME/esesc/REAMME. It will give you some steps to install SESC.</li>
<li>$cd ~</li>
<li>$mkdir sesc-build</li>
<li>$cd sesc-build</li>
<li>$../esesc/configure<br />
Note: if you download SESC in Windows, you will meet the following error.<br />
ERROR: elif unexpected…<br />
REASON: cannot use DOS text format in Linux<br />
SOLVE: open configure by vim, :set ff=unix</li>
<li>$sudo apt-get install binutils<br />
Note: this binutils is for building SESC source code. The binutils in sescutils is for building programs running on SESC.</li>
<li>$make<br />
ERROR: USHRT_CHAR undefined<br />
SOLUTION: include limits.h file in esesc/src/libcore/FetchEngine.cpp file. Add<br />
#include &lt;limits.h&gt;</li>
<li>$make<br />
ERROR:<br />
/home/manio/SESC/build/../esesc/src/libmint/subst.cpp:52:26: error: linux/dirent.h: No such file or directory<br />
SOLUTION:<br />
- Do not include linux/dirent.h, use dirent.h instead</li>
<li>$make<br />
ERROR‘uint32_t’ was not declared in this scope<br />
SOLUTION: add #include &lt;stdint.h&gt; wherever you see this error.<br />
Reference:<br />
<em><a href="http://www1.cs.columbia.edu/%7Eyoungjin/discus/messages/54/59.html?1259617974">http://www1.cs.columbia.edu/~youngjin/discus/messages/54/59.html?1259617974</a><br />
Hi Alejandro,</em><em>It maybe caused by the strictness of the C compiler provided in Ubuntu 9.10.<br />
(I had almost the same thing with 9.10.)</em><em>As you mentioned, please try to include the<br />
following statement anytime you have the above-mentioned error:<br />
#include &lt;stdint.h&gt; </em></li>
<li>$make<br />
ERROR: &#8220;/usr/bin/ld: cannot find -lz&#8221;<br />
SOLUTION: sudo apt-get install zlib1g-dev</li>
<li>SUCCESS</li>
<li>Test installation:<br />
$make testsim</li>
<p>Output</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="568" valign="top">manio@ubuntu:~/SESC/build$ make testsim</p>
<p>make[1]: `sesc.mem&#8217; is up to date.</p>
<p>Generating sesc.conf from:   /home/manio/SESC/build/../esesc/confs/mem.conf</p>
<p>cp   /home/manio/SESC/build/../esesc/confs/mem.conf sesc.conf</p>
<p>cp   /home/manio/SESC/build/../esesc/confs/shared.conf .</p>
<p>./sesc.mem -h0&#215;800000 -csesc.conf   /home/manio/SESC/build/../esesc/tests/crafty &lt;   /home/manio/SESC/build/../esesc/tests/tt.in</p>
<p>static[0x1008db40-0x101b3dd4]   heap[0x101b4000-0x109b4000] stack[0x109b4000-0x111ac000] -&gt; [0x41000000-0x4211e4c0]</p>
<p>Crafty v14.3</p>
<p>sesc_simulation_mark 0 (simulated)   @30176641</p>
<p>White(1): sesc_simulation_mark 1   (simulated) @30225840</p>
<p>White(1): pondering disabled.</p>
<p>sesc_simulation_mark 2 (simulated)   @30299339</p>
<p>White(1): noise level set to 0.</p>
<p>sesc_simulation_mark 3 (simulated)   @30321649</p>
<p>White(1): search time set to 99999.00.</p>
<p>sesc_simulation_mark 4 (simulated)   @30423769</p>
<p>White(1): verbosity set to 5.</p>
<p>sesc_simulation_mark 5 (simulated)   @30449198</p>
<p>White(1): sesc_simulation_mark 6   (simulated) @30751014</p>
<p>White(1): search depth set to 2.</p>
<p>sesc_simulation_mark 7 (simulated)   @30767155</p>
<p>White(1):</p>
<p>clearing hash tables</p>
<p>depth   time    score   variation (1)</p>
<p>1   ###.##    -0.67   axb5 c6xb5</p>
<p>1   ###.##    -0.08   a4a5</p>
<p>sesc_simulation_mark 8 (simulated)   @33091197</p>
<p>1-&gt; ###.##  -0.08   a4a5</p>
<p>2   ###.##       &#8211;   a4a5</p>
<p>2   ###.##    -0.65   a4a5 f6f5</p>
<p>2   ###.##    -0.58   axb5 c6xb5 Ne4c5</p>
<p>2   ###.##    -0.46   Rf1c1 f6f5</p>
<p>2   ###.##    -0.43   Ra1c1 f6f5</p>
<p>sesc_simulation_mark 9 (simulated) @37838384</p>
<p>2-&gt; ###.##  -0.43     Ra1c1 f6f5</p>
<p>time:###  cpu:###    mat:-1  n:833  nps: ####</p>
<p>ext-&gt; checks:18 recaps:4   pawns:0 1rep:6</p>
<p>predicted:0  nodes:833    evals:372</p>
<p>endgame tablebase-&gt; probes done:   0  successful: 0</p>
<p>hashing-&gt; trans/ref:17%  pawn:83%    used:w0% b0%</p>
<p>White(1): Ra1c1</p>
<p>time used: ###.##</p>
<p>sesc_simulation_mark 10 (simulated)   @38879583</p>
<p><strong>Black(1):   execution complete.</strong></td>
</tr>
</tbody>
</table>
</ol>
<p><a href="http://www.grid-appliance.org/wiki/index.php/Archer:SESC" target="_blank">Here </a>is another howto for installing SESC, by Girish Venkatasubramanian.</p>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/sesc-tutorial-1-instaall-whole-sesc-step-by-step-577.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>朱一宁的南极故事</title>
		<link>http://manio.org/zu-yining-s-antarctic-story-556.html</link>
		<comments>http://manio.org/zu-yining-s-antarctic-story-556.html#comments</comments>
		<pubDate>Sat, 29 May 2010 01:34:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Environmental]]></category>
		<category><![CDATA[上海交大]]></category>
		<category><![CDATA[全球变暖]]></category>
		<category><![CDATA[南极]]></category>
		<category><![CDATA[戈尔]]></category>
		<category><![CDATA[探险]]></category>
		<category><![CDATA[朱一宁]]></category>
		<category><![CDATA[环保]]></category>
		<category><![CDATA[科学]]></category>

		<guid isPermaLink="false">http://manio.org/?p=556</guid>
		<description><![CDATA[2009年的时候，朱一宁作为从全球选出几十个young leaders的入选了2041南极探险活动，跟随多个国家朋友去了南极十几天。2041的创始人是 Robert Swan，他认为解决环境问题要靠青年人，他们承载着地球的未来，他希望去了南极的这些年轻人能把环保的理念带回他们自己的国家，带给他们身边的朋友。]]></description>
			<content:encoded><![CDATA[<p>昨天中午去东楼睡觉(没睡着)，看到晚上一人要来说南极的事，就去了。</p>
<p>那人叫朱一宁，现在是上海交大大三的学生（话说我对上交是很有感情的）。2009年的时候，朱一宁作为从全球选出几十个young leaders的入选了2041南极探险活动，跟随多个国家朋友去了南极十几天。2041的创始人是Robert Swan，他认为解决环境问题要靠青年人，他们承载着地球的未来，他希望去了南极的这些年轻人能把环保的理念带回他们自己的国家，带给他们身边的朋友。</p>
<p>演讲还行，只是其中夹杂着励志的内容，让我这个老年人在一群大一大二的学生中间显示特别的忸怩。</p>
<p>演讲完了有个同志起来问，郞咸平说Global Warming是发达国家要骗咱钱的，别信，你怎么看这个问题。（关于全球变暖的争议，<a href="http://manio.org/global-warming-science-politics-economy-58.html" target="_blank">这里</a>有我写的另一篇文章）朱一宁完全回避了这个问题，给了一个完全不着边的答案。这有什么好回避的！现在这个问题存在争议，但是全球变暖的理论，只要有百分之一的概率是如戈尔所说的那样是对的，我们就不应该掉以轻心。小心<a href="http://zh.wikipedia.org/zh/%E6%91%A9%E8%8F%B2%E5%AE%9A%E7%90%86" target="_blank">墨菲法则</a>！</p>
<p>在<a href="http://www.2041.com/" target="_blank">http://www.2041.com/</a>上有他们探险的视频，南极很漂亮。关于为什么叫2041，网站上也有介绍。</p>
<p>下面上PP，新买的相机~</p>
<p><img title="gallery order=&quot;DESC&quot;  columns=&quot;2&quot;" src="../wp-includes/js/tinymce/plugins/wpgallery/img/t.gif" alt="" /><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0185.jpg"><img class="alignnone size-medium wp-image-558" title="IMG_0185" src="http://manio.org/wp-content/uploads/2010/05/IMG_0185-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>在放2041的宣传片</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0189.jpg"><img class="alignnone size-medium wp-image-567" title="IMG_0189" src="http://manio.org/wp-content/uploads/2010/05/IMG_0189-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>后来做了个调查，百分之八九十是大一大二的学生</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0203.jpg"><img class="alignnone size-medium wp-image-559" title="IMG_0203" src="http://manio.org/wp-content/uploads/2010/05/IMG_0203-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0207.jpg"><img class="alignnone size-medium wp-image-569" title="IMG_0207" src="http://manio.org/wp-content/uploads/2010/05/IMG_0207-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>红眼</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0212.jpg"><img class="alignnone size-medium wp-image-561" title="IMG_0212" src="http://manio.org/wp-content/uploads/2010/05/IMG_0212-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>他的实践经历。</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0219.jpg"><img class="alignnone size-medium wp-image-560" title="IMG_0219" src="http://manio.org/wp-content/uploads/2010/05/IMG_0219-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>上海到南极路线图</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0228.jpg"><img class="alignnone size-medium wp-image-562" title="IMG_0228" src="http://manio.org/wp-content/uploads/2010/05/IMG_0228-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>他到了长城站</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0236.jpg"><img class="alignnone size-medium wp-image-568" title="IMG_0236" src="http://manio.org/wp-content/uploads/2010/05/IMG_0236-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>哎，地球</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0239.jpg"><img class="alignnone size-medium wp-image-564" title="IMG_0239" src="http://manio.org/wp-content/uploads/2010/05/IMG_0239-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>史上最出名的地球图片。这孩子是从Al Gore那学了蛮多做PPT的东西</p>
<p><a href="http://manio.org/wp-content/uploads/2010/05/IMG_0251.jpg"><img class="alignnone size-medium wp-image-565" title="IMG_0251" src="http://manio.org/wp-content/uploads/2010/05/IMG_0251-500x375.jpg" alt="" width="500" height="375" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/zu-yining-s-antarctic-story-556.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>超级计算与湖南</title>
		<link>http://manio.org/hpc-and-hunan-533.html</link>
		<comments>http://manio.org/hpc-and-hunan-533.html#comments</comments>
		<pubDate>Tue, 18 May 2010 08:04:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[hpc]]></category>
		<category><![CDATA[parallel computing]]></category>
		<category><![CDATA[top500]]></category>
		<category><![CDATA[国防科大]]></category>
		<category><![CDATA[并行计算]]></category>
		<category><![CDATA[超级计算机]]></category>

		<guid isPermaLink="false">http://manio.org/?p=533</guid>
		<description><![CDATA[今早去听了三位国防科大的老师做的关于超级计算机的报告。吴泉源教授介绍了超算的应用。卢凯教授介绍了国防科大的天河一号（布置在天津超算中心）。天河一号在2009年11月的世界TOP500排名第5位。卢教授特别指入Hybrid Structure (如CPU+GPU)是超级机的发展趋势。宋君强教授介绍了用超算进行天气预报计算的情况。]]></description>
			<content:encoded><![CDATA[<p>今早去听了三位国防科大的老师做的关于超级计算机的报告。吴泉源教授介绍了超算的应用。卢凯教授（巨年轻 ）介绍了国防科大的天河一号（布置在天津超算中心）。天河一号在2009年11月的世界<a href="http://en.wikipedia.org/wiki/Top500" target="_blank">TOP500</a>排名第5位。卢教授特别指出Hybrid Structure (如CPU+GPU)是超级机的发展趋势。宋君强教授介绍了用超算进行天气预报计算的情况。</p>
<p>湖南超算中心将建在湖大，一期工程速度在3万亿次左右。将花掉N亿RMB来建设&#8230;</p>

<a href='http://manio.org/hpc-and-hunan-533.html/image412' title='Image412'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image412-150x150.jpg" class="attachment-thumbnail" alt="" title="Image412" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image413' title='Image413'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image413-150x150.jpg" class="attachment-thumbnail" alt="" title="Image413" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image414' title='Image414'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image414-150x150.jpg" class="attachment-thumbnail" alt="" title="Image414" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image415' title='Image415'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image415-150x150.jpg" class="attachment-thumbnail" alt="" title="Image415" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image416' title='Image416'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image416-150x150.jpg" class="attachment-thumbnail" alt="" title="Image416" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image417' title='Image417'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image417-150x150.jpg" class="attachment-thumbnail" alt="" title="Image417" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image418' title='Image418'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image418-150x150.jpg" class="attachment-thumbnail" alt="" title="Image418" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image419' title='Image419'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image419-150x150.jpg" class="attachment-thumbnail" alt="" title="Image419" /></a>
<a href='http://manio.org/hpc-and-hunan-533.html/image423' title='Image423'><img width="150" height="150" src="http://manio.org/wp-content/uploads/2010/05/Image423-150x150.jpg" class="attachment-thumbnail" alt="" title="Image423" /></a>

]]></content:encoded>
			<wfw:commentRss>http://manio.org/hpc-and-hunan-533.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>上当了！原来是人生奋斗课&#8230;</title>
		<link>http://manio.org/speech-of-fighting-by-lixinpin-495.html</link>
		<comments>http://manio.org/speech-of-fighting-by-lixinpin-495.html#comments</comments>
		<pubDate>Mon, 10 May 2010 16:46:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[人生]]></category>
		<category><![CDATA[创意]]></category>
		<category><![CDATA[十四堂人生创意课]]></category>
		<category><![CDATA[李欣频]]></category>
		<category><![CDATA[演讲]]></category>
		<category><![CDATA[阅读]]></category>

		<guid isPermaLink="false">http://manio.org/?p=495</guid>
		<description><![CDATA[这是一个不可思议的女子，19岁就让世人为之才华而惊为天人。曾为台湾文化地标——诚品书店的御用文案，被誉为华语世界“文案天后”。至今出版了 27本畅销书，其中多本书名列畅销书排行榜前列。创意励志书《十四堂人生创意课》两岸疯狂热印四十多次。《希腊：一个把全世界蓝色都用光的国家》一经出版，就在台湾地区掀起了希腊旅游的热潮。]]></description>
			<content:encoded><![CDATA[<p>听到演讲的消息才去查了李欣频（<a href="http://blog.sina.com.cn/lixinpin" target="_blank">Sina Blog</a>）这人是谁。然后就找到了类似下面的介绍：</p>
<p><em>这是一个不可思议的女子，19岁就让世人为之才华而惊为天人。曾为台湾文化地标——诚品书店的御用文案，被誉为华语世界“文案天后”。至今出版了27本畅销书，其中多本书名列畅销书排行榜前列。创意励志书《十四堂人生创意课》两岸疯狂热印四十多次。《希腊：一个把全世界蓝色都用光的国家》一经出版，就在台湾地区掀起了希腊旅游的热潮。</em></p>
<p>原以为她是来讲他的创意过程的，比如怎么想出好的点子，比如她的一些经典的点子是怎么想出来的，之类的。没想到，是一个励志演讲，并且一半的时候在给迪拜做广告，最后又要搞签售。要知道，一个老人家和一群孩子们一起听人生奋斗的豪言壮语，感觉还是颇为忸怩的。</p>
<p>但是，忸怩是忸怩，有些观点还是可以听听。</p>
<h6>梦想开屏图</h6>
<p>这是给自己不知道自己想做什么的孩子们准备的。把自己最喜欢的东西写在中间，如“文字”，把自己擅长的或想做的事写在左右两边，如“创意”，中间的和两边的某一项相加，就得到自己应该要做的事。如“文字”加“创意”就是李欣频所做的广告方案的工作，“文字”加“广告”加“旅行”就是做旅游广告。之类的。</p>
<h6>阅读</h6>
<p>这女人，平时一天读一本书，忙的时候一天三四本。怎么办到的？她说，你读多了就会读了&#8230;但她也不提倡什么都读，她提倡从有兴趣的开始读起。</p>
<p>她关于阅读的一个方法是我这次听演讲的最大的收获。她用八色笔来标注不同的内容，比如关于创意的，关于历史的，关于XX的&#8230;这样，看完一本书，就有八道知识流流入大脑。当以后写书时要找相关内容时，就到书中去找相应颜色的东西就好了。这也让我想起李敖的读书方法，他会像做剪报一样把书给剪了，然后贴到他分类好的册子里。为了避免一页纸的两面都有他要的内容，他会买两本一样的书。李欣频也提到了方文山，她说方文山整理了一本自己的写作词典，要用的时候可以去查。李欣频自己也积累了自己的词典。这些例子证明了我原来的想法，即“<strong>创意来源于知识的大量积累</strong>”。</p>
<p>对俺的启发就是：可以用八色笔来看论文。并且，得学学分类的方法。这是我一直很困扰的地方，我不知道怎么分类才好。谁能告诉我好的分类的思路？</p>
<ul>
<li>创新点用绿色</li>
<li>重点内容用青色</li>
<li>没能理解的地方用黄色</li>
<li>不足的地方（忽略了一些东西，假设了一些东西）用紫色</li>
<li>对英文论文写作有用的句子用棕色</li>
<li>待续&#8230;</li>
</ul>
<p>李老师还谈了“复式阅读/观看”，就是看一本书、一场电影、一场话剧，不只关注一个点（比如只关注主角），而是要注意到多个点，从而得到全面的信息，得到准确的评价。</p>
<h6>消费者/生产者</h6>
<p>消费者看到迪拜七星的帆船饭店的广告时，想的是“我什么时候能攒够钱去住一次啊？”生产者想的是“我怎么去开一家如此成功的酒店”。</p>
<h6>现场图片</h6>
<p><a rel="attachment  wp-att-500" href="http://manio.org/speech-of-fighting-by-lixinpin-495.html/dsc06419"><img title="DSC06419" src="../wp-content/uploads/2010/05/DSC06419.jpg" alt="" width="448" height="336" /></a></p>
<p>没想到爆满。感谢新传院的美女们借椅子给我~</p>
<p><a rel="attachment wp-att-501" href="http://manio.org/speech-of-fighting-by-lixinpin-495.html/dsc06435"><img class="alignnone size-full wp-image-501" title="DSC06435" src="http://manio.org/wp-content/uploads/2010/05/DSC06435.jpg" alt="" width="448" height="336" /></a></p>
<p><a rel="attachment wp-att-502" href="http://manio.org/speech-of-fighting-by-lixinpin-495.html/dsc06477"><img class="alignnone size-full wp-image-502" title="DSC06477" src="http://manio.org/wp-content/uploads/2010/05/DSC06477.jpg" alt="" width="448" height="336" /></a></p>
<p>这个角度拍起来有点像TED的演讲。新传院的大屏还不错。</p>
<p><a rel="attachment wp-att-499" href="http://manio.org/speech-of-fighting-by-lixinpin-495.html/dsc06487"><img class="alignnone size-full wp-image-499" title="DSC06487" src="http://manio.org/wp-content/uploads/2010/05/DSC06487.jpg" alt="" width="448" height="336" /></a></p>
<p>敬爱的李老师说，18－28岁决定人的一生。呀呀个呸的，我只剩3年了。</p>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/speech-of-fighting-by-lixinpin-495.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>不能在美国的阳台上晒白菜</title>
		<link>http://manio.org/law-and-order-413.html</link>
		<comments>http://manio.org/law-and-order-413.html#comments</comments>
		<pubDate>Thu, 06 May 2010 15:13:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[I am thinking]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[value of life]]></category>
		<category><![CDATA[冲突]]></category>
		<category><![CDATA[文化]]></category>
		<category><![CDATA[法律]]></category>
		<category><![CDATA[美国]]></category>
		<category><![CDATA[马寅初]]></category>

		<guid isPermaLink="false">http://manio.org/?p=413</guid>
		<description><![CDATA[我原来总是听说中西文化的差异巨大，可是自己也没什么感受。看hollywood的电影，我觉着他们觉得对的东西我也觉得对来着，他们觉着错的我也觉得错。今天听了马老师的话，我觉着在美国我没法活了。]]></description>
			<content:encoded><![CDATA[<p>下午在豆瓣上发现晚上有个讲座，在法学院。演讲的信息如下</p>
<p>主题：法律与秩序——旅居美国见闻说事</p>
<p>主讲：马寅初 美国蒙哥马利学院 教授</p>
<p>说明一下，这个马寅初与<a href="http://en.wikipedia.org/wiki/Ma_Yinchu" target="_blank">这个马寅初</a>不是同一个人。是就见鬼了&#8230;</p>
<p>去听的动机就是想了解一下美国文化和法律，要不去了那边就一法盲，不知道什么可以做什么不可以做，就只好什么都不做。先上张图吧。</p>
<p><a rel="attachment wp-att-415" href="http://manio.org/law-and-order-413.html/image399"><img class="alignnone size-medium wp-image-415" title="Image399" src="http://manio.org/wp-content/uploads/2010/05/Image399-500x375.jpg" alt="" width="500" height="375" /></a></p>
<p>我原来总是听说中西文化的差异巨大，可是自己也没什么感受。看hollywood的电影，我觉着他们觉得对的东西我也觉得对来着，他们觉着错的我也觉得错。今天听了马老师旅居美国的见闻，我觉着在美国我没法活了。</p>
<p>开场马老师说这文化分两种，一是Culture，二是culture。这个首字母大写的Culture是the formal one，是正式的文化，法律在这个Culture之中。反正都是C(c)ulture，在法律上的冲突也算是culture crash了。</p>
<p>马老师开始讲了几个英语笑话来热场子，后来说了很多例子，有些也听过。中心思想就是，在美国做事要合法合理，而不是在中国一样合情合理就行了。</p>
<p>前面的这些例子都没让我有多大的触动，最后的他家的晒白菜的故事让我有点怕美国人了。某日，老马去超市买了蛮多东西，超市就送了他一大箱的白菜。回家他就跟老伴商量，咱这白菜怎么处理啊，他老伴就说晒好然后做腌白菜什么的吧。之后就洗好洗好放阳台上了，翌日，收到一封信（他把这信带过来给我们看了，信后面还附了一张白菜的玉照~），信上说他这白菜影响市容，而且会给社区带来健康问题，要是不收了就要告到局子里去，然后叫城管叔叔来强制收了。这把老两口给吓得，赶忙给收了。我当时就想了，这就是在咱中国，白菜算什么，我们什么没晒过，内裤、腊内、肠子，咱想怎么搞怎么搞，城管可不管这，他敢管！管了还不起民愤！话说老马有次穿旅游鞋回到家，汗太重，就放门口让鞋晒晒太阳，进门儿子就说了（用长沙话）“爸你莫搞了！要不明天信又要来了！”</p>
<p>妈的，白菜都不让晒，还让不让人活了！</p>
]]></content:encoded>
			<wfw:commentRss>http://manio.org/law-and-order-413.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
