<?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-11622528</id><updated>2011-04-22T11:55:01.990+08:00</updated><category term='iwconfig'/><category term='T61p'/><category term='Ubuntu feisty virtualbox wine 虚拟机 编译 安装 配置'/><category term='游戏 Linux PSP 工作 电脑'/><category term='Install'/><category term='ArchLinux'/><category term='iwl4965'/><category term='Lenovo'/><category term='wireless card'/><category term='Ubuntu'/><category term='闪存'/><category term='Linux 路由 iptables AMule lowid'/><category term='爬虫 搜索引擎 服务器'/><category term='安装'/><category term='USB'/><title type='text'>何处惹尘埃</title><subtitle type='html'>This is my space.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11622528.post-2944525712100067328</id><published>2008-02-10T13:42:00.000+08:00</published><updated>2008-02-11T13:53:39.324+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iwconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='T61p'/><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='Lenovo'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless card'/><category scheme='http://www.blogger.com/atom/ns#' term='iwl4965'/><category scheme='http://www.blogger.com/atom/ns#' term='ArchLinux'/><title type='text'>How to install ArchLinux in Lenovo T61p</title><content type='html'>&lt;p&gt;First, we need to have the latest ArchLinux install cd "Don't Panic" to install the basic arch linux system. Cause ArchLinux is not a beginner's distro, so I assume people installing it are not the beginners and know how to install and configure the basic system. The following is to talk about how to configure some special things for Lenove T61p.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;   Step 1,&lt;/span&gt;when booting from the installation cd, it will ask you for the boot parameters. Please type "arch intel-wireless" to enable installing intel wireless driver.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;   Step 2, &lt;/span&gt;for people who have experience to use and install linux, the installation guide should be very straightforward. So I will skip the detailed these steps and assume you are successful to install the basic Arch Linux in your laptop.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;   Step 3,&lt;/span&gt; because Arch Linux is an very internet dependent Linux distro just like debian, so you must have internet access to install more useful softwares. If you have a wire or a cable plugged in your laptop, you're lucky. If you only have wireless access, please follow the next steps.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; Ensure your wireless router is not encrypted and allow dhcp.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Since you have enable the intel wireless, so run the following script to enable your wireless card.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;blockquote&gt;        modprobe iwl4965&lt;br /&gt;     iwconfig wlan0 essid "You essid name"&lt;br /&gt;     dhcpcd wlan0&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;If the dhcpcd doesn't  report any error, you can use ifconfig to see your wireless card's IP. If the router can access internet, you will be ok to access internet,too.&lt;br /&gt;&lt;br /&gt;Now your ArchLinux can access internet and you can continue to build your own Linux using pacman.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-2944525712100067328?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/2944525712100067328/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=2944525712100067328' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/2944525712100067328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/2944525712100067328'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2008/02/how-to-install-archlinux-in-lenovo-t61p.html' title='How to install ArchLinux in Lenovo T61p'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-3050848859617775571</id><published>2008-01-31T17:16:00.001+08:00</published><updated>2008-01-31T17:16:49.794+08:00</updated><title type='text'>French police deal blow to Microsoft</title><content type='html'>&lt;h1&gt;                                         French police deal blow to Microsoft                &lt;/h1&gt;      &lt;div id="ynmain"&gt;                       &lt;!-- BEGIN STORY BODY --&gt;      &lt;div id="storybody"&gt;                      &lt;div class="storyhdr"&gt;                       &lt;p&gt;                                 &lt;span&gt;                                 by Christina Mackenzie                                &lt;/span&gt;                                 &lt;em class="timedate"&gt;Wed Jan 30,  4:28 AM ET&lt;/em&gt;                             &lt;/p&gt;                                                &lt;/div&gt; &lt;!-- end storyhdr --&gt;                          &lt;p&gt;                         PARIS (AFP) -  The French paramilitary police force said Wednesday it is ditching &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_0"&gt;Microsoft&lt;/span&gt; for the &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_1"&gt;free Linux operating system&lt;/span&gt;, becoming one of the biggest administrations in the world to make the break.&lt;/p&gt;&lt;p&gt; The move completes the gendarmerie's severance from Microsoft which began in 2005 when it moved to open sourcing for office applications such as word processing. It switched to open source Internet browsers in 2006. &lt;/p&gt; &lt;p&gt;               &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1201685436_2"&gt;Linux&lt;/span&gt; is an open-source operating system, which used to be the reserve of computer geeks but is now an easy-to-use system aimed at average users. &lt;/p&gt; &lt;p&gt;               The gendarmerie's 70,000 desktops currently use Microsoft's &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_3"&gt;Windows XP operating system&lt;/span&gt;. But these will progressively change over to the Linux system distributed by &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1201685436_4"&gt;Ubuntu&lt;/span&gt;, explained Colonel Nicolas Geraud, deputy director of the gendarmerie's IT department.&lt;/p&gt; &lt;p&gt; "We will introduce Linux every time we have to replace a desktop computer," he said, "so this year we expect to change 5,000-8,000 to Ubuntu and then 12,000-15,000 over the next four years so that every desktop uses the &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_5"&gt;Linux operating system&lt;/span&gt; by 2013-2014."&lt;/p&gt; &lt;p&gt; There are three reasons behind the move, Geraud said at the Solution Linux 2008 conference here. The first is to diversify suppliers and reduce the force's reliance on one company, the second is to give the gendarmerie mastery of the operating system and the third is cost, he said.&lt;/p&gt; &lt;p&gt;               He also added that "the &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_6"&gt;Linux interface&lt;/span&gt; is ahead of other operating systems currently on the market for professional use."&lt;/p&gt; &lt;p&gt; Vista, for example, Microsoft's latest operating system, is being spurned by consumers who cite "concerns about its cost, resource requirements, and incompatibility with their existing applications," according to &lt;a href="http://us.rd.yahoo.com/dailynews/afp/tc_afp/storytext/franceinternetpolice/26125740/SIG=10s0tf8c9/*http://InformationWeek.com"&gt;&lt;span class="yshortcuts" id="lw_1201685436_7"&gt;InformationWeek.com&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt; &lt;p&gt; Geraud explained that the move to an open source operating system was logical after the police switched in 2005 to open sourcing for its office applications and in 2006 for its Internet browsers and its email. &lt;/p&gt; &lt;p&gt; The move away from licenced products is saving the gendarmerie about seven million euros (10.3 million dollars) a year for all its PCs.&lt;/p&gt; &lt;p&gt; "In 2004 we had to buy 13,000 licences for office suites for our PCs," he said, "but in the three years since then we've only had to buy a total of 27 licences."&lt;/p&gt; &lt;p&gt;               In 2005 the gendarmerie switched from &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_8"&gt;Microsoft Office&lt;/span&gt; to OpenOffice -- a collection of applications such as a word processor, spreadsheet, and presentation programme similar to &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_9"&gt;Microsoft Powerpoint&lt;/span&gt;, all of which can be downloaded free.&lt;/p&gt; &lt;p&gt; A year later it abandoned Mircosoft's Internet Explorer for the Mozilla Foundation's browser Firefox and its email client Thunderbird.&lt;/p&gt; &lt;p&gt; "When we made that choice Firefox represented about 3.0 percent of Internet browsers and it's about 20 to 25 percent now which confirms our choice," Geraud said.&lt;/p&gt; &lt;p&gt; The gendarmerie with its 100,000 employees is the biggest administration to shift to open sourcing for its operating system, but it is not the first in &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1201685436_10"&gt;France&lt;/span&gt;. That honour belongs to the National Assembly which adopted &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1201685436_11"&gt;Ubuntu&lt;/span&gt; for its 1,200 PCs in 2007.&lt;/p&gt; &lt;p&gt;               Although the gendarmerie is ahead of the market the market is catching up.&lt;/p&gt; &lt;p&gt;               &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); cursor: pointer;" class="yshortcuts" id="lw_1201685436_12"&gt;Dell&lt;/span&gt;, for example, this week started offering Ubuntu &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_13"&gt;Linux&lt;/span&gt; 7.10 on its XPS 1330 laptops in France, Germany, &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: rgb(220, 238, 255) none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_14"&gt;Spain&lt;/span&gt; and &lt;span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1201685436_15"&gt;Britain&lt;/span&gt;, while US customers will be able to order the machines within the next week or so, according to the company's website.&lt;/p&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/11622528-3050848859617775571?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/3050848859617775571/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=3050848859617775571' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/3050848859617775571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/3050848859617775571'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2008/01/french-police-deal-blow-to-microsoft.html' title='French police deal blow to Microsoft'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-5912945788066190375</id><published>2008-01-21T15:23:00.000+08:00</published><updated>2008-01-21T15:28:05.992+08:00</updated><title type='text'>80后光荣退役，90后粉墨登场</title><content type='html'>2008年是奇妙的一年。生于1990年的小朋友正式步入18岁了。大学新生里面，应该已经有不少90后了。我记得我当年就是17岁进大学的。到今年也该高中毕业十周年了，好快。&lt;br /&gt;我虽然号称80后，却活在70尾。所有70后受的苦和80后受的苦都让我赶上了。但这样也不错，不是么。经历丰富。现在问90后的小孩，想买玩具火车，却买不起的滋味是什么样的，估计没几个人能回答出来。挺好。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-5912945788066190375?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/5912945788066190375/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=5912945788066190375' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/5912945788066190375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/5912945788066190375'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2008/01/8090.html' title='80后光荣退役，90后粉墨登场'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-8701819147924176331</id><published>2007-11-26T07:44:00.000+08:00</published><updated>2007-11-26T07:45:01.327+08:00</updated><title type='text'>受不了MySpace。。。</title><content type='html'>真不明白这个乱七八糟的网站有什么好。。。每个网页都乱糟糟的，冗长没条理。我得看看怎么把我的账号给删除了&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-8701819147924176331?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/8701819147924176331/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=8701819147924176331' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/8701819147924176331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/8701819147924176331'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/11/myspace.html' title='受不了MySpace。。。'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-6904528752988676288</id><published>2007-11-21T15:29:00.000+08:00</published><updated>2007-11-21T15:30:48.076+08:00</updated><title type='text'>Nov 20,2007--Got SSN</title><content type='html'>Now I can live free in US!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-6904528752988676288?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/6904528752988676288/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=6904528752988676288' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/6904528752988676288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/6904528752988676288'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/11/nov-202007-got-ssn.html' title='Nov 20,2007--Got SSN'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-4659302837103049383</id><published>2007-10-29T23:48:00.000+08:00</published><updated>2007-10-30T00:07:21.841+08:00</updated><title type='text'></title><content type='html'>&lt;h2 style="text-align: center;"&gt;&lt;b&gt;关于在Ubuntu，用英文做locale的一些配&lt;/b&gt;&lt;/h2&gt;当我们希望用外语的locale，但是又想得到中文支持-比如输入法，汉字显示等，其实在linux下面很容易实现。&lt;br /&gt;以英文为例&lt;br /&gt;首先，点开 "System"-&amp;gt;"Administration"-&amp;gt;"Language Support"&lt;br /&gt;选择你希望的locale，我们这里选择"English ((Unite States of America)",当然，也可以选择"French (France)"&lt;br /&gt;然后，在上面的列表里面选择Chinese，选上复选框&lt;br /&gt;&lt;br /&gt;&lt;div id="fs27" style="padding: 1em 0pt;"&gt;&lt;img style="width: 489px; height: 400px;" src="http://docs.google.com/File?id=dgh7wbdz_41hqqp3tk6" /&gt;&lt;br /&gt;选择好之后，按OK，他自动会帮你装需要的东西&lt;br /&gt;等都完成之后，我们做下面的事情，让你在英文环境中，能输入中文，并且用一些中文程序的时候，没有乱码。&lt;br /&gt;打开一个终端，输入一下代码&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="background-color: rgb(255, 255, 204);"&gt;sudo apt-get install fcitx im-switch&lt;/span&gt; &lt;span style="background-color: rgb(255, 255, 204);"&gt;im-switch -s fcitx&lt;br /&gt;&lt;br /&gt;然后编辑配置文件，让系统知道在适当的时候（比如wine模拟某些程序）用中文显示字符，而不是乱码&lt;br /&gt;同样是在终端里面&lt;br /&gt;sudo gedit /etc/environment&lt;br /&gt;在这个文件里面，加入一行在末尾&lt;br /&gt;LC_CTYPE="zh_CN.UTF-8"&lt;br /&gt;保存，关闭&lt;br /&gt;继续编辑文件，让你能在一些程序（如firefox）中顺利使用输入法&lt;br /&gt;继续在终端中&lt;br /&gt;sudo gedit /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules&lt;br /&gt;将最后一行，修改为&lt;br /&gt;"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"&lt;br /&gt;保存，关闭&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: rgb(255, 255, 255);" bg&gt;重启之后，就可以让你英文环境中顺利地使用中文了&lt;/span&gt;&lt;br /&gt;&lt;/span&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/11622528-4659302837103049383?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/4659302837103049383/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=4659302837103049383' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/4659302837103049383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/4659302837103049383'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/10/ubuntulocale-locale-linux-system.html' title=''/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-1211073961486057256</id><published>2007-10-07T00:38:00.000+08:00</published><updated>2007-10-07T00:58:18.281+08: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;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-1211073961486057256?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/1211073961486057256/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=1211073961486057256' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/1211073961486057256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/1211073961486057256'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/10/blog-post.html' title='我小时候是不是一个内向的小孩？'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-21497039411817406</id><published>2007-06-20T01:31:00.000+08:00</published><updated>2007-06-20T01:34:43.942+08:00</updated><title type='text'>臭名昭著的Feisty的一个bug</title><content type='html'>在/etc/network/interfaces里面加了一堆乱七八糟的东西&lt;br /&gt;然后他的ifup对最新的硬件支持又不行。导致很有可能你在启动的时候&lt;br /&gt;configuring network interfaces就一直hang在那里&lt;br /&gt;解决的办法很简单，除了前两行关于lo的接口，其他全部注释掉就好了&lt;br /&gt;X60前天还没这个问题，今天就发现启动慢了，我还错怪了指纹识别。。。&lt;br /&gt;参见&lt;br /&gt;https://bugs.launchpad.net/ubuntu/+source/netbase/+bug/102675&lt;br /&gt;和&lt;br /&gt;https://bugs.launchpad.net/ubuntu/+bug/108152&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-21497039411817406?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/21497039411817406/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=21497039411817406' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/21497039411817406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/21497039411817406'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/06/feistybug.html' title='臭名昭著的Feisty的一个bug'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-6230148225178641431</id><published>2007-06-17T13:11:00.000+08:00</published><updated>2008-12-09T22:58:32.658+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='闪存'/><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='安装'/><category scheme='http://www.blogger.com/atom/ns#' term='USB'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>如何用USB闪存安装Ubuntu</title><content type='html'>相信大多数Ubuntu用户都是用LiveCD进行安装。不过也有特殊的情况没有办法使用CDRom（比如我新买的IBM X60）或者你很爱惜自己的CDRom，恰好你又有一块容量1G或者以上的USB闪存，同时你的机器支持USB启动，那么我们可以将我们的1G或者以上的USB闪存变成一个Ubuntu的LiveUSB。&lt;br /&gt;首先我假定大家是用Ubuntu来完成一下的工作。我自己是用Feisty 7.04完成下面的工作的。Windows用户可以用Ubuntu LiveCD来做，其他Linux发行版的用户可以参考我最后给出的链接的英文地址来做。&lt;br /&gt;然后，我们要准备以下必备品：&lt;br /&gt;  1. Ubuntu Feisty 7.04 镜像文件，可以在这里&lt;a href="http://www.ubuntu.org.cn/getubuntu/download"&gt;下载&lt;/a&gt;, 选择离你最近的镜像。&lt;br /&gt;  2. 容量1G或者以上的USB闪存。&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;span style="font-family:courier new;"&gt;第一步  给闪存分区&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;将闪存连接上你的电脑。Ubuntu将自动对他进行mount。不过我们还是要看一下它对应的设备是哪个。&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;sudo fdisk -l&lt;/blockquote&gt;    找到你的闪存所对应的设备。在我的电脑上，他是/dev/sdb1，如果你插有多个设备，可能会不同。请找到正确的设备文件名。&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);font-size:130%;" &gt;注意：如果使用了错误的文件名，你的系统可能会因此被摧毁！&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;    假设我们找到的/dev/sdb1,我们先要对他进行umount&lt;br /&gt;&lt;blockquote&gt;sudo umount /dev/sdb1&lt;/blockquote&gt;    开始对闪存分区&lt;br /&gt;&lt;blockquote&gt; sudo fdisk /dev/sdb&lt;/blockquote&gt;    按接下来的步骤选择&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;/li&gt;&lt;blockquote&gt;&lt;li&gt;&lt;em&gt;n&lt;/em&gt; ，创建一个新分区&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;p&lt;/em&gt; ，新分区设置为主分区&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;1&lt;/em&gt; ，是第一个分区&lt;/li&gt;&lt;li&gt;按回车，选择分区开始的簇&lt;/li&gt;&lt;li&gt;&lt;em&gt;+750M&lt;/em&gt; ，分区分配750M的空间&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;a&lt;/em&gt; 标示为分区位可启动&lt;/li&gt;&lt;li&gt;&lt;em&gt;1&lt;/em&gt; 选择第一个分区&lt;/li&gt;&lt;li&gt;&lt;em&gt;t&lt;/em&gt; 改变分区的类型&lt;/li&gt;&lt;li&gt;&lt;em&gt;6&lt;/em&gt; 选6设置位fat16&lt;/li&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;我们接下来设置第二个分区&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;/li&gt;&lt;blockquote&gt;&lt;li&gt;&lt;em&gt;n&lt;/em&gt; ，创建另外一个分区&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;p&lt;/em&gt; ，设置位主分区&lt;/li&gt;&lt;li&gt;&lt;em&gt;2&lt;/em&gt; ，新分区作为第二个分区&lt;/li&gt;&lt;li&gt;按回车接受默认值&lt;/li&gt;&lt;li&gt;按回车，选择最大&lt;/li&gt;&lt;li&gt;&lt;em&gt;w&lt;/em&gt; 最后，按w把分区内容写入你的&lt;/li&gt;&lt;/blockquote&gt;&lt;li&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;第二步 格式化闪存&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;首先，我们对第一个分区按照fat16进行格式化，并设置卷标位liveusb&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;sudo mkfs.vfat -F 16 -n liveusb /dev/sdb1&lt;br /&gt;&lt;/blockquote&gt;然后对第二个分区用ext2格式化，卷标位casper-rw&lt;br /&gt;&lt;blockquote&gt;sudo mkfs.ext2 -b 4096 -L casper-rw /dev/sdb2&lt;/blockquote&gt;这样我们就可以将LiveCD的内容拷贝到闪存里面了&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;第三步 制作有启动数据的USB闪存&lt;/span&gt;&lt;br /&gt; 首先我们mount ubuntu feisty 7.04的iso文件到一个临时目录。我们假定这个临时目录位/tmp/ubuntu-livecd&lt;blockquote&gt;&lt;br /&gt;mkdir /tmp/ubuntu-livecd&lt;br /&gt;sudo mount -o loop /path/to/feisty-desktop-i386.iso /tmp/ubuntu-livecd&lt;/blockquote&gt;&lt;br /&gt;接下来我们要mount我们的usb闪存。实际上Ubuntu一直都会自动帮你mount。一般都似乎在/media目录下面。比如我的闪存，就是mount在/media/CORSAIR上。&lt;br /&gt;一切就绪之后，我们要把数据拷贝到闪存上。&lt;br /&gt;&lt;blockquote&gt;cd /tmp/ubutu-livecd&lt;br /&gt;sudo cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz install/mt86plus /media/liveusb/&lt;/blockquote&gt;    大家可以休息休息，拷贝需要花一段时间。其中会说几个符号链接无法创建，不用管它，继续。&lt;br /&gt;接下来，要把livecd中拷贝过来的&lt;em&gt;isolinux.cfg&lt;/em&gt; 改名为 &lt;em&gt;syslinux.cfg&lt;/em&gt;:&lt;br /&gt;&lt;blockquote&gt;cd /tmp/liveusb&lt;br /&gt;sudo mv isolinux.cfg syslinux.cfg&lt;br /&gt;&lt;/blockquote&gt;    编辑syslinux.cfg为下面这个样子&lt;br /&gt;&lt;pre class="file"&gt;&lt;blockquote&gt;DEFAULT persistent&lt;br /&gt;GFXBOOT bootlogo&lt;br /&gt;GFXBOOT-BACKGROUND 0xB6875A&lt;br /&gt;APPEND  file=preseed/ubuntu.seed boot=casper initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --&lt;br /&gt;LABEL persistent&lt;br /&gt;menu label ^Start Ubuntu in persistent mode&lt;br /&gt;kernel vmlinuz&lt;br /&gt;append  file=preseed/ubuntu.seed boot=casper persistent initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --&lt;br /&gt;LABEL live&lt;br /&gt;menu label ^Start or install Ubuntu&lt;br /&gt;kernel vmlinuz&lt;br /&gt;append  file=preseed/ubuntu.seed boot=casper initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --&lt;br /&gt;LABEL xforcevesa&lt;br /&gt;menu label Start Ubuntu in safe ^graphics mode&lt;br /&gt;kernel vmlinuz&lt;br /&gt;append  file=preseed/ubuntu.seed boot=casper xforcevesa initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --&lt;br /&gt;LABEL check&lt;br /&gt;menu label ^Check CD for defects&lt;br /&gt;kernel vmlinuz&lt;br /&gt;append  boot=casper integrity-check initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --&lt;br /&gt;LABEL memtest&lt;br /&gt;menu label ^Memory test&lt;br /&gt;kernel mt86plus&lt;br /&gt;append -&lt;br /&gt;LABEL hd&lt;br /&gt;menu label ^Boot from first hard disk&lt;br /&gt;localboot 0x80&lt;br /&gt;append -&lt;br /&gt;DISPLAY isolinux.txt&lt;br /&gt;TIMEOUT 300&lt;br /&gt;PROMPT 1&lt;br /&gt;F1 f1.txt&lt;br /&gt;F2 f2.txt&lt;br /&gt;F3 f3.txt&lt;br /&gt;F4 f4.txt&lt;br /&gt;F5 f5.txt&lt;br /&gt;F6 f6.txt&lt;br /&gt;F7 f7.txt&lt;br /&gt;F8 f8.txt&lt;br /&gt;F9 f9.txt&lt;br /&gt;F0 f10.txt&lt;/blockquote&gt;&lt;br /&gt;&lt;/pre&gt;这样我们拷贝数据的工作就完成了。&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;第四步 让你的USB闪存可启动&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;我们使用syslinux让你的闪存可以启动&lt;br /&gt;首先要安装syslinux&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install syslinux mtools&lt;/blockquote&gt;&lt;br /&gt;然后，umount你的闪存，并且制定你的可启动闪盘&lt;br /&gt;&lt;blockquote&gt;cd&lt;br /&gt;sudo umount /tmp/liveusb&lt;br /&gt;sudo syslinux -f /dev/sdb1&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;这样，我们就可以用闪盘启动电脑了。&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-size:130%;" &gt;注意：假如你在启动的时候，发现系统提示“No operating system”，那么这是因为你的闪盘的MBR坏掉了。用lilo工具来修复他即可正常启动。大多数市面上的闪盘的MBR都是坏的，所以最好修复一下。&lt;/span&gt;&lt;blockquote&gt;&lt;br /&gt;sudo apt-get install lilo&lt;br /&gt;sudo lilo -M /dev/sdb&lt;/blockquote&gt;上几张实拍照片&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RnTVpOd-E7I/AAAAAAAAADg/htC-Gv08x9M/s1600-h/100_2830.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RnTVpOd-E7I/AAAAAAAAADg/htC-Gv08x9M/s320/100_2830.JPG" alt="" id="BLOGGER_PHOTO_ID_5076917584188543922" border="0" /&gt;&lt;/a&gt;已经用闪盘装好的Ubuntu 7.04（X60）&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_O6AP35LjDtI/RnTW4-d-E8I/AAAAAAAAADo/PGDIH5o7IL4/s1600-h/100_2832.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_O6AP35LjDtI/RnTW4-d-E8I/AAAAAAAAADo/PGDIH5o7IL4/s320/100_2832.JPG" alt="" id="BLOGGER_PHOTO_ID_5076918954283111362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;闪盘启动画面&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RnTXZed-E9I/AAAAAAAAADw/ai4ExXlE5zI/s1600-h/100_2833.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RnTXZed-E9I/AAAAAAAAADw/ai4ExXlE5zI/s320/100_2833.JPG" alt="" id="BLOGGER_PHOTO_ID_5076919512628859858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;启动进度条&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RnTXued-E-I/AAAAAAAAAD4/lSWJeeQ4ZG8/s1600-h/100_2834.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RnTXued-E-I/AAAAAAAAAD4/lSWJeeQ4ZG8/s320/100_2834.JPG" alt="" id="BLOGGER_PHOTO_ID_5076919873406112738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;启动灯在闪&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RnTYBOd-E_I/AAAAAAAAAEA/Zqb0k4HknUw/s1600-h/100_2835.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RnTYBOd-E_I/AAAAAAAAAEA/Zqb0k4HknUw/s320/100_2835.JPG" alt="" id="BLOGGER_PHOTO_ID_5076920195528659954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;LiveUSB启动之后的画面和LiveCD是一样的&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;我这次操作完全是按照&lt;br /&gt;http://www.debuntu.org/how-to-install-ubuntu-linux-on-usb-bar&lt;br /&gt;来的。这篇文章主要是把用Ubuntu制作启动USB抽了出来，如果不是用UBuntu的用户可以参考原文。&lt;br /&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/11622528-6230148225178641431?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/6230148225178641431/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=6230148225178641431' title='2 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/6230148225178641431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/6230148225178641431'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/06/usbubuntu.html' title='如何用USB闪存安装Ubuntu'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_O6AP35LjDtI/RnTVpOd-E7I/AAAAAAAAADg/htC-Gv08x9M/s72-c/100_2830.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11622528.post-6385195671804573095</id><published>2007-05-09T01:14:00.000+08:00</published><updated>2007-05-09T01:20:02.838+08:00</updated><title type='text'>如何在Ubuntu Feisty下面连接Windows的VPN</title><content type='html'>刚刚搞定了在Feisty下面连接Windows VPN，记下来，备查&lt;br /&gt;&lt;br /&gt;   步骤&lt;br /&gt;     1. 安装必要软件&lt;br /&gt;     sudo    apt-get install network-manager-openvpn network-manager-pptp network-manager-vpnc openvpn pptpd pptp-linux secvpn vpnc&lt;br /&gt;其实连接windows VPN，只要network-manager-pptp network-manager-vpnc pptpd pptp-linux就可以了，不过为了以后能连接其他vpn和自己做vpn，我都装上了&lt;br /&gt;&lt;br /&gt;   2. 在nm-applet里面设置吧，和windows下面设置一样的额（没用过windows，但看过演示视频，hoho）&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-6385195671804573095?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/6385195671804573095/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=6385195671804573095' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/6385195671804573095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/6385195671804573095'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/05/ubuntu-feistywindowsvpn.html' title='如何在Ubuntu Feisty下面连接Windows的VPN'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-8342264252517457367</id><published>2007-04-20T00:07:00.000+08:00</published><updated>2007-04-20T00:26:07.738+08: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;&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/11622528-8342264252517457367?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/8342264252517457367/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=8342264252517457367' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/8342264252517457367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/8342264252517457367'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/04/blog-post.html' title='颐和园和柳浪闻莺'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-7256082216011209130</id><published>2007-04-03T10:17:00.000+08:00</published><updated>2008-12-09T22:58:34.348+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu feisty virtualbox wine 虚拟机 编译 安装 配置'/><title type='text'>在feisty中编译virtualbox</title><content type='html'>其实发这个文章，对大多数人来说有脱了裤子放屁，多此一举之嫌&lt;br /&gt;因为virtualbox毕竟已经放出了feisty的deb下载&lt;br /&gt;不过我当时不知道，并且想看看人家代码怎么写的，就干脆自己编译吧&lt;br /&gt;其实，说起来，编译还是蛮简单的&lt;br /&gt;直接参考&lt;br /&gt;http://www.virtualbox.org/wiki/Linux%20build%20instructions&lt;br /&gt;1. 一定得有编译器，因为用的是QT作前端，g++少不了。feisty默认gcc是有的&lt;div style="text-align: left;"&gt;&lt;span style="font-family:georgia;"&gt;&lt;blockquote&gt;sudo apt-get install g++&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;2. 安装一堆相关的dev lib&lt;pre class="wiki"&gt;&lt;blockquote&gt;apt-get install bcc iasl xsltproc xalan libxalan110-dev uuid-dev zlib1g-dev \&lt;br /&gt;         libidl-dev libsdl1.2-dev libxcursor-dev libqt3-headers \&lt;br /&gt;         libqt3-mt-dev libasound2-dev libstdc++5&lt;/blockquote&gt;3.下载OSE源代码包&lt;br /&gt;&lt;blockquote&gt;wget http://www.virtualbox.org/download/1.3.8/VirtualBox-OSE-1.3.8.tar.bz2&lt;/blockquote&gt;4. 解压缩代码&lt;br /&gt;5. 如果习惯编译代码的人，估计下一步就很熟悉了，进入代码目录&lt;blockquote&gt;./configure&lt;/blockquote&gt;6. 由于virtualbox用了一个据说全世界只有半个人懂的build系统kbuild，所以接下来会有些不同&lt;blockquote&gt;source ./env.sh&lt;br /&gt;&lt;/blockquote&gt;7. 这样，你的virtualbox就编译好了。你要到&lt;tt&gt;out/linux.x86/release里面去找&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;由于这是一个给开发人员用的版本，所以，没有提供任何打包的机制，但是却能极好地配合你当前内核使用&lt;br /&gt;我直接把release目录move到了/usr/local下面，改名成virtualbox1.3.8&lt;br /&gt;&lt;br /&gt;接下来，在/usr/local/virtualbox1.3.8/bin下面写了几个脚本&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;A. startVirtualBox.sh&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;这个脚本用于开启VirtualBox的后台service&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;内容如下&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;blockquote&gt;sudo insmod src/vboxdrv.ko&lt;br /&gt;sudo chmod 777 /dev/vboxdrv&lt;br /&gt;LD_LIBRARY_PATH=. ./VBoxSVC &amp;&lt;/blockquote&gt;B. startVirtualBoxClient.sh&lt;br /&gt;这个脚本用于打开QT的front&lt;br /&gt;内容如下&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;blockquote&gt;LD_LIBRARY_PATH=. ./VirtualBox&lt;/blockquote&gt;&lt;span style="font-family:Georgia,serif;"&gt;C. 还有一个，就是在你不用了的时候关闭VB的服务,stopVirtualBox.sh&lt;br /&gt;内容如下&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Georgia,serif;"&gt;&lt;blockquote&gt;pkill VBoxSVC&lt;br /&gt;pkill VBoxXPCOMIPCD&lt;br /&gt;sudo rmmod /dev/vboxdrv&lt;/blockquote&gt;&lt;br /&gt;至此，virtualbox就可以跑起来了。自我感觉比vmware系列要块很多&lt;br /&gt;&lt;br /&gt;接下来，要作的事情，其实和vmware差不多，在网络配置上面，我没有仔细挖，就用最简单的Nat了&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Georgia,serif;"&gt;而在虚拟机里面，设置成dhcp，看找到的网关就是你的host了，你可以ssh，sftp，ftp甚至samba了&lt;br /&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Georgia,serif;"&gt;还有一点小技巧就是，虚拟机的内存千万不要设置太大，128M足矣，设置越大，反而更慢&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Georgia,serif;"&gt;&lt;br /&gt;截图&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;pre class="wiki"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RhIXZWqMBCI/AAAAAAAAACw/jn9SnKTi7JI/s1600-h/VBOSE.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RhIXZWqMBCI/AAAAAAAAACw/jn9SnKTi7JI/s320/VBOSE.png" alt="" id="BLOGGER_PHOTO_ID_5049123856582444066" border="0" /&gt;&lt;/a&gt;&lt;/pre&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;br /&gt;超快的XP的启动&lt;br /&gt;&lt;tt&gt;&lt;tt&gt;&lt;pre class="wiki"&gt;&lt;tt&gt;&lt;tt&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;span&gt;&lt;span style="font-family:georgia;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O6AP35LjDtI/RhIX8mqMBDI/AAAAAAAAAC4/0gqV-8X9gsc/s1600-h/VBOSE-XP.png"&gt;&lt;tt&gt;&lt;tt&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_O6AP35LjDtI/RhIX8mqMBDI/AAAAAAAAAC4/0gqV-8X9gsc/s320/VBOSE-XP.png" alt="" id="BLOGGER_PHOTO_ID_5049124462172832818" border="0" /&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;用WinSCP连Host和用ipconfig查看自己的host的IP在虚拟机中是多少&lt;br /&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;span&gt;&lt;span style="font-family:georgia;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RhIY4WqMBFI/AAAAAAAAADI/siJ52Wmtf4M/s1600-h/VBOSE-SCP-IP.png"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RhIY4WqMBFI/AAAAAAAAADI/siJ52Wmtf4M/s320/VBOSE-SCP-IP.png" alt="" id="BLOGGER_PHOTO_ID_5049125488670016594" border="0" /&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;大智慧行情软件&lt;br /&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RhIZZWqMBGI/AAAAAAAAADQ/xRoVW3bv2jI/s1600-h/VBOSE-SCP-IP.png"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RhIZZWqMBGI/AAAAAAAAADQ/xRoVW3bv2jI/s320/VBOSE-SCP-IP.png" alt="" id="BLOGGER_PHOTO_ID_5049126055605699682" border="0" /&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/a&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;还有，别忘记了，linux下面用wine，光大银行的交易软件，呵呵，涉及到钱可不敢让windows代劳&lt;br /&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;pre class="wiki"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RhIaPGqMBHI/AAAAAAAAADY/vVCAZ8rA34k/s1600-h/WineJYClient.png"&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;tt&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RhIaPGqMBHI/AAAAAAAAADY/vVCAZ8rA34k/s320/WineJYClient.png" alt="" id="BLOGGER_PHOTO_ID_5049126979023668338" border="0" /&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/a&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;/tt&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-7256082216011209130?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/7256082216011209130/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=7256082216011209130' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/7256082216011209130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/7256082216011209130'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/04/feistyvirtualbox.html' title='在feisty中编译virtualbox'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_O6AP35LjDtI/RhIXZWqMBCI/AAAAAAAAACw/jn9SnKTi7JI/s72-c/VBOSE.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11622528.post-2508795382687880995</id><published>2007-03-17T10:49:00.000+08:00</published><updated>2007-03-19T15:26:23.668+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux 路由 iptables AMule lowid'/><title type='text'>Amule在Ubuntu下lowid问题终于解决了!</title><content type='html'>真的没有想到这个AMule的问题困扰了我两年多了.&lt;br /&gt;一直搞不明白我端口映射都作好了,iptables也设置好了,为什么就是搞不定&lt;br /&gt;今天无意中Google到有人说把端口从默认的改掉就好了&lt;br /&gt;于是我就试了试,居然OK了!&lt;br /&gt;猜想各种原有,莫非是传说中的电信控制端口?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-2508795382687880995?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/2508795382687880995/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=2508795382687880995' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/2508795382687880995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/2508795382687880995'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/03/amuleubuntulowid.html' title='Amule在Ubuntu下lowid问题终于解决了!'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-3719298664250210554</id><published>2007-02-04T21:36:00.000+08:00</published><updated>2007-02-04T21:41:05.935+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='游戏 Linux PSP 工作 电脑'/><title type='text'>电脑是用来工作的,PSP是用来游戏的</title><content type='html'>以前一直耿耿于怀Linux游戏太少,逼我成了一个游戏禁欲者.&lt;br /&gt;不过,自从买了PSP之后,发现世界原来这么合理,电脑就是干活的,要游戏干吗?&lt;br /&gt;游戏机和电脑历史一样长,用游戏机玩游戏简直太爽了~&lt;br /&gt;这个世界本来就应该是专业的,单一简单,高效而优美的&lt;br /&gt;为了玩游戏而买电脑的人,你们真的浪费了99%的电脑功能啊,还不如捐给希望工程,让那些小孩子尽早接触电脑.而一个2000不到的游戏机能满足你们所有的需求.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-3719298664250210554?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/3719298664250210554/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=3719298664250210554' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/3719298664250210554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/3719298664250210554'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/02/psp.html' title='电脑是用来工作的,PSP是用来游戏的'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-5091223880659834840</id><published>2007-02-04T15:33:00.000+08:00</published><updated>2007-02-04T15:59:35.990+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='爬虫 搜索引擎 服务器'/><title type='text'>做条好爬虫</title><content type='html'>在搜索引擎里面,网络爬虫是一个重要的组成部分.虽然现在很多网站信誓旦旦地要开发"基于人手工分类"的搜索引擎,但没有数以万记的网络爬虫(有人称为机器人)爬回来的数据,人手工分类也是没有用的.&lt;br /&gt;     那么一条好的网络爬虫他应该有什么特点呢?我个人理解应该有以下几个方面的功能&lt;br /&gt;&lt;ol&gt;&lt;li&gt;能吃&lt;/li&gt;&lt;li&gt;能拉&lt;/li&gt;&lt;li&gt;抗药性强&lt;/li&gt;&lt;li&gt;有团队精神&lt;/li&gt;&lt;/ol&gt;    我们一个个来讲.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;首先,能吃是一条虫子所具备的基本素质.但怎么样才算"能"呢?简而言之,就是无论什么情况,什么地点,什么工具,我都能尽我所能去吃.不管你给我的是宽带,窄带,服务器,PC机,国内的网站,国外的网站,我通通都能吃下来.不要小看这一点有的虫子就因为网站在国外,想吃吃不到.那一条好虫子碰到国外网站怎么吃呢?简单嘛,出国啊.通过互联网高速列车,送自己到国外的服务器上吃,近水楼台嘛.&lt;/li&gt;&lt;li&gt;吃完了,不能就完事啊,还非得拉出来不可.当然,好的虫子的胃是个好的过滤器,有营养的拉出来,没营养的自己消化.所以他就不是一条虫子了,而是奶牛了,吃的是草,拉的是奶啊.他也就是常说的奶牛虫了.&lt;/li&gt;&lt;li&gt;话说这个世界上,有很多害虫,但最大的害虫,名字叫人类.这种害虫的危害在于,完全凭自己主观意愿来判断世界上的其他虫子.有利于他的就养着,不利于他的就农药伺候.我们的虫子爬的是人类自己种的庄家,虽然我们很小心,只是走一遍,把地里有什么庄稼都记下来就走.可有时候人类就是这么无聊,认为凡是虫都有害,凡是害虫都要杀,两个凡是害死人哪.他们怎么杀呢?手段无非是在庄稼里面种一些除庄稼以为的毒草.我们的虫虫有时候不知道,误食毒草还任劳任怨继续吃.结果胃负担太重,导致虫虫死掉.所以好虫子一定要在去一块处女地之前好好考察,制定详细的啃蚀计划,否则时间花了大把,却一无所获,时间就是生命啊! 当然,这个世界大部分地是不会种毒草的,高级的农民才弄这玩意.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;不管一条虫子再怎么骁勇善吃,一个人的力量总是有限的.毛主席很早就教导我们要发动人民战争,我们要把广大的敌人淹没在我们的人海中,哦不对,是虫海.好的作战部队一定是这样的,有先锋,冲头阵,杀敌人,抓俘虏;有后勤,源源不断供应补给,让我们的战士们无后顾之忧,有大批秘密警察,他们要负责把抓回来的俘虏严刑逼供,获得有价值的信息和堡垒,再把情报交给我们的先锋部队;有优秀的指挥员,他一定要眼观六路,耳听八方.把各支部队合理调配,人员尽量做到人尽其责.俗话说,没有坏的士兵,只有坏的指挥员.然也.一个指挥员就是把一个人的五个指头握紧成一个拳头,打出最大的力量.把无数个人的拳头凝聚起来,形成集团作战力,消灭所有的敌人.&lt;/li&gt;&lt;/ul&gt;以上就是我总结的"一条爬虫的基本修养",理论篇.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-5091223880659834840?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/5091223880659834840/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=5091223880659834840' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/5091223880659834840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/5091223880659834840'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/02/blog-post.html' title='做条好爬虫'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-9040883499107400214</id><published>2007-01-29T23:57:00.000+08:00</published><updated>2007-01-30T00:01:12.496+08:00</updated><title type='text'>关于Java调用JNI</title><content type='html'>其实根据Sun的文档来的话，就挺简单的。一切都像极了面向对象的glib和gtk+的实现&lt;br /&gt;要注意的是JVM和ENV这两个定义，在C里面是**，而在C++里面是*&lt;br /&gt;对于所有的C的调用来说，所有的类方法，都要传一个jobject进去，所有的static方法都要传一个jclass进去，对于C++就没有这么回事，因为C++本来就有类。&lt;br /&gt;但我个人还是更倾向于C。我用JNI还要C++来搀和什么呢，不过Sun的人实在很喜欢C++，整个JVM里面都是C++的代码。。。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-9040883499107400214?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/9040883499107400214/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=9040883499107400214' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/9040883499107400214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/9040883499107400214'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2007/01/javajni.html' title='关于Java调用JNI'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-4127800509456184954</id><published>2006-12-15T10:00:00.000+08:00</published><updated>2006-12-15T10:01:32.851+08:00</updated><title type='text'>德国之声访顾宾谈中国当代文学</title><content type='html'>&lt;p&gt;德国之声访顾宾谈中国当代文学&lt;/p&gt; &lt;p&gt;    波恩大学汉学教授顾宾（WolfgangKubin）是德国最著名的汉学家之一﹐尤其在中国现当代文学的介绍和研究方面堪称权威。在接受德国之声采访时﹐ 他对中国作协﹑中国当代文学的问题﹑中国作家的问题﹑中国文学如何走向世界﹐以及一些具体作家和作品谈了他的看法。欢迎大家对此展开讨论。 &lt;/p&gt; &lt;p&gt;    德国之声﹕顾宾教授您好。最近在北京召开了中国作协大会﹐选出铁凝担任主席﹐这是继茅盾和巴金之后的第三位中国作协主席。听说您那时正在中国。您对这件事情是怎么看的﹖&lt;br /&gt;　　顾宾﹕我那时是在中国。我对这事不太清楚。反正﹐可以这么说﹐所有我认识的中国作家都看不起作协。对我们汉学家来说﹐作协有一个新的主席无所谓。&lt;br /&gt;　　德国之声﹕那就是说﹐作协新的主席不需要象以前的茅盾或者巴金那样一定要是最有名的﹐或者说声望最高的人﹐是吗﹖&lt;br /&gt;　 　顾宾﹕这个作协一点用处一点好处都没有。你在中国大陆可以问所有的作家﹐没有人会主动说到作协﹐没有人﹐一个也没有。如果是真正的中国作家﹐他肯定不要 入那个作协。如果他入了以后才成为一个伟大的作家的话﹐他是很有问题的。一般来说﹐好的作家不可能跟作协保持什么联系。&lt;br /&gt;　　德国之声﹕听说您最近作了一个报告﹐关于21世纪中国文学存在的问题。您能不能大体上归纳一下您报告里的内容﹐也就是说﹐中国文学现在这几年存在哪些问题。&lt;br /&gt;　 　顾宾﹕我只能提到一些我自己觉得20世纪中国文学存在的问题。比方说﹐如果我们要分49年以前49年以后的中国作家的话﹐我们会发现﹐中国49年以前的 那些作家﹐他们的外语都不错。张爱玲﹑林语堂﹑胡适﹐他们都能够用外语写作。有些作家两种外语都没问题﹐比方说鲁迅。49年以后基本上你找不到一个会说外 语的中国作家。所以他不能够从另外一个语言系统看自己的作品。另外他根本没办法看外文版的作品。他只能看翻译成中文以后的外国作品。所以中国作家对外国文 学的理解和了解是非常差的﹐差得很。49年以前不少作家认为﹐我们学外语会丰富我们自己的写作。但是﹐你问一个（现在的）中国作家为什么不学外语﹐他会说 ﹐外语只能够破坏我的母语。我估计是这样﹐为什么49年以后没有什么伟大的作家﹐为什么这些作家肯定比不上49年以前的作家呢﹐问题就在这里﹐这是一个非 常重要的问题。&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;　 　顾宾﹕诗歌怎么可能死了呢﹖如果在中国死了﹐那好吧﹐让它在中国死吧﹐在德国（它）还“活”。如果有一个中国诗人来德国的话﹐我们给他开朗诵会﹐肯定会 来50个人﹐100个人﹐我们肯定会出他们的诗集。中国当代作家在德国﹐用德文出的诗集多得要命。中国诗歌在德国不可能会死。&lt;br /&gt;　　德国之声﹕现在的中国诗歌﹐您觉得比80年代的时候﹐北岛﹐杨炼等﹐怎么样﹖&lt;br /&gt;　 　顾宾﹕这个很难比﹐但是我觉得无论是80还是90年代的诗人﹐他们都不错﹐他们都有他们的视野﹐有他们自己的语言﹐等等。我个人当然还是特别喜欢北岛他 们一批人。但是我比较老﹐所以我也应该考虑到年轻读者。年轻读者可能更喜欢看90年代的代表。比方说王家新﹐欧阳江河﹐翟永明等等等等。&lt;br /&gt;　　德国之声﹕现在中国作协推出一个计划﹐说是要推出100本中国作品﹐翻译成外文﹐让中国文学更大步地走向世界。您是怎么看这个计划的﹐它有意义吗﹖&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;　　德国之声﹕如果要您跟中国作家说几句话﹐您想说什么呢﹖&lt;br /&gt;　 　顾宾﹕他们先应该好好掌握他们的母语。中国作家大部分的中文非常不好。另外﹐他们应该先学好﹐用哪一种方法来写作。在这个方面﹐中国作家的问题太大了。 但是﹐也可能最基本的问题是﹐他们的意识是很有问题的﹐他们的视野是非常有问题的。好象他们还是卡在一个小房子里头﹐不敢打开他们的眼睛来看世界。所以中 国到现在为止没有什么它自己的声音﹐从文学来看﹐没有。德国到处都有作家﹐他们代表德国﹐代表德国人说话。所以我们有一个德国的声音。但是中国的声音在哪 里呢﹖没有。不存在。中国作家胆子特别小﹐基本上没有。&lt;br /&gt;　　德国之声﹕也就是说﹐象鲁迅这样的人现在没有。&lt;br /&gt;　　顾宾﹕是﹐你说得非常对。鲁迅原来很有代表性。现在你给我看看有这么一个中国作家吗﹖没有。&lt;br /&gt;　　德国之声﹕那么是不是跟中国的环境有关系呢﹖也就是说﹐对意识形态的控制。&lt;br /&gt;　　顾宾﹕也可能。但是不要老说是外在的条件不允许我。我觉得一个中国作家不应该老是说历史的条件不允许我这样或者那样﹐我觉得这是开玩笑。因为﹐如果一个作家是一个真正的作家的话﹐他不要考虑他将来会碰到什么困难﹐他应该跟当时的林语堂和鲁迅一样地说话。&lt;br /&gt;　　德国之声﹕从20世纪到21世纪﹐您认为中国作家里有哪几个可以称为是伟大的呢﹖&lt;br /&gt;　　顾宾﹕（说）这个太早了。你需要一个至少50年的距离﹐才能够回顾﹐看一看﹐说谁比较伟大﹐如果真的有的话。鲁迅肯定是伟大的。49年前还有其它的人。49年以后到现在肯定没有。&lt;br /&gt;　　德国之声﹕北岛﹑高行健也不是﹖&lt;br /&gt;　　顾宾﹕高行健﹐开玩笑。北岛可以考虑﹐因为他是勇敢的。但是﹐你别忘了他才50岁。&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-4127800509456184954?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/4127800509456184954/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=4127800509456184954' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/4127800509456184954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/4127800509456184954'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/12/blog-post_15.html' title='德国之声访顾宾谈中国当代文学'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-7308765175234829120</id><published>2006-12-08T16:14:00.000+08:00</published><updated>2008-12-09T22:58:36.456+08:00</updated><title type='text'>AIGLX in my laptop</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RXkgJxbvu7I/AAAAAAAAAB0/UfC6lhc_xzU/s1600-h/Screenshot-1.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RXkgJxbvu7I/AAAAAAAAAB0/UfC6lhc_xzU/s320/Screenshot-1.png" alt="" id="BLOGGER_PHOTO_ID_5006067813059640242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;真不知道微软在搞什么飞机，开发了五年的vista的所谓超炫特效，还不如AIGLX一年的工作卓有成效。我这台X300的笔记本用开源的ATI驱动跑的好好的，可MS还就是逼人家升级，有必要嘛&lt;br /&gt;另外，ati的驱动不太好，家里的台式机，Duron1800,可配了一个Geforce6200（也过时的不行了），还更流畅&lt;br /&gt;建议MS把Windows开源了，说不定会让开发更有效率。。。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-7308765175234829120?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/7308765175234829120/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=7308765175234829120' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/7308765175234829120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/7308765175234829120'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/12/aiglx-in-my-laptop.html' title='AIGLX in my laptop'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_O6AP35LjDtI/RXkgJxbvu7I/AAAAAAAAAB0/UfC6lhc_xzU/s72-c/Screenshot-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11622528.post-7585684462360831542</id><published>2006-12-03T23:40:00.000+08:00</published><updated>2008-12-09T22:58:37.630+08:00</updated><title type='text'>笔记本也用上beryl了</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxJ7ejWuI/AAAAAAAAAAw/KRTIFJySBqs/s1600-h/100_2114.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxJ7ejWuI/AAAAAAAAAAw/KRTIFJySBqs/s320/100_2114.JPG" alt="" id="BLOGGER_PHOTO_ID_5004327288848997090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RXLxKbejWvI/AAAAAAAAAA4/vy3cZAmbqCc/s1600-h/100_2115.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RXLxKbejWvI/AAAAAAAAAA4/vy3cZAmbqCc/s320/100_2115.JPG" alt="" id="BLOGGER_PHOTO_ID_5004327297438931698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxK7ejWwI/AAAAAAAAABA/obbNQv7RCdQ/s1600-h/100_2117.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxK7ejWwI/AAAAAAAAABA/obbNQv7RCdQ/s320/100_2117.JPG" alt="" id="BLOGGER_PHOTO_ID_5004327306028866306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RXLxLbejWxI/AAAAAAAAABI/zQPsH3btkxY/s1600-h/100_2118.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RXLxLbejWxI/AAAAAAAAABI/zQPsH3btkxY/s320/100_2118.JPG" alt="" id="BLOGGER_PHOTO_ID_5004327314618800914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxL7ejWyI/AAAAAAAAABQ/e8WJqPZSfiE/s1600-h/100_2119.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxL7ejWyI/AAAAAAAAABQ/e8WJqPZSfiE/s320/100_2119.JPG" alt="" id="BLOGGER_PHOTO_ID_5004327323208735522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;买了个80G的笔记本硬盘，原来40G的自然就退休了。这个硬盘就只装ubuntu了，咱笔记本也得beryl阿。哼哧哼哧搞定，只用开源的ati的驱动就直接ok了。CPU利用率总是5%以下 ,aiglx的确比xgl进步许多阿。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-7585684462360831542?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/7585684462360831542/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=7585684462360831542' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/7585684462360831542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/7585684462360831542'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/12/beryl.html' title='笔记本也用上beryl了'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_O6AP35LjDtI/RXLxJ7ejWuI/AAAAAAAAAAw/KRTIFJySBqs/s72-c/100_2114.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11622528.post-596275886281203140</id><published>2006-12-03T01:09:00.000+08:00</published><updated>2008-12-09T22:58:38.275+08:00</updated><title type='text'>生命在于折腾--系统升级</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RXHEbrejWtI/AAAAAAAAAAc/WWb7idXP1lg/s1600-h/Screenshot-2.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RXHEbrejWtI/AAAAAAAAAAc/WWb7idXP1lg/s320/Screenshot-2.png" alt="" id="BLOGGER_PHOTO_ID_5003996640791714514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O6AP35LjDtI/RXHCV7ejWsI/AAAAAAAAAAU/uAzCdh52UKY/s1600-h/Screenshot-1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_O6AP35LjDtI/RXHCV7ejWsI/AAAAAAAAAAU/uAzCdh52UKY/s320/Screenshot-1.png" alt="" id="BLOGGER_PHOTO_ID_5003994342984211138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_O6AP35LjDtI/RXHB9rejWrI/AAAAAAAAAAM/gNCRL31Yp4I/s1600-h/Screenshot.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_O6AP35LjDtI/RXHB9rejWrI/AAAAAAAAAAM/gNCRL31Yp4I/s320/Screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5003993926372383410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;今天实在没有忍住beryl的诱惑，终于把系统升级成edgy去装beryl+ailgx了&lt;br /&gt;其实也不敢升太多，只升了一台老机器，其他电脑都还是dapper&lt;br /&gt;这次升级dist-upgrade居然事败了，没办法，反正就预备重装的，直接就革了重来了&lt;br /&gt;&lt;br /&gt;安装好之后，再手动安装nvidia驱动。想不到再edgy下面安装新的nvidia驱动这么容易了，比当年slackware还要简单呢&lt;br /&gt;&lt;br /&gt;就是安装好之后，xorg识别显卡和显示器能力下降了，只能手动调分辨率了&lt;br /&gt;另外就是要在xorg.conf里面的Screen这个Section里面，加入&lt;br /&gt;&lt;span class="postbody"&gt; Option "AddARGBGLXVisuals" "True"&lt;br /&gt;就能保证标题栏不丢失了&lt;br /&gt;上两张图片，截图实在不能反映问题，因为都有畸变了。改天我把笔记本革了装上edgy，beryl，去震撼大家一把，hoho&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/11622528-596275886281203140?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/596275886281203140/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=596275886281203140' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/596275886281203140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/596275886281203140'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/12/blog-post.html' title='生命在于折腾--系统升级'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_O6AP35LjDtI/RXHEbrejWtI/AAAAAAAAAAc/WWb7idXP1lg/s72-c/Screenshot-2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11622528.post-116446889534010955</id><published>2006-11-25T23:29:00.000+08:00</published><updated>2006-11-25T23:34:55.346+08:00</updated><title type='text'>两年前的我。。。</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/8128/950/1600/456036/SV300237.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/8128/950/400/300285/SV300237.jpg" alt="" border="0" /&gt;&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/11622528-116446889534010955?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/116446889534010955/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=116446889534010955' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/116446889534010955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/116446889534010955'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/11/blog-post.html' title='两年前的我。。。'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-116446643693795989</id><published>2006-11-25T22:49:00.000+08:00</published><updated>2006-11-25T22:53:56.943+08:00</updated><title type='text'>LG3D in dapper</title><content type='html'>&lt;a href="http://photos1.blogger.com/x/blogger/8128/950/1024/496088/lgscreen-0-0.jpg"&gt;&lt;img src="http://photos1.blogger.com/x/blogger/8128/950/400/295519/lgscreen-0-0.jpg" alt="" style="margin: 0px 10px 10px 0px; float: left;" border="0" /&gt;&lt;/a&gt; It's fabulous now.&lt;br /&gt;The previous version always has some problems. But the current version(0.8.0), even provides a debian package including JDK1.6+Java3D1.5+LG3DCore.&lt;br /&gt;It's now integrated as a WM session.&lt;br /&gt;The big problem is that the CPU is still always busy,just like XGL.&lt;br /&gt;I don't know if Windows Vista will be easy to run, but if I want to work using computer, the 3D effects will kill a lot of performance.&amp;nbsp;&lt;a href='http://picasa.google.com/blogger/' target='ext'&gt;&lt;img src='http://photos1.blogger.com/pbp.gif' alt='Posted by Picasa' style='border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;' align='middle' border='0' /&gt;&lt;/a&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-116446643693795989?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/116446643693795989/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=116446643693795989' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/116446643693795989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/116446643693795989'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/11/lg3d-in-dapper.html' title='LG3D in dapper'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-116444139786616759</id><published>2006-11-25T15:55:00.000+08:00</published><updated>2006-11-25T15:56:37.873+08:00</updated><title type='text'>终于大陆地区可以访问blogspot了</title><content type='html'>&lt;span style="font-weight: bold;"&gt;从今天起，我就不去msn space了。还是Google的服务比较让人放心阿&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-116444139786616759?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/116444139786616759/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=116444139786616759' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/116444139786616759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/116444139786616759'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2006/11/blogspot.html' title='终于大陆地区可以访问blogspot了'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-111150766555192092</id><published>2005-03-22T23:59:00.000+08:00</published><updated>2005-03-23T00:07:45.553+08:00</updated><title type='text'>GTK+的设计方法《一》</title><content type='html'>GTK+的设计方法《一》&lt;br /&gt;&lt;br /&gt;全套用C设计的OO的GUI的Toolkit.&lt;br /&gt;再次让某些“唯语言论”者哑口无言。&lt;br /&gt;这里只是让小弟稍微做一个探索吧。&lt;br /&gt;这里我打算用GtkButton这个结构来分析。今天太晚了，头有点疼，先做个预告&lt;br /&gt;&lt;br /&gt;意图：&lt;br /&gt;  这篇文章旨在用通过分析GTK+的代码来说明C语言是怎么实现OO的设计思想。通过这样一&lt;br /&gt;个分析，大家可以看到OO确实仅仅是一种很好的思想，但也仅仅是思想而已，完全是独立于语&lt;br /&gt;言的。并且可以让一些OO语言（这里说的OO语言是大众所说的概念，如C++,Java,C#,&lt;br /&gt;Smalltalk,python等，其实通过本文的分析，我们也可以看出其实C也可以称之为OO语言）&lt;br /&gt;程序员能更加清楚OO实现的一些机理。&lt;br /&gt;&lt;br /&gt;我们从这个例子里面可以来看以下几个OO的特性&lt;br /&gt;I.继承&lt;br /&gt; 这个特点可以说是OO里面最根本的特点之一了。所有的现实生活对象经过抽象总结，可以推演&lt;br /&gt;出一棵对象树来对真实对象进行映射。这里我不想对此进行更多的论述了。我们先来看看&lt;br /&gt;GtkButton的对象树吧&lt;br /&gt;以下内容为程序代码:&lt;br /&gt;&lt;br /&gt;GObject&lt;br /&gt;|__GtkObject&lt;br /&gt;__|_GtkBin&lt;br /&gt;____  |_GtkButton&lt;br /&gt;______      |_GtkToggleButton&lt;br /&gt;________        |_GtkCheckButton&lt;br /&gt;__________          |_GtkRadioButton&lt;br /&gt;&lt;br /&gt;我们可以看到GtkButton继承于GtkBin，同时，他拥有一个子类GtkToggleButton。他们各自&lt;br /&gt;还有自己的父类或者子类。按照继承的概念，如果能对父类有某个操作，那么子类也会继承父类的操&lt;br /&gt;作。比如说，“宠物”是一个父类，它有“撒娇”这个操作，那么，他的所有子类比如“猫”，“狗”&lt;br /&gt;，“蜥蜴”也应该有“撒娇”这个操作（当然，你可能不同意我的说法，那么这就是我设计的错误了）。&lt;br /&gt;而对于特定的子类，比如“猫”有“睡懒觉”的操作，而其他子类未必有，那么我们可以个“猫”这&lt;br /&gt;个子类加上“睡懒觉”这个扩展的操作。而我们实际上可能只需要重新写一个“猫”“睡懒觉”这样&lt;br /&gt;一个操作的描述，而对于其他所有“宠物”都有的“撒娇”等操作我们可以完全都拿来照用，节省了&lt;br /&gt;我们重复开发的时间和精力。&lt;br /&gt;回到我们这里要讲的例子。GtkButton那么首先应该是GtkBin这么一个类。那么GtkBin是什么类&lt;br /&gt;呢？看到代码，GtkBin这个structure是这么定义的&lt;br /&gt;&lt;br /&gt;以下内容为程序代码:&lt;br /&gt;&lt;br /&gt;typedef struct _GtkBin       GtkBin;&lt;br /&gt;&lt;br /&gt;struct _GtkBin&lt;br /&gt;{&lt;br /&gt; GtkContainer container;&lt;br /&gt;&lt;br /&gt; GtkWidget *child;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;这个定义的内容和Gtk+的文档很吻合，即GtkBin本身就是一个GtkContainer，并且他可以拥有一&lt;br /&gt;个child。因为GtkBin的第一个field是GtkContainer那么，所有的GtkContainer为参数的方&lt;br /&gt;法都适用于他，因为任何一个GtkBin都可以被安全地cast为GtkContainer，而不会引起任何内存&lt;br /&gt;溢出之类的问题。&lt;br /&gt;同样，让我们来看GtkButton的定义&lt;br /&gt;以下内容为程序代码:&lt;br /&gt;&lt;br /&gt;typedef struct _GtkButton        GtkButton;&lt;br /&gt;&lt;br /&gt;struct _GtkButton&lt;br /&gt;{&lt;br /&gt; GtkBin bin;&lt;br /&gt;&lt;br /&gt; GdkWindow *event_window;&lt;br /&gt;&lt;br /&gt; gchar *label_text;&lt;br /&gt;&lt;br /&gt; guint activate_timeout;&lt;br /&gt;&lt;br /&gt; guint constructed : 1;&lt;br /&gt; guint in_button : 1;&lt;br /&gt; guint button_down : 1;&lt;br /&gt; guint relief : 2;&lt;br /&gt; guint use_underline : 1;&lt;br /&gt; guint use_stock : 1;&lt;br /&gt; guint depressed : 1;&lt;br /&gt; guint depress_on_activate : 1;&lt;br /&gt; guint focus_on_click : 1;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;同样，我们看到了_GtkButton这个structure的第一个field是GtkBin，那么他可以安全&lt;br /&gt;地cast成GtkBin，同样也能Cast成GtkContainer。所有适用于GtkBin和GtkContainer&lt;br /&gt;的方法都适用于GtkButton。从以上的论述，大家大概可以得出一个显而易见的结论了：哦，&lt;br /&gt;原来实现继承是这么简单啊。OO语言种的class我们可以用structure来表示，当然，很多方&lt;br /&gt;法要写，但公共的只要写一遍就可以了。&lt;br /&gt;&lt;br /&gt;举个方法重用的例子&lt;br /&gt;对于GtkContainer&lt;br /&gt;有这么一个方法&lt;br /&gt;gtk_container_add(GtkContainer *container,GtkWidget *widget)&lt;br /&gt;作用是给container加一个widget。那么，对于GtkBin和GtkButton来说，他们的实际的用法&lt;br /&gt;是一样的，只要把GtkBin和GtkButton的指针传进这个函数，也能获得同样的效果（widget被&lt;br /&gt;加入到GtkBin或者GtkButton里面去了）。&lt;br /&gt;&lt;br /&gt;----------今天先写到这里。具体每个Container是怎么实现用同样签名的方法完成功能类似的&lt;br /&gt;功能以后再慢慢叙述。今天又有点晚了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-111150766555192092?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/111150766555192092/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=111150766555192092' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150766555192092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150766555192092'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2005/03/gtk.html' title='GTK+的设计方法《一》'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-111150712808185077</id><published>2005-03-22T23:57:00.000+08:00</published><updated>2005-03-22T23:58:48.083+08:00</updated><title type='text'>到cvs下面拿gtk+的代码，让你更了解怎么用c来写oo的程序</title><content type='html'>用c写oo的代码，不是什么很难的事情。GTK+是一个很好的设计&lt;br /&gt;不过总得拿到代码先&lt;br /&gt;下面讲讲怎么去拿代码&lt;br /&gt;&lt;blockquote&gt;&lt;table class="ubb_quote" border="0" cellpadding="6" cellspacing="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;br /&gt;%export CVSROOT=:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome&lt;br /&gt;%cvs login&lt;br /&gt;Password:[按回车]&lt;br /&gt;%cvs -z9 co gtk+ [这里是取得gtk+的代码,9代表压缩度最高，一般人选3，我选9]&lt;br /&gt;%cvs -z9 co glib [这里取得glib的代码]&lt;br /&gt;%etags [给代码生成索引，好做emacs里面方便查找]&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;好了，就用前面的方法用emacs来查看gtk+代码怎么写的吧&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-111150712808185077?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/111150712808185077/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=111150712808185077' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150712808185077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150712808185077'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2005/03/cvsgtkcoo.html' title='到cvs下面拿gtk+的代码，让你更了解怎么用c来写oo的程序'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-111150696987362161</id><published>2005-03-22T23:55:00.000+08:00</published><updated>2005-03-22T23:56:09.873+08:00</updated><title type='text'>关于怎么样在linux下面让firefox支持java</title><content type='html'>搜索了半天，终于搞定了。老没面子诶。&lt;br /&gt;我是用debian的&lt;br /&gt;先假设你的JAVA_HOME是你安装java的home，赫赫，不用解释这个东东吧&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;%cd /usr/lib/mozilla-firefox/plugins&lt;br /&gt;%ln -s JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;重启firefox，去yahoo玩Mahjong吧，搞定了~&lt;br /&gt;要换jre的时候，换个连接就好啦&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-111150696987362161?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/111150696987362161/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=111150696987362161' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150696987362161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150696987362161'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2005/03/linuxfirefoxjava.html' title='关于怎么样在linux下面让firefox支持java'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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-11622528.post-111150683402715113</id><published>2005-03-22T23:49:00.000+08:00</published><updated>2005-03-22T23:53:54.026+08:00</updated><title type='text'>Emacs里面使用etags</title><content type='html'>我要做一个emacser&lt;br /&gt;&lt;br /&gt;唉，简单一点写吧&lt;br /&gt;&lt;br /&gt;我是在debian下面，其实都一样的，不管一般的linux还是windows&lt;br /&gt;&lt;br /&gt;先 apt-get install exuberant-ctags&lt;br /&gt;如果不是debian，那么去http://ctags.sourceforge.net/&lt;br /&gt;下载你相应系统的增强ctags，不然默认的让你郁闷死，呵呵&lt;br /&gt;&lt;br /&gt;做源代码目录下面运行etags -R(或者ctags -e -R调出emacs模式）&lt;br /&gt;&lt;br /&gt;在emacs里面按M-.就可以开始搜索函数了。可能第一次还要你指定TAGS的文件。就是你运行etags这个目录下面的TAGS文件。&lt;br /&gt;&lt;br /&gt;注意，不要运行ctags，因为emacs不认&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11622528-111150683402715113?l=popeyelin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://popeyelin.blogspot.com/feeds/111150683402715113/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11622528&amp;postID=111150683402715113' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150683402715113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11622528/posts/default/111150683402715113'/><link rel='alternate' type='text/html' href='http://popeyelin.blogspot.com/2005/03/emacsetags.html' title='Emacs里面使用etags'/><author><name>水汪肚昱</name><uri>http://www.blogger.com/profile/02669376471839036889</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>
