<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-26052893</id><updated>2012-02-16T19:40:15.130-08:00</updated><title type='text'>流水不腐</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default?start-index=101&amp;max-results=100'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>741</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26052893.post-255877920879805164</id><published>2010-04-15T06:33:00.001-07:00</published><updated>2010-04-15T06:33:12.028-07:00</updated><title type='text'>[Readings]让股神巴菲特为您理财</title><content type='html'>对于我们这种理工科背景的书生来说，脑子里面只有代码和公式。看到现实社会中还有像巴菲特这么精彩的人物，心存景仰。同时，经济类的知识在实验室里面是不教的，最多你只会在一些Benchmark里面看到他们的影子。所以，对于股神的崇拜，也就只能在业余多加关注。今天看的美股评论网的一篇文章《&lt;a href="http://www.mgreview.com/archives/467"&gt;让股神巴菲特为您理财&lt;/a&gt;》，非常有收获。&lt;br&gt;&lt;br&gt;也终于知道了，巴菲特这位股神，是如何量化衡量的：&lt;br&gt; &lt;p style="margin-left: 40px;"&gt;Class A是伯克希尔-哈撒韦公司最初发行的股票。由于巴菲特坚持不拆股也不分红，加上多年的高速成长，该股的股价已经成为纽约证交所股价最高的公司，2009年 12月31日的收盘价为$99,200。10万美元的股价对于很多投资者而言太高了，降低了流动性，所以后来又发行了Class B股票。Class B的权益相当于Class A的1/30，投票权相当于Class A的1/200。2009年12月31日&lt;span&gt; &lt;/span&gt;Class B收盘价为&lt;span&gt;$ 3,289。&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-left: 40px;"&gt;在股神的打理下，伯克希尔-哈撒韦公司在过去44年间每股净资产&lt;b&gt;年均增长20.3%&lt;/b&gt;，即大约每3.7年翻一倍。即便是被称为"失去的十年 "（2000-2009），S&amp;amp;P500十年间下跌24.1%，而同时期伯克希尔-哈撒韦公司却上涨76%。下图是伯克希尔-哈撒韦公司公开上市 以来与标准普尔500指数的比较，伯克希尔-哈撒韦公司&lt;b&gt;股价上涨1067%&lt;/b&gt;，而同期标准普尔500指数只上涨195%，股神的非凡财技可见一斑。&lt;/p&gt;&lt;p style="margin-left: 40px; text-align: center;"&gt;&lt;img title="BRKA-vs-SP500.jpg" alt="BRKA-vs-SP500.jpg" src="http://www.mgreview.com/wp-content/uploads/2010/01/BRKA-vs-SP500.jpg"&gt;&lt;br&gt; &lt;/p&gt;终于在今年1月21日，&lt;a href="http://www.mgreview.com/archives/565"&gt;伯克希尔-哈撒韦实施了拆股计划&lt;/a&gt;，现在任何有$70以上的人都可以把钱交给巴菲特让股神替您理财了。&lt;br&gt;&lt;br&gt;另外，查了以后发现，身在国内，也是可以投资美股的。美股评论网也有讲美股开户攻略，当然现在我每个月只有￥1,500的温饱收入，&lt;a href="http://%E9%99%A4%E4%BB%A56.8"&gt;除以6.8&lt;/a&gt;，只有大约＄220，以&lt;a href="http://www.nyse.com/about/listed/lcddata.html?ticker=brkb"&gt;BRK.B现在的$80.89的价格&lt;/a&gt;，只能买2.7股，还不算中间&lt;a href="http://www.mgreview.com/archives/393"&gt;网络券商&lt;/a&gt;的佣金。等我有工作收入了，第一件事情会是去买BRK的股票。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-255877920879805164?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/255877920879805164/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=255877920879805164' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/255877920879805164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/255877920879805164'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/readings.html' title='[Readings]让股神巴菲特为您理财'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1001498166993341274</id><published>2010-04-14T08:13:00.001-07:00</published><updated>2010-04-14T08:13:58.171-07:00</updated><title type='text'>4.14凤凰电影台《张裕凤凰强档院线》的电影叫什么名字？</title><content type='html'>&lt;p class="sms" type="1"&gt;看了今天(4.14)凤凰电影台《张裕凤凰强档院线》的电影，一开始没注意电影名。后来发现是一部超级好的片子。讲一个美国刁蛮的贵妇和意大利渔民流落荒 岛，产生爱情，最后获救后却还是经不住现实社会的考验没能在一起。不知道电影名，万能的读者啊，你知道电影的名字是什么吗？&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1001498166993341274?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1001498166993341274/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1001498166993341274' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1001498166993341274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1001498166993341274'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/414.html' title='4.14凤凰电影台《张裕凤凰强档院线》的电影叫什么名字？'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-465068484211988968</id><published>2010-04-13T22:34:00.001-07:00</published><updated>2010-04-13T22:34:56.977-07:00</updated><title type='text'>[人物]张五常(cont.)</title><content type='html'>&lt;font style="font-family: arial,helvetica,sans-serif;" size="2"&gt;赞成！从挂钩美元到挂钩一篮子货币到挂钩美元再到挂钩一篮子物品，物品才是货币真正的用途啊！&lt;br&gt;&lt;/font&gt;&lt;font style="font-family: arial,helvetica,sans-serif;" size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;div style="margin-left: 40px; font-family: arial,helvetica,sans-serif;"&gt; &lt;font size="2"&gt;&lt;a href="http://blog.sina.com.cn/s/blog_47841af70100i2x0.html"&gt;http://blog.sina.com.cn/s/blog_47841af70100i2x0.html&lt;/a&gt;&lt;br&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;font size="2"&gt;（七）解除所有汇管，把人民币推出国际，央行当然要让人 民币的国际汇率自由浮动，但先要下一个固定的不用外币的锚。用一篮子物品的物价指数界定人民币的币值，近于万无一失，我解释过多次了。北京早就应该这样 做，把人民币推出国际，大好的机会错过一次又一次。今天的机会没有几年前或年多前那么好，但还是不错的。&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;font style="font-family: arial,helvetica,sans-serif;" size="2"&gt;&lt;br&gt;&lt;br&gt;&lt;/font&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-465068484211988968?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/465068484211988968/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=465068484211988968' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/465068484211988968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/465068484211988968'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/cont.html' title='[人物]张五常(cont.)'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7208434335161928758</id><published>2010-04-13T22:29:00.001-07:00</published><updated>2010-04-13T22:29:12.330-07:00</updated><title type='text'>[人物]张五常</title><content type='html'>在微博看到张五常教授的信息，于是到&lt;a href="http://t.sina.com.cn/n/%E5%BC%A0%E4%BA%94%E5%B8%B8"&gt;他的微博&lt;/a&gt;看了看。关于最近的汇率之争，他说：&lt;br&gt;&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;人民币兑美元上升，对中国富有的人有利，对中上阶层、买了可观房子的人有利。但数以亿计的劳苦大众呢？人民币提升他们在国际竞争中斗不过其它发展中国家。 一头被拉上一头被拉落，中国的贫富两极分化会远比今天严重。国家究竟是为了谁而改革的？ &lt;a href="http://sinaurl.cn/hHiIB" target="_blank"&gt;http://sinaurl.cn/hHiIB&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;我倒是觉得，人民币提升使得劳苦大众竞争力下降，有利有弊。经济学里面讲相对优势，我们以廉价的劳动力去换技术，这样的状况不能一直持续下去。技术要换代，必然伴随着老工人失业下岗和老企业倒闭。只是这个过程不能太快，太快了会让社会缓冲不过来。最好的办法是企业的技术进步的同时对员工技术培训，实现这种转变。对学校的教育也需要加强，提供学习新技术的途径，为社会输入有用的人才。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7208434335161928758?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7208434335161928758/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7208434335161928758' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7208434335161928758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7208434335161928758'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/blog-post_13.html' title='[人物]张五常'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7648920606359631926</id><published>2010-04-12T20:45:00.001-07:00</published><updated>2010-04-12T20:45:28.690-07:00</updated><title type='text'>牛脾气――正己而不求于人</title><content type='html'>&lt;font class="Apple-style-span" face="arial, helvetica, sans-serif"&gt;今天读到&lt;a href="http://blog.sina.com.cn/s/blog_4caedc7a0100ipn2.html?retcode=0"&gt;《跟张峥副院长读科学（七）》&lt;/a&gt;，里面举到&lt;/font&gt;&lt;span class="Apple-style-span" style="color: rgb(73, 73, 73); line-height: 21px; "&gt;&lt;font class="Apple-style-span" face="arial, helvetica, sans-serif"&gt;Wozniak的例子，有收获。&lt;/font&gt;&lt;/span&gt;&lt;div&gt; &lt;font class="Apple-style-span" color="#494949" face="arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="line-height: 21px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#494949" face="arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="line-height: 21px;"&gt;&lt;div&gt;相信每个人都被这么折磨过，而且不独咱们中国人&amp;mdash;&amp;mdash;包括本篇的主人公&amp;mdash;&amp;mdash;波兰人Piotr Wozniak还是个大学生时候，也很恼火为什么每天都有一堆看着面熟的&amp;ldquo;生&amp;rdquo;字来烦他。&amp;nbsp;&lt;/div&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#494949" face="arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="line-height: 21px;"&gt;&lt;div&gt;你会怎么办呢？当年，为了对付GRE，我曾经一口气在两个星期内背了一遍厚厚的新英汉词典，累得头昏脑胀，考完试以后，拍拍手，这些词儿就像鸟儿一样飞走了。&amp;nbsp;&lt;/div&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#494949" face="arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="line-height: 21px;"&gt;&lt;div&gt;牛人和常人不一样的地方就是有牛脾气。Woziak的直觉是他没找到记忆的方法。所以，他不厌其烦地一遍遍地背，记下什么时候去温习最有效，慢慢琢磨出一套公式，然后写程序让计算机来提醒他什么时候该温习。&lt;/div&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#494949" face="arial, helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="line-height: 21px; "&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: simsun; font-size: 14px; color: rgb(73, 73, 73); line-height: 21px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "&gt; &lt;span class="Apple-style-span" style="font-size: small;"&gt;有&lt;b&gt;牛脾气&lt;/b&gt;，去改进自己而不是去埋怨环境，这就是所谓的&amp;ldquo;正己而不求于人，则无怨&amp;rdquo;。联系到自己，最近总是觉得自己写程序进度慢，有些恼火。我应该向Woziak学习，在一件事情没做好的时候，不是去想任务有多难多折磨人，而是自己去主动调整自己，克服这个困难。&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7648920606359631926?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7648920606359631926/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7648920606359631926' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7648920606359631926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7648920606359631926'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/blog-post_12.html' title='牛脾气――正己而不求于人'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4231652223154190724</id><published>2010-04-08T22:15:00.001-07:00</published><updated>2010-04-08T22:15:47.247-07:00</updated><title type='text'>[人物]吴小莉</title><content type='html'>揭开吴小莉的财富密码 &lt;br&gt;&lt;a href="http://money.jrj.com.cn/2010/04/0616417246845.shtml"&gt;http://money.jrj.com.cn/2010/04/0616417246845.shtml&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;　　在后来的《小莉看世界》和《问答神州》等节目中，吴小莉总能采访到其他同行采访不到的高官或高管，其实，她也没什么秘诀，除了凤凰和个人的品牌影响力 之外，"不过就是锲而不舍地向对方发申请函，一次不行两次，两次不行三次。" &lt;br&gt;……&lt;br&gt;&lt;br&gt;吴小莉至今仍记得她"最得意"的一次采访。那是她刚大学毕业的前夕，成功采访到可口可乐总裁的"传奇"。  &lt;/div&gt;&lt;p style="margin-left: 40px;"&gt;　　根据辅仁大学的毕业要求，临毕业大学生需要采访一些商界名流及著名企业家之类的人物。吴小莉将她的采访人物确定为可口可乐总裁。这一具有极大挑 战性的工作使全校师生极为吃惊。但她坚持己见。 &lt;/p&gt; &lt;p style="margin-left: 40px;"&gt;　　她持续几天去公司苦等，每次都是无功而返，都是被秘书客气地拒绝了，毕竟总裁太忙。事情终于有了转机。总裁要去哈佛大学演说，时长一小时。吴小 莉虽没有很大的把握，但依然去了。 &lt;/p&gt; &lt;p style="margin-left: 40px;"&gt;　　她在拥挤的人群中终于见到了总裁，总裁对她的勇气表示佩服，便说会给她5分钟的时间。可是总裁由于演说太过投入，到了第55分钟时仍然没有结束 演说。此时吴小莉心急如焚，毕竟总裁只停留一小时，就剩5分钟了。终于，她大胆地递上了一个纸条：请您记得与一个女学生的约定。 &lt;/p&gt; &lt;p style="margin-left: 40px;"&gt;　　这一大胆的举动及追求自我权利的坚韧使总裁极为佩服，后者不仅接受了采访，而且将采访时间延长了半小时。据说，这是总裁首次接受这么长时间的独 家访谈。 &lt;/p&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4231652223154190724?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4231652223154190724/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4231652223154190724' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4231652223154190724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4231652223154190724'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/blog-post_08.html' title='[人物]吴小莉'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8018158157259373400</id><published>2010-04-05T06:39:00.001-07:00</published><updated>2010-04-05T06:39:45.712-07:00</updated><title type='text'>[札记]人民币升值</title><content type='html'>&lt;div&gt;除了矿难以外，也来关心一下人民币升值。前段时间美国威胁说是要将中国定为"汇率操纵国"，现在突然又&lt;a href="http://gb.cri.cn/27824/2010/04/05/782s2806186.htm"&gt;推迟决定&lt;/a&gt;了。&lt;/div&gt;我同意吕宁思在《&lt;a href="http://blog.ifeng.com/article/4643765.html"&gt;新闻解读：中国谈经济 美国讲政治&lt;/a&gt;》中的观点，"美国"的经济学家是为美国服务的。包括郎咸平在《&lt;a href="http://blog.sina.com.cn/s/blog_4120db8b0100hm3s.html"&gt;三大战争的新帝国主义本质&lt;/a&gt;》讲到诺贝尔经济奖得主克鲁格曼在2009年12月31日的对中国人民发表的"祝词"，也是为美国服务。&lt;div&gt; &lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8018158157259373400?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8018158157259373400/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8018158157259373400' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8018158157259373400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8018158157259373400'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/04/blog-post.html' title='[札记]人民币升值'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2567242253352381853</id><published>2010-03-30T23:38:00.001-07:00</published><updated>2010-03-30T23:38:29.044-07:00</updated><title type='text'>[Readings]How To Be A Master Public Speaker</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22px; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22px; "&gt;source: &lt;a href="http://www.forbes.com/2010/03/29/public-speaking-rules-leadership-managing-rein.html"&gt;http://www.forbes.com/2010/03/29/public-speaking-rules-leadership-managing-rein.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;Giving a speech is pointless if no one is paying attention. You need to grab your audience from the beginning by asking questions, telling stories and relying on your own speaking rather than a bunch of boring slides. If you can do those three things, then your battle is already half-won.&lt;/span&gt;&lt;div&gt; &lt;font class="Apple-style-span" face="Arial, Helvetica, sans-serif" size="4"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 22px;"&gt;-- &lt;a href="http://search.forbes.com/search/colArchiveSearch?author=shaun+and+rein&amp;amp;aname=Shaun+Rein"&gt;Shaun Rein&lt;/a&gt;&lt;br clear="all"&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt; &lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2567242253352381853?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2567242253352381853/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2567242253352381853' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2567242253352381853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2567242253352381853'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/03/readingshow-to-be-master-public-speaker.html' title='[Readings]How To Be A Master Public Speaker'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1157270541313854537</id><published>2010-03-22T23:52:00.001-07:00</published><updated>2010-03-22T23:52:15.649-07:00</updated><title type='text'>[Readings]和同学们谈谈学习数学</title><content type='html'>今天跟我弟弟讨论学习的问题，他说他学东西有的时候有点慢。我就给他举华罗庚先生的例子，自己顺带也重新读了一次华先生的《&lt;a href="http://faculty.math.tsinghua.edu.cn/%7Ejzhou/%BA%CD%CD%AC%D1%A7%C3%C7%CC%B8%CC%B8%D1%A7%CF%B0%CA%FD%D1%A7.htm"&gt;和同学们谈谈学习数学&lt;/a&gt;》。&lt;br&gt;&lt;br&gt;华先生如是说：&lt;br&gt;&lt;blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"&gt; &lt;p&gt;　　以我自己来说.我在小学里，数学勉强及格.初中一年级的时候，也不见得好.到了初&lt;br&gt;   中二年级才有了根本上的改变.因为我那时认识了这一点：学习就是艰苦的劳动，只要刻&lt;br&gt;   苦钻研，不怕困难，没有解决不了的问题.旁的同学用一小时能解决的问题，我就准备用&lt;br&gt;   两小时解决.是不是别人一小时的工作，我一定要用两小时呢？那也不见得；由于我不断&lt;br&gt;   地刻苦练习，后来别人要花一小时才能解决的问题，我往往只要用半小时，甚至更短的时&lt;br&gt;   间就解决了.&lt;/p&gt;&lt;p&gt;　　不怕困难，刻苦练习，是我学好数学最主要的经验.我就是这样学完了基础的数学.这&lt;br&gt;   一宝贵的经验，直到今天，对我还有很大的用处.我和其他数学家研究问题的时候，当时 &lt;br&gt;   虽然都懂了，回来我还要仔细地思考研究一遍.我不轻视容易的问题，今天熟练了容易的&lt;br&gt;   ，明天碰到较难的也就容易了.我也不害怕难的问题，我时刻准备着在必要时把一个问题&lt;br&gt;   算到底.我相信，只要辛勤劳动，没有克服不了的困难，没有攻不破的堡垒.&lt;/p&gt;&lt;/blockquote&gt; 我觉得自己虽然知道这种方法，但是实践起来，确实是有难度的，需要抽两倍于其他人的时间来做一件事情。熟能生巧，仅此而已。要做到比别人多两倍的时间做某件事，需要挤时间，需要热爱这件事，需要决心。――这些都是从外人看来的表现。从自己来说，最重要还是一个动力。&lt;br&gt;&lt;br&gt;华先生这么说：&lt;br&gt;&lt;blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"&gt; 我想：你们既然知道祖国建设需要数学，怎么还会感觉数学没有趣味呢？&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;这可能是老一辈科学家和我们的区别吧。像现在，我们平时更多地思考的是自己如何能过上富足的生活：房价、工资、……&lt;br&gt;还是谨记&lt;a href="http://www.prmvr.otsu.shiga.jp/library/master/SamuelUllman/Youth.html"&gt;Samull的散文Youth&lt;/a&gt;，希望自己的心不要被" snows of cynicism and the ice of pessimism"所覆盖，能够一直充满希望的活力。&lt;br&gt; &lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1157270541313854537?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1157270541313854537/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1157270541313854537' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1157270541313854537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1157270541313854537'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/03/readings.html' title='[Readings]和同学们谈谈学习数学'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5515332751228550306</id><published>2010-03-03T02:10:00.001-08:00</published><updated>2010-03-03T02:10:26.232-08:00</updated><title type='text'>[Readings]巴菲特2010年致股东公开信</title><content type='html'>&lt;div&gt;source:&amp;nbsp;&lt;a href="http://finance.sina.com.cn/stock/usstock/c/20100301/21327479553.shtml" target="_blank"&gt;http://finance.sina.com.cn/stock/usstock/c/20100301/21327479553.shtml&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;巴菲特每年的公开信都是很值得一读。&lt;/div&gt; 羡慕他坦诚、谦虚的心态。&lt;br&gt;他的传记The Snowball，很厚的一本，读了10页一直搁置着，抽时间来把它读完。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5515332751228550306?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5515332751228550306/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5515332751228550306' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5515332751228550306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5515332751228550306'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/03/readings2010.html' title='[Readings]巴菲特2010年致股东公开信'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7022311376502686906</id><published>2010-03-03T02:08:00.001-08:00</published><updated>2010-03-03T02:08:32.399-08:00</updated><title type='text'>[人物]Randy Wang</title><content type='html'>今天调研了&lt;a href="http://dsh.cs.washington.edu/rywang/"&gt;Randy Wang&lt;/a&gt;和他在印度做的&lt;a href="http://dsh.cs.washington.edu/"&gt;数字教室&lt;/a&gt;的工作。觉得很有感触。&lt;br&gt;数字教室(DSH)通过邮递教育发达地区教学视频DVD到边远地区，帮助解决"信息鸿沟"问题。&lt;br&gt;05年，Randy Wang辞去普林斯顿大学的助教工作而去了边远的印度农村工作。在05年之前，他在许多顶级会议上发表论文。他的选择很值得思索。&lt;br&gt; &lt;br&gt;记得李开复在他传记里面说他去苹果工作的原因也是因为一句话："你是愿意一辈子写一堆没用的论文呢，还是去改变世界？"&lt;br&gt;研究计算机的目的，不单单是为了发论文，更重要的是让这个世界变得更好。（论文也是要写的，同时要让论文里面的美好技术实现。）&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7022311376502686906?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7022311376502686906/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7022311376502686906' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7022311376502686906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7022311376502686906'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/03/randy-wang.html' title='[人物]Randy Wang'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3809376028112296805</id><published>2010-02-24T19:24:00.001-08:00</published><updated>2010-02-24T19:24:52.299-08:00</updated><title type='text'>新来了一个实习生</title><content type='html'>组里来了一个实习生，北邮大三的。 &lt;div&gt;小伙子很主动，很好学。主动联系我要到我们组来实习，不计报酬。&lt;/div&gt;&lt;div&gt;回想自己大三的时候，很多时间都浪费了。&lt;/div&gt;&lt;div&gt;我可能可以教他一些书本的知识，从好学这点，却是要向他学习。&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3809376028112296805?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3809376028112296805/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3809376028112296805' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3809376028112296805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3809376028112296805'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/02/blog-post_24.html' title='新来了一个实习生'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1002792206557715425</id><published>2010-02-22T08:03:00.001-08:00</published><updated>2010-02-22T08:03:12.282-08:00</updated><title type='text'>寒假归来</title><content type='html'>&lt;div&gt;结束假期大吃大喝，早睡晚起。&lt;/div&gt;&lt;div&gt;本学期，早睡早起，每周游泳，周末爬山，过低碳有氧的生活。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;另一则，我终于发现为什么走亲戚的时候总会觉得胃口不好。那是因为到了亲戚家，先吃一碗甜食，然后是很多零食，接着是正餐；正餐又先喝酒、夹菜、吃肉，然后依次是年糕、豆沙包、粽子，最后是米饭。吃这么多，难怪胃口都没了。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1002792206557715425?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1002792206557715425/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1002792206557715425' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1002792206557715425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1002792206557715425'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/02/blog-post_22.html' title='寒假归来'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8285002705211904966</id><published>2010-02-08T06:40:00.001-08:00</published><updated>2010-02-08T06:40:34.189-08:00</updated><title type='text'>流水账</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif, 宋体; font-size: 14px; color: rgb(68, 68, 68); line-height: 22px; "&gt;过年咯！！！小舅舅送来一整只猪腿。晚上就忙着在剁猪腿了。手都砍出茧子了。怎么就没有庖丁解牛那么轻松呢……&lt;/span&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8285002705211904966?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8285002705211904966/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8285002705211904966' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8285002705211904966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8285002705211904966'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/02/blog-post_08.html' title='流水账'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-9008859985645168276</id><published>2010-02-03T21:28:00.001-08:00</published><updated>2010-02-03T21:28:37.018-08:00</updated><title type='text'>informed和knowledgeable的区别</title><content type='html'>&lt;div&gt;转：从无知到有知&lt;/div&gt;&lt;div&gt;&lt;a href="http://blog.youxu.info/2010/02/03/informed-ignoranc/"&gt;http://blog.youxu.info/2010/02/03/informed-ignoranc/&lt;/a&gt;&amp;nbsp;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-9008859985645168276?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/9008859985645168276/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=9008859985645168276' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/9008859985645168276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/9008859985645168276'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/02/informedknowledgeable.html' title='informed和knowledgeable的区别'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7286375803957838639</id><published>2010-02-03T06:37:00.001-08:00</published><updated>2010-02-03T06:37:24.238-08:00</updated><title type='text'>爱体育，爱训练</title><content type='html'>&lt;div&gt;可能快要温哥华冬奥了。&lt;/div&gt;CCTV5在放速滑选手任慧的故事。 &lt;div&gt;随便看看收获也挺多。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;她说她有练习到不想再划的时候。去放松一个月玩胖了10公斤。&lt;/div&gt;&lt;div&gt;回队前她在犹豫，但最后她还是决定回来，&lt;/div&gt;&lt;div&gt;她觉得滑冰是她生命中的一部分，用平常心去争取自己最好的成绩。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;其实体育跟科研在一些方面还是很像的，那就是：练习练习再练习。练习到不想再练为止。&lt;/div&gt;&lt;div&gt;一件事情重复做上一年，肯定会失去热情。这个时候，只是需要好好休息一下，&lt;/div&gt; &lt;div&gt;放松是为了攀登下一个山峰。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;――快放假了，回家充电咯~~~~~~~~~~~&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7286375803957838639?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7286375803957838639/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7286375803957838639' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7286375803957838639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7286375803957838639'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/02/blog-post.html' title='爱体育，爱训练'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4123274755224836754</id><published>2010-02-03T05:33:00.001-08:00</published><updated>2010-02-03T05:33:28.496-08:00</updated><title type='text'>news: 海南</title><content type='html'>众人贪婪的时候我恐惧，众人恐惧的时候我贪婪。 &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;――感海南国际旅游岛房价日涨三千&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4123274755224836754?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4123274755224836754/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4123274755224836754' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4123274755224836754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4123274755224836754'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/02/news.html' title='news: 海南'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6619163473856883289</id><published>2010-01-26T01:25:00.001-08:00</published><updated>2010-01-26T01:25:31.478-08:00</updated><title type='text'>去我的围脖看看吧</title><content type='html'>最近才开始用新浪的围脖。试用着不错。&lt;br&gt;&lt;br&gt;其实在twitter刚出来的时候我就试用过。但是基于众所周知的原因无法继续twitter。&lt;br&gt;国内有叽歪、饭否等，但是被关掉了。只有新浪还活着，而且加上了名人效应的围脖，活得很好。&lt;br&gt;&lt;br&gt;不是为了赶时髦，确实是觉得围脖上的信息是切切实实的有用。&lt;br&gt;在这个信息过剩的时代里面，关键是你要&lt;b&gt;关注对的人&lt;/b&gt;。&lt;br&gt;&lt;br&gt;See me @吕慧伟&lt;br&gt;&lt;a href="http://t.sina.com.cn/lvhuiwei"&gt;http://t.sina.com.cn/lvhuiwei&lt;/a&gt;&lt;br&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6619163473856883289?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6619163473856883289/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6619163473856883289' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6619163473856883289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6619163473856883289'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2010/01/blog-post.html' title='去我的围脖看看吧'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3947357285194616854</id><published>2009-12-29T04:16:00.001-08:00</published><updated>2009-12-29T04:16:54.540-08:00</updated><title type='text'>通下水道工</title><content type='html'>&lt;span class="Apple-style-span"  style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span  class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;洗 手间下水道堵了。我在门口一片密密麻麻的"&lt;wbr&gt;通下水道xxxxx"电话中找了一个黄金位置的电话。&lt;wbr&gt;就打了过去。 &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;"你好，你是通下水道的吧？"&lt;/div&gt; &lt;div&gt;对方是个小伙子。"对。你家在什么位置？"&lt;/div&gt; &lt;div&gt;"XX小区XX幢1单元。我把具体情况给你讲一下吧，&lt;wbr&gt;在洗手槽和地漏之间，还能下水，但是特别慢。"&lt;/div&gt; &lt;div&gt;"有地方站吧？"&lt;/div&gt; &lt;div&gt;"可以，通一次要多少钱？"&lt;/div&gt; &lt;div&gt;"六十"&lt;/div&gt; &lt;div&gt;"能不能便宜点"&lt;/div&gt; &lt;div&gt;"那五十吧。"&lt;/div&gt; &lt;div&gt;"几点能过来？"&lt;/div&gt; &lt;div&gt;"现在是几点？……一点。两点左右吧，&lt;wbr&gt;等我干完这个活给你打过去。"&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;想到待会可能会用到热水，我就把热水器烧上了，&lt;wbr&gt;一边等着这个通下水道工到来。&lt;/div&gt; &lt;div&gt;醒来发现两点十分了。手机还没有响，&lt;wbr&gt;我就又打通了这个水道工的电话。&lt;/div&gt; &lt;div&gt;"我是XX小区的。你现在在路上了么？"&lt;/div&gt; &lt;div&gt;"哦对不起，我刚到家，马上就过去。"&lt;/div&gt; &lt;div&gt;"哦，你是不是还没吃饭？那你先吃个饭再过来吧。"&lt;/div&gt; &lt;div&gt;"没事。你不是急么？答应别人的就应该做到。我马上过去。"&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;又等了十几分钟。终于等到了敲门声。开了门，&lt;wbr&gt;进门的是一个二十七八岁的男青年，带着一顶灰色的帽子，&lt;wbr&gt;衣服是棕色的，只有薄 薄一层，胸口还用拼音绣着这个衣服的牌子，&lt;wbr&gt;一看就知道是在一些便宜的地摊买的。裤腿绑了厚厚的绑腿，&lt;wbr&gt;就像那些送麦当劳的派送员，一定 是骑着电动车赶过来的。&lt;/div&gt; &lt;div&gt;"是你们家吧？"&lt;/div&gt; &lt;div&gt;"对，请进。"&lt;/div&gt; &lt;div&gt;"哪个位置堵了？"&lt;/div&gt; &lt;div&gt;我把他带到了洗手间，指给他堵的位置。他看了一眼。用了两三秒钟时间判断一下情况。&lt;/div&gt; &lt;div&gt;"行，我通通看吧。"&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;因为租的这套房子是老房子，所以管道非常细。&lt;wbr&gt;洗手槽后面留的空间也特别窄，只能够伸一只手进去。&lt;wbr&gt;在找这个水道工之前我试着 找过物业。物业说除非把洗手槽拆掉，&lt;wbr&gt;才有可能找到那个入水口。&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;水道工先试着从地漏那边往里通。&lt;wbr&gt;他的那台微微发着污水味道的机器发出"哒哒哒哒"的声音，&lt;wbr&gt;捅在水管里的形状有点像放大的弹 簧的钢带和管道碰撞，&lt;wbr&gt;发出不规则的"咯咯"的声音。往里捅了不到五公分，&lt;wbr&gt;他就把钢带退了出来。一边自言自语说："这个管有点细。"&lt;wbr&gt;然 后又从洗手槽后面着手。&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;他从工具包里拿出一个手电筒，脸贴着墙壁往洗手槽后面看了看。&lt;wbr&gt;跟我说："不好下手。能不能把水槽拿下来？"我说："可以。"&lt;wbr&gt;他 就试着拿那个水槽。但是水槽后面有一个螺丝固定着，而且已经生锈住了。他试了以后没有成功。&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;他又用手去摸水槽后面的管子。回头跟我说，&lt;wbr&gt;这水槽有个软管连着下面的地漏。应该是在地漏那里堵了。&lt;wbr&gt;但是那个地漏的口看不 见，不好找。我憋了一眼他的手，上面沾上了水管的污垢，黑兮兮的。但他好像已经习惯这样。&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;这样折腾了十几分钟，他看着我跟我说："你们家这样的水槽很少了。有点不好弄。可能不是几十块钱能弄通了。要花个一百来块钱。"我问他要多少。 他说了一个价："一百五。我给你慢慢弄吧。"我跟他还价，他说："你也不容易，那这样吧，一百三。"我考虑到这个管道确实不是那么好通，就点了点头。&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;于是他又开始动手。很奇怪，前一次那个钢管捅不进的地方。这次，竟然一点一点的捅进去了。看着他在工作，我有点后悔开始同意了一百三。我其实知 道他们的策略。像开锁工、通水道工这些工种，都是来解决你燃眉之急的。他们一开始会要一个比较低的价，这样你觉得价格还能接受，就找他过来了。在干活的时 候，他会找出一个好像很困难的借口，然后跟你说这个不好弄，要加点钱，你因为他已经干了一半了，一般很少会拒绝他。我明明知道他们的策略，但一是因为开始 时候物业也搞不定，所以觉得这个水道确实是有点难度；二是如果再找另外一个水道工，可能又需要等一个小时，那一个下午就什么也干不了了，也希望他快点把活 干完&lt;span class="Apple-style-span"  style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span  class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;， 不想再拖下去不解决了&lt;/span&gt;&lt;/span&gt;。&lt;br&gt; &lt;br&gt; 大半段钢带塞进管道后，他就往外抽。抽出来一团搅在一起鸡蛋那么大的头发。为了确保通了，他又往里捅了第二次。然后开了龙头放水。这时候，水就可以顺利地 排出去了。通完以后，他又花了些时间把水槽的软管装回去，用塑料袋塞住了一个破的地方，将现场留下的污泥用水冲掉。这些都结束后问我有没有洗衣粉。&lt;/div&gt; &lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div&gt;我拿了洗衣粉给他，一边要拿热水喷头给他洗手。他说没有热水也没有关系，有冷水就可以了。我告诉他这热水是专门为他烧了洗手的。他好像有点不好 意思，就找点话来说。他问我是还在念书吧。我说是在读书。他说像你们这样读书多好啊，不需要干像他们这样的活。我告诉他多亏他们的工作，才给我们带来方 便。他听了没有回答，又问我是不是大学生，我说是博士生，他问博士生是不是比大学生学历还要高。我说是的。他说自己&lt;span  class="Apple-style-span"  style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span  class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;当 时因为打架被开除，&lt;/span&gt;&lt;/span&gt;初中没有毕业，才来干通下水道的活儿。&lt;/div&gt; &lt;div&gt;&lt;br&gt; 我给他钱的时候，也许是我心理作用，他好像有点不好意思，但还是收了一百三。他一边走出门，一边跟我说："哥们，走了啊。"出了门还回头看了我一眼，接着 就消失在楼道里了。&lt;/div&gt; &lt;/span&gt;&lt;/span&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3947357285194616854?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3947357285194616854/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3947357285194616854' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3947357285194616854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3947357285194616854'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/blog-post_29.html' title='通下水道工'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4514784672036906875</id><published>2009-12-13T18:41:00.000-08:00</published><updated>2009-12-13T18:42:06.005-08:00</updated><title type='text'>Torchlight：简单级 or 地狱级?</title><content type='html'>William James说每天要做几件困难的事情(do every day or two something for &lt;br&gt;no other reason than its difficulty)。&lt;br&gt;周末玩Torchlight的时候深感如此。&lt;p&gt;简单级：小怪一般是一招毙命，连boss都三两下都解决了，一点成就感也没有。打 &lt;br&gt;怪掉的物品都是白色的，很少能有稀有的物品掉落。&lt;br&gt;地狱级：虽然Torchlight对于地狱级的说明是&amp;quot;仅限受虐狂&amp;quot;，但是回报也是非常丰 &lt;br&gt;厚的。不时会有黄色物品掉落，打一个boss虽然要比较久，打掉那一刻心情是很开心。&lt;p&gt;这其实是一种态度。&lt;br&gt;有句话说&amp;quot;the world is a playground&amp;quot;。&lt;br&gt;何不选些&amp;quot;地狱级&amp;quot;的事情做呢？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4514784672036906875?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4514784672036906875/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4514784672036906875' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4514784672036906875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4514784672036906875'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/torchlight-or.html' title='Torchlight：简单级 or 地狱级?'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6644150714597135050</id><published>2009-12-11T23:14:00.001-08:00</published><updated>2009-12-11T23:14:17.345-08:00</updated><title type='text'>[Softwares]Firefox插件：Mouseless browsing</title><content type='html'>前段时间用&lt;a href="http://elinks.or.cz/"&gt;elinks&lt;/a&gt;，非常喜欢它的找链接的快捷方法。&lt;br&gt;chrome速度很快，但是有的时候还是离不开firefox那一堆好用的插件。&lt;br&gt;&lt;br&gt;比如下面这个：&lt;br&gt;Mouseless browsing&lt;br&gt;帮助你不需要鼠标实现上网。&lt;br&gt;它给每个链接标注一个小的数字，你只要按住Ctrl然后输入数字就可以实现跳转链接。&lt;br&gt;对于键盘狂人是一个再好不过的选择。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6644150714597135050?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6644150714597135050/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6644150714597135050' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6644150714597135050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6644150714597135050'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/softwaresfirefoxmouseless-browsing.html' title='[Softwares]Firefox插件：Mouseless browsing'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8781571374083581944</id><published>2009-12-11T21:38:00.001-08:00</published><updated>2009-12-11T21:38:07.586-08:00</updated><title type='text'>Lecture notes from Richard Feynman: The Ralation of Mathematics and  Physics</title><content type='html'>&lt;div&gt;Source: &lt;a href="http://research.microsoft.com/apps/tools/tuva/index.html"&gt;http://research.microsoft.com/apps/tools/tuva/index.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Richard Feynman: The Ralation of Mathematics and Physics&lt;/div&gt;&lt;div&gt;&lt;br&gt; &lt;/div&gt;&lt;div&gt;Mathematic is a tool for reasoning. It&amp;#39;s in fact a big collection of the results of some person&amp;#39;s careful thought and reasoning.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;By mathematics it is possible to connect one statement to another.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Mathematics, then, is a way of going from one statements to another.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It&amp;#39;s evidently useful in physics, because we have all these different ways that we could speak of things, and it permits us to develop consequences, and analyze situations, and change the laws in different ways, and to connect all the various statements.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So that, as a matter of fact, the total amount that a physicist knows is very little: he has only to remember the rules for getting from one place to another, and he&amp;#39;s able to do it then.&lt;/div&gt;&lt;div&gt; ...&lt;/div&gt;&lt;div&gt;Now, an interesting question comes up: is there some pattern to it? Is there a place to begin-fundamental principles-and deduce the whole works? Or, is there some particular pattern, or order in nature, in which we can understand that these are more fundamental statements, and these are more consequential statements? There are two kinds of ways of looking at mathematics, which for the purpose of this lecture I will call the Babylonian tradition, and the Greek tradition.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;=======================&lt;/div&gt;&lt;div&gt;巴比伦式和希腊式（归纳和演绎）&lt;/div&gt;&lt;div&gt;=======================&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;In Babylonian schools in mathematics, the student would learn something by doing a large number of examples, until he caught onto the general rule.&lt;/div&gt; &lt;div&gt;...&lt;/div&gt;&lt;div&gt;But Euclid discovered that there was a way in which all of the theorems of geometry could be ordered from a set of axioms that were particularly simple-and you&amp;#39;re all familiar with that much geometry.&lt;/div&gt; &lt;div&gt;But the Babylonian attitude was-if I make my way of talking what I call Babylonian mathematics-is that you know all these various theorems and many of the connections in between, but you&amp;#39;ve never really realized that it could all come up from a bunch of axioms.&lt;/div&gt; &lt;div&gt;The mathematical tradition of today is to start with some particular ones, whicha are chosen by some kind of convention to be axioms, and then to build up the structure from there.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;But if you have to remember a few things in the geometry, you can always get somewhere else; it&amp;#39;s much more efficient to do it the other way: what the best axioms are, are not exactly the same-in fact, are not ever the same-as the most efficient way of getting around in the territory.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8781571374083581944?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8781571374083581944/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8781571374083581944' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8781571374083581944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8781571374083581944'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/lecture-notes-from-richard-feynman.html' title='Lecture notes from Richard Feynman: The Ralation of Mathematics and  Physics'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-706007274373982882</id><published>2009-12-11T20:35:00.001-08:00</published><updated>2009-12-11T20:35:19.484-08:00</updated><title type='text'>边吃饭边看……</title><content type='html'>&lt;div&gt;以前总是喜欢在吃饭的时候看电视。&lt;/div&gt;中午吃了一包方便面。还看了一个&lt;a href="http://research.microsoft.com/apps/tools/tuva/index.html"&gt;Feynman的lecture&lt;/a&gt;.&lt;div&gt;吃饭时候看看Feynman，比起看那些新闻、明星和广告，有益健康多了。&lt;br clear="all"&gt;&lt;br&gt; &lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-706007274373982882?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/706007274373982882/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=706007274373982882' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/706007274373982882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/706007274373982882'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/blog-post.html' title='边吃饭边看……'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6775512111078649333</id><published>2009-12-11T07:38:00.001-08:00</published><updated>2009-12-11T07:38:37.162-08:00</updated><title type='text'>发现一个好blog</title><content type='html'>&lt;a href="http://fanyi.edu2do.org/"&gt;http://fanyi.edu2do.org/&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://fanyi.edu2do.org/"&gt;&lt;/a&gt;很喜欢这句话： &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "&gt;&amp;quot;专门练习是掌握技能的关键。为了出类拔萃，我们必须得学会爱上练习。你爱练习要跟你爱在演奏大厅里表演一样。&amp;quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" face="arial, sans-serif"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;source:&amp;nbsp;&lt;span class="Apple-style-span" style="border-collapse: separate; font-family: arial; "&gt;&lt;a href="http://fanyi.edu2do.org/2009/10/01/how-to-be-a-master-at-anything.html"&gt;http://fanyi.edu2do.org/2009/10/01/how-to-be-a-master-at-anything.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6775512111078649333?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6775512111078649333/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6775512111078649333' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6775512111078649333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6775512111078649333'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/blog.html' title='发现一个好blog'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-748397281076938861</id><published>2009-12-03T07:36:00.001-08:00</published><updated>2009-12-03T07:36:43.107-08:00</updated><title type='text'>自己用python写一个倒计时软件</title><content type='html'>&lt;b&gt;起因：需要一个倒计时软件。&lt;/b&gt;&lt;br&gt; 1.这个功能很常用。那些所谓的绿色软件也不是很称心。&lt;br&gt; 2.觉得应该会很简单，就打算用python写。&lt;br&gt; &lt;br&gt; &lt;b&gt;过程：&lt;/b&gt;&lt;br&gt; 忍住不google，打算只看&lt;a href="http://wiki.python.org/moin/TkInter"&gt;tkinter&lt;/a&gt;， 费脑子想了半个小时，无果。&lt;br&gt; &lt;br&gt; &lt;b&gt;解决：&lt;/b&gt;&lt;br&gt; 最后，搜到了一个新年倒数10秒的一段代码[1]&lt;br&gt; 决定在它的基础上改巴改巴&lt;br&gt; 可能会需要有按钮，所以就从[2]拷贝了一段。&lt;br&gt; 还要有输入的文本框，就从[3]拷贝了一段。&lt;br&gt; [3]还提供了消息框。好极了，倒计时到了就跳出一个消息框。&lt;br&gt; &lt;br&gt; &lt;b&gt;感想：&lt;/b&gt;&lt;br&gt; 从头到尾，历时一小时三十分钟。自己动手很有趣！这次技术含量低一点，下次逐步提高技术含量吧~&lt;br&gt; &lt;br&gt; &lt;b&gt;References:&lt;/b&gt;&lt;br&gt; 1.http://www.daniweb.com/code/snippet216604.html&lt;br&gt; 2.http://www.pythonware.com/library/tkinter/introduction/hello-again.htm&lt;br&gt; 3.http://www.prasannatech.net/2009/05/tkinter-entry-widget-single-line-text.html&lt;br&gt; &lt;br&gt; &lt;b&gt;附录：countDown.py&lt;/b&gt;&lt;br&gt; &lt;br&gt; &lt;blockquote&gt;&lt;font face="Consolas"&gt;# Countdown using Tkinter &lt;br&gt; from Tkinter import *&lt;br&gt; import time&lt;br&gt; import tkMessageBox&lt;br&gt;   &lt;br&gt; class App:&lt;br&gt;     def __init__(self,master):&lt;br&gt;         frame = Frame(master)&lt;br&gt;         frame.pack()&lt;br&gt;         self.entryWidget = Entry(frame)&lt;br&gt;         self.entryWidget["width"] = 15&lt;br&gt;         self.entryWidget.pack(side=LEFT)&lt;br&gt;         self.hi_there = Button(frame, text="Start", command=self.start)&lt;br&gt;         self.hi_there.pack(side=LEFT)&lt;br&gt;         self.button = Button(frame, text="QUIT", fg="red", command=frame.quit)&lt;br&gt;         self.button.pack(side=LEFT)&lt;br&gt;         &lt;br&gt;     def start(self):&lt;br&gt;         text = self.entryWidget.get().strip()&lt;br&gt;         if text != "":&lt;br&gt;             num = int(text)&lt;br&gt;             self.countDown(num)&lt;br&gt;         &lt;br&gt;     def countDown(self,seconds):&lt;br&gt;         lbl1.config(bg='yellow')&lt;br&gt;         lbl1.config(height=3, font=('times', 20, 'bold'))&lt;br&gt;         for k in range(seconds, 0, -1):&lt;br&gt;             lbl1["text"] = k&lt;br&gt;             root.update()&lt;br&gt;             time.sleep(1)&lt;br&gt;         lbl1.config(bg='red')&lt;br&gt;         lbl1.config(fg='white')&lt;br&gt;         lbl1["text"] = "Time up!"&lt;br&gt;         tkMessageBox.showinfo("Time up!","Time up!")&lt;br&gt;   &lt;br&gt;     def GetSource():&lt;br&gt;         get_window = Tkinter.Toplevel(root)&lt;br&gt;         get_window.title('Source File?')&lt;br&gt;         Tkinter.Entry(get_window, width=30,&lt;br&gt;                       textvariable=source).pack()&lt;br&gt;         Tkinter.Button(get_window, text="Change",&lt;br&gt;                        command=lambda: update_specs()).pack()&lt;br&gt;  &lt;br&gt; root = Tk()&lt;br&gt; root.title("Countdown")&lt;br&gt; lbl1 = Label()&lt;br&gt; lbl1.pack(fill=BOTH, expand=1)&lt;br&gt; app = App(root)&lt;br&gt; root.mainloop()&lt;/font&gt;&lt;br&gt; &lt;/blockquote&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-748397281076938861?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/748397281076938861/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=748397281076938861' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/748397281076938861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/748397281076938861'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/12/python.html' title='自己用python写一个倒计时软件'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2308509070407771410</id><published>2009-11-30T22:47:00.001-08:00</published><updated>2009-11-30T22:47:42.348-08:00</updated><title type='text'>重读《技术创新的关键在选题》</title><content type='html'>这已经不是我第一次读李老师的《创新求索录》了。《技术创新的关键在选题》是这本书里面的第一篇。每次迷茫的时候就拿来读一读，使自己有勇气做出自己的选 择。&lt;br&gt; &lt;br&gt; &lt;blockquote&gt;&lt;font face="Adobe 楷体 Std R"&gt;发展科学技术的人物是认识世界与改造世界。基础科学的宗旨是认识世 界，而应用科学的目标是改造世界。在基础科学领域，有许多悬而未决的难题（open problem），人人都在找答案。这一领域的创新主要表现在探索未知领域的奥妙，其聪明才智主要体现于寻找答案的本事。而应用与工程科学领域的技术创新 是为了改造世界，具有非常明显的目的性。因此，技术创新一定要接受应用与市场的检验，只有具有市场竞争力的发明创造才是真正的技术创新。这一论断包含几层 意思：一是没有市场前景的所谓"创新"实际上是浪费精力；二是对现有工业标准的小的改进不会采纳为新标准；三是创新的重点要放在尚未形成工业标准的有发展 前景的升级换代技术上。&lt;br&gt;   &lt;br&gt; 当日本人兴高采烈宣传第五代计算机时，一位美国教授在日本召开的第五代国际会议发出令人深思的质问："If Prolog is solution, what is the problem?"……真正的聪明才智主要不是表现在找答案而是找到最值得解决的问题。&lt;br&gt;   &lt;br&gt;   &lt;b&gt;选题正确的关键是对市场与技术趋势的判断&lt;/b&gt;&lt;br&gt; 我们做任何一项技术创新研究，一定要对计划完成时的市场有正确判断。如果判断失误，不管在研究期间做了多少创新努力，其结果都不会美妙。恰当的选题不仅要 正确地分析技术发展趋势，而且要符合国情。&lt;br&gt;   &lt;br&gt; 所谓选题立项的过程就是什么方面有所为，什么方面有所不为的取舍过程。对宏观决策部门来讲，决定要做什么艰难，决定不做什么更难，因为在有限的人力、物力 条件下，不果断砍掉一些似乎可做的项目，打算"有所为"的项目也不可能得到应有的支持。&lt;br&gt;   &lt;br&gt;   &lt;/font&gt;&lt;/blockquote&gt; 对于我的专业。也许我可以问一下："If simulator is solution, what is the problem?"&lt;br&gt; 之前的师兄一直致力把模拟器做成并行，他的solution是并行模拟器，problem是用模拟器模拟大规模的集群的可行性。&lt;br&gt; 对于我来说，我的问题是，模拟器是solution，problem是什么呢？&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2308509070407771410?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2308509070407771410/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2308509070407771410' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2308509070407771410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2308509070407771410'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/blog-post_30.html' title='重读《技术创新的关键在选题》'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4612840947773741854</id><published>2009-11-29T06:11:00.000-08:00</published><updated>2009-11-29T06:12:02.636-08:00</updated><title type='text'>ubuntu使用中文Latex</title><content type='html'>&lt;h3&gt;推荐用xelatex代替pdflatex&lt;/h3&gt; 以前是用pdflatex来生成pdf的，使用pdflatex的一个问题是选择的时候会出现乱码，而且没有书签。&lt;br&gt; [1]里面介绍了xelatex可以解决这个问题。水木上[2]也&lt;a  href="http://www.newsmth.net/bbscon.php?bid=460&amp;amp;id=282515&amp;amp;ftype=11"&gt;推荐 xelatex&lt;/a&gt;。同时，统一使用utf8代替gbk。&lt;br&gt; &lt;h3&gt;从TUG安装texlive 2009&lt;/h3&gt; 以前是从Ubuntu的源安装texlive的，安装目录糊里糊涂，配置起来不方便，而且版本很旧。这当是入门，后面要真正用，还是要自己从&lt;a  href="http://www.tug.org/texlive"&gt;TUG&lt;/a&gt;安装。&lt;br&gt; 另外，对于中文支持，ctex这帮人做了很多努力。要在Linux下用上漂亮的中文文档，主要要安装ctex。&lt;br&gt; 与时俱进一把：&lt;br&gt; 安装TeXLive 2009[3] + CTeX宏包[4]&lt;br&gt; &lt;h3&gt;配置texlive 2009&lt;/h3&gt; 测试安装是否成功。见[5]3.5。&lt;br&gt; 另外，配置evince使其能够显示adobe中文字体[5]。&lt;br&gt; &lt;h3&gt;工具和模板&lt;/h3&gt; iconv命令可以把Windows默认GBK编码的文件转成Linux下用的UTF-8编码。&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;Example: $ iconv -f GBK -t UTF-8 file_name -o file_name&lt;/pre&gt; &lt;/blockquote&gt; 从[7]下载模板，用iconv把编码转化成UTF-8。&lt;br&gt; 关于引用。参考[8]。需要用xelatex编译一次，再用bibtex编译一次，再用xelatex编译两次。&lt;br&gt; &lt;br&gt; ( 在Ubuntu 9.04 下测试通过。)&lt;br&gt; &lt;br&gt; p.s.&lt;br&gt; 越是长大，越是对Gonald崇拜啊。&lt;br&gt; &lt;br&gt; &lt;h3&gt;References:&lt;/h3&gt; 1. 各种工具链下最简单的中文文档模板, &lt;a class="moz-txt-link-freetext"  href="http://code.google.com/p/ctex-kit/wiki/SimpleChineseTemplates"&gt;http://code.google.com/p/ctex-kit/wiki/SimpleChineseTemplates&lt;/a&gt;&lt;br&gt; 2. 水木TeX和LaTeX版, 请先读我, &lt;a class="moz-txt-link-freetext"  href="http://www.newsmth.net/bbscon.php?bid=460&amp;amp;id=282515&amp;amp;ftype=11"&gt;http://www.newsmth.net/bbscon.php?bid=460&amp;amp;id=282515&amp;amp;ftype=11&lt;/a&gt;&lt;br&gt; 3. 在 Ubuntu 9.10 (9.04)下网络安装配置 texlive 2009 十步, &lt;a class="moz-txt-link-freetext"  href="http://bbs.ctex.org/redirect.php?tid=53520&amp;amp;goto=lastpost#lastpost"&gt;http://bbs.ctex.org/redirect.php?tid=53520&amp;amp;goto=lastpost#lastpost&lt;/a&gt;&lt;br&gt; 4. CTeXPackage, &lt;a class="moz-txt-link-freetext"  href="http://code.google.com/p/ctex-kit/wiki/CTeXPackage"&gt;http://code.google.com/p/ctex-kit/wiki/CTeXPackage&lt;/a&gt;&lt;br&gt; 5. [已解决] adobe std系列字体在evince下无法显示, &lt;a class="moz-txt-link-freetext"  href="http://bbs.ctex.org/viewthread.php?tid=52941&amp;amp;highlight=evince"&gt;http://bbs.ctex.org/viewthread.php?tid=52941&amp;amp;highlight=evince&lt;/a&gt;&lt;br&gt; 6. TEX Live 指南:  TEX Live 2009, &lt;a class="moz-txt-link-freetext"  href="http://tug.org/texlive/doc/texlive-zh-cn/"&gt;http://tug.org/texlive/doc/texlive-zh-cn/&lt;/a&gt;&lt;br&gt; 7. &lt;a class="moz-txt-link-freetext"  href="http://www.ctex.org/PackageCASthesis"&gt;http://www.ctex.org/PackageCASthesis&lt;/a&gt;&lt;br&gt; 8. &lt;a class="moz-txt-link-freetext"  href="http://www.hep.manchester.ac.uk/u/jenny/jcwdocs/latex/bibtexbasics.html"&gt;http://www.hep.manchester.ac.uk/u/jenny/jcwdocs/latex/bibtexbasics.html&lt;/a&gt;&lt;br&gt; &lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4612840947773741854?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4612840947773741854/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4612840947773741854' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4612840947773741854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4612840947773741854'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/ubuntulatex.html' title='ubuntu使用中文Latex'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4202034362134192496</id><published>2009-11-29T01:18:00.001-08:00</published><updated>2009-11-29T01:18:24.309-08:00</updated><title type='text'>用Cygwin+mutt+ssmtp来写博客的配置</title><content type='html'>最后的效果:&lt;br&gt;	在本地写一个txt的文件(比如:today.txt)。在cygwin命令行下：&lt;br&gt;		$ blog today.txt&lt;br&gt;	就可以发布today.txt到你的livespace和blogger博客。&lt;p&gt;需要安装:&lt;br&gt;	* Cygwin+mutt+ssmtp&lt;br&gt;	* blogger和live.space开启邮件发布博客功能&lt;p&gt;配置&lt;br&gt;	~/.muttrc: mutt配置&lt;br&gt;		set locale = zh_CN.gbk&lt;br&gt;		set charset = gbk&lt;p&gt;		# folders&lt;br&gt;		set spoolfile = ~/Mail/spoolfile&lt;br&gt;		set mbox_type = Maildir&lt;br&gt;		set folder = ~/Mail&lt;br&gt;		set mbox = &amp;quot;+inbox&amp;quot;&lt;br&gt;		#set record = &amp;quot;+sent&amp;quot;&lt;br&gt;		set postponed = &amp;quot;+outbox&amp;quot;&lt;p&gt;		# ssmtp&lt;br&gt;		set sendmail = &amp;quot;/usr/sbin/ssmtp.exe&amp;quot;&lt;p&gt;	ssmtp配置： ssmtp-config，配置好后的~/.msmtprc&lt;br&gt;		# Set default values for all following accounts.&lt;br&gt;		defaults&lt;br&gt;		tls on&lt;br&gt;		logfile ~/.msmtp.log&lt;p&gt;		# gmail&lt;br&gt;		account gmail&lt;br&gt;		host &lt;a href="http://smtp.gmail.com"&gt;smtp.gmail.com&lt;/a&gt;&lt;br&gt;		from &lt;a href="mailto:your-name@gmail.com"&gt;your-name@gmail.com&lt;/a&gt;&lt;br&gt;		auth on&lt;br&gt;		user &lt;a href="mailto:your-name@gmail.com"&gt;your-name@gmail.com&lt;/a&gt;&lt;br&gt;		password your-password&lt;br&gt;		port 587&lt;br&gt;		# Set a default account&lt;br&gt;		account default : gmail&lt;p&gt;	脚本：blog。实现发布FILE到博客，FILE第一行为博客标题。&lt;br&gt;		#!/usr/bin/bash&lt;br&gt;		# Usage: blog [FILE]&lt;br&gt;		linenum=`cat $1 | wc -l`&lt;br&gt;		let linenum=linenum-1&lt;br&gt;		tail -n $linenum $1 | mutt -s `head -n 1 $1` &lt;a href="mailto:your-space-name.xxxxx@spaces.live.com"&gt;your-space-name.xxxxx@spaces.live.com&lt;/a&gt; &lt;a href="mailto:your-space-name.xxxxx@blogger.com"&gt;your-space-name.xxxxx@blogger.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4202034362134192496?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4202034362134192496/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4202034362134192496' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4202034362134192496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4202034362134192496'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/cygwinmuttssmtp.html' title='用Cygwin+mutt+ssmtp来写博客的配置'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7675264429818770121</id><published>2009-11-27T02:16:00.000-08:00</published><updated>2009-11-27T02:17:13.712-08:00</updated><title type='text'>感恩节快乐</title><content type='html'>祝亲人朋友们节日快乐！&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7675264429818770121?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7675264429818770121/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7675264429818770121' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7675264429818770121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7675264429818770121'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/blog-post_27.html' title='感恩节快乐'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3962717417152856776</id><published>2009-11-23T01:20:00.000-08:00</published><updated>2009-11-23T01:21:09.164-08:00</updated><title type='text'>[Softwares]visio 2007画图导出到latex</title><content type='html'>用visio 2007画图，选&amp;quot;文件&amp;quot;-&amp;gt;&amp;quot;页面设置&amp;quot;-&amp;gt;&amp;quot;页面尺寸&amp;quot;-&amp;gt;&amp;quot;调整大小以适应绘图 &lt;br&gt;内容&amp;quot;，&lt;br&gt;然后&amp;quot;文件&amp;quot;-&amp;gt;&amp;quot;发布为PDF或者XPS&amp;quot;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3962717417152856776?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3962717417152856776/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3962717417152856776' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3962717417152856776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3962717417152856776'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/softwaresvisio-2007latex.html' title='[Softwares]visio 2007画图导出到latex'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3359227900928293418</id><published>2009-11-22T18:45:00.001-08:00</published><updated>2009-11-22T18:45:34.812-08:00</updated><title type='text'>[摘录]具体目标与高层研究</title><content type='html'>《像外行一样思考，像专家一样实践》 by 金出武雄&lt;br&gt; &lt;br&gt; "做研究的时候，并不知道解决的问题有没有价值，也不知道问题的本身有没有答案。正因为如此，研究是不可能简简单单就成功的。果然，我就发现这个进行不下 去。于是就开始下一个课题，再进行不下去，然后再一个。这样，我研究了很多课题，倒是读了不少领域的论文，知道不少事情，除此之外一事无成。"&lt;br&gt; 就在那个时候，当时的助教、现在京都大学的校长，长尾真老师对我说："金出，你就试试研究一些稍微具体点的事情吧！"&lt;br&gt; &lt;br&gt; &lt;b&gt;具体目标与高层研究&lt;/b&gt;&lt;br&gt; 这次经验在我以后的研究生涯中有着非常重要的作用，它使我明白了：做研究和搞开发没有具体的目标是绝对不行的。&lt;br&gt; &lt;br&gt; 总是有很多人说要研究高端的东西，要深入研究数学，要研究本质的基础的东西，并以此为目标。其实这些都不算是目标，都是对研究的性质或者是结果的一种希 望，希望通过某个具体研究项目而能够研究到本质。如果真的是以研究本质为目标的话，研究肯定会是行不通的，就会考虑："这样一直研究下去就会得到好结果 吗？现在是不是在解决本质的问题呢？"这时，已经不是在思考问题本身了，而是在顾虑这样做下去的意义与成果，失去了研究的心态，陷于无尽的烦恼当中。&lt;br&gt; &lt;br&gt; 总有些学生因为研究设定的目标太大太空泛，而产生不安和迷惑。我就……建议他们选择有具体目标的课题，告诉他们不用担心，只要尽全力坚持做下去就一定有好 的结果。并加上一句忠告：&lt;br&gt; &lt;blockquote&gt;要想成功，必定迷茫！&lt;br&gt; &lt;/blockquote&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3359227900928293418?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3359227900928293418/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3359227900928293418' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3359227900928293418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3359227900928293418'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/blog-post.html' title='[摘录]具体目标与高层研究'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-45349022541673948</id><published>2009-11-22T01:53:00.001-08:00</published><updated>2009-11-22T01:53:22.995-08:00</updated><title type='text'>Windows下安装texlive2009</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: &amp;#39;Times New Roman&amp;#39;; font-size: medium; "&gt;&lt;div style="margin-top: 6px; margin-right: 6px; margin-bottom: 6px; margin-left: 6px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Verdana; font-size: 10pt; background-color: rgb(255, 255, 255); min-height: 1100px; counter-reset: __goog_page__ 0; line-height: normal; "&gt; &lt;h2 style="font-size: 14pt; "&gt;下载&lt;/h2&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;从[1]下载DVD压缩包，用最新版的7-zip[2]将texlive2009.iso.xz解压为texlive2009.iso。&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 style="font-size: 14pt; "&gt; 安装&lt;/h2&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;用虚拟光驱软件加载texlive2009.iso&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&amp;ldquo;开始&amp;rdquo;-&amp;gt;运行&amp;quot;cmd&amp;quot;，切换到texlive2009根目录&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt; 运行./install-tl.bat -gui，进入图形界面配置安装。&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br&gt;&lt;/div&gt;&lt;h2 style="font-size: 14pt; "&gt;安装中文字体&lt;/h2&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;[6]中有adobe中文字体。一般来说不用安装，如果安装以后需要更新设置。&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;blockquote class="webkit-indent-blockquote" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; "&gt; &lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;texhash&lt;/i&gt;&lt;/font&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;fc-cache -fv&lt;/i&gt;&lt;/font&gt;&lt;/div&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;br&gt;&lt;/p&gt;&lt;h3 style="font-size: 12pt; "&gt;gVim中设置为utf8&lt;/h3&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;设置为utf8是为了在linux和windows中通用。在.vimrc中加入：&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;blockquote class="webkit-indent-blockquote" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-width: initial; border-color: initial; "&gt; &lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;&amp;quot; === encoding ===&lt;/i&gt;&lt;/font&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;function! TexSetting()&lt;/i&gt;&lt;/font&gt;&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;set enc=utf-8&lt;/i&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;endfunction&lt;/i&gt;&lt;/font&gt;&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font class="Apple-style-span" face="&amp;#39;Times New Roman&amp;#39;"&gt;&lt;i&gt;au FileType tex,bib call TexSetting()&lt;/i&gt;&lt;/font&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;h2 style="font-size: 14pt; "&gt; 使用中文模板&lt;/h2&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;[5]的CASthesis.cls中line 144,157,160有问题。会导致拷贝到Word时出现乱码。&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;修改如下：&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;144c144&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;b&gt;&amp;lt; &amp;nbsp; &amp;nbsp; \bf \songti \zihao{-4}&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;---&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt; &amp;gt; &amp;nbsp; &amp;nbsp; \bf\songti\zihao{-4}&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;157c157&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;b&gt;&amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; \bf \songti \zihao{-1} \CAST@value@school \\&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt; ---&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; \bf\songti\zihao{-1} \CAST@value@school \\&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;160c160&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt; &lt;b&gt;&amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; \bf \heiti \zihao{3} \CASTunderline{~\CAST@value@title~}&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;---&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; \bf\heiti\zihao{3} \CASTunderline{~\CAST@value@title~}&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;加粗、字体、字号之间用空格隔开，就没有这个问题。&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h2 style="font-size: 14pt; "&gt;参考&lt;/h2&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;1. 下载texlive2009,&amp;nbsp;&lt;a href="http://ftp.ctex.org/mirrors/CTAN/systems/texlive/Images/" style="color: rgb(85, 26, 139); "&gt;http://ftp.ctex.org/mirrors/CTAN/systems/texlive/Images/&lt;/a&gt;&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;2. 7-zip,&amp;nbsp;&lt;a href="http://sourceforge.net/projects/sevenzip/" style="color: rgb(85, 26, 139); "&gt;http://sourceforge.net/projects/sevenzip/&lt;/a&gt;&lt;/div&gt;3.&amp;nbsp;&lt;a href="http://research.mosuma.com/faq/howto/vim-utf8" style="color: rgb(85, 26, 139); "&gt;http://research.mosuma.com/faq/howto/vim-utf8&lt;/a&gt;&lt;br&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;4.&amp;nbsp;&lt;span style="font-family: Verdana, Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); "&gt;&lt;font size="2"&gt;TeX Live 2008 中文支持安装包,&amp;nbsp;&lt;/font&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Verdana; "&gt;&lt;font size="2"&gt;&lt;a href="http://bbs.ctex.org/viewthread.php?tid=47299" style="color: rgb(85, 26, 139); "&gt;http://bbs.ctex.org/viewthread.php?tid=47299&lt;/a&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font size="2"&gt;5.&amp;nbsp;&lt;/font&gt;&lt;font size="2"&gt;&lt;a href="http://www.ctex.org/PackageCASthesis" style="color: rgb(85, 26, 139); "&gt;http://www.ctex.org/PackageCASthesis&lt;/a&gt;&lt;/font&gt;&lt;/div&gt; &lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;font size="2"&gt;6.&amp;nbsp;&lt;font size="2"&gt;&lt;a href="http://bbs.ctex.org/viewthread.php?tid=45099" style="color: rgb(85, 26, 139); "&gt;http://bbs.ctex.org/viewthread.php?tid=45099&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-45349022541673948?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/45349022541673948/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=45349022541673948' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/45349022541673948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/45349022541673948'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/windowstexlive2009.html' title='Windows下安装texlive2009'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6629800448555217928</id><published>2009-11-21T02:29:00.001-08:00</published><updated>2009-11-21T02:29:58.394-08:00</updated><title type='text'>[softwares]vista多桌面</title><content type='html'>从linux下回到windows &lt;div&gt;最想念的就是linux的多桌面&lt;/div&gt;&lt;div&gt;找了一下，windows下有这样的软件可以用：&lt;/div&gt;&lt;div&gt;&lt;blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;超简单的虚拟桌面程序：&lt;a href="http://www.cnbeta.com/articles/62932.htm"&gt;http://www.cnbeta.com/articles/62932.htm&lt;/a&gt;&lt;/blockquote&gt; &lt;a href="http://www.cnbeta.com/articles/62932.htm"&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6629800448555217928?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6629800448555217928/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6629800448555217928' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6629800448555217928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6629800448555217928'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/softwaresvista.html' title='[softwares]vista多桌面'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-932429862989582750</id><published>2009-11-21T01:55:00.001-08:00</published><updated>2009-11-21T01:55:07.791-08:00</updated><title type='text'>Re: Windows，我又回来了。</title><content type='html'>chrome,lingoes,foobar,onenote,xshell&lt;div&gt;word, ppt&lt;br&gt;&lt;div&gt;我又回来了。&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-932429862989582750?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/932429862989582750/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=932429862989582750' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/932429862989582750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/932429862989582750'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/re-windows.html' title='Re: Windows，我又回来了。'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8249851379186913823</id><published>2009-11-21T01:48:00.001-08:00</published><updated>2009-11-21T01:48:37.782-08:00</updated><title type='text'>Windows，我又回来了。</title><content type='html'>折腾来折腾去，又用回vista了。&lt;div&gt;平时还是离不开Word、PPT&lt;/div&gt;&lt;div&gt;不过Ubuntu下的收获是texlive(windows下也可以用啦。所以，就不专门装一个双系统了。)&lt;/div&gt;&lt;div&gt;取代双系统的是虚拟机。&lt;/div&gt;&lt;div&gt;现在大多数程序都在服务器上跑。&lt;/div&gt;&lt;div&gt;我想通了，有功夫折腾自己的电脑，还不如去折腾服务器呢。&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;原来离开vista是因为它的硬盘一直狂转。最后发现问题出在所谓的Superfetch上。我严重怀疑原来的硬盘是被superfetch给fetch坏的。&lt;/div&gt; &lt;div&gt;禁用的方法在&lt;a href="http://www.timewww.com/www/article/58/7576.html"&gt;这里&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt; &lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8249851379186913823?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8249851379186913823/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8249851379186913823' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8249851379186913823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8249851379186913823'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/windows.html' title='Windows，我又回来了。'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-9014253350601074868</id><published>2009-11-20T20:48:00.001-08:00</published><updated>2009-11-20T20:48:56.002-08:00</updated><title type='text'>[Readings]A Pair of Socks</title><content type='html'>&lt;a href="http://www.wlpf.org/APAIROFSOCKS.htm"&gt;A Pair of Socks&lt;/a&gt; by William Lyon Phelps&lt;br&gt;&lt;br&gt;&lt;span style="font-size: 12pt; font-family: Garamond;"&gt;&lt;span style=""&gt;&lt;/span&gt;I have observed this melancholy decline in the lives of so many men in so many occupations that I have come to the conclusion that the surest road to failure is to do things mechanically.&lt;/span&gt;&lt;br clear="all"&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt; font-family: Garamond;"&gt;It is simple enough for any one to be attracted by the novelty of a new job. The real difficulty is to keep up that initial enthusiasm every day of one&amp;#39;s life, to go to work every morning with zest and excitement. I believe that a man should live every day as if that day were his first and his last day on earth. &lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 12pt; font-family: Garamond;"&gt;Every person needs some relaxation, some recreation; but a man&amp;#39;s chief happiness should not lie outside his daily work, but in it. The chief difference between the happiness of child-hood and the happiness of maturity is that the child&amp;#39;s happiness is dependent on something different from the daily routine-a picnic, an excursion, a break of some kind. But to the right sort of men and women happiness is found in the routine itself, not in departures from it. Instead of hoping for a change, one hopes there will be no change, that one will have sufficient health to continue in one&amp;#39;s chosen occupation. &lt;/span&gt;&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: Garamond;"&gt;The child has pleasures; the man has happiness.&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;But unfortunately some men remain children all their lives.&lt;/span&gt;&lt;br&gt;&lt;br&gt;---&lt;br&gt;孩子的快乐在于每天都有新奇事物；成年人的幸福在于健康地工作在他选择的职位上。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-9014253350601074868?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/9014253350601074868/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=9014253350601074868' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/9014253350601074868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/9014253350601074868'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/readingsa-pair-of-socks.html' title='[Readings]A Pair of Socks'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2524705341559842244</id><published>2009-11-20T07:51:00.001-08:00</published><updated>2009-11-20T07:51:33.049-08:00</updated><title type='text'>[Life]李张罗周演唱会</title><content type='html'>&lt;div&gt;pp的同事送了两张演唱会的票。就去看了。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;一开场，通过从s的那里借的望远镜就看到小周的表情很不自然。呀，果然，他不会弹吉他！再看小李、小张和小罗都弹得很high。我不禁感慨。这年头，没有点技术真是没有底气啊。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;但是我在年少时候还是很迷小周的，被他的忧郁所打动，自己也不禁沾上了几分忧郁。现在小周到了老周，还是那么忧郁。因为不会弹吉他而忧郁，忧郁地唱着老歌。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;小张是我最不熟悉的，从拿到票的时候看到该斯，就觉得这斯丑得有个性。他一出场，后面的一片女歌迷在狂喊他的名字。我就觉得，这厮肯定很有才，才能夺得众多女fans如此欢心。果然，接下去他的鼓让我觉得，当鼓手还是很有前途的，长相不要紧，鼓打得好就行。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;小罗也出来打鼓。不过是双手同时&amp;ldquo;敲&amp;rdquo;在大鼓上。这个其实也不难，关键是还要摆出一副很帅很陶醉的样子，对他不禁心生爱怜。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;最喜欢还是小李了。小李的吉他弹得好，歌词让人感动，歌的即兴部分也很好，老歌会有创新。其实以前对小李不熟。通过这次跟他近距离（500米）接触，我发现小李很有亲和力。50岁的老头了，活得还这么开心。空余功夫，还做了7把吉他作为业余爱好。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;我觉得小李这样是比较开心的，他是比较喜欢他的音乐的。不但喜欢音乐，也喜欢上了乐器。不但弹乐器，还做乐器，乐在其中。爱一行，从上到下，爱得很彻底。小张其次，片花里面，一有空就拿着鼓槌打鼓点。小罗虽然很陶醉的样子，但他唱歌有点像是在梦游或是道士作法。小周啊小周，不打击他了，能保持他的形象坚持下来已经很不错了。贵在坚持嘛。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;其实在听小李的歌的时候我在想，这个音乐嘛，就像是application，音乐的风格套路，像是algorithm，乐器嘛，像是architecture，要有合适的乐器去弹奏。像小李既会application，又会algorithm，又会architecture，上了台不但是show，而且是fun。而且几十年，唱起老歌还能有创新，他要是去做体系结构研究，肯定也会做得很好。&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;想着想着，又想到工作去了，博客也不好好写，作罢作罢。&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2524705341559842244?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2524705341559842244/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2524705341559842244' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2524705341559842244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2524705341559842244'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/life.html' title='[Life]李张罗周演唱会'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5514149006333811421</id><published>2009-11-19T08:38:00.000-08:00</published><updated>2009-11-19T08:39:05.107-08:00</updated><title type='text'>ubuntu 9.04 无线网卡引起关机挂掉</title><content type='html'>原来以为是装了awesome的缘故，错怪它了&lt;br&gt;原来是ubuntu启用无线网卡时shutdown时就会出错。&lt;br&gt;&lt;a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/365733"&gt;https://bugs.launchpad.net/ubuntu/+source/linux/+bug/365733&lt;/a&gt;&lt;p&gt;解决方案是先手动关掉网卡，然后关机。&lt;p&gt;sudo ifconfig wlan0 down&lt;br&gt;sudo shutdown -h now&lt;p&gt;唉，ubuntu也不稳定。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5514149006333811421?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5514149006333811421/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5514149006333811421' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5514149006333811421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5514149006333811421'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/ubuntu-904.html' title='ubuntu 9.04 无线网卡引起关机挂掉'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1636480065307367842</id><published>2009-11-18T19:18:00.001-08:00</published><updated>2009-11-18T19:18:15.440-08:00</updated><title type='text'>[Related Work]MIT Graphite</title><content type='html'>Miller introduced Graphite in HPCA 2010.&lt;br&gt;Graphite: A Distributed Parallel Simulator for Multicores&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1636480065307367842?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1636480065307367842/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1636480065307367842' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1636480065307367842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1636480065307367842'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/related-workmit-graphite.html' title='[Related Work]MIT Graphite'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3806961783970503826</id><published>2009-11-18T07:46:00.001-08:00</published><updated>2009-11-18T07:46:39.762-08:00</updated><title type='text'>xmonad rocks!</title><content type='html'>前几天用了awesome窗口管理器。但是awesome的配置不稳定，从2.x.x版本到3.x.x &lt;br&gt;之间都不一样。而且它会导致我的ubuntu在退出的时候crash。于是试用另外一个 &lt;br&gt;有名的tiling式的窗口管理器：xmonad。&lt;br&gt;从目前这一个小时的使用感觉来说。xmonad很简洁、快。（还没有退出，不知道是 &lt;br&gt;不是够稳定。）据说它是以稳定著称的。&lt;br&gt;稍候给出笔记。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3806961783970503826?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3806961783970503826/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3806961783970503826' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3806961783970503826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3806961783970503826'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/xmonad-rocks.html' title='xmonad rocks!'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8833105965079550471</id><published>2009-11-06T10:37:00.001-08:00</published><updated>2009-11-06T10:37:07.733-08:00</updated><title type='text'>[Tools]AwesomWM for Linuxer</title><content type='html'>A Window Manager for linux keyboard lovers. [&lt;a href="http://awesome.naquadah.org/"&gt;link&lt;/a&gt;]&lt;br&gt;Just awesome!&lt;br&gt;If you are a keyboard lover. You should definitely try this out.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8833105965079550471?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8833105965079550471/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8833105965079550471' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8833105965079550471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8833105965079550471'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/toolsawesomwm-for-linuxer.html' title='[Tools]AwesomWM for Linuxer'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3680979707608951694</id><published>2009-11-03T17:47:00.001-08:00</published><updated>2009-11-03T17:47:22.988-08:00</updated><title type='text'>[Tools]生成python的vim跳转文件(tags)：ptags.py</title><content type='html'>也许很多人不会注意到&lt;a href="http://www.python.org/download/"&gt;python的发行包&lt;/a&gt;下Tool/scripts的文件夹。&lt;br&gt;里面的ptags.py可以用来生成vim需要的tags(eptags.py for emacs)&lt;br&gt;&lt;br&gt; [1]. To build tags for all python files in a directory the usage is something like: &lt;pre&gt;ptags.py *.py&lt;/pre&gt;  &lt;p&gt;Hint 2: If you want to build tags for all python scripts in a folder hierarchy (say for some project) you can use: &lt;/p&gt;&lt;pre&gt;find -X . -name \*.py -print | xargs ptags.py&lt;/pre&gt; These of course assume that you moved ptags.py to somewhere in your shell&amp;#39;s $PATH.&lt;br&gt;&lt;br&gt;&lt;b&gt;Reference&lt;/b&gt;:&lt;br&gt;&lt;a href="http://betabug.ch/blogs/ch-athens/569"&gt;http://betabug.ch/blogs/ch-athens/569&lt;/a&gt;&lt;br&gt;&lt;a href="http://coverage.livinglogic.de/Tools/scripts/ptags.py.html"&gt;http://coverage.livinglogic.de/Tools/scripts/ptags.py.html&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3680979707608951694?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3680979707608951694/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3680979707608951694' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3680979707608951694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3680979707608951694'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/toolspythonvimtagsptagspy.html' title='[Tools]生成python的vim跳转文件(tags)：ptags.py'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6209411911640246850</id><published>2009-11-02T23:53:00.001-08:00</published><updated>2009-11-02T23:53:58.938-08:00</updated><title type='text'>[News]关注ROC世界车王争霸赛</title><content type='html'>昨天看了中国车王争霸赛，前两名是韩寒和董荷斌。&lt;br&gt;没看比赛的可以看看&lt;a href="http://blog.sina.com.cn/s/blog_4701280b0100fopo.html"&gt;韩寒的博客&lt;/a&gt;。&lt;a href="http://news.sina.com.cn/c/2009-11-03/130016546109s.shtml"&gt;新浪新闻&lt;/a&gt;。&lt;br&gt;&lt;br&gt;今天是对阵舒马赫和维特尔&lt;br&gt;昨天是7:30 CCTV5开播的。今天应该也是同一个时间吧～&lt;br&gt; &lt;br&gt;看看。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6209411911640246850?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6209411911640246850/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6209411911640246850' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6209411911640246850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6209411911640246850'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/newsroc.html' title='[News]关注ROC世界车王争霸赛'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3527526219810828659</id><published>2009-11-02T02:44:00.001-08:00</published><updated>2009-11-02T02:44:32.667-08:00</updated><title type='text'>[Software]Ubuntu上的英语辞典</title><content type='html'>Ubuntu, for geeks, stardict 命令行版：&lt;br&gt; &lt;blockquote&gt;(On ubuntu)&lt;br&gt; $ sudo apt-get install sdcv&lt;br&gt; $ man sdcv&lt;br&gt; 从&lt;a class="moz-txt-link-freetext" href="http://stardict.sourceforge.net/Dictionaries_zh_CN.php下载辞典库到"&gt;http://stardict.sourceforge.net/Dictionaries_zh_CN.php下载辞典库到&lt;/a&gt; ~/.stardict/dic&lt;br&gt; 在.bashrc中增加一行：&lt;br&gt;     function dic() { sdcv $* | less; }&lt;br&gt; 使用的时候：&lt;br&gt; $ dic &amp;lt;the word&amp;gt;&lt;br&gt; &lt;/blockquote&gt; 在线辞典&lt;br&gt; &lt;blockquote&gt;engkoo.cn&lt;br&gt; stardict.cn&lt;br&gt; &lt;/blockquote&gt; &lt;br&gt; 在线辞典for geeks&lt;br&gt; &lt;blockquote&gt;在elinks的smart prefixes设置stardict的一项&lt;br&gt; $ elinks&lt;br&gt; o(Option manager) -&amp;gt; Protocols -&amp;gt; URI rewriting -&amp;gt; Smart Prefixes -&amp;gt; Add&lt;br&gt;   &lt;blockquote&gt;star&lt;br&gt; &lt;a class="moz-txt-link-freetext" href="http://www.stardict.cn/query.php?q=%s"&gt;http://www.stardict.cn/query.php?q=%s&lt;/a&gt;&lt;br&gt;   &lt;/blockquote&gt;   &lt;br&gt; &lt;/blockquote&gt; windows下，推荐用&lt;a href="http://www.lingoes.cn/zh/dictionary/index.html"&gt;lingoes&lt;/a&gt;和 它的词库&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3527526219810828659?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3527526219810828659/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3527526219810828659' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3527526219810828659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3527526219810828659'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/softwareubuntu.html' title='[Software]Ubuntu上的英语辞典'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-698484214590722386</id><published>2009-11-02T01:32:00.001-08:00</published><updated>2009-11-02T01:32:22.235-08:00</updated><title type='text'>[Tools]Latex Tips -- Include URL and Source Code</title><content type='html'>&lt;font style="font-family: georgia,serif;" size="4"&gt;Include a URI&lt;/font&gt;&lt;br&gt;To include a URI, it is recommended to use the &lt;b&gt;misc&lt;/b&gt; type with the &lt;b&gt;\url&lt;/b&gt; command (requires &lt;b&gt;\usepackage{url}&lt;/b&gt; in the tex file).         &lt;br&gt;&lt;br&gt;                                     @misc{Riv92b:sig,&lt;br&gt;                 key          = {Riv92b},&lt;br&gt;                 author       = {Ron Rivest},&lt;br&gt;                 title        = {The MD5 Message-Digest Algorithm},&lt;br&gt;                 howpublished = {\url{&lt;a href="ftp://ftp.isi.edu/in-notes/rfc1321.txt%7D" target="_blank"&gt;ftp://ftp.isi.edu/in-notes/rfc1321.txt}&lt;/a&gt;},&lt;br&gt;                 year         = {1992}&lt;br&gt;         }&lt;br&gt;&lt;br&gt;&lt;font style="font-family: georgia,serif;" size="4"&gt;Include Source Code&lt;/font&gt;&lt;br&gt;\usepackage{listings}&lt;br&gt;\lstset{&lt;br&gt;        language=C++,&lt;br&gt;        %%keywordstyle=\bfseries\ttfamily\color[rgb]{0,0,1},&lt;br&gt;          identifierstyle=\ttfamily,&lt;br&gt;        %%commentstyle=\color[rgb]{0.133,0.545,0.133},&lt;br&gt;        %%stringstyle=\ttfamily\color[rgb]{0.627,0.126,0.941},&lt;br&gt;        showstringspaces=false,&lt;br&gt;        basicstyle=\small,&lt;br&gt;          numberstyle=\footnotesize,&lt;br&gt;        %numbers=left,&lt;br&gt;        stepnumber=1,&lt;br&gt;        numbersep=10pt,&lt;br&gt;        tabsize=2,&lt;br&gt;        breaklines=true,&lt;br&gt;        %%prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},&lt;br&gt;          breakatwhitespace=false,&lt;br&gt;        aboveskip={1.5\baselineskip},&lt;br&gt;        columns=fixed,&lt;br&gt;        %%upquote=true,&lt;br&gt;        extendedchars=true,&lt;br&gt;        frame=single,&lt;br&gt;        %%backgroundcolor=\color{lbcolor},&lt;br&gt;  }&lt;br&gt;\begin{figure}[h]&lt;br&gt;  \lstinputlisting{code/foo.cc}&lt;br&gt;  \caption{\emph{foo.cc} explained}&lt;br&gt;  \label{fig:foo.cc}&lt;br&gt;\end{figure}&lt;br&gt;&lt;br&gt;&lt;b&gt;References:&lt;/b&gt;&lt;br&gt;&lt;a href="http://franz.kollmann.in/latex/latex.html" target="_blank"&gt;http://franz.kollmann.in/latex/latex.html&lt;/a&gt;&lt;br&gt;  &lt;a href="http://www.tjansson.dk/?p=419" target="_blank"&gt;http://www.tjansson.dk/?p=419&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-698484214590722386?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/698484214590722386/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=698484214590722386' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/698484214590722386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/698484214590722386'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/toolslatex-tips-include-url-and-source.html' title='[Tools]Latex Tips -- Include URL and Source Code'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4394314469082829775</id><published>2009-11-01T22:32:00.001-08:00</published><updated>2009-11-01T22:32:13.022-08:00</updated><title type='text'>[Coding]A small example of embedding Python into C built with SCons</title><content type='html'>&lt;i&gt;&lt;b&gt;$ cat main.c &lt;/b&gt;&lt;/i&gt;&lt;br&gt;#include &amp;lt;Python.h&amp;gt;&lt;br&gt;&lt;br&gt;int main(int argc, char *argv[])&lt;br&gt;{&lt;br&gt;    Py_Initialize();&lt;br&gt;    PyRun_SimpleString(&amp;quot;from time import time,ctime\n&amp;quot;&lt;br&gt;               &amp;quot;print &amp;#39;Today is&amp;#39;,ctime(time())\n&amp;quot;);&lt;br&gt;     Py_Finalize();&lt;br&gt;    return 0;&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;b&gt;$ cat SConstruct &lt;/b&gt;&lt;/i&gt;&lt;br&gt;env = Environment(CPPPATH = [&amp;#39;/usr/include/python2.6/&amp;#39;])&lt;br&gt;env.Append(LINKFLAGS=&amp;#39;-lpython2.6&amp;#39;)&lt;br&gt;&lt;br&gt;env.Program(&amp;#39;main.c&amp;#39;)&lt;br&gt; &lt;br&gt;&lt;i&gt;&lt;b&gt;$ scons -Q&lt;/b&gt;&lt;/i&gt;&lt;br&gt;gcc -o main.o -c -I/usr/include/python2.6 main.c&lt;br&gt;gcc -o main -lpython2.6 main.o&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;b&gt;$ ./main &lt;/b&gt;&lt;/i&gt;&lt;br&gt;Today is Mon Nov  2 14:29:41 2009&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4394314469082829775?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4394314469082829775/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4394314469082829775' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4394314469082829775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4394314469082829775'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/11/codinga-small-example-of-embedding.html' title='[Coding]A small example of embedding Python into C built with SCons'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4961569232819014229</id><published>2009-10-31T10:38:00.001-07:00</published><updated>2009-10-31T10:38:16.538-07:00</updated><title type='text'>[Coding]Have fun with hybrid Python and C++ with SWIG &amp; SCons</title><content type='html'>Try out the example below(example.c/i, SConstruct). Have fun!&lt;br&gt;&lt;br&gt;$ scons&lt;br&gt;$ python&lt;br&gt;&lt;pre&gt; &amp;gt;&amp;gt;&amp;gt; import example&lt;br&gt; &amp;gt;&amp;gt;&amp;gt; example.fact(5)&lt;br&gt; 120&lt;br&gt; &amp;gt;&amp;gt;&amp;gt; example.my_mod(7,3)&lt;br&gt; 1&lt;br&gt; &amp;gt;&amp;gt;&amp;gt; example.get_time()&lt;br&gt;  &amp;#39;Sun Feb 11 23:01:07 1996&amp;#39;&lt;br&gt; &amp;gt;&amp;gt;&amp;gt;&lt;br&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;example.c&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;/* File : example.c */&lt;br&gt;&lt;br&gt;#include &amp;lt;time.h&amp;gt;&lt;br&gt;double My_variable = 3.0;&lt;br&gt;&lt;br&gt;int fact(int n) {&lt;br&gt;     if (n &amp;lt;= 1) return 1;&lt;br&gt;    else return n*fact(n-1);&lt;br&gt;}&lt;br&gt;&lt;br&gt;int my_mod(int x, int y) {&lt;br&gt;    return (x%y);&lt;br&gt;}&lt;br&gt;&lt;br&gt;char *get_time()&lt;br&gt;{&lt;br&gt;    time_t ltime;&lt;br&gt;    time(&amp;amp;ltime);&lt;br&gt;    return ctime(&amp;amp;ltime);&lt;br&gt; }&lt;br&gt;&lt;/div&gt;example.i:&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;/* example.i */&lt;br&gt;%module example&lt;br&gt;%{&lt;br&gt;/* Put header files here or function declarations like below */&lt;br&gt;extern double My_variable;&lt;br&gt;extern int fact(int n);&lt;br&gt; extern int my_mod(int x, int y);&lt;br&gt;extern char *get_time();&lt;br&gt;%}&lt;br&gt;&lt;br&gt;extern double My_variable;&lt;br&gt;extern int fact(int n);&lt;br&gt;extern int my_mod(int x, int y);&lt;br&gt;extern char *get_time();&lt;br&gt;&lt;/div&gt;&lt;br&gt;SConstruct:&lt;br&gt;&lt;div style="margin-left: 40px;"&gt; &lt;span class="line"&gt;&lt;span class="ResWord"&gt;import&lt;/span&gt; &lt;span class="ID"&gt;distutils&lt;/span&gt;&lt;span class="Operator"&gt;.&lt;/span&gt;&lt;span class="ID"&gt;sysconfig&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span class="line"&gt;&lt;span class="ID"&gt;env&lt;/span&gt; &lt;span class="Operator"&gt;=&lt;/span&gt; &lt;span class="ID"&gt;Environment&lt;/span&gt;&lt;span class="Operator"&gt;(&lt;/span&gt;&lt;span class="ID"&gt;SWIGFLAGS&lt;/span&gt;&lt;span class="Operator"&gt;=&lt;/span&gt;&lt;span class="Operator"&gt;[&lt;/span&gt;&lt;span class="String"&gt;&amp;#39;-python&amp;#39;&lt;/span&gt;&lt;span class="Operator"&gt;]&lt;/span&gt;&lt;span class="Operator"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br&gt; &lt;span class="line"&gt;                  &lt;span class="ID"&gt;CPPPATH&lt;/span&gt;&lt;span class="Operator"&gt;=&lt;/span&gt;&lt;span class="Operator"&gt;[&lt;/span&gt;&lt;span class="ID"&gt;distutils&lt;/span&gt;&lt;span class="Operator"&gt;.&lt;/span&gt;&lt;span class="ID"&gt;sysconfig&lt;/span&gt;&lt;span class="Operator"&gt;.&lt;/span&gt;&lt;span class="ID"&gt;get_python_inc&lt;/span&gt;&lt;span class="Operator"&gt;(&lt;/span&gt;&lt;span class="Operator"&gt;)&lt;/span&gt;&lt;span class="Operator"&gt;]&lt;/span&gt;&lt;span class="Operator"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br&gt; &lt;span class="line"&gt;                  &lt;span class="ID"&gt;SHLIBPREFIX&lt;/span&gt;&lt;span class="Operator"&gt;=&lt;/span&gt;&lt;span class="String"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class="Operator"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span class="line"&gt;&lt;span class="ID"&gt;env&lt;/span&gt;&lt;span class="Operator"&gt;.&lt;/span&gt;&lt;span class="ID"&gt;SharedLibrary&lt;/span&gt;&lt;span class="Operator"&gt;(&lt;/span&gt;&lt;span class="String"&gt;&amp;#39;_example.so&amp;#39;&lt;/span&gt;&lt;span class="Operator"&gt;,&lt;/span&gt; &lt;span class="Operator"&gt;[&lt;/span&gt;&lt;span class="String"&gt;&amp;#39;example.c&amp;#39;&lt;/span&gt;&lt;span class="Operator"&gt;,&lt;/span&gt; &lt;span class="String"&gt;&amp;#39;example.i&amp;#39;&lt;/span&gt;&lt;span class="Operator"&gt;]&lt;/span&gt;&lt;span class="Operator"&gt;)&lt;/span&gt;&lt;span class="Text"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt; &lt;/div&gt; &lt;pre dir="ltr" id="CA-d020ad52ca3b8ea41db65547f9abebbd6d925687_000" lang="en"&gt;&lt;br&gt;&lt;br&gt;&lt;/pre&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4961569232819014229?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4961569232819014229/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4961569232819014229' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4961569232819014229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4961569232819014229'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/codinghave-fun-with-hybrid-python-and-c.html' title='[Coding]Have fun with hybrid Python and C++ with SWIG &amp; SCons'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3202094809247125115</id><published>2009-10-30T12:21:00.001-07:00</published><updated>2009-10-30T12:21:30.521-07:00</updated><title type='text'>[Tools]用vim写latex的插件：Vim-latex (cont.)</title><content type='html'>visually select a word and excute a command on it:&lt;br&gt; &lt;br&gt; &lt;code class="literal"&gt;`sf&lt;br&gt; &lt;/code&gt; &lt;code class="literal"&gt;\textsf{word}&lt;br&gt; &lt;br&gt; &lt;/code&gt; &lt;code class="literal"&gt;,se&lt;/code&gt;&lt;br&gt; \section{section name}&lt;br&gt; &lt;br&gt; &lt;code class="literal"&gt;,ce&lt;br&gt; &lt;/code&gt;&lt;code class="literal"&gt;\centerline{word}&lt;br&gt; &lt;/code&gt; &lt;pre class="programlisting"&gt;`(  encloses selection in \left( and \right) `[  encloses selection in \left[ and \right] `{  encloses selection in \left\{ and \right\} `$  encloses selection in $$ or \[ \] depending on characterwise or                                       linewise selection&lt;/pre&gt; &lt;br&gt; &lt;h4 class="title"&gt;g:Tex_Leader&lt;/h4&gt; &lt;div class="informaltable"&gt; &lt;table border="1"&gt;   &lt;colgroup&gt;&lt;col&gt;&lt;col&gt;&lt;/colgroup&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td&gt;Type&lt;/td&gt;       &lt;td&gt;String&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td&gt;Default Value&lt;/td&gt;       &lt;td&gt;&lt;code class="literal"&gt;'`'&lt;/code&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; &lt;code class="literal"&gt;&lt;/code&gt;&lt;br&gt; &lt;h4 class="title"&gt;g:Tex_Leader2&lt;/h4&gt; &lt;div class="informaltable"&gt; &lt;table border="1"&gt;   &lt;colgroup&gt;&lt;col&gt;&lt;col&gt;&lt;/colgroup&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td&gt;Type&lt;/td&gt;       &lt;td&gt;String&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;td&gt;Default Value&lt;/td&gt;       &lt;td&gt;&lt;code class="literal"&gt;','&lt;/code&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt; &lt;/table&gt; &lt;br&gt; Reference:&lt;br&gt; &lt;a class="moz-txt-link-freetext" href="http://vim-latex.sourceforge.net/documentation/latex-suite.html"&gt;http://vim-latex.sourceforge.net/documentation/latex-suite.html&lt;/a&gt;&lt;br&gt; &lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3202094809247125115?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3202094809247125115/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3202094809247125115' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3202094809247125115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3202094809247125115'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/toolsvimlatexvim-latex-cont.html' title='[Tools]用vim写latex的插件：Vim-latex (cont.)'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1915059084644317516</id><published>2009-10-30T09:40:00.001-07:00</published><updated>2009-10-30T09:40:48.512-07:00</updated><title type='text'>Vimrc for Python Coding Style</title><content type='html'>Indenting Python with VIM&lt;br&gt;&lt;a href="http://henry.precheur.org/2008/4/18/Indenting_Python_with_VIM.html"&gt;http://henry.precheur.org/2008/4/18/Indenting_Python_with_VIM.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Python Coding Style&lt;br&gt;&lt;a href="http://www.python.org/dev/peps/pep-0008/"&gt;http://www.python.org/dev/peps/pep-0008/&lt;/a&gt;&lt;br&gt; &lt;br&gt;indent/python.vim : An alternative indentation script for python &lt;br&gt;&lt;a href="http://www.vim.org/scripts/script.php?script_id=974"&gt;http://www.vim.org/scripts/script.php?script_id=974&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1915059084644317516?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1915059084644317516/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1915059084644317516' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1915059084644317516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1915059084644317516'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/vimrc-for-python-coding-style.html' title='Vimrc for Python Coding Style'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7077121453082980515</id><published>2009-10-30T06:54:00.001-07:00</published><updated>2009-10-30T06:54:46.251-07:00</updated><title type='text'>[Tools]用vim写latex的插件：Vim-latex</title><content type='html'>最近需要用到vim来写latex，所以就下了&lt;a href="http://vim-latex.sourceforge.net/"&gt;vim-latex&lt;/a&gt;这 个包来用。&lt;br&gt; 开始时用的还不是很顺手，因为它的文档写得很差。&lt;br&gt; 而且因为是小众软件，在google上也搜不到什么资料。&lt;br&gt; &lt;br&gt; 用了一个下午，有一些Tips。简单记录一下。&lt;br&gt; 最主要的一条：Read the f**cking source code!&lt;br&gt; 比如，在其晦涩难懂的&lt;a  href="http://vim-latex.sourceforge.net/documentation/latex-suite.html"&gt;User Manual&lt;/a&gt;里面说到：&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;These maps insert LaTeX sections such as: ... Example: SSE in insert mode inserts  \section{&amp;lt;++&amp;gt;}&amp;lt;++&amp;gt;&lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; 其实，就是在你输入"SSE"的时候自动帮你替换成"&lt;font&gt;&lt;font  face="Times New Roman, Times, serif"&gt;\section{&amp;lt;++&amp;gt;}&amp;lt;++&amp;gt;&lt;/font&gt;&lt;/font&gt;"。 vim-latex之所以好用，是因为它提供一系列快捷键来使你编辑LaTeX更方便。但是我一开始肯定是记不住这些所谓的快捷键的，而我又查不到网上有 快捷键列表之类的文档。等到真正写latex的时候，仍然不会去使用，这个让人很烦躁。&lt;br&gt; 解决方法就是：读源代码。这里特指读一下vim的plugin里面的代码。&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;~/.vim/ftplugin/latex-suite&lt;i&gt;&lt;b&gt;$ grep --color -n -r --include=* --include=*.* ./* -e SSE&lt;/b&gt;&lt;/i&gt; ./envmacros.vim:256:call s:Tex_SectionMacros('SSE', 'section') ./texrc:423:"       SSE for section ./wizardfuncs.vim:333:\."\n SSE   ".g:Tex_Leader2."se   section" &lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; &lt;font face="Times New Roman, Times, serif"&gt;找一下envmacros.vim，就可以看到所有的 Macros：&lt;/font&gt;&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;" Sections {{{ call s:Tex_SectionMacros('SPA', 'part') call s:Tex_SectionMacros('SCH', 'chapter') call s:Tex_SectionMacros('SSE', 'section') call s:Tex_SectionMacros('SSS', 'subsection') call s:Tex_SectionMacros('SS2', 'subsubsection') call s:Tex_SectionMacros('SPG', 'paragraph') call s:Tex_SectionMacros('SSP', 'subparagraph') " }}}&lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; Have fun!&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7077121453082980515?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7077121453082980515/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7077121453082980515' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7077121453082980515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7077121453082980515'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/toolsvimlatexvim-latex.html' title='[Tools]用vim写latex的插件：Vim-latex'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-565038911362078567</id><published>2009-10-28T22:47:00.001-07:00</published><updated>2009-10-28T22:47:40.136-07:00</updated><title type='text'>[Coding]代码风格</title><content type='html'>&lt;h3&gt;&lt;font color="#3333ff"&gt;&lt;b&gt;K&amp;amp;R&lt;/b&gt;&lt;/font&gt;&lt;/h3&gt; 缩进为4格，{跟在控制语句后面&lt;br&gt; &lt;blockquote&gt;int foo(int k)&lt;br&gt; {&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; if (k &amp;lt; 0 || k &amp;gt; 2) {&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;out of range\n&amp;quot;);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;this function requires a value of 1 or 2\n&amp;quot;);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Switching\n&amp;quot;);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (k) {&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 1:&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;1\n&amp;quot;);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 2:&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;2\n&amp;quot;);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt; }&lt;br&gt; &lt;/blockquote&gt; 使用K&amp;amp;R&lt;br&gt; &lt;blockquote&gt;&lt;i&gt;&lt;b&gt;$ indent -kr *.c *.h&lt;/b&gt;&lt;/i&gt;&lt;br&gt; 在.vimrc中添加&lt;br&gt;   &lt;blockquote&gt;function! KRIndent()&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set shiftwidth=4&lt;br&gt; endfunction&lt;br&gt; au FileType c,cpp,h,hh call KRIndent()&lt;br&gt;   &lt;/blockquote&gt; &lt;/blockquote&gt; &lt;br&gt; &lt;h3&gt;&lt;font color="#3333ff"&gt;GNU&lt;/font&gt;&lt;/h3&gt; 函数类型定义另起一行。缩进为2格。{另起一行。&lt;br&gt; &lt;pre style="margin-left: 40px;" class="de1"&gt;&lt;span class="kw4"&gt;int&lt;/span&gt;&lt;br&gt;foo &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="kw4"&gt;int&lt;/span&gt; k&lt;span class="br0"&gt;)&lt;/span&gt;&lt;br&gt;&lt;span class="br0"&gt;{&lt;/span&gt;&lt;br&gt;  &lt;span class="kw1"&gt;if&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;k &lt;span class="sy0"&gt;&amp;lt;&lt;/span&gt; 0 &lt;span class="sy0"&gt;||&lt;/span&gt; k &lt;span class="sy0"&gt;&amp;gt;&lt;/span&gt; 2&lt;span class="br0"&gt;)&lt;/span&gt;&lt;br&gt;     &lt;span class="br0"&gt;{&lt;/span&gt;&lt;br&gt;      &lt;span class="kw3"&gt;printf&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="st0"&gt;&amp;quot;out of range&lt;span class="es1"&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt;       &lt;span class="kw3"&gt;printf&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="st0"&gt;&amp;quot;this function requires a value of 1 or 2&lt;span class="es1"&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt;     &lt;span class="br0"&gt;}&lt;/span&gt;&lt;br&gt;  &lt;span class="kw1"&gt;else&lt;/span&gt;&lt;br&gt;    &lt;span class="br0"&gt;{&lt;/span&gt;&lt;br&gt;      &lt;span class="kw3"&gt;printf&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="st0"&gt;&amp;quot;Switching&lt;span class="es1"&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt;       &lt;span class="kw1"&gt;switch&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;k&lt;span class="br0"&gt;)&lt;/span&gt;&lt;br&gt;	&lt;span class="br0"&gt;{&lt;/span&gt;&lt;br&gt;	&lt;span class="kw1"&gt;case&lt;/span&gt; 1&lt;span class="sy0"&gt;:&lt;/span&gt;&lt;br&gt;	  &lt;span class="kw3"&gt;printf&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="st0"&gt;&amp;quot;1&lt;span class="es1"&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt; 	  &lt;span class="kw2"&gt;break&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt;	&lt;span class="kw1"&gt;case&lt;/span&gt; 2&lt;span class="sy0"&gt;:&lt;/span&gt;&lt;br&gt;	  &lt;span class="kw3"&gt;printf&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="st0"&gt;&amp;quot;2&lt;span class="es1"&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt; 	  &lt;span class="kw2"&gt;break&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br&gt;	&lt;span class="br0"&gt;}&lt;/span&gt;&lt;br&gt;    &lt;span class="br0"&gt;}&lt;/span&gt;&lt;br&gt;&lt;span class="br0"&gt;}&lt;/span&gt;&lt;/pre&gt; 使用GNU&lt;br&gt; &lt;blockquote&gt;&lt;i&gt;&lt;b&gt;$ indent *.c *.h&lt;/b&gt;&lt;/i&gt;&lt;br&gt; 在.vimrc中添加&lt;br&gt;   &lt;blockquote&gt;function! GnuIndent()&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setlocal cinoptions=&amp;gt;4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setlocal shiftwidth=2&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setlocal tabstop=8&lt;br&gt; endfunction&lt;br&gt; au FileType c,cpp,h,hh call GnuIndent()&lt;br&gt;   &lt;/blockquote&gt; &lt;/blockquote&gt; 其他，还有Linux/BSD等等。有兴趣的话可以参考Reference&lt;br&gt; &lt;br&gt; &lt;b&gt;Reference&lt;/b&gt;&lt;br&gt; &lt;a href="http://en.wikipedia.org/wiki/Prettyprint"&gt;http://en.wikipedia.org/wiki/Prettyprint&lt;/a&gt;&lt;br&gt;  &lt;a href="http://en.wikipedia.org/wiki/Indent_style"&gt;http://en.wikipedia.org/wiki/Indent_style&lt;/a&gt;&lt;br&gt;  &lt;a href="http://www.gnu.org/software/indent/manual/indent.html"&gt;http://www.gnu.org/software/indent/manual/indent.html&lt;/a&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-565038911362078567?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/565038911362078567/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=565038911362078567' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/565038911362078567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/565038911362078567'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/coding.html' title='[Coding]代码风格'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2888414613030447206</id><published>2009-10-28T02:04:00.001-07:00</published><updated>2009-10-28T02:04:54.071-07:00</updated><title type='text'>[讲座]The Future of Computing is Parallel</title><content type='html'>&lt;h2&gt;&lt;/h2&gt; 						 						 																											&lt;p class="MsoNormal" style="text-indent: 119.25pt;"&gt;&lt;b&gt;&lt;font face="仿宋_GB2312" size="5"&gt;&lt;span style="font-size: 16pt; font-family: 仿宋_GB2312; font-weight: bold;"&gt;清华海外名师讲堂第&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;b&gt;&lt;font size="5"&gt;&lt;span style="font-size: 16pt; font-weight: bold;" lang="EN-US"&gt;58&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;b&gt;&lt;font face="仿宋_GB2312" size="5"&gt;&lt;span style="font-size: 16pt; font-family: 仿宋_GB2312; font-weight: bold;"&gt;讲&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;b&gt;&lt;font size="5"&gt;&lt;span style="font-size: 16pt; font-weight: bold;" lang="EN-US"&gt; Bill Dally&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;b&gt;&lt;font face="仿宋_GB2312" size="5"&gt;&lt;span style="font-size: 16pt; font-family: 仿宋_GB2312; font-weight: bold;"&gt;教授清华大学演讲&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;b&gt;&lt;font size="5"&gt;&lt;span style="font-size: 16pt; font-weight: bold;" lang="EN-US"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;font face="宋体" size="3"&gt;&lt;span style="font-size: 12pt;" lang="EN-US"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="仿宋_GB2312" size="3"&gt;&lt;span style="font-size: 12pt; font-family: 仿宋_GB2312;"&gt;演讲题目&lt;a href="http://localhost:8888/bbs/viewthread.php?tid=4183" name="OLE_LINK2"&gt;：&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;span lang="EN-US"&gt; The Future of Computing is Parallel&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;font face="宋体" size="3"&gt;&lt;span style="font-size: 12pt;" lang="EN-US"&gt;Prof.Bill Dally&lt;/span&gt;&lt;/font&gt;&lt;font face="仿宋_GB2312"&gt;&lt;span style="font-family: 仿宋_GB2312;"&gt;：&lt;/span&gt;&lt;/font&gt;&lt;span lang="EN-US"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="宋体" size="3"&gt;&lt;span style="font-size: 12pt;" lang="EN-US"&gt;Fellow of the &lt;a href="http://www.amacad.org/"&gt;American Academy of Arts &amp;amp; Sciences&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="宋体" size="3"&gt;&lt;span style="font-size: 12pt;" lang="EN-US"&gt;Chairman of the &lt;a href="http://cs.stanford.edu/"&gt;Computer Science Department&lt;/a&gt; at &lt;a href="http://www.stanford.edu/"&gt;Stanford University&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="宋体" size="3"&gt;&lt;span style="font-size: 12pt;" lang="EN-US"&gt;Bell Professor of Engineering, Stanford University&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="宋体" size="3"&gt;&lt;span style="font-size: 12pt;" lang="EN-US"&gt;Chief Scientist &amp;amp; Sr. VP of Research, NVIDIA&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;font face="仿宋_GB2312" size="3"&gt;&lt;span style="font-size: 12pt; font-family: 仿宋_GB2312;" lang="EN-US"&gt;&lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------&lt;br&gt;Moore&amp;#39;s Law&lt;br&gt;&lt;div style="margin-left: 40px;"&gt; more transistors&lt;br&gt;L^3 power scaling&lt;br&gt;no performance perdiction&lt;br&gt;&lt;/div&gt;&lt;br&gt;Transistor-&amp;gt; Processor-&amp;gt;Value&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;value chain broken for serial computers&lt;br&gt;&lt;/div&gt;&lt;br&gt;Turning more transistor to values.&lt;br&gt; ILP not in programs&lt;br&gt;&lt;br&gt;More power is spent moving data.&lt;br&gt;[Gordon Moore ISSCC 2003]&lt;br&gt;&lt;br&gt;The energy is not limited by Floating Point Unit.&lt;br&gt;Chips are power limited.&lt;br&gt;&lt;br&gt;Performance = Parallelism&lt;br&gt;Efficiency = Locality&lt;br&gt; &lt;br&gt;Amdahl&amp;#39;s Law doesn&amp;#39;t apply to most future applications.&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;We need:&lt;br&gt;1. Many efficient processors&lt;br&gt;2. An exposed storage hierarchy(locality)&lt;br&gt;3. A programming system that abstract this&lt;br&gt; &lt;/div&gt;&lt;br&gt;NASA application&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;domain expert: 27-169 times performance&lt;br&gt;&lt;/div&gt;&lt;br&gt;Data Movement&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;scarce resource:&lt;br&gt;on-chip storage&lt;br&gt;off-chip bandwidth&lt;br&gt; &lt;/div&gt;&lt;br&gt;Fermi - throughput computing&lt;br&gt;&lt;br&gt;Avoid Denial Architect&lt;br&gt;Single thread processors&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;serial execution&lt;br&gt;- Denies parallelism&lt;br&gt;Flat Memory&lt;br&gt;- Denies locality&lt;br&gt;&lt;/div&gt;These illusions inhibit performance and efficiency&lt;br&gt; &lt;br&gt;CUDA abstracts the GPU architecture&lt;br&gt;&lt;br&gt;Throughput computing must evolve to meet the challenges of Exascale Computing&lt;br&gt;&lt;br&gt;DARPA Study&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;Four challenges&lt;br&gt;Energy and Power&lt;br&gt;Memory and Storage&lt;br&gt; Concurrency and Locality&lt;br&gt;Resilliency&lt;br&gt;&lt;/div&gt;#1 is power&lt;br&gt;&lt;br&gt;Energy&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;Heterogeneous architecture&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;(right core for right job)&lt;br&gt;&lt;/div&gt;Efficient processor&lt;br&gt; Agile memory system&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;(keep data and instruction access local)&lt;br&gt;&lt;/div&gt;Optimized&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;(minimize energy/op)&lt;br&gt;(minimize data movement)&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;Locality Chalelnge&lt;br&gt; &lt;div style="margin-left: 40px;"&gt;automatically(as a cache) or explicitly(scratchpad)&lt;br&gt;move computation to data&lt;br&gt;-fast active messages&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;span style="font-weight: bold;"&gt;An NVIDIA ExaScale Machine in 2017&lt;/span&gt;&lt;br&gt; &lt;div style="margin-left: 40px;"&gt;* GPU Node ~300W&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;- 2,400 throupht cores&lt;br&gt;- 40 TFLOPS(SP), 13TFLOPS(DP)&lt;br&gt;- Deep explicit on-chip storage hierarchy&lt;br&gt;&lt;/div&gt;* Node Memory&lt;br&gt;&lt;div style="margin-left: 40px;"&gt; - 128 GB RAM&lt;br&gt;- 512 GB Phase-Change Memory for checkpoint and scratch&lt;br&gt;&lt;/div&gt;* Cabinet - 100KW&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;- Dragonfly network&lt;br&gt;&lt;/div&gt;* System - 10MW&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;- Dragonfly with optical links&lt;br&gt; &lt;/div&gt;* RAS&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;- ECC on all memory and links&lt;br&gt;- self-checking and application-level checking&lt;br&gt;- Fast local checkpoint&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;Conclusion&lt;br&gt;* Single thread performance is no longer scaling&lt;br&gt; * Performance = Parallelism&lt;br&gt;* Efficiency = Locality&lt;br&gt;* Application have lots of both&lt;br&gt;* Machines need lots of cores(parallelism) and exposed storage hierachy(locality)&lt;br&gt;* A programming system must abstract this&lt;br&gt; * Reaching an ExaScale requires evolving throughput computing.&lt;br&gt;- Agile memory&lt;br&gt;- Energy efficient cores and communication&lt;br&gt;- Efficient parallel mechanism&lt;br&gt;&lt;br&gt;Q&amp;amp;A&lt;br&gt; Q: throughput&lt;br&gt; A: how many problems/time&lt;br&gt;&lt;br&gt;Q(lhw):&lt;br&gt;What do you think about the future of dataflow programming model in the parallel computing era?&lt;br&gt;A:&lt;br&gt;does not explore locality well &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2888414613030447206?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2888414613030447206/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2888414613030447206' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2888414613030447206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2888414613030447206'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/future-of-computing-is-parallel.html' title='[讲座]The Future of Computing is Parallel'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3234070135053700277</id><published>2009-10-23T21:59:00.000-07:00</published><updated>2009-10-23T22:00:00.556-07:00</updated><title type='text'>A Taste of Haskell</title><content type='html'>&amp;lt;iframe src=&amp;quot;&lt;a href="http://docs.google.com/present/embed?id=d2xvwd8_337cqc93qhg&amp;amp;size=m"&gt;http://docs.google.com/present/embed?id=d2xvwd8_337cqc93qhg&amp;amp;size=m&lt;/a&gt;&amp;quot; frameborder=&amp;quot;0&amp;quot; width=&amp;quot;555&amp;quot; height=&amp;quot;451&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3234070135053700277?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3234070135053700277/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3234070135053700277' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3234070135053700277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3234070135053700277'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/taste-of-haskell_23.html' title='A Taste of Haskell'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5494397506799775342</id><published>2009-10-19T15:49:00.001-07:00</published><updated>2009-10-19T15:49:08.604-07:00</updated><title type='text'>[Readings]朱老师的故事</title><content type='html'>[&lt;a href="http://zhouzh2009.spaces.live.com/Blog/cns%218417995FC7F447A4%21232.entry"&gt;link&lt;/a&gt;]&lt;br&gt;&lt;br&gt;只引一句：&lt;br&gt;&lt;i&gt;&lt;span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry"&gt;写到这里，不由得又感慨一次，中国从来不缺聪明人，缺的是让聪明人发挥才智的环境。我们的多少前辈学人，就算天纵奇才，生不逢时又能奈其何！今日的年轻人，若不能做出点名堂，那真是愧对前辈了。&lt;/span&gt;&lt;/i&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5494397506799775342?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5494397506799775342/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5494397506799775342' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5494397506799775342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5494397506799775342'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/readings_8612.html' title='[Readings]朱老师的故事'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4780437152732073329</id><published>2009-10-19T15:45:00.001-07:00</published><updated>2009-10-19T15:45:04.795-07:00</updated><title type='text'>[Readings]郎咸平：中国经济回暖与华尔街的阴谋</title><content type='html'>[&lt;a href="http://xianpinglang.blog.sohu.com/134393717.html"&gt;link&lt;/a&gt;]&lt;br&gt;刚读完《中国大趋势》，又读到郎老师的阴谋论。&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;如果当你和别人不一样的时候，你最 好认为你自己不正常，这样可能代表你还正常一点。但是我们从来不是这样思考问题的，我们感觉就是好得不得了，甚至这一波回暖，我们对待回暖的态度和过去是 迥然不同。&amp;quot;&lt;/i&gt;&lt;br&gt;真是犀利啊！&lt;br&gt;&lt;br&gt;&lt;i&gt;各位记得不记得，当时全世界有两派争论，一批是我一个人，另外一派是其他所有人&lt;/i&gt;&lt;br&gt;&lt;br&gt;&lt;i&gt;就在四月份，华尔街通过他们所操纵的中国媒体对外散步谣言，大豆要涨到七八千。所以，中国的油脂压榨工厂，在前一个月，买了八百多万吨美国大 豆，到了五月份，涨到四千四，再到下一个月，不知道是谁一声令下，华尔街开始集体抛售大豆期货，把大豆价格一下子打到两千块一吨，造成70%中国油脂压榨 企业被淘汰。我上个礼拜在山东时，有几个朋友跟我讲的嚎啕大哭，他们是山东日照油脂压榨厂的，以没有四千三百块的价格购了一船大豆，船还没有口岸就跌到两 千块，还没有生产就倒闭了，他们还没有上班银行就来查了。你知道下一步是什么吗?然后国际四大粮仓趁机进入中国，用贱价收购这些70%倒闭的油脂压榨工 厂。 &lt;/i&gt; &lt;p&gt;&lt;i&gt;　　由于加入wto，09年开始，中国必须开放农产品市场。而08年年底，各位记得不记得，我们搞了一个农业改革，也是农民释放经营权，取得资本， 他可以去城市打工也，可以回到家乡替那些收购他的经营权的公司打工。国际四大粮商趁此良机收购了这些有经营权的中国农业公司进行参股，参股以后帮他做融 资，请他们去大面积收购中国的农地，所以收购中国农业公司的幕后人是是欧美四大粮商。 &lt;/i&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://fire1983.spaces.live.com/blog/cns%219DC52672F572FD6E%212526.entry"&gt;读《中国大趋势》&lt;/a&gt;，信心是要长，关键时刻还是得听郎老师的。郎老师才是自己人。&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;quot;中国很多制造业包括出 口，基本上是简单进口原材料，进口机器设备的粗加工，一月份进口原材料跌了一半，进口机器设备跌了四成，你知道这是什么可怕的意义吗?那就是在我们前面讲 的两个病没有解决的情况下，企业家不想干了，他在思考，辛苦了十几年，对不起家庭、子女和老婆，于是跑到广州买了几十万一只的名表或珠宝送给老婆，中国奢 侈品市场得以回暖;再看看自己的子女和年迈的父母，觉得特别的愧疚，这几年都是忙着做生意，干脆出去玩玩吧，然后买一个商务车，带着自己的孩子、老婆和自 己的岳父母去旅游，因此汽车销售又被带动起来。再想想自己辛苦这么多年，吃没有吃好，穿没有穿好，更重要的是住没有住好，因此江浙这一带企业家就到黄埔江 边买一个康城一品，或是到西湖边买一个别墅，中国的高端房产得以开始回暖。 　　这时候，摸一摸额头，你会发现已经有发烧的现象了&amp;quot;&lt;/i&gt; &lt;/p&gt;&lt;p&gt;手里掌握数据，同时用最幽默易懂的方式表达出来。郎老师的个人魅力真是无敌！&lt;br&gt;&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4780437152732073329?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4780437152732073329/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4780437152732073329' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4780437152732073329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4780437152732073329'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/readings_19.html' title='[Readings]郎咸平：中国经济回暖与华尔街的阴谋'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8973009042303779847</id><published>2009-10-19T15:23:00.001-07:00</published><updated>2009-10-19T15:23:34.877-07:00</updated><title type='text'>[Readings]塑造以研究为职业的生涯</title><content type='html'>&lt;font style="font-family: Georgia;"&gt;[&lt;/font&gt;link: &lt;a href="http://blog.sina.com.cn/s/blog_4caedc7a0100g9ra.html?tj=1"&gt;塑造以研究为职业的生涯&lt;span class="time"&gt;&lt;/span&gt;&lt;/a&gt;&lt;font style="font-family: Georgia;"&gt;]&lt;i&gt;&lt;b&gt;&lt;br&gt;&lt;br&gt;郁彬&lt;/b&gt;:&amp;nbsp; 我年轻时非常理想主义，导师给了我充分的研究自由，所以在博士期间我能做一些很喜欢的课题，虽然不是很理论，但是却很实用。当上助理教授后，为了拿到终身 教职,&amp;nbsp; 开始希望得到别人的认可，所以也开始做一些主流的非常理论的工作。这时的我做的并不开心，而且在最后的终身教职资格投票中，只是勉强通过，让我郁闷了很长 一段时间。因此，我在拿到终身教职之后并没有继续在学术界发展，而是来到工业界，做一些我感兴趣的且兼顾理论和实际的研究项目。最后，因为对学校氛围的热 爱，我还是回到了学校。这时由于没有了评终身教职的压力，在兼顾主流方向的同时，已经可以把大量的时间放在自己喜欢的研究方向上，做一些对人们的实际生活 有影响的研究项目。而这些符合我兴趣的项目，最终也得到了同行的认可。&lt;/i&gt;&lt;br&gt;过来人的经验。Berkeley的终身教职，勉强过已经是非常了不起了！还如此沮丧。&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;font style="font-family: Georgia;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 同学们在年轻的时候可以理想主义一点，为了做自己想做的事情不免冒一冒险。即使失败了也没有关系，因为失败可以使人变得坚强。记得我的终身教职评审遇到阻力时，我去向我的导师诉苦，没想到我的导师只是轻描淡写的说了一句: What doesn&amp;rsquo;t kill you makes you stronger（没能击倒你的事情将使你变得坚强）。直到几年之后，我才深刻的明白了这句话的内涵: 如果当初终身教职的评审没有遇到压力，我就不会走出贝尔实验室，也就失去了很好的开阔眼界、结识研究伙伴的机会，而我后来的研究之路恐怕也不会这么精彩了。&lt;/i&gt;&lt;br&gt;&lt;/font&gt;&lt;font style="font-family: Georgia;"&gt;&lt;i&gt;What doesn&amp;rsquo;t kill you makes you stronger. &lt;/i&gt;&lt;/font&gt;&lt;font style="font-family: Georgia;"&gt;精辟！&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;font style="font-family: Georgia;"&gt;&lt;i&gt;&lt;b&gt;郭百宁&lt;/b&gt;: &amp;nbsp;关于这个话题我也很有感触。一个人最终成功与否和他是否能够发现自己所热爱的事业有很大的关系。在这里，我想谈谈关于直觉的问题。每个人的内心其实都不 断的向我们发射信号，但是这些信号却淹没在家庭压力、名誉和金钱等噪音中。同学们在学校里要培养自己摒除杂念倾听内心世界的能力。寻找那种在深夜里听到针 掉落的声音一般的感觉------这就是直觉。而当我们能够倾听自己内心声音的时候，就可以找到自己真心喜欢的工作和生活了。直觉其实是一种被忽略的强大 的力量，它有时候比经验或者知识更可靠。现代社会，大家越来越忙碌，对功利的追求也越来越多，这个时候，抽出一点闲暇静静地思考感悟，就更可贵了。人们常 说：follow your heart，就是这个意思。&lt;/i&gt;&lt;br&gt;这个不就是柯维说的Find your voice的意思么？郭老师点评的很到位。&lt;br&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&lt;/font&gt;&lt;font style="font-family: Georgia;"&gt;&lt;i&gt;我认为博士生最重要的技能是对发现问题的能力的培养（problem formulation）。而这一点却又是只可意会，不可言传的。所以我在给博士生制定题目时，不会指定某个题目，而是会给他一个领域，让他从这个领域中 通过大量阅读文献以及和别人的讨论，自己选题，我只负责提供建议。悟性好的学生可以从和我的讨论，或者我的研究工作中体会出problem formulation的方法。&lt;/i&gt;&lt;br&gt;哦，在berkeley也是只定领域不定题目的。得自己formulate a problem.&lt;br&gt;&lt;/font&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8973009042303779847?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8973009042303779847/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8973009042303779847' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8973009042303779847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8973009042303779847'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/readings.html' title='[Readings]塑造以研究为职业的生涯'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8760291642680864581</id><published>2009-10-19T14:59:00.001-07:00</published><updated>2009-10-19T14:59:51.149-07:00</updated><title type='text'>[books]不识庐山真面目,只缘生在此山中 -- 读《中国大趋势》</title><content type='html'>上周《对话》里请了《中国大趋势》这本书的作者约翰・奈斯比特做为嘉宾。&lt;br&gt;事隔两天，突然想起，于是去找&lt;a href="http://book.qq.com/s/book/0/18/18195/index.shtml"&gt;这本书&lt;/a&gt;来看。&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;我们的宗旨就是抛开西方人的视角和态度，用中国人的眼光看待中国。正视中国的短处，但是绝不根据我们自己的价值观和标准评价中国。&amp;quot;&lt;br&gt;&amp;quot;我们所寻找的是一种中国模式，只有把一系列的单一事件放在这个模式中来观察才有意义，并勾勒出一幅新中国的图画，就像1982年我写《大趋势》时对美国所做的分析那样。&amp;quot;&lt;br&gt; &amp;quot;1982年美国所发生的变化都是在一个既定的体制内，而2009年中国却在创造一个崭新的社会、经济和政治体制，它的政治模式也许可以证明资本主义这一所谓的&amp;quot;历史之终结&amp;quot;只不过是人类历史道路的一个阶段而已。&amp;quot;&lt;/i&gt;&lt;br&gt;在《对话》里面有个深圳的企业家提了一个问题，说深圳很多中低劳动力不愿意接受技术培训，即使培训是免费的。奈斯比的夫人说在欧洲也完全如此。我们也许把国外想的太好了，其实不管国内国外，人的能力和本性都是一样的，并不存在差别。国外现在先进，那是因为他们将近一百年的积累。而我们，三十年。&lt;br&gt; &lt;br&gt;&lt;i&gt;"1978年的中国：一位自信、果敢、具有远见卓识的CEO接管了一家经营不善、濒临破产的大公司。员工们士气低下、毫无自信，而且缺乏文化知识。这位CEO决心领导这家衰落的公司走向健康、盈利、可持续发展的道路，帮助员工实现小康。为达到这一目标他有着清晰的战略"&lt;br&gt;&amp;quot;　　我们非常赞同托马斯・库恩（Thomas Kuhn） 的观点：&amp;quot;你是无法用旧模式中的词汇来理解一个新模式的。&amp;quot;随着新模式的逐步展现，更加恰当的定义也会随之而来。&amp;quot;&lt;br&gt; &amp;quot;　　在政治领域，西方国家仍然宣称西方民主是最好的执政方式。但是从在中国的所见所闻来看，我们不得不怀疑西方现代民主是否是唯一可接受的民主形式。一个 在西方眼中的&amp;quot;独裁政府&amp;quot;能够成功地领导全球四分之一的人口走向富裕，并且保持政治稳定吗？西方人难以想象的资本主义与大政府的结合有可能实现吗？对于第 三世界的许多国家来说，中国已经开始展示一种与西方不同的、诱人的发展模式。假以时日，它很有可能成为对西方的民主治理方式的一种真正的挑战。&amp;quot;&lt;/i&gt;&lt;br&gt;曼昆的经济学原理里面是说有政府调控的市场是一个更好的市场，更有利于资源的分配。但是我觉得可能是个度的问题。要多少，这是关键。是不是像奈斯比说的这么好，没有对比，也不知道。（看来得关注下国外的新闻）&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;设想一下，如果让一批根据品行选拔出来的、又经过严格训练，思想纯正、胸有成竹的官员，在没有指手画脚的国会束缚的情况下去放手工作，他们会干出何等的 业绩来？这一切不正可以解释为什么中国人能以创纪录的速度，从&amp;quot;文化大革命&amp;quot;造成的经济废墟中兴建起世界一流的基础设施、宏伟的城市、机场、高速公路和水 坝吗？&amp;quot;&lt;/i&gt;&lt;br&gt;我们在新闻里多看到的是批判的消息，对"宏伟的城市、机场、高速公路和水坝"觉得是理所当然。老外却在那夸我们。&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;西方是一个说教型社会，而中国是一个学习型社会&amp;quot;&lt;/i&gt;&lt;br&gt;看来这个是通病，总是觉得别人做得比自己好。我们不也认为"中国是个说教型社会，而西方是一个学习型社会"么？&lt;br&gt;&lt;i&gt;&lt;br&gt;&amp;quot;　　我们的朋友张海花解释说，与中国大部分的思想相同，这也源于中国悠久的农业历史。几千年以来，中国人都居住在田地附近的村庄，他们的生存依赖于彼此的帮助与协作。再加上儒家思想的影响，这一理念被扩展到对国家和政府的忠诚及对师长的遵从。&amp;quot;&lt;/i&gt;&lt;br&gt; 在老外看来，儒家思想似乎是一个合理的解释。而我们自己不一定搞得明白。&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;a href="http://book.qq.com/s/book/0/18/18195/11.shtml"&gt;中国和印度民主的例子&lt;/a&gt;&lt;/i&gt;&lt;br&gt;我们当然不要跟印度比，我们的目标是把美国比下去。&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;a href="http://book.qq.com/s/book/0/18/18195/12.shtml"&gt;1992年，宋健博士高科技园区的建议&lt;/a&gt;&lt;/i&gt;&lt;br&gt; 以前在李老师的ppt里面看到过另外一个宋健院士的故事，他去航空制造厂视察，批语是"站起来吧"&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;一段时期以来中国的做法类似于企业应对危机。当处于破产边缘的时候，企业是没有时间和精力通过选举来决定对策的，管理层必须迅速做出决策，而且还要考虑到 长远利益。企业存亡应该是首要问题，个人的利益应该暂时放到一边。那些反对公司文化和目标的人们要么离开，要么适应。只有在企业恢复元气之后，合作伙伴才 会享受更多的自由和选择。但是，一旦企业的生存受到威胁，所有的自由都会受到限制。就像我们在&amp;quot;9・11&amp;quot;事件后所看到的那样，连美国人的自由都大打折 扣。&amp;quot;&lt;/i&gt;&lt;br&gt;很喜欢这段话。&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;a href="http://book.qq.com/s/book/0/18/18195/22.shtml"&gt;毛毛虫和蝴蝶&lt;/a&gt;&lt;/i&gt;&lt;br&gt;对政治的讨论就不转载了，各位看官自己去看原书。&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;孔子认为只有秩序才能为人们带来真正的自由。这类似于群体性运动，有了比赛规则的约束运动员们才可以自由比赛。同样，一个秩序良好的社会也为人们提供了可以自由活动的环境。在中国人看来，秩序并不抑制自由，而是界定自由活动的空间。&lt;br&gt; &lt;br&gt;　　从这个角度来看，西方人所理解的个人选择的自由，由于其社会与法律环境的制约，导致了谁对谁错的无休止的争论。许多西方人确实认为正是争论与不和谐带来了突破、新思想和创新。但是这种争论与不和谐不符合中国人的心理，特别是在执政这种严肃的问题上。&amp;quot;&lt;/i&gt; &lt;br&gt;"孔子认为只有秩序才能为人们带来真正的自由"，惭愧惭愧，我好像没读到啊。我反而读到过&lt;a href="http://en.wikipedia.org/wiki/Jiddu_Krishnamurti"&gt;Krish&lt;/a&gt;?的&amp;quot;discipline is the freedom itself&amp;quot;。(是Krish的&lt;a href="http://www.messagefrommasters.com/Life_of_Masters/Jiddu/sensitivity.htm"&gt;on Discipline and Sensitivity&lt;/a&gt;，&lt;font size="2"&gt;discipline is freedom&lt;/font&gt;)&lt;br&gt; 对比中西方就可以学到很多东西。集两家之所长。&lt;br&gt;&lt;br&gt;&lt;i&gt;&lt;a href="http://book.qq.com/s/book/0/18/18195/24.shtml"&gt;中国的纵向民主（Vertical Democracy）&lt;/a&gt;&lt;/i&gt;&lt;br&gt;&lt;br&gt;&lt;i&gt;&amp;quot;现在回想起来，似乎没有更好的办法领导一个如此庞大复杂的国家走出贫穷，实现现代化了。如果中国建立的是西方式的横向民主体系，那么大量精力会被浪费在竞 选的争斗之上，大批候选人会提出无数个解决中国问题的方案。而且，手握选举权的中国人根本没有民主决策的经验。在戈尔巴乔夫总统改革初期的苏联就是这种状 况。在中国，这种情况很容易导致混乱，这是珍视和谐与秩序的中国人所不愿意看到的。&amp;quot;&lt;/i&gt;&lt;br&gt;自己说多了反而不相信了，老外反而看得很清楚。&lt;br&gt;&lt;br&gt;&lt;i&gt;对于西方人来说，这也许有些矛盾，但是以中国人的中庸之道来看这再正常不过了。&lt;/i&gt;&lt;br&gt;引&lt;a href="http://guoxue.baidu.com/page/d6d0d3b9/0.html"&gt;中庸&lt;/a&gt;的话：&amp;quot;喜怒哀乐之未发，谓之中；发而皆中节，谓之和；中也者，天下之大本也；和也者，天下之达道也。致中和，天地位焉，万物育焉。&amp;quot;不过其实大多数人不知道中庸的确切含义，只是略知皮毛。对比富兰克林对自己十三条自律的一条：Moderation（见其&lt;a href="http://www.earlyamerica.com/lives/franklin/"&gt;自传&lt;/a&gt;）&lt;br&gt; &lt;br&gt;&lt;i&gt;天津还计划设立中国第三个股票交易市场&lt;/i&gt;&lt;br&gt;我还不知道呢。有空去天津看看。&lt;br&gt;&lt;br&gt;另外，关于奈斯比本人，他说他是high school dropper，后来在海军的时候学会了阅读。最后得到了顶尖大学的15个博士学位。&lt;br&gt;&lt;br&gt;花了两个小时读完前三大支柱，越到后面，中国的东西就越多，作者的东西就越少了，越靠前面越有意思（也可能是自己读累了）。总的来说，经过和作者的思维碰撞，增进了对宏观政治经济的理解，提高了信心，受益匪浅。&lt;br&gt; &lt;br&gt;最后，一点自己的建议，了解一件事情最好的方法是去看原文，而不是只看片面的评论。电视、教科书、技术手册等等，都是经过消化了的东西（他们只能当作是一个入门手册），只有真正去读了原文，才理解了这个作者。才理解了他真正的意思。Happy reading!&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8760291642680864581?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8760291642680864581/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8760291642680864581' title='2 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8760291642680864581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8760291642680864581'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/books.html' title='[books]不识庐山真面目,只缘生在此山中 -- 读《中国大趋势》'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8903240626499689227</id><published>2009-10-17T06:24:00.001-07:00</published><updated>2009-10-17T06:24:51.697-07:00</updated><title type='text'>[讲述]村里来了洋媳妇</title><content type='html'>&lt;a href="http://space.tv.cctv.com/video/VIDE1228313916432310"&gt;http://space.tv.cctv.com/video/VIDE1228313916432310&lt;/a&gt;&lt;br&gt;&lt;a href="http://space.tv.cctv.com/video/VIDE1228398071988861"&gt;http://space.tv.cctv.com/video/VIDE1228398071988861&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8903240626499689227?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8903240626499689227/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8903240626499689227' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8903240626499689227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8903240626499689227'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/blog-post_17.html' title='[讲述]村里来了洋媳妇'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-9033219386179474501</id><published>2009-10-16T20:59:00.001-07:00</published><updated>2009-10-16T20:59:57.281-07:00</updated><title type='text'>A taste of Haskell</title><content type='html'>昨天看&lt;a href="http://channel9.msdn.com/"&gt;Channel 9&lt;/a&gt;看到有&lt;a  href="http://channel9.msdn.com/shows/Going+Deep/C9-Lectures-Dr-Erik-Meijer-Functional-Programming-Fundamentals-Chapter-3-of-13/"&gt;介 绍Haskell&lt;/a&gt;的。以前做&lt;a href="http://projecteuler.net/"&gt;euler project&lt;/a&gt;的时候&lt;br&gt; 于是下了&lt;a href="http://www.cs.nott.ac.uk/%7Egmh/book.html"&gt;资料&lt;/a&gt;来玩一下。&lt;br&gt; &lt;br&gt; 运行环境是HUGS，在Ubuntu上，&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;sudo apt-get install hugs&lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; 试着跟着例子写了几个程序。发现正如&lt;a href="http://www.cs.nott.ac.uk/%7Egmh/chapter1.ppt"&gt;Introduction&lt;/a&gt;所 说，Haskell正是一种懒惰的语言。&lt;br&gt; 定义函数不用写类型，调用函数用空格不用括号。不要看这是一个小的改动，对于我们打字的习惯来说，空格比起括号真是懒了好多。&lt;br&gt; &lt;br&gt; 例子: 定义两个数相加&lt;br&gt; &lt;blockquote&gt;//test.hs&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;myadd x y = x + y&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt; HUGS&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;Main&amp;gt; :reload  Main&amp;gt; myadd 2 3&lt;/b&gt;&lt;/i&gt; 5&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt; &lt;/blockquote&gt; 例子：阶乘&lt;br&gt; &lt;blockquote&gt;//test.hs&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;factorial n = prodect[1..n]&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt; HUGS&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;font&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;Main&amp;gt; :load test.hs &lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/font&gt; &lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;Main&amp;gt; factorial 50&lt;/b&gt;&lt;/i&gt; 30414093201713378043612608166064768844377641568960512000000000000&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt; &lt;/blockquote&gt; &lt;br&gt; &lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-9033219386179474501?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/9033219386179474501/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=9033219386179474501' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/9033219386179474501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/9033219386179474501'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/taste-of-haskell.html' title='A taste of Haskell'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8764312926787161463</id><published>2009-10-16T08:00:00.001-07:00</published><updated>2009-10-16T08:00:31.946-07:00</updated><title type='text'>[课程笔记：CS382M Advanced Computer Architecture]2.编译alphasim</title><content type='html'>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt; &lt;html&gt; &lt;head&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff" text="#000000"&gt; &lt;a  href="http://www.cs.utexas.edu/users/dburger/teaching/cs382m-f06/tools/"&gt;alphasim&lt;/a&gt;是&lt;a  href="http://www.cs.utexas.edu/users/dburger/"&gt;Doug Burger&lt;/a&gt;在simplescalar 基础上写的模拟器，用来模拟alpha 21264处理器。这次学&lt;a  href="http://www.cs.utexas.edu/users/dburger/teaching/cs382m-f06/"&gt;CS382&lt;/a&gt;， 主要的实验平台就是在alphasim上。&lt;br&gt; &lt;br&gt; 编译alphasim走了一些弯路。本来以为alphasim比较老了（01年左右），需要用旧的gcc才能编译。在Makefile里面写的是GNU GCC version 2.7.2.2，所以特意去挑了很老的gcc来编译(CC=gcc-3.4)，结果编译到最后一步的时候报ld的错误：&lt;font  face="Times New Roman, Times, serif"&gt;&lt;br&gt; &lt;/font&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;$ make    &lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in eval.o&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;/lib/libc.so.6: could not read symbols: Bad value&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;collect2: ld returned 1 exit status&lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; 仔细想想可能是binutils版本太新，于是又去找旧的binutils来(2.8.1,2.15,2.17)，结果在自己的机器上无法编译。&lt;a  href="http://en.wikipedia.org/wiki/X86-64"&gt;x86_64&lt;/a&gt;可能都出在前面几个版本的 binutils之后。&lt;font face="Times New Roman, Times, serif"&gt;&lt;br&gt; &lt;/font&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;$ uname -a&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;Linux 2.6.28-11-generic #42-Ubuntu SMP x86_64 GNU/Linux&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;$ cat /proc/cpuinfo&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;model name      : Intel(R) Core(TM)2 Duo CPU     L7700  @ 1.80GHz&lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; 于是我怀疑因为是64位机器的缘故。于是装了一个32位的虚拟机，还是用ubuntu上apt里面能找到最老的gcc(gcc-3.4)来编译，出错信息 还是一样。这个时候我甚至想到了重头来编译一个GCC 2.7.2.2和Binutils 2.8的环境。最后衡量了一下觉得工程量太大，狠狠心，还是来改alphasim源代码吧。&lt;br&gt; &lt;br&gt; 这个想法给工程带来了转机。首先用git管理当前工程。&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;$ pwd&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;~/lab/simulators/alphasim-1.0&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;$ git init&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;$ git add .&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;$ git commit&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt; &lt;/blockquote&gt; 修改的第一处错误是：&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;&lt;i&gt;&lt;b&gt;$ make&lt;/b&gt;&lt;/i&gt; alpha.h:260: error: array type has incomplete element type&lt;/font&gt;&lt;/pre&gt; &lt;/blockquote&gt; 出人意料的是，总共修改了6个文件就可以成功编译了。不禁赞叹。&lt;br&gt; &lt;blockquote&gt;   &lt;pre&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;$ git log -p&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;        modified:   alpha.h&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;        modified:   eval.c&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;        modified:   libexo/libexo.c&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;        modified:   misc.c&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;        modified:   range.c&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;        modified:   ssmachine.h&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;diff --git a/alpha.h b/alpha.h&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;@@ -57,6 +57,7 @@&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; #include &amp;lt;stdio.h&amp;gt;&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;+#include &amp;lt;errno.h&amp;gt;&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; /* internal decoder state */&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;-extern enum md_opcode md_mask2op[];&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; extern unsigned int md_opoffset[];&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; extern unsigned int md_opmask[];&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; extern unsigned int md_opshift[];&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;@@ -271,6 +271,8 @@ enum md_opcode {&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;   OP_MAX       /* number of opcodes + NA */&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; };&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;+extern enum md_opcode md_mask2op[];&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;diff --git a/eval.c b/eval.c&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;@@ -56,9 +56,7 @@&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;-#if defined(__CYGWIN32__)&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt; #include &amp;lt;errno.h&amp;gt;&lt;/font&gt;&lt;/pre&gt;   &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;-&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8764312926787161463?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8764312926787161463/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8764312926787161463' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8764312926787161463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8764312926787161463'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/cs382m-advanced-computer.html' title='[课程笔记：CS382M Advanced Computer Architecture]2.编译alphasim'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8300208744772783686</id><published>2009-10-16T02:49:00.001-07:00</published><updated>2009-10-16T02:49:11.693-07:00</updated><title type='text'>札记 -- valuable things</title><content type='html'>在research的时候，Jim Gray被他的同行评价为总是能够找到有意义的事情。他的演讲《What Next? A Few Remaining Problems in Information Technology&amp;nbsp; 》给人印象深刻。&lt;br&gt;paper里面，印象深刻的是：GPUTeraSort-tr-2005-183，05年就用GPU来加速他的应用了。&lt;br&gt;&lt;br&gt;要抓住valuable的事情：&lt;br&gt;&lt;div style="margin-left: 40px;"&gt; 要抓住应用：海量数据，Tera Sort；&lt;br&gt;要抓住体系结构：GPU。&lt;br&gt;&lt;/div&gt;找到这个valuable的事情，问题已经解决了60%&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8300208744772783686?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8300208744772783686/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8300208744772783686' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8300208744772783686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8300208744772783686'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/valuable-things.html' title='札记 -- valuable things'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2554551339120286406</id><published>2009-10-13T18:52:00.001-07:00</published><updated>2009-10-13T18:52:38.536-07:00</updated><title type='text'>[Softwares]elinks shortcuts</title><content type='html'>a 添加bookmark&lt;br&gt; s 打开bookmark&lt;br&gt; . 在links前面加数字，输入数字跳到这个link&lt;br&gt; &amp;lt;/&amp;gt; previeous tab/next tab&lt;br&gt; t/T open current link int tab/(background)&lt;br&gt; c close&lt;br&gt; g goto URL&lt;br&gt; C-n/p scroll down/up&lt;br&gt; Delete/Insert scroll down/up&lt;br&gt; C-f/b scroll forward/backward&lt;br&gt; m mark (as in vi)&lt;br&gt; &amp;#39; jump to mark (as in vi)&lt;br&gt; Left return to previous in history&lt;br&gt; / search&lt;br&gt; n/N next search word (as in vi)&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2554551339120286406?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2554551339120286406/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2554551339120286406' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2554551339120286406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2554551339120286406'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/softwareselinks-shortcuts.html' title='[Softwares]elinks shortcuts'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-399248993403339113</id><published>2009-10-13T17:30:00.001-07:00</published><updated>2009-10-13T17:30:59.243-07:00</updated><title type='text'>[Softwares]elinks</title><content type='html'>&lt;h2&gt;Elinks,   &lt;span style="font-size: 70%;"&gt;the browser for fast people, focusing   the important&lt;/span&gt;&lt;/h2&gt;&lt;br&gt;&lt;a href="http://elinks.or.cz/"&gt;elinks&lt;/a&gt;是GNU下文本WWW浏览器。对于geek来说，文本浏览器带来的速度是他们所追求的。&lt;br&gt;在ubuntu下安装：&lt;br&gt;&lt;div style="margin-left: 40px; font-family: times new roman,serif;"&gt;&lt;i&gt;sudo apt-get install elinks&lt;br&gt; &lt;/i&gt;&lt;/div&gt;&lt;br&gt;参考这个&lt;a href="http://www.calmar.ws/elinks/"&gt;指南&lt;/a&gt;配置。（之前配了好多次都没有配成功smart prefix，最后是因为ubuntu默认带了elinks-lite，我就没有装elinks，重新安装elinks后，搞定。）&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-399248993403339113?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/399248993403339113/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=399248993403339113' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/399248993403339113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/399248993403339113'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/softwareselinks.html' title='[Softwares]elinks'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1060120028645948143</id><published>2009-10-13T05:14:00.001-07:00</published><updated>2009-10-13T05:14:56.311-07:00</updated><title type='text'>讨论班</title><content type='html'>点评的时候，谈到选题，孙老师说：&lt;br&gt;（抓大放小）人的生命是有限的。把有限的精力的投入到无限的问题当中去，要看哪个value更大。&lt;br&gt;每次大的CPU的变革都是在一类大的应用出现以后整个体系结构的改变。往大的应用背景变了以后的东西去想。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1060120028645948143?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1060120028645948143/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1060120028645948143' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1060120028645948143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1060120028645948143'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/10/blog-post.html' title='讨论班'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3982919927343107927</id><published>2009-09-24T04:32:00.001-07:00</published><updated>2009-09-24T04:32:41.463-07:00</updated><title type='text'>[softwares]使用cron来测试</title><content type='html'>简单介绍一下如何在普通用户权限下使用cron。&lt;br&gt;  &lt;br&gt;  &lt;b&gt;1. 什么是&lt;a href="http://en.wikipedia.org/wiki/Cron"&gt;cron&lt;/a&gt;&lt;/b&gt;&lt;br&gt;  &lt;blockquote&gt;cron是一个系统的守护进程。你可以指定它在你想要的时间干活。让它干活的方法就是：&lt;br&gt;   &lt;ul&gt;&lt;li&gt;写好一个脚本(bash/python/perl)，里面包括你要干的活&lt;/li&gt;&lt;li&gt;在你的cron配置文件中告诉cron在哪个时间去执行这个脚本。&lt;/li&gt;&lt;/ul&gt; &lt;/blockquote&gt;  &lt;b&gt;2. 使用cron&lt;/b&gt;&lt;br&gt;  &lt;br&gt;  &lt;blockquote&gt;创建一个脚本文件foo.sh，让脚本把当前时间存到文本里：&lt;br&gt; &lt;blockquote&gt;&lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;echo `date` &amp;gt;&amp;gt; ~/foo.txt&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt; 创建你的crontab文件：&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;i&gt;&lt;b&gt;&lt;font face="Times New Roman, Times, serif"&gt;crontab -e&lt;/font&gt;&lt;/b&gt;&lt;/i&gt;&lt;/pre&gt;     &lt;blockquote&gt;输入：&lt;br&gt;       &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;* * * * * /path/to/foo.sh&lt;br&gt;表示每分钟执行foo.sh一次。&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;     &lt;/blockquote&gt;   &lt;/blockquote&gt; 查看你的crontab文件：&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;crontab -l&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt; 删除你的crontab文件：&lt;br&gt;   &lt;blockquote&gt;     &lt;pre&gt;&lt;font face="Times New Roman, Times, serif"&gt;crontab -r&lt;/font&gt;&lt;/pre&gt;   &lt;/blockquote&gt;   &lt;br&gt; 然后可以把foo.sh改成你要的任何脚本。用&amp;quot;crontab -e&amp;quot;把时间改成你想要的时间。关于crontab的脚本格式，查看[1][2]或者Appendix。&lt;br&gt;   &lt;br&gt;   &lt;br&gt; &lt;/blockquote&gt;  &lt;br&gt;  &lt;b&gt;References:&lt;/b&gt;&lt;br&gt;  &lt;blockquote&gt;1. Newbie: Intro to cron, &lt;a class="moz-txt-link-freetext" href="http://www.unixgeeks.org/security/newbie/unix/cron-1.html"&gt;http://www.unixgeeks.org/security/newbie/unix/cron-1.html&lt;/a&gt;&lt;br&gt; 2. &lt;b&gt;$ &lt;i&gt;man crontab&lt;/i&gt;&lt;/b&gt;&lt;br&gt; &lt;/blockquote&gt;  &lt;b&gt;&lt;i&gt;&lt;br&gt; Appendix&lt;br&gt; &lt;/i&gt;&lt;/b&gt; &lt;blockquote&gt;   &lt;pre&gt;e.g.&lt;b&gt;&lt;br&gt;01 * * * * echo &amp;quot;This command is run at one min past every hour&amp;quot;&lt;br&gt;17 8 * * * echo &amp;quot;This command is run daily at 8:17 am&amp;quot;&lt;br&gt;17 20 * * * echo &amp;quot;This command is run daily at 8:17 pm&amp;quot;&lt;br&gt; 00 4 * * 0 echo &amp;quot;This command is run at 4 am every Sunday&amp;quot;&lt;br&gt;* 4 * * Sun echo &amp;quot;So is this&amp;quot;&lt;br&gt;42 4 1 * * echo &amp;quot;This command is run 4:42 am every 1st of the month&amp;quot;&lt;br&gt;01 * 19 07 * echo &amp;quot;This command is run hourly on the 19th of July&amp;quot;&lt;br&gt; &lt;/b&gt;&lt;/pre&gt; &lt;/blockquote&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3982919927343107927?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3982919927343107927/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3982919927343107927' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3982919927343107927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3982919927343107927'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/09/softwarescron.html' title='[softwares]使用cron来测试'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1679222976597142313</id><published>2009-09-18T07:06:00.001-07:00</published><updated>2009-09-18T07:06:29.395-07:00</updated><title type='text'>[课程笔记：CS382M Advanced Computer Architecture]1.前言</title><content type='html'>读博士是件大事，怎么也得记录一下。关于为什么读博。一个原因是因为自己基础比较差。前几天和bamboo同学聊起，他从高中就开始信息学竞赛，相比自己 大学虽然也是计算机系，但真正认真学 计算机却是从大学毕业以后。这么算下来，我现在的积累，勉强算得上是一个优秀的本科生水平，在硕士生中是普通得不能再普通。接下去，读博士的时间，才真正 开始要努力超过身边的同龄人。当然，另外一个原因是因为对知识的兴趣。学习生活虽然很单调，但总有一些茅舍顿开的时刻，给生活增加一些亮点。&lt;br&gt; &lt;br&gt; 前面简单介绍下读博的原因，下面是主题。以后的博客会记一个[课程笔记：CS382M Advanced Computer Architecture]的学习笔记，作为一个系列。根据所里的规定，博士期间的两门专业课，可以是去听课，也可以用课程报告的方式完成。我已经修完一 门，另一门不想再去选一些跟研究方向关系不大的课程，所以决定自己找一个课程。&lt;br&gt; &lt;br&gt; &lt;a  href="http://www.google.com/cse?cx=003471350681228046915%3Aybxhymlup-a&amp;amp;ie=UTF-8&amp;amp;q=Advanced+Computer+Architecture&amp;amp;sa=Search"&gt;Advanced Computer Architecture&lt;/a&gt;这门课，很多学校都开。&lt;a  href="http://www.cs.utexas.edu/users/dburger/teaching/cs382m-f06/"&gt;utexas&lt;/a&gt;, &lt;a href="http://www.ece.wisc.edu/%7Ejes/ece752.html"&gt;wisc&lt;/a&gt;, &lt;a  href="http://www.ece.cmu.edu/courses/18741"&gt;cmu&lt;/a&gt;, &lt;a  href="http://www.eecs.harvard.edu/%7Edbrooks/cs246/"&gt;harvard&lt;/a&gt;等。之所以选 utexas的这个，主要原因有两个：一是因为&lt;a href="http://www.cs.utexas.edu/users/dburger/"&gt;Doug Burger&lt;/a&gt;最近来所里做了一次演讲，听完演讲后对他的工作非常敬佩；二是这个课程的project和自己的专业方向非常相关，即用模拟器来对体 系结构做 研究，具体到project来说就是用&lt;a  href="http://www.cs.utexas.edu/users/dburger/teaching/cs382m-f06/tools/"&gt;alphasim 模拟器&lt;/a&gt;来分析执行的关键路径并优化。&lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1679222976597142313?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1679222976597142313/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1679222976597142313' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1679222976597142313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1679222976597142313'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/09/cs382m-advanced-computer-architecture1.html' title='[课程笔记：CS382M Advanced Computer Architecture]1.前言'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5717830395138475808</id><published>2009-09-14T00:58:00.001-07:00</published><updated>2009-09-14T00:58:45.897-07:00</updated><title type='text'>仅仅是好还不够</title><content type='html'>Plan 9 itself has never approached Unix in popularity, and was primarily a research tool. Plan 9 has been criticized as &amp;quot;seem[ing] to function mainly as a device for generating interesting papers on operating-systems research.&amp;quot;&lt;sup id="cite_ref-ESRPlan9_7-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs#cite_note-ESRPlan9-7"&gt;&lt;span&gt;[&lt;/span&gt;8&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; &lt;a href="http://en.wikipedia.org/wiki/Eric_S._Raymond" title="Eric S. Raymond"&gt;Eric S. Raymond&lt;/a&gt; in his book &lt;i&gt;&lt;a href="http://en.wikipedia.org/wiki/The_Art_of_Unix_Programming" title="The Art of Unix Programming"&gt;The Art of Unix Programming&lt;/a&gt;&lt;/i&gt; speculates on Plan 9&amp;#39;s lack of acceptance: &lt;blockquote&gt; &lt;p&gt;&amp;quot;Plan 9 failed simply because it fell short of being a compelling enough improvement on Unix to displace its ancestor. Compared to Plan 9, Unix creaks and clanks and has obvious rust spots, but it gets the job done well enough to hold its position. There is a lesson here for ambitious system architects: &lt;b&gt;the most dangerous enemy of a better solution is an existing codebase that is just good enough.&lt;/b&gt;&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;--link from Wikipedia: &lt;a href="http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs"&gt;Plan 9&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;sup id="cite_ref-ESRPlan9_7-1" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs#cite_note-ESRPlan9-7"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt; &lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;sup id="cite_ref-ESRPlan9_7-1" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs#cite_note-ESRPlan9-7"&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt; &lt;/blockquote&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5717830395138475808?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5717830395138475808/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5717830395138475808' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5717830395138475808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5717830395138475808'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/09/blog-post_14.html' title='仅仅是好还不够'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6381556844513063046</id><published>2009-09-10T22:35:00.001-07:00</published><updated>2009-09-10T22:35:18.647-07:00</updated><title type='text'>[研讨班]Three Generations of EDGE Architecture</title><content type='html'>&lt;b&gt;&lt;big&gt;Three Generations of EDGE Architecture &lt;/big&gt;&lt;/b&gt;&lt;br&gt; by &lt;a href="http://www.cs.utexas.edu/users/dburger/"&gt;Doug Burger&lt;/a&gt;&lt;br&gt; &lt;br&gt; &lt;blockquote&gt;&lt;a href="http://www.cs.utexas.edu/users/cart/trips/"&gt;TRIPS&lt;/a&gt; -&amp;gt; TFlex -&amp;gt; E2&lt;br&gt;   &lt;br&gt; Challenge:&lt;br&gt; Easy to program &amp;amp; Power effficiency&lt;br&gt;   &lt;br&gt; CISC -&amp;gt; RISC -&amp;gt; EDGE?&lt;br&gt;   &lt;br&gt; 1 of the 3 favourite paper: critical path prediction, 2001&lt;br&gt; &lt;/blockquote&gt; &lt;br&gt; Doug真是个精力充沛的家伙。昨天夜里刚赶完一篇paper，他还开玩笑地给我们看他的黑眼圈。在talk中他说到他05年解决他的TRIPS里面一个 store cache degree问题的时候，是在宿醉后半夜三点。与平庸的研究者不同，Doug对他正在做的事情充满了那种"我想与全世界来分享我的发现"的激情。整个演讲 过程中，他毫无保留地分享他所有的知识，还不停地问主持人要激光笔、黑板等等，——怕他没把某个问题说明白。&lt;br&gt; 从01年开始，从micro architecture到ISA到compiler，这三个project垂直贯通体系结构的所有领域，在新的物理限制和旧的应用当中找到一个比原来更 强劲更省电的体系结构。&lt;br&gt; 非常激励人。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6381556844513063046?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6381556844513063046/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6381556844513063046' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6381556844513063046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6381556844513063046'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/09/three-generations-of-edge-architecture.html' title='[研讨班]Three Generations of EDGE Architecture'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2741855059708069235</id><published>2009-09-03T08:33:00.001-07:00</published><updated>2009-09-03T08:33:35.521-07:00</updated><title type='text'>游泳笔记</title><content type='html'>自由泳：&lt;br&gt;入水的时候水花一定要小，那样划水的效率才高。&lt;br&gt;在一手用力往后划时，一手迅速入水，切入水中。&lt;br&gt;&lt;br&gt;蝶泳：&lt;br&gt;开始学蝶泳。&lt;br&gt;打水的技巧，用腰带动，双腿并拢。&lt;br&gt;划水尚缺乏心得。&lt;br&gt;&lt;br&gt;另：&lt;br&gt;今天看到一个游得很慢的游泳高手。25米的泳道，划10下就到了。那些初学者划三下，他才划一下。游得还一样快。&lt;br&gt;好像在打太极一样，每一招都很慢。只有慢的能做好，才能快得起来。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2741855059708069235?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2741855059708069235/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2741855059708069235' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2741855059708069235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2741855059708069235'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/09/blog-post.html' title='游泳笔记'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4289949040264384540</id><published>2009-08-29T21:15:00.001-07:00</published><updated>2009-08-29T21:15:55.453-07:00</updated><title type='text'>相见恨晚</title><content type='html'>曾经有一个机会让我早点转到GNU/Linux的怀抱，我没有珍惜，等到失去的时候我 &lt;br&gt;才追悔莫及，人世间最大的痛苦莫过于此，如果上天能给我一次再来一次的机会， &lt;br&gt;我会对GNU/Linux说三个字:我爱你。如果有机会让我选择从什么时候开始学 &lt;br&gt;GNU/Linux，我希望是从接触电脑开始。&lt;p&gt;刚开始用GNU/Linux是不顺手的，因为以前的习惯养成了用鼠标点来点去的习惯。 &lt;br&gt;而且一直离不开office的使用（在Office的领域，MS还是无人能敌）。但是当你开 &lt;br&gt;始用Makefile来处理一些自动化的过程，用Python来当计算器的时候，你已经离不 &lt;br&gt;开GNU/Linux为你提供的这些便捷。&lt;p&gt;刚开始用GNU/Linux装软件是不顺手的，因为在Windows下习惯了鼠标双击 &lt;br&gt;install.exe。Linux下&amp;quot;./configure; make;make install&amp;quot;或者rpm包的安装对于 &lt;br&gt;一个新手来说，都是很繁琐的过程。Debian Apt的出现，改变了这个局面。慢慢 &lt;br&gt;地，现在习惯的安装过程变成了apt-get install &amp;lt;software&amp;gt;&lt;p&gt;而最后促使我把日常的操作系统改为GNU/Linux的是VirtualBox，我现在使用 &lt;br&gt;Ubuntu+VirtualBox(Windows XP)。在Windows下用到的软件就只是Office和游戏 &lt;br&gt;了。虽然VirtualBox下运行的Office有点慢，但作为文本处理，速度已经够了。 &lt;br&gt;（我发现Ubuntu+VirtualBox+XP下运行Office速度跟Vista竟然差不了多少）&lt;p&gt;最近学习Latex，以及：PSTricks, PyX, Matplotlib, GNU Pic，更是感觉到了GNU &lt;br&gt;软件的强大。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4289949040264384540?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4289949040264384540/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4289949040264384540' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4289949040264384540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4289949040264384540'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/blog-post_29.html' title='相见恨晚'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3270161938127986595</id><published>2009-08-27T18:49:00.001-07:00</published><updated>2009-08-27T18:49:12.831-07:00</updated><title type='text'>姚期智_志在中国计算机科学2020计划~zz</title><content type='html'>&lt;a href="http://www.newsmth.net/bbscon.php?bid=272&amp;amp;id=41398"&gt;http://www.newsmth.net/bbscon.php?bid=272&amp;amp;id=41398&lt;/a&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3270161938127986595?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3270161938127986595/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3270161938127986595' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3270161938127986595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3270161938127986595'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/2020zz.html' title='姚期智_志在中国计算机科学2020计划~zz'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7739272232238999869</id><published>2009-08-25T20:44:00.001-07:00</published><updated>2009-08-25T20:44:05.249-07:00</updated><title type='text'>知易行难</title><content type='html'>上午听完&lt;a href="http://www.cs.iit.edu/%7Escs/sun/"&gt;Professor Xian-He Sun&lt;/a&gt;的讲座：&lt;a href="http://www.iit.edu/%7Echenyon1/docs/chen_paap08-multicorescalability.pdf"&gt;Reevaluating Amdahl&amp;#39;s Law in the Multicore Era&lt;/a&gt;。&lt;br&gt;&lt;br&gt; 很多人对他提出的所谓的&amp;quot;&lt;a href="http://en.wikipedia.org/wiki/Scalability#Weak_vs_Strong_Scaling"&gt;Weak Scalability&lt;/a&gt;&amp;quot;不以为然。觉得算不了什么，以为没有解决自己的固定问题规模要得到时间加速比的问题。&lt;br&gt;这是他们对固定时间增加问题规模的加速比的意义不清楚。解决问题的规模，同样重要。只是以前很少人做罢了。&lt;br&gt;像BlueGene现在有25,200个核，就是为了解决更大规模的问题。&lt;br&gt; 1988年&lt;a href="http://en.wikipedia.org/wiki/Gustafson%27s_law"&gt;Custafson&amp;#39;s Law&lt;/a&gt;提出的时候，Custafson的贡献是真正做出了n-cube，并且把speedup跑到了1,000以上。&lt;br&gt;&lt;br&gt;对于Memory-Wall的问题，大家都希望着工艺能够进步，硬件能够解决这个问题，但是等到的只是CPU和内存速度差距越来越大。&lt;br&gt;Sun老师说的一句话很有道理，说他不会等着硬件来解决这个问题，而是在现在的限制条件下，他通过其他方法能做什么。&lt;br&gt; &lt;br&gt;关于Data Prefetching，Sun老师说他去Stanford演讲，Stanford这帮人在Memory上做prefetching，结果不行，Sun在IO上做，结果得到一个比较好的结果。&lt;a href="http://portal.acm.org/citation.cfm?id=1362651"&gt;这篇paper&lt;/a&gt;也被推选为一个会议的best paper。&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7739272232238999869?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7739272232238999869/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7739272232238999869' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7739272232238999869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7739272232238999869'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/blog-post_25.html' title='知易行难'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2509154860945955001</id><published>2009-08-23T08:53:00.001-07:00</published><updated>2009-08-23T08:53:55.926-07:00</updated><title type='text'>[Softwares]Nutch</title><content type='html'>刚在自己机器上安装了&lt;a href="http://lucene.apache.org/nutch/"&gt;Nutch&lt;/a&gt;，一个开源的搜索引擎。读了 &lt;span class="entry-author-name"&gt;&lt;a href="http://blog.lucene.com/"&gt;Doug Cutting的blog&lt;/a&gt;：&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;div style="margin-left: 40px;"&gt;&lt;i&gt;About five years ago I was working with &lt;a target="_blank" href="http://www.cs.washington.edu/homes/mjc/"&gt;Mike Cafarella&lt;/a&gt; on &lt;a target="_blank" href="http://lucene.apache.org/nutch/"&gt;Apache Nutch&lt;/a&gt;, an open-source web-search engine. Initially we were able to crawl and index on four machines in parallel, but with a lot of manual steps. &lt;b&gt;Inspired by two &lt;a target="_blank" href="http://labs.google.com/papers/gfs.html"&gt;Google&lt;/a&gt; &lt;a target="_blank" href="http://labs.google.com/papers/mapreduce.html"&gt;papers&lt;/a&gt;, we implemented a distributed filesystem and &lt;a target="_blank" href="http://en.wikipedia.org/wiki/MapReduce"&gt;MapReduce&lt;/a&gt; implementation that automated most of these steps&lt;/b&gt;. Operation became much simpler, and we were then able to easily run Nutch on twenty machines, with near-linear scaling.&lt;br&gt;&lt;/i&gt;&lt;/div&gt;&lt;br&gt;因为inspired by two papers, we immplemented...&lt;br&gt;一件巨大的事情，开始就是这么简单。&lt;br&gt;&lt;a href="http://sites.google.com/site/lvhuiwei/nutch"&gt;笔记&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2509154860945955001?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2509154860945955001/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2509154860945955001' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2509154860945955001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2509154860945955001'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/softwaresnutch.html' title='[Softwares]Nutch'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2426863220175087470</id><published>2009-08-20T07:29:00.001-07:00</published><updated>2009-08-20T07:29:36.098-07:00</updated><title type='text'>札记</title><content type='html'>这几天因为网络关系，在干活的时候只能是埋头coding，要连接网络需要重新配置。突然发现效率比以前提高。&lt;br&gt;难道上网会分散工作精力？我自以以前只是上网查资料而已。&lt;br&gt;难道不需要查资料？这几天事实证明，只有很少的时候需要。而且因为需要查的目标明确，查了资料后又断掉网络，重新工作。&lt;br&gt;把相似的工作放在一起做，这可能是效率提高的一个原因。&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2426863220175087470?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2426863220175087470/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2426863220175087470' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2426863220175087470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2426863220175087470'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/blog-post_20.html' title='札记'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2046183176230516696</id><published>2009-08-17T17:58:00.001-07:00</published><updated>2009-08-17T17:58:51.024-07:00</updated><title type='text'>Paper Reading</title><content type='html'>读paper的关注点从是什么（What）往如何实现（How）上转移。&lt;br&gt;读了几篇重要会议上的文章，发现基本都是用模拟器来实现。&lt;br&gt;从学习的过程来说，入门一个领域最快的方法就是读paper和重复其中的实验结果。&lt;br&gt;这些时间得靠挤出来。&lt;p&gt;现在主要的工作时间在调试模拟器，但并不是在建模。要建立模型，需要对模拟的 &lt;br&gt;精度提高并且和实际系统进行校验。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2046183176230516696?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2046183176230516696/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2046183176230516696' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2046183176230516696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2046183176230516696'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/paper-reading.html' title='Paper Reading'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7029179877003700113</id><published>2009-08-17T05:58:00.001-07:00</published><updated>2009-08-17T05:58:52.711-07:00</updated><title type='text'>札记</title><content type='html'>调试程序的时候碰到困难，有一种又困又紧绷的感觉。努力克服中。 &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7029179877003700113?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7029179877003700113/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7029179877003700113' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7029179877003700113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7029179877003700113'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/blog-post.html' title='札记'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4166834142658242576</id><published>2009-08-16T18:46:00.001-07:00</published><updated>2009-08-16T18:46:37.504-07:00</updated><title type='text'>[Readings]Debugging Methodology</title><content type='html'>I searched the web: &amp;quot;Why debugging is hard&amp;quot;. The result leads me to a ACM SIGSOFT Software Engineering Notes -- &amp;quot;&lt;a href="http://portal.acm.org/citation.cfm?doid=1006140.1006149"&gt;Debugging Methodology&lt;/a&gt;&amp;quot; in 1983. This short summary tells us some of the common questions in debugging. And it is a delightful reading. To quote a few:&lt;br&gt; &lt;br&gt;&lt;div style="margin-left: 40px;"&gt;&lt;i&gt;Dan Moore from Bell Laboratories addressed the queations of &amp;quot;why is debugging hard?&amp;quot; and &amp;quot;what are programmers thought processes during debugging?&amp;quot; His observation was that debugging appreared to require both analytic and intuitive thought modes. (His hypothesis is) debugging is hard because it is difficult to transfer the locus of thought from one hemisphere to the other.&lt;br&gt; &lt;br&gt;Elaine Weyuker pointed out that 90% of the bugs were found by desk checks and test runs, while the remaining bugs were found using program dumps. (barely use debuggers)&lt;br&gt;&lt;br&gt;(Elaine Weyuker)80% of the bugs are easy bugs and 20% of the bugs are hard bugs. ... a frequent cause for a hard bug is that the programmer develops a mind set as to how the program is supposed to work when in fact it works differently.&lt;br&gt; &lt;/i&gt;&lt;/div&gt;&lt;br&gt;&lt;div style="margin-left: 40px;"&gt;&lt;i&gt;&lt;b&gt;What is hard about debugging?&lt;/b&gt;&lt;br&gt;While there was general agreement that debugging is hard, there is very little consensus as to why it is hard. Here is a list of suggested reasons:&lt;br&gt; - Debugging is hard because it requires repeated switches between intuitive and analytic thought modes.&lt;br&gt;- Debugging is hard because programmers develop a mind set that their program should work one way when in fact it does not.&lt;br&gt; - Debugging is hard because the available debugging tools are not adequate.&lt;br&gt;- Debugging is hard because the program semantics change as the user finds and coreects bugs. This make it difficult for the user to develop a consistent model of program behavior.&lt;br&gt; &lt;br&gt;&lt;b&gt;What unusual tools were useful for debugging?&lt;/b&gt;&lt;br&gt;Someone displayed the binary image of the program directly onto a bit-map screen. Someone else found that a program history management system was useful. ... There were several program in real-time was a useful freature.&lt;br&gt; &lt;br&gt;&lt;/i&gt;&lt;/div&gt;For extensional reading, read my note of &lt;a href="http://sites.google.com/site/lvhuiwei/gdb"&gt;learning GDB&lt;/a&gt;.&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4166834142658242576?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4166834142658242576/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4166834142658242576' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4166834142658242576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4166834142658242576'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/readingsdebugging-methodology.html' title='[Readings]Debugging Methodology'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7495445013768638819</id><published>2009-08-15T15:54:00.001-07:00</published><updated>2009-08-15T15:54:46.685-07:00</updated><title type='text'>firefox自定义engkoo英汉/汉英翻译引擎</title><content type='html'>&lt;a href="http://mycroft.mozdev.org"&gt;Mycroft Project&lt;/a&gt;提供了自定义firefox引擎的简 便方法。到Mycroft Project的&lt;a href="http://mycroft.mozdev.org/submitos.html"&gt;Create/Submit Plugin&lt;/a&gt;页面，填好下面的表格：&lt;br&gt; &lt;img alt="" src="cid:part1.01010503.01050702@gmail.com" height="768"  width="1024"&gt;&lt;br&gt; &lt;br&gt; 点击"Generate Plugin"，然后"Install Plugin"，新建一个Tab，选自己自定义的引擎，看看在自己的浏览器里面试试可不可以用。&lt;br&gt; &lt;img alt="" src="cid:part2.08020609.06090706@gmail.com" height="718"  width="1024"&gt;&lt;br&gt; 如果测试结果正确，提交这个Plugin。&lt;br&gt; &lt;br&gt; 你可以参照这个方法自定义其他的搜索引擎。也可以试试&lt;a  href="http://mycroft.mozdev.org/search-engines.html?author=lvhuiwei"&gt;我自 定义的两个引擎&lt;/a&gt;。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7495445013768638819?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7495445013768638819/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7495445013768638819' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7495445013768638819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7495445013768638819'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/firefoxengkoo.html' title='firefox自定义engkoo英汉/汉英翻译引擎'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5914778447227319137</id><published>2009-08-14T17:48:00.001-07:00</published><updated>2009-08-14T17:48:18.190-07:00</updated><title type='text'>[Software]Gnome Do - OpenSearch Plugin</title><content type='html'>&lt;a href="http://do.davebsd.com/wiki/index.php?title=OpenSearch_Plugin"&gt;OpenSearch Plugin&lt;/a&gt; can be used with &lt;a  href="http://mycroft.mozdev.org/dlstats.html"&gt;Mycroft&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5914778447227319137?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5914778447227319137/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5914778447227319137' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5914778447227319137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5914778447227319137'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/softwaregnome-do-opensearch-plugin.html' title='[Software]Gnome Do - OpenSearch Plugin'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6978821530699030167</id><published>2009-08-10T22:52:00.001-07:00</published><updated>2009-08-10T22:52:15.167-07:00</updated><title type='text'>[Softwares]Ubuntu one &amp; gmbox</title><content type='html'>&lt;h1&gt;&lt;font size="4"&gt;&lt;a href="http://li2z.cn/2009/08/02/gmbox-0-1/" rel="bookmark" title="永久链接: gmbox发布0.1版本"&gt;gmbox发布0.1版本&lt;/a&gt;&lt;/font&gt;&lt;/h1&gt;&lt;font size="4"&gt;&lt;br&gt;&lt;/font&gt;&lt;h1&gt;&lt;font size="4"&gt;&lt;a href="http://li2z.cn/2009/07/25/ubuntu-one/" rel="bookmark" title="永久链接: 体验Ubuntu One"&gt;体验Ubuntu One&lt;/a&gt;&lt;/font&gt;&lt;/h1&gt; &lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6978821530699030167?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6978821530699030167/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6978821530699030167' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6978821530699030167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6978821530699030167'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/softwaresubuntu-one-gmbox.html' title='[Softwares]Ubuntu one &amp; gmbox'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2349968265766226612</id><published>2009-08-09T22:18:00.001-07:00</published><updated>2009-08-09T22:18:44.742-07:00</updated><title type='text'>[Softwares]Chickenfoot</title><content type='html'>&lt;h2&gt;&lt;a href="http://blog.vgod.tw/2009/07/06/chickenfoot/" rel="bookmark" title="Permanent Link to Web上的萬能瑞士刀: Chickenfoot"&gt;Web上的萬能瑞士刀: Chickenfoot&lt;/a&gt;&lt;/h2&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2349968265766226612?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2349968265766226612/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2349968265766226612' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2349968265766226612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2349968265766226612'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/softwareschickenfoot.html' title='[Softwares]Chickenfoot'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6479096478223880479</id><published>2009-08-09T15:39:00.001-07:00</published><updated>2009-08-09T15:39:12.754-07:00</updated><title type='text'>[学习笔记]m5 full-system mode</title><content type='html'>安装使用了m5 full-system。&lt;br&gt;跑了其中一个benchmark。&lt;br&gt;学习笔记&lt;a href="http://sites.google.com/site/lvhuiwei/simulator/m5/full-system-mode"&gt;记在我的个人主页&lt;/a&gt;。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6479096478223880479?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6479096478223880479/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6479096478223880479' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6479096478223880479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6479096478223880479'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/m5-full-system-mode.html' title='[学习笔记]m5 full-system mode'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8272461273098442074</id><published>2009-08-09T14:22:00.001-07:00</published><updated>2009-08-09T14:22:33.985-07:00</updated><title type='text'>[Softwares]Insert Images in gmail</title><content type='html'>Gmail Labs&amp;#39;s Image feature&lt;br&gt;1. Select &amp;quot;Settings-&amp;gt;Labs&amp;quot;&lt;br&gt;&lt;img title="GmailLab.png" alt="GmailLab.png" src="cid:ii_1230108a818ebb94"&gt;&lt;br&gt;&lt;br&gt;2. Enable &amp;quot;Inserting Images&amp;quot;&lt;br&gt;&lt;img title="GmailImage.png" alt="GmailImage.png" src="cid:ii_1230108d537bb8f5"&gt;&lt;br&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8272461273098442074?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8272461273098442074/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8272461273098442074' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8272461273098442074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8272461273098442074'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/softwaresinsert-images-in-gmail.html' title='[Softwares]Insert Images in gmail'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7917501852678390358</id><published>2009-08-01T17:22:00.001-07:00</published><updated>2009-08-01T17:22:34.662-07:00</updated><title type='text'>[Readings]Business Rules of Thumb</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: medium; color: rgb(33, 35, 36); "&gt;&amp;quot;The job of the leader is to ask the right questions.&amp;quot;&lt;/span&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#212324" face="Arial, Helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#212324" face="Arial, Helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;quot;Teamwork requires people who can take on the real work of leading at all levels of the organization.&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#212324" face="Arial, Helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#212324" face="Arial, Helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;quot;Start with small experiments that solve real problems that people are having. See what works and build on that.&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#212324" face="Arial, Helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#212324" face="Arial, Helvetica, sans-serif"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial, sans-serif; border-collapse: collapse; font-size: 13px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;-- &lt;a href="http://www.artima.com/weblogs/viewpost.jsp?thread=264047"&gt;Business Rules of Thumb&lt;/a&gt; by &lt;span class="Apple-style-span" style="border-collapse: separate; font-family: Arial, Helvetica, sans-serif; font-size: 18px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(33, 35, 36); "&gt;by Bruce Eckel&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: medium; color: rgb(33, 35, 36); "&gt;&lt;br&gt;&lt;/span&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7917501852678390358?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7917501852678390358/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7917501852678390358' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7917501852678390358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7917501852678390358'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/08/readingsbusiness-rules-of-thumb.html' title='[Readings]Business Rules of Thumb'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6555431773220978465</id><published>2009-07-30T09:36:00.001-07:00</published><updated>2009-07-30T09:36:47.254-07:00</updated><title type='text'>[学习笔记]scons</title><content type='html'>&lt;a href="http://www.m5sim.org/wiki/index.php/Main_Page"&gt;m5&lt;/a&gt;使用的编译工具是&lt;a href="http://www.scons.org/"&gt;scons&lt;/a&gt;。&lt;br&gt;花了一点时间学习了一下。确实很好用。如Eric S. Raymond所说，scons结合了python的优点，已经无人能敌。&lt;br&gt;记了笔记在&lt;a href="http://sites.google.com/site/lvhuiwei/scons"&gt;这里&lt;/a&gt;。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6555431773220978465?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6555431773220978465/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6555431773220978465' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6555431773220978465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6555431773220978465'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/scons.html' title='[学习笔记]scons'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4874029949716972204</id><published>2009-07-30T05:01:00.001-07:00</published><updated>2009-07-30T05:01:49.794-07:00</updated><title type='text'>[学习笔记]Applications of Parallel Computers - Floating Point Arithmetic and its Impact on Algorithm Design</title><content type='html'>大多数时候我们只用到了计算机，而没有去思考为什么这么使用计算机，为什么这么设计。今天学的&lt;a href="http://www.cs.berkeley.edu/%7Edemmel/cs267_Spr09"&gt;Applications of Parallel Computers&lt;/a&gt;其中一课：&lt;a href="http://www.cs.berkeley.edu/%7Edemmel/cs267_Spr09/Lectures/lecture12_FloatingPoint_jwd09.ppt"&gt;Floating Point Arithmetic&lt;br&gt; and its Impact on Algorithm Design&lt;/a&gt;，讲到了浮点数的设计和它对算法带来的影响。&lt;br&gt;&lt;br&gt;&lt;b&gt;历史&lt;/b&gt;&lt;br&gt;Turing最早在1949就提出了Backward Error Analysis，Wilkinson和W. Kahan分别因为Backward Error Analysis和&lt;a href="http://en.wikipedia.org/wiki/IEEE_754-1985"&gt;IEEE754&lt;/a&gt;获得图灵奖。而很有意思的，Von Neumann在1947年的时候提出关于计算精度的说法是错误的。&lt;br&gt; &lt;br&gt;&lt;b&gt;IEEE浮点数标准&lt;/b&gt;&lt;br&gt;记得在自己第一次学到浮点数的时候，感受最深的是这个标准对每一位的&amp;ldquo;斤斤计较&amp;rdquo;，对于标准化后的浮点数，省下了一位，使得可以表示的数的精度可以多出一位。知道了前面的历史，这次再学习，就明白了精度对于计算的重要性。因为计算机的位数有限，所以计算机能表示的数的范围是有限的，计算得到的结果也是在一定精度范围内，而这些是计算机研究人员需要研究的问题。&lt;br&gt;IEEE基本上每隔15年左右会对它的标准进行一次重新评估（因为计算机的发展），2008年对于浮点数的标准（IEEE754）有一些修改。&lt;br&gt; &lt;br&gt;&lt;b&gt;误差分析&lt;/b&gt;&lt;br&gt;如果x1+x2的误差是epsilon，那么x1+x2+x3+x4的误差是3*epsilon。对于许多标准的算法是数值稳定的（numerically stable）。&lt;br&gt;&lt;br&gt;&lt;b&gt;异常处理&lt;/b&gt;&lt;br&gt;5种异常：1、overflow；2、underflow；3、除0；4、invalid；5、inexact&lt;br&gt;默认条件下是出了异常，继续运算。&lt;br&gt;要考虑异常的原因是因为需要解决计算不在精度范围里面的数的时候的问题。&lt;br&gt; &lt;ul&gt;&lt;li&gt;打印最大和最小的浮点数的程序的&lt;a href="http://www.math.uic.edu/%7Ejan/MCS260/lec21.html"&gt;例子&lt;/a&gt;。&lt;/li&gt;&lt;/ul&gt;&lt;div style="margin-left: 40px;"&gt;在linux下，浮点数的头文件在/usr/lib/.../include下：&lt;i&gt;&lt;b&gt;&lt;br&gt;lhw@ubuntu:~/$ locate float.h&lt;br&gt;/usr/lib/gcc/i486-linux-gnu/4.3/include/float.h&lt;/b&gt;&lt;/i&gt;&lt;br&gt; 最大的浮点数由FLT_MAX定义。&lt;br&gt;&lt;span style="background-color: rgb(204, 204, 204);"&gt;printf(&amp;quot;&amp;nbsp; largest float : %e\n&amp;quot;, FLT_MAX);&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;b&gt;附加精度开销分析&lt;/b&gt;&lt;br&gt;在大多数平台上（AMD、Intel、UltraSpac），单精度浮点数计算比起双精度来说，快2倍左右。因为单精度计算的硬件更快、需要取的数据量少了一半、以及更好的局部性。而在GPU和Cell上，两者之间的差距更大（分别是8倍和10倍，因为GPU和Cell的数据必须从内存通过DMA送过去，GPU和Cell更加数据敏感）。&lt;br&gt; 在有些时候，需要更高的精度，所以需要混合使用double和float型。目标是得到接近双精度的结果，用的是单精度的速度。解决方法是：大部分工作用单精度完成，用双精度&amp;ldquo;清理&amp;rdquo;一些需要精度的地方。&lt;br&gt;如果双精度还不够，就需要用浮点数的数组来表示一个数。&lt;br&gt;&lt;br&gt;&lt;b&gt;并行算法和异构算法面临的危险&lt;/b&gt;&lt;br&gt;不同的平台因为硬件不同会有不同的精度和signal定义。&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4874029949716972204?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4874029949716972204/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4874029949716972204' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4874029949716972204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4874029949716972204'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/applications-of-parallel-computers.html' title='[学习笔记]Applications of Parallel Computers - Floating Point Arithmetic and its Impact on Algorithm Design'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5573897558010652510</id><published>2009-07-26T10:24:00.001-07:00</published><updated>2009-07-26T10:24:49.930-07:00</updated><title type='text'>[Readings]The Snowball</title><content type='html'>&lt;a href="http://fire1983.spaces.live.com/blog/cns%219DC52672F572FD6E%212325.entry"&gt;很早&lt;/a&gt;就买了这本书，一直没时间读。原因是实验室太忙了。这次在火车上读了其中前5章。&lt;br&gt;&lt;br&gt;其中一个很有意思的小故事：&lt;br&gt;Buffet从很小就喜欢收集东西，他期望着他收集的东西会在某一个时候派上用场。&lt;br&gt;还有就是，在普通人眼里看起来很稀松平常的东西，他能从中发现其他人看不到的东西，比如：&lt;br&gt; 去做礼拜的时候，他发现圣歌的作曲者的平均寿命并不比普通人长。所以，他对于宗教就产生怀疑。&lt;br&gt;&lt;br&gt;&amp;quot;Warren thought about numbers all the time and everywhere, even in church. He liked the sermons, he was bored by the rest of the service; he passed time by calculating the life span of hymn composers from their birth and death dates in the hymnals. In his mind, the religious should reap some reward for their faith. He assumed that hymn composers would live longer than average. Living longer than average seemed to him an important goal. But piety, he found , did nothing to improve longevity. Lacking any personal sense of grace, he began to feel skeptical about religion.&lt;br&gt; ... Warren looked around him. &lt;b&gt;There were opportunities to calculate odds everywhere. The key was to collect information, as much information as you could find.&lt;/b&gt;&amp;quot;&lt;br&gt;--The Snowball&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5573897558010652510?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5573897558010652510/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5573897558010652510' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5573897558010652510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5573897558010652510'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/readingsthe-snowball.html' title='[Readings]The Snowball'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1379462370582683716</id><published>2009-07-26T10:07:00.001-07:00</published><updated>2009-07-26T10:07:26.098-07:00</updated><title type='text'>[学习笔记]Petascale Computing: Algorithms and Applications</title><content type='html'>放假两周，基本是这么打算的：&lt;br&gt;1、看看&lt;a href="http://www.m5sim.org/wiki/index.php/Main_Page"&gt;m5&lt;/a&gt;是怎么写的，一是学习一下别人模拟器，二是看看能不能把它并行。&lt;br&gt;2、&lt;a href="http://www.cs.berkeley.edu/%7Edemmel/cs267_Spr09/"&gt;Applications of Parallel Computers&lt;/a&gt;。学其中的几讲。&lt;br&gt; 3、还有一些电子书，粗读一下增宽点知识面。&lt;br&gt;&lt;a href="http://books.google.com/books?id=dh6o5gsn1xMC&amp;amp;pg=PA29&amp;amp;lpg=PA29&amp;amp;dq=Petascale+Computing:+Algorithms+and+Applications&amp;amp;source=bl&amp;amp;ots=PIrXexcFe8&amp;amp;sig=-2ZvR1MjYE6JvkTqC7nodHv8YcI&amp;amp;hl=en&amp;amp;ei=hntsSo_wLo2e6gPFqcWHCA&amp;amp;sa=X&amp;amp;oi=book_result&amp;amp;ct=result&amp;amp;resnum=3"&gt;&lt;br&gt; &lt;b&gt;&lt;font size="4"&gt;Petascale Computing: Algorithms and Applications&lt;/font&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;font size="4"&gt;第一章笔记：&lt;/font&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;计算科学已经成为科学重要的一个支柱。&lt;br&gt;好消息是，不管多少计算能力，都能用起来。&lt;br&gt;坏消息是，不管你有多少计算能力，都不够。&lt;br&gt;提高程序的可扩展性是关键。&lt;br&gt;&amp;quot;&amp;nbsp; An important force which has continued to drive HPC has been a commu-nity articulation of &amp;ldquo;frontier milestones,&amp;rdquo; i.e., technical goals which symbolize the next level of progress within the field.&amp;quot;&lt;br&gt; &amp;quot;&amp;nbsp; Currently, few real existing HPC codes easily scale to this regime, and major code development efforts are critical to achieve the poten-tial of the new petaflop systems.&amp;quot;&lt;br&gt;&lt;br&gt;前面十年高性能计算机的计算能力主要依靠CPU的频率加快。下一代超级计算机的性能主要依靠高性能互联和不同层次的整合。&lt;br&gt; &lt;br&gt;有个问题：这5台机器，为什么有的用3D-torus，有的用fat-tree呢？&lt;br&gt;BG/L很厉害，用了三种网络：&lt;br&gt;&amp;nbsp;&amp;nbsp; The BG/L nodes are connected via five different networks, including a torus,&lt;br&gt;collective tree, and global interrupt tree. The 3D-torus interconnect is used&lt;br&gt; for general-purpose point-to-point message-passing operations using 6 inde-&lt;br&gt;pendent point-to-point serial links to the 6 nearest neighbors that operate at&lt;br&gt;175MB/s per direction (bidirectional) for an aggregate bandwidth of 2.1GB/s&lt;br&gt; per node. The global tree collective network is designed for high-bandwidth&lt;br&gt;broadcast operations (one-to-all) using three links that operate at a peak&lt;br&gt;bandwidth of 350MB/s per direction for an aggregate 2.1GB/s bidirectional&lt;br&gt; bandwidth per node. Finally, the global interrupt network provides fast bar-&lt;br&gt;riers and interrupts with a system-wide constant latency of ≈ 1.5μs.&lt;br&gt;&lt;br&gt;其中一篇用到的工具：&lt;a href="http://ipm-hpc.sourceforge.net/"&gt;IPM&lt;/a&gt;，可以用来得到负载的性能，对于我现在做的工作有帮助。&lt;br&gt; &lt;a href="http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;ct=res&amp;amp;cd=4&amp;amp;url=http%3A%2F%2Fcscads.rice.edu%2Fworkshops%2Fsummer08%2Fslides%2Ftools%2FSkinner_IPM_CSCADS_July_2008.pdf&amp;amp;ei=3YVsSorWAoPe7APXvemHCA&amp;amp;usg=AFQjCNGaeC3_pNbOD6jDqOWT15eZIUzwhQ&amp;amp;sig2=LWmDh2XvK11O0HjY1MTwJQ"&gt;Integrated Performance Monitoring: Understanding Applications and Workloads&lt;/a&gt;&lt;br&gt; 可以得到MPI的调用和通信信息。&lt;br&gt;What sort of interconnect does your workload need?这个问题是一个好问题。&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1379462370582683716?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1379462370582683716/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1379462370582683716' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1379462370582683716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1379462370582683716'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/petascale-computing-algorithms-and.html' title='[学习笔记]Petascale Computing: Algorithms and Applications'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2173200068533247431</id><published>2009-07-25T18:36:00.001-07:00</published><updated>2009-07-25T18:36:49.466-07:00</updated><title type='text'>ubuntu安装及装机软件</title><content type='html'>这次在家又装了一次ubuntu，这次装的时候连&lt;a href="http://en.wikipedia.org/wiki/Master_boot_record"&gt;MBR&lt;/a&gt;都没有修改。记了&lt;a href="http://sites.google.com/site/lvhuiwei/ubuntu/clean-hard-disk-install"&gt;笔记&lt;/a&gt;。&lt;br&gt;另外，新发现了一个输入法：&lt;a href="http://wiki.ubuntu.org.cn/Qref/More#.E4.B8.AD.E6.96.87.E8.BE.93.E5.85.A5.E6.B3.95ibus_.E9.85.8D.E7.BD.AE.E5.8F.8A.E7.9B.B8.E5.85.B3"&gt;ibus&lt;/a&gt;。正在试用中。感觉比起scim好用。&lt;br&gt; 其他几个装机必备到软件：&lt;br&gt;&lt;a href="http://do.davebsd.com/"&gt;gnome do&lt;/a&gt;&lt;br&gt;&lt;a href="http://desktop.google.com/zh/linux/download.html"&gt;google desktop&lt;/a&gt;&lt;br&gt;&lt;a href="http://www.linuxsir.org/bbs/thread320802.html"&gt;fetion&lt;/a&gt;&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2173200068533247431?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2173200068533247431/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2173200068533247431' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2173200068533247431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2173200068533247431'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/ubuntu.html' title='ubuntu安装及装机软件'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-4308838983626767131</id><published>2009-07-20T23:43:00.001-07:00</published><updated>2009-07-20T23:43:43.572-07:00</updated><title type='text'>[分享阅读]Peteris Krumins的Google SRE面试经历</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 21px; color: rgb(153, 153, 153); font-weight: bold; letter-spacing: 1px; "&gt;&lt;a href="http://www.catonmat.net/blog/my-job-interview-at-google/" rel="bookmark" title="Read &amp;#39;My Job Interview at Google&amp;#39;" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(138, 50, 7); text-decoration: none; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; "&gt;My Job Interview at Google&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;span class="Apple-style-span" style="font-family: &amp;#39;Trebuchet MS&amp;#39;; font-size: 12px; color: rgb(41, 48, 59); "&gt;Peteris Krumins在google的面试经历，不过最后没被录取。&lt;/span&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;" size="3"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;" size="3"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;第一轮：（电话）&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;" size="3"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;面试官会问你的skill set还有希望的工作地点。&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 22px; "&gt;Mountain View也可以去，但是要有&amp;quot;get an H-1B visa that allows non-US citizens to work in the US.&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第二轮：（电话）&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;算法。&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第三轮：（电话）&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;电话上写程序。&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第四轮：（on-site）&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;以前的工作&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第五轮：&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;编程。数学。&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第六轮：&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;（应该是跟工作相关了）解决一个系统中的问题&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第七轮：&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;编程。字符串小程序。&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;第八轮：&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;分布式算法和数据结构。&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;其他链接：&lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; "&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 1em; padding-left: 15px; list-style-type: none; "&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://ifdefined.com/blog/post/2008/03/Google-interview.aspx" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Corey Trager's Google Interview&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://www.nomachetejuggling.com/2006/12/30/my-interview-with-google/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Rod Hilton's Google Interview&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://www.philosophicalgeek.com/2007/08/12/my-interview-experience-with-google/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Ben Watson's Google Interview&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://www.lifereboot.com/2008/my-interview-at-google/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Shaun Boyd's Google Interview&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://www.alleyinsider.com/2008/3/how_i_blew_my_interview_with_google" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;How I Blew My Google Interview by Henry Blodget&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://steve-yegge.blogspot.com/2008/03/get-that-job-at-google.html" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Get That Job at Google by Steve Yegge&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://www.theregister.co.uk/2007/01/05/google_interview_tales/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Tales from the Google's interview room&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://www.drizzle.com/~jpaint/google.html" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Google Interview Questions&lt;/a&gt;&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 1.5em; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/bullet.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; background-position: 0px 4px; "&gt; &lt;a href="http://jhorna.wordpress.com/2007/09/08/google-interview-questions-fun-brain-teasers/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 1em; padding-bottom: 0px; padding-left: 0px; color: rgb(97, 53, 23); text-decoration: none; background-image: url(http://www.catonmat.net/blog/wp-content/themes/catonmat/img/url.gif); background-repeat: no-repeat; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(205, 133, 63); background-position: 100% 50%; "&gt;Google Interview Questions ― Fun Brain Teasers!&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;"&gt;&lt;span class="Apple-style-span" style="line-height: 22px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class="Apple-style-span" color="#29303B" face="&amp;#39;Trebuchet MS&amp;#39;" size="3"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-4308838983626767131?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/4308838983626767131/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=4308838983626767131' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4308838983626767131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/4308838983626767131'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/peteris-kruminsgoogle-sre.html' title='[分享阅读]Peteris Krumins的Google SRE面试经历'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1543489686067352583</id><published>2009-07-20T21:14:00.001-07:00</published><updated>2009-07-20T21:14:40.378-07:00</updated><title type='text'>[Softwares]越懒越健康的chrome</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;a href="http://tools.google.com/chrome/"&gt;chrome&lt;/a&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;可以&lt;a href="http://www.google.com/support/chrome/bin/answer.py?answer=95710&amp;amp;hl=en"&gt;创建application shortcut到桌面上&lt;/a&gt;，双击直接就打开。常用的网站就可以创建一个链接，方便快速访问，比如：gmail。(懒)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;这样打开的网址是没有菜单、地址栏之类的分散注意力的东西的。(简洁)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;而且chrome打开gmail的速度是比firefox快一点。(快)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;再懒一点，把这个shortcut扔到&lt;a href="http://www.launchy.net/"&gt;launchy&lt;/a&gt;下。直接在launchy里面输入gmail就可以直接访问gmail了。&lt;/div&gt;&lt;div&gt;很喜欢chrome，chrome的开发者和我的理念是一样的。越懒，越快，越简洁，越好。&lt;/div&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1543489686067352583?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1543489686067352583/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1543489686067352583' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1543489686067352583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1543489686067352583'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/softwareschrome.html' title='[Softwares]越懒越健康的chrome'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-6887715634383350634</id><published>2009-07-20T08:48:00.001-07:00</published><updated>2009-07-20T08:48:54.509-07:00</updated><title type='text'>急躁？看看过来人说什么</title><content type='html'>&lt;div&gt;&lt;a href="http://www.lixiaolai.com/"&gt;笑来老师的博客&lt;/a&gt;产量太高了，读不过来，以至于有一段时间我把他的博客从最常阅读的几个博客移到了次要阅读的博客里面。今天又把它放回最常读的几个博客。在我这样的年龄段，能有一个过来人跟你讲讲经验，那是很宝贵的财富。（表哥看到肯定会笑^_^）&lt;/div&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;div&gt;&lt;a href="http://www.lixiaolai.com/index.php/archives/7001.html"&gt;年轻的普遍特征&amp;mdash;&amp;mdash;急于摆脱现状&lt;/a&gt;&lt;/div&gt; &lt;div&gt; &lt;p&gt;&lt;em&gt;生活的本质是什么呢？无非是&amp;ldquo;你要什么就不给你什么&amp;rdquo;，而生活的智慧是什么呢？是&amp;ldquo;&lt;/em&gt;&lt;a title="重要的是你有什么，而不是你要什么" href="http://www.lixiaolai.com/index.php/archives/5966.html" target="_blank"&gt;&lt;strong&gt;&lt;font color="#000000"&gt;&lt;em&gt;给你什么你就用好什么&lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;em&gt;&amp;rdquo;。某种意义上，&amp;ldquo;逆境造就成功、磨难令人成熟&amp;rdquo;之类的话纯属胡说八道&amp;mdash;&amp;mdash;更可是失败者对一生都未曾有机会体会的成功以及成功者的&amp;ldquo;意淫&amp;rdquo;式的猜想而已。失败者永远不会有机会了解成功的真相，因为人最容易受到&lt;/em&gt;&lt;a title="摆脱经验的局限" href="http://www.lixiaolai.com/index.php/archives/435.html" target="_blank"&gt;&lt;strong&gt;&lt;font color="#000000"&gt;&lt;em&gt;自身经验的局限&lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;em&gt;，而不曾有哪怕一点点成功经验的人更无从摆脱自身局限。&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;对现状不满，急于摆脱现状，往往是常人最常不知不觉就掉进去的陷阱&amp;mdash;&amp;mdash;尽管偶尔这也是少数人的真正动力。接受现状才是最优策略，有什么做什么，有什么用什么；做什么都做好，用什么都用好。不要常常觉得苦（那样的话就会忍不住顾镜自怜，浪费精力与时间），而是要想办法在任何情况下找到情趣&amp;mdash;&amp;mdash;&lt;/em&gt;&lt;a href="http://www.lixiaolai.com/index.php/archives/109.html" target="_blank"&gt;&lt;strong&gt;&lt;font color="#000000"&gt;&lt;em&gt;快乐是一种本事&lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;em&gt;。这些年我遇到的几乎所有优秀的年轻人都有个特征，他们最少对现状的不满（可能是他们的优秀使得他们更加难以不满吧？），他们热爱自己的生活，他们&lt;/em&gt;&lt;a title="他们怎么那么酷？" href="http://www.lixiaolai.com/index.php/archives/1994.html" target="_blank"&gt;&lt;strong&gt;&lt;font color="#000000"&gt;&lt;em&gt;相对更不在意外界的影响&lt;/em&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;em&gt;，他们更专注做事而心无旁骛，他们当然每时每刻都更加优秀。&lt;/em&gt;&lt;br&gt; &lt;/p&gt; &lt;p&gt;为什么看到这篇文章会有感触，是因为在做科研的选择上也是如此。年轻人（就是说我自己）总是对很多事情很感兴趣，对于新鲜的研究方向很热衷。所以在自己所在的方向上碰到困难的时候，就很容易想到要换一个简单的方向来做。&amp;mdash;&amp;mdash;如果抱着这么一种挑简单的事情来做的心态，是绝对做不出什么成就的。道理很简单，对于你很简单的事情，对于别人也一样简单。而且，这个世界上聪明人那么多，在一件事情上没花够时间，是不会有超出别人的成果的。&lt;/p&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-6887715634383350634?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/6887715634383350634/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=6887715634383350634' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6887715634383350634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/6887715634383350634'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/blog-post_20.html' title='急躁？看看过来人说什么'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8366094789456236397</id><published>2009-07-19T23:26:00.001-07:00</published><updated>2009-07-19T23:26:30.786-07:00</updated><title type='text'>[Readings]Laws Of Success &amp; Think and Grow Rich</title><content type='html'>&lt;a href="http://en.wikipedia.org/wiki/Napoleon_Hill"&gt;Napoleon Hill&lt;/a&gt;写的Laws Of Success 和&lt;a href="http://en.wikipedia.org/wiki/Think_and_Grow_Rich"&gt;Think and Grow Rich&lt;/a&gt;这两本书在我的博客里面应该出现过多次了。&lt;br&gt;隔一段时间我就会重新读一遍。&lt;br&gt;他这两本书很早了，所以现在应该不受版权限制了，这次找了一个在线的版本。&lt;br&gt; &lt;br&gt;链接如下：&lt;br&gt;&lt;a href="http://napoleon-hill-laws-of-success.com/"&gt;Laws of Success在线版本&lt;/a&gt;。（加了很多广告，可以用了&lt;a href="https://addons.mozilla.org/zh-CN/firefox/addon/748"&gt;grease monkey&lt;/a&gt;的&lt;a href="http://userscripts.org/scripts/show/2707"&gt;去除广告的脚本&lt;/a&gt;后看。）&lt;br&gt; &lt;a href="http://www.sacred-texts.com/nth/tgr/index.htm"&gt;Think and Grow Rich在线版本&lt;/a&gt;。&lt;br&gt;&lt;br&gt;p.s.另外，可以看看&lt;a href="http://books.google.com/books?uid=4891297325815805796"&gt;我的图书馆里面收藏的书&lt;/a&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8366094789456236397?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8366094789456236397/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8366094789456236397' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8366094789456236397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8366094789456236397'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/readingslaws-of-success-think-and-grow.html' title='[Readings]Laws Of Success &amp; Think and Grow Rich'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-5508847901451517388</id><published>2009-07-19T01:59:00.001-07:00</published><updated>2009-07-19T01:59:14.640-07:00</updated><title type='text'>Feynman's lectures online</title><content type='html'>从&lt;a href="http://terrytao.wordpress.com/2009/07/15/feynmans-lectures-online/"&gt;terry的博客&lt;/a&gt;看到这个消息。&lt;br&gt;&lt;br&gt;&lt;a href="http://research.microsoft.com/apps/tools/tuva/index.html#data=5%7C0%7C%7C6b89dded-3eb8-4fa4-bbcd-7c69fe78ed0c%7C%7C"&gt;Feynman的讲座&lt;/a&gt;可以从微软的&lt;a href="http://research.microsoft.com/apps/tools/tuva/index.html"&gt;TUVA&lt;/a&gt;看到&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-5508847901451517388?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/5508847901451517388/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=5508847901451517388' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5508847901451517388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/5508847901451517388'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/feynmans-lectures-online.html' title='Feynman&apos;s lectures online'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7130975690879568816</id><published>2009-07-17T20:46:00.001-07:00</published><updated>2009-07-17T20:46:11.703-07:00</updated><title type='text'>google reader的follow功能</title><content type='html'>慢慢开始发现这个功能很有趣，很好玩。&lt;br&gt;而且比起twitter更好玩。&lt;br&gt;twitter还得自己去写："现在正在做什么"，google reader直接就是"现在正在read什么"。&lt;br&gt;&lt;br&gt;&lt;b&gt;更懒更强大！&lt;/b&gt;&lt;br&gt;&lt;br&gt;如果在读一个rss的时候发现其他人也喜欢这篇文章，还可以去follow其他人。&lt;br&gt;这样就会有社交网(Social Networking System)。对于我这种整天靠rss来获得资讯的人来说，这个功能真是太强大了。&lt;br&gt; Nice！&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7130975690879568816?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7130975690879568816/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7130975690879568816' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7130975690879568816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7130975690879568816'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/google-readerfollow.html' title='google reader的follow功能'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-1781299665126317960</id><published>2009-07-14T23:29:00.001-07:00</published><updated>2009-07-14T23:29:52.598-07:00</updated><title type='text'>[讨论班]如何撰写高质量的ppt</title><content type='html'>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="OneNote.File"&gt;&lt;meta name="Generator" content="Microsoft OneNote 12"&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;b&gt;最重要的&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;听众是谁，要传达的意思是什么。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;站在听众的角度。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;br&gt;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;/p&gt;  &lt;p style="margin: 0in; font-size: 10pt;"&gt;&lt;b&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;材料的组织方法&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;中心思想。分哪几个层次去说。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;展现形式：图或是其他形式&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;    &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;b&gt;从最早到最后版本 &lt;/b&gt;&lt;br&gt;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;在时间受限条件下，把最强烈的信息给传达&lt;/p&gt;  工程性很强，怎么把亮点给提炼出来。  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;怎么把亮点和成就联系起来。&lt;/p&gt;    &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;怎么打碎，把科学进步联系起来。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;想了非常多时间来提炼。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;b&gt;第一页&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;主要科研经历&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;（图）用一句话来概括，工作是什么&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;中心思想&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;b&gt;重要的&lt;/b&gt;    &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;三页同行评价。 &lt;br&gt;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;非常难的，目前为止最好的方法。在多核、机群、&amp;hellip;&amp;hellip;都有效&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;/p&gt;      &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;an important step in the right direction&amp;nbsp;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;证据，得有份量&lt;/p&gt;&lt;br&gt;&lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&lt;b&gt;&amp;ldquo;震撼力&amp;rdquo; &lt;/b&gt;&lt;br&gt;&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;不能念。（时间）肯定不够。&lt;/p&gt;  &lt;p style="margin: 0in; font-size: 10pt;"&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;要想，这一页&lt;/span&gt;&lt;span style="font-family: Calibri;" lang="en-US"&gt;ppt&lt;/span&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;要告诉听众的是什么。&lt;/span&gt;&lt;/p&gt;   &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;不然，会陷入�嗦。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;有些不需要说，停顿。（听众眼睛不会停）&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;包括肢体，让听众来接受。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;重要的讲出来（防止听众走神），其他的不需要说。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;&amp;nbsp;&lt;/p&gt;  &lt;p style="margin: 0in; font-size: 10pt;"&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;&lt;b&gt;练习&lt;/b&gt;。&lt;/span&gt;&lt;span style="font-family: Calibri;" lang="en-US"&gt;4-5&lt;/span&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;遍&lt;/span&gt;&lt;/p&gt;   &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;眼睛看着听众。&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;缓慢而有力&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;似乎看着，超过头顶往远处看&lt;/p&gt;  &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;哪几个字是需要念的&lt;/p&gt;      &lt;p style="margin: 0in; font-family: SimSun; font-size: 10pt;"&gt;不要盯着屏幕，要看着听众。三七开。&lt;/p&gt;  &lt;p style="margin: 0in; font-size: 10pt;"&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;重要&lt;/span&gt;&lt;span style="font-family: Calibri;" lang="en-US"&gt;ppt&lt;/span&gt;&lt;span style="font-family: SimSun;" lang="zh-CN"&gt;次数不多。要好好准备。&lt;/span&gt;&lt;/p&gt;   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-1781299665126317960?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/1781299665126317960/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=1781299665126317960' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1781299665126317960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/1781299665126317960'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/ppt.html' title='[讨论班]如何撰写高质量的ppt'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-2891363476096491670</id><published>2009-07-09T22:45:00.001-07:00</published><updated>2009-07-09T22:45:45.799-07:00</updated><title type='text'>[News]Barbara Liskov</title><content type='html'>做研究的人都是喜欢解决问题的人。CACM中写了一篇文章报导&lt;a href="http://www.pmg.csail.mit.edu/%7Eliskov/"&gt;Barbara Liskov&lt;/a&gt;：&lt;a href="http://cacm.acm.org/magazines/2009/7/32083-liskovs-creative-joy/fulltext"&gt;Liskov&amp;#39;s Creative Joy&lt;/a&gt;。&lt;br&gt;&lt;br&gt;&lt;div class="ArticleImage" style="width: 250px;"&gt;                &lt;img alt="[article image]" class="pic" src="http://cacm.acm.org/system/assets/0000/0915/061609_CACMpg1_Liskov.large.jpg?1245180659&amp;amp;1245180659" title="2008 ACM A.M. Turing Award Winner Barbara Liskov in front of MIT&amp;#39;s Stata Center"&gt;               &lt;div class="ClearFix"&gt;&lt;/div&gt;               &lt;span class="credit"&gt;Credit: Jared Leeds&lt;/span&gt;             &lt;/div&gt;                                                                                      &lt;a name="body-1"&gt;&lt;/a&gt;                                                            &lt;p&gt;The greatest joy Barbara Liskov has experienced in her               distinguished career has not been the results of her influential               work but the creative process itself. &amp;quot;&lt;b&gt;It&amp;#39;s incredibly exciting,&lt;/b&gt;&amp;quot;               she says, &amp;quot;&lt;b&gt;to be thinking about a problem and suddenly see a way               to solve it that you hadn&amp;#39;t thought of before, and that makes a               lot of other problems go away.&lt;/b&gt;&amp;quot; Creative activity is what makes               research so interesting, she says, and &amp;quot;is not dissimilar&amp;quot; to               what artists of all types experience during their work process.               &amp;quot;It just happened to show up for me while thinking through               solutions to problems,&amp;quot; she says.&lt;/p&gt;&amp;quot;I &lt;b&gt;stood back and thought&lt;/b&gt; about               programming methodology and what I did in organizing the system.               I saw there was this different technique being used,&amp;quot; she               says.&lt;br&gt;stand back的意思是说，研究来自于工程，但是要高于工程。要想一想工程里面的东西。&lt;br&gt;&lt;br&gt;&amp;quot;It&amp;#39;s much better to go for the thing               that&amp;#39;s exciting,&amp;quot; Liskov says. &amp;quot;But the question of how you know               what&amp;#39;s worth working on and what&amp;#39;s not separates someone who&amp;#39;s               going to be really good at research and someone who&amp;#39;s not.               &lt;b&gt;There&amp;#39;s no prescription. It comes from your own intuition and               judgment.&lt;/b&gt;&amp;quot;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-2891363476096491670?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/2891363476096491670/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=2891363476096491670' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2891363476096491670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/2891363476096491670'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/newsbarbara-liskov.html' title='[News]Barbara Liskov'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-3711300574380340783</id><published>2009-07-06T18:55:00.001-07:00</published><updated>2009-07-06T18:55:09.851-07:00</updated><title type='text'>不要止步</title><content type='html'>今天读Readings in Computer Architecture里面两篇文章：&lt;br&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="PowerPoint.Slide"&gt;&lt;meta name="Generator" content="Microsoft PowerPoint 12"&gt;An Introduction to Disk Drive Modeling [&lt;a href="http://www.ece.cmu.edu/%7Eganger/ece746.spring04/papers/Ruemmler_1994-Chris_Ruemmler_and_John_Wilkes-An_introduction_to_disk_drive_modeling.pdf"&gt;pdf&lt;/a&gt;]&lt;br&gt; A Case for Redundant Arrays of Inexpensive Disks (RAID) [&lt;a href="http://www.cs.cmu.edu/%7Egarth/RAIDpaper/Patterson88.pdf"&gt;pdf&lt;/a&gt;]&lt;br&gt;&lt;br&gt;Disk Drive Modling这篇文章给我留下深刻印象的是它对磁盘模型的一步步细化。对磁盘模型初步建模考虑到了I/O大小、寻道距离和旋转时间，模拟结果和实测结果为15%的误差。作者继续发掘模型不完善的地方，加入实测的寻道信息，误差降到了6.2%。这个时候，作者进一步加入旋转时间的位置模型，最后把误差降到了2.6%。&lt;br&gt; 大多数人都不会这么精益求精的去抠每个细节。百分之九十的人会满足于第一个15%的结果，少于百分之十的人也许会去改进到6.2%，只有不到百分之一的人会去再改进到2.6%。这个就是做研究的品质，把一件事做到极致。（《成功法则》："彻底解决一件问题，往往会带来意外的收获。"）&lt;br&gt;&lt;br&gt;RAID这篇文章是在Arrays of Inexpensive Disks(AID)的基础上加了Redundant，加Redundant的原因也是因为AID虽然提高了速度，但是降低了可靠性，加上R以后，弥补了可靠性，使得RAID又快又可靠。&lt;br&gt; &lt;br&gt;两篇文章的共同点都是对现有的看上去还不错的结果的进一步改进。做研究的人对于研究的事情的标准要高于大多数人。一件事情，改进了一步，大多数人都觉得"还行"了，但做研究者自己还是不满意，继续改进，直到它达到自己的标准为止。&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-3711300574380340783?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/3711300574380340783/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=3711300574380340783' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3711300574380340783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/3711300574380340783'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/blog-post.html' title='不要止步'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-7460224622109606639</id><published>2009-07-05T20:02:00.001-07:00</published><updated>2009-07-05T20:02:49.582-07:00</updated><title type='text'>[Digest]《成功法则全书》・培养创造力</title><content type='html'>&lt;span id="articlecontent" class="wenzhang_con" onmouseup="NewHighlight(event)" style="width: 740px;"&gt;&lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;最近自我感觉没有活力。一方面跟每天从事相同的工作有关，还有一个重要的原因是自己不再每周自我激励了。&lt;/font&gt;&lt;/p&gt;&lt;p class="tt3"&gt; &lt;font color="#000000" size="2" face="宋体"&gt;生活如果很安逸，就不想着去改进现状。&lt;/font&gt;&lt;/p&gt;&lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span id="articlecontent" class="wenzhang_con" onmouseup="NewHighlight(event)" style="width: 740px;"&gt;&lt;p class="tt3"&gt; &lt;font color="#000000" size="2" face="宋体"&gt;以下摘自《成功法则全书》第七章、培养创造力：&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span id="articlecontent" class="wenzhang_con" onmouseup="NewHighlight(event)" style="width: 740px;"&gt;&lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;成功的人喜欢问："&lt;b&gt;怎样做才能做得更好？&lt;/b&gt;"&lt;/font&gt;&lt;/p&gt; &lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;拿破仑希尔教过的一位从商仅四年的女学生，她在四年内又开了第四家五金店。这真是了不起的成就。因为这位女土创业时只有3500美元的资金。她既要应付同行的激烈竞争，而且又缺乏经验。她的新五金行开幕后不久，拿破仑希尔前去道贺，并问她怎么会有这样的成就，而其他大部分的商人都还只为一门店铺努力挣扎。她回答道："&lt;b&gt;我确实是很努力。但是只靠早起与加班是不能以赢得这4象店面的。这一行大部分的人都是很努力地工作的。我的成功主要是靠我自创的&amp;#39;每周改良计划'。其实这也没有什么特别，它只是一种帮助我每过一周，就可以把工作做得更好的计划罢了。&lt;/b&gt;"&lt;/font&gt;&lt;/p&gt;  &lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;为了使我的思考上 轨道，我把工作分四项：顾客、员工、货品、升迁。我每天把各种改进业务的构想记录下来。然后每星期一的晚上，我花4小时检视一遍我写下的各种构想，同时考虑如何将一些较踏实的构想应用在业务上。&lt;b&gt;在这四小时内，我强迫自己严格检讨我的工作。&lt;/b&gt;我不会仅仅盼望更多的顾客上门，我会问自己：&amp;#39;我还能做哪些事情来吸引更多的顾客？'&amp;#39;我要怎样开发稳定、忠实的老主顾呢？'&lt;/font&gt;&lt;/p&gt; &lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;"她继续说明能使她最初三个店铺成功的许多小小的创新行动，比如：改变商品的陈列方式；&amp;#39;建议式的销售技术'使本来不打算买东西的有三分之一买了；针对因罢工而失业的顾客，实施信用计划， 使顾客得以延期支付货款；以及"购买竟争计划"使淡季销售额仍能增加。我问自己&amp;#39;我还能做什么来改进商品的销售呢？我又想到一些主意，其中之一是，我想到我该做一些事来吸引更多的小孩进我的店面。因为，如果我一些能吸引小孩上门的商品，也就能吸引更多的大人，我不断地想，我想到了一个主意，那就是在供应4至8岁小孩的产品堆中多加一排小型的纸玩具。结果真的很管用。这些玩具不占什么空间，也卖了不少钱。但最重要的是，这些玩具使店面的顾客川流不息。&lt;/font&gt;&lt;/p&gt;  &lt;p class="tt3"&gt;&lt;font color="#000000" size="2" face="宋体"&gt;"请相信我，我的&amp;#39;每周改良计划'真的有效。此外，我还学到有关成功的生意观念，这是每一位从商的人都该知道的。""是什么呢？"我问道。"那就是：&lt;b&gt;你起先懂多少并不重要。最重要的是，你开张以后学到什么，以及如何应用。&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-7460224622109606639?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/7460224622109606639/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=7460224622109606639' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7460224622109606639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/7460224622109606639'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/07/digest.html' title='[Digest]《成功法则全书》・培养创造力'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26052893.post-8664336306684161540</id><published>2009-06-30T18:18:00.001-07:00</published><updated>2009-06-30T18:18:59.466-07:00</updated><title type='text'>[讨论班]做技术报告的时间控制</title><content type='html'>听众集中精力的时间是二十分钟左右。&lt;br&gt;所以一般的技术报告时间不超过四十五分钟。&lt;br&gt;要详略得当，一个博士四五年的工作也都在四十五分钟讲完。&lt;br&gt;宏观的技术介绍，2:1，45页ppt，20分钟讲完。比例越高越难讲，既要节奏慢，又要把内容讲完。&lt;br&gt;技术讨论，1:1&lt;br&gt;&lt;br&gt;内容的选择&lt;br&gt;要focus到最关键的技术上，不要连实现细节都讲，生怕自己做的东西别人不知道。&lt;br&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26052893-8664336306684161540?l=lvhuiwei.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lvhuiwei.blogspot.com/feeds/8664336306684161540/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26052893&amp;postID=8664336306684161540' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8664336306684161540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26052893/posts/default/8664336306684161540'/><link rel='alternate' type='text/html' href='http://lvhuiwei.blogspot.com/2009/06/blog-post_30.html' title='[讨论班]做技术报告的时间控制'/><author><name>lvhuiwei</name><uri>http://www.blogger.com/profile/09274960487318596910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
