Wednesday, December 24, 2008

学期结束

Beethoven: Sonata for Cello and Piano No. 3 Op. 69 - iii. Adagio Cantabile
Piano: Artur Schnabel; Cello: Pierre Fournier.

Monday, December 22, 2008

Installing OpenSuSe 11.1 on Lenovo T400 with ATI Display Driver

Guess my Chinese readers who are interested in TECH-ONLY posts will bother to read English anyway (i.e. those not interested won't read even if this were in Chinese). So I think posting it in English won't harm, and may help more people who happen to have the problem and find this out with search engines.

Of course I did some google work before ever installing anything. The most helpful information are from an OpenSuSe wiki entry on ATI Drivers, a Thinkwiki entry on Fedora 10 on T400, and this OpenSuSe forum thread. Some of what are said there are a bit misleading. But since I don't know what exactly was happening, I'll just describe what I did to make my ATI driver work. There might be some redundant steps.

First, my T400 specs:
CPU: Core Duo 2 T9400 2.53GHz;
Memory: 4GB DDR3;
Hard Disk: Hitachi 160G 7200rpm SATA;
Display: 14.1 in 1440 x 900 wide screen;
Graphic Cards: ATI HD3470 / Intel GM45 dual graphics unit;
OS: Windows Vista Business 64 / OpenSuSe 11.1 x86_64.

Second, why use the not-open-source proprietary ATI driver? Because 3D acceleration does not seem to work with only open source driver for the HD3470 card, and performance is not satisfactory with GM45 (even compiz-fusion is slow).

Finally, what I did:

1. Do not change anything in BIOS, and install OpenSuSe from CD. I used KDE 4.1 as desktop. Set up the Internet. At this time only the GM45 is detected. Install libstdc++33 and kernel-source.

2. Download the ATI driver to the desktop. Open Konsole and run:

sudo sh ./ati-driver-installer-8-12-x86.x86_64.run

Choose to make package rather than install the driver, and choose ~/Desktop as the destination directory, choose OpenSuSe 11.1 x86_64 as the specific distro. Hereby you will have an rpm on your desktop.

3. Reboot, press F1 to enter BIOS setup, choose config -> display, change "switchable graphics" to "discrete graphics", and change "OS detection..." to "disabled". Save and exit. Thereby X will fail to start. Login and type the follows in command line, and if necessary, use sudo to work as root:
/usr/sbin/sax2 -a
cd Desktop
rpm -Uvh fgl*.rpm
/sbin/ldconfig
aticonfig --initial --input=/etc/X11/xorg.conf
cd /usr/lib/dri/
cp fglrx_dri.so fglrx_dri.so.bak
cp /usr/lib64/dri/fglrx_dri.so .
reboot

4. After rebooting, you should be able to enter X and run 3D acceleration under the ATI driver. To verify this, run
glxinfo
and you should see "OpenGL vendor string: ATI Technologies Inc." among the outputs.

If anything goes wrong and you fail to enter X, just run
sudo /usr/sbin/sax2 -a
to recover xorg.conf. You can also try
sudo /usr/sbin/sax2 -r -m 0=fglrx
to force sax2 to set fglrx as the default display.

BTW, why do I install OpenSuSe 11.1? Because: 1) I simply hate Ubuntu, 2) Fedora 10 was down just after I booted from the installation CD, 3) Debian uses Kernel 2.6.26 which won't recognize my Intel 5100 wireless card (which is my ONLY access to Internet), and 4) I don't have too much time to play with (or I'd rather say, to be played with by) Gentoo. OpenSuSe 11.1 happens to recognize my  wireless card, and happen to be simple enough, until I found that installing the display driver is troublesome. One problem is that you must keep switchable display disabled in BIOS to keep linux detect your ATI graphics. This will disable the switch display function in Windows. You may have to change BIOS settings before using Windows. After all, this is really a not-too-good user experience, from the Lenovo, ATI and Linux sides.

Friday, December 12, 2008

The Name of Asparagus

The history of the word asparagus is a good illustration of one of the peculiarities of English etymology one found in few other languages. After the rebirth of classical learning during the Renaissance, Greek and Latin achieved a lofty status among the educated. As a result, etymologists and spelling reformers of the 16th and 17th centuries tried to give English a classical look by Latinizing or Hellenizing the spelling of words that had Latin or Greek ancestry (and even some that didn't). For example, Medieval Latin had a word sparagus, from Classical Latin asparagus, that was borrowed into Middle English and rendered as sparage or, more commonly, sperage. Botanists were familiar with the proper Latin version asparagus, and their use of that term together with the efforts of the etymologists caused the Latin form to become more widespread, eventually supplanting sperage. Thus, it is difficult to say whether the Modern English word asparagus is a direct continuation of Middle English sperage or a borrowing directly from Latin, a difficulty one encounters with hundreds of other words whose spellings and even pronunciations were Latinized during this time.·The Latin form asparagus lives on in another guise as well; in the 1600s it was shortened in popular speech to ’sparagus, which became sparagrass, sparrowgrass by folk etymology.

Monday, December 08, 2008

大雪日游记

【敝宅】

【卖圣诞树的广告】

【某幢颇有情调的房子门口】

【公墓入口处，最近处是一个姓Bach的人】

【学校的钟楼】

【路遇一群鸟从头顶飞过】

【敝系办公室所在楼房】

Wednesday, November 26, 2008

记（又）一次文化休克

——No one thinks they'll lose their virginity here. Meth will change that.

（一）走私、贩卖、运输、制造鸦片一千克以上、海洛因或者甲基苯丙胺五十克以上或者其他毒品数量大的；
…………

Monday, November 24, 2008

补记上篇，兼纠结若干

40D：当前市场所谓性价比之王，高iso很好，然而屏幕差，不带跑焦校正。
50D：比40D贵，然而除了带640*480的屏幕，实时取景，跑焦校正三个非常实用的功能外，没有任何多余的优点，画质反而较40D有所下降，不过可以靠ps弥补回来。
D90：唯一的塑料机身，性能较其他三者差一截，但是有640*480的屏，而且可以拍片儿。
D300：传说中的APS-C幅面性能之王，有很好很强大的对焦和测光系统，640*480的屏，但是也最贵。尼康虽然也有跑焦校正的功能但是跑焦情况不严重。

Wednesday, November 12, 2008

Untitled Document VI

Anyway, 连收尸的黑大哥都说了，Chinese people don't die. 不论他说的是不是中国人贪生怕死什么的，如果我们的民族性（如果这种东西真得存在的话）里真的有这种让我们不自暴自弃，勇于和善于live through hardships的精神的话，实在是件不错的事情。至少，不会像加州的同性恋运动分子在prop 8的争议中那样表现出那种让他们最终失败的敏感和脆弱。

Saturday, November 01, 2008

碎碎念，暨没有相机的生活

2、必要的衣服，裤子，鞋，不到$100。 3、自行车，不知道要多少钱。 4、7场08-09学年校内的演出，我感兴趣的总共要大约$130：

Oct. 23, Richard Goode
Feb. 3, Ingrid Fliter
Mar. 5, Angela Hewitt
Apr. 22, Charles Rosen

Friday, October 10, 2008

双十节：炸药奖及其他

2.6.27在网卡事件余波未了和rc9发布仅仅三天的时候突然发布了稳定版，实在有些出人意料。然后我读到了Linus Torvalds的blog，讲述这样做的原因，突然觉得有些辛酸。一个开创了新领域的人，在一个大家靠一时兴起而聚合，从事着缺乏明朗前景和稳定报酬的工作，从而极端容易疲惫和懈怠的社区中，保持工作的热情，以及引领整个领域的前进，是多么不容易的一件事。

Free software community如此，scientific community也如此——牛人挖坑引来众人灌水固然风光十足，可惜事情并不总是这样地顺利——运气好的可能像下村那样等上三四十年拿个炸药奖功成名就，运气糟糕的也可能像Prasher那样最后成了一位为生计犯愁的car salesman。

Anyway，生活并不总给予那么充裕的思考的时间空间的。今日觉得明日要好好想想，明日新的更急迫的问题便不期而至，抽出时间形而上地空谈太过虚妄。然，匆忙中随波逐流而泯然众人，未尝是不好的结果。谁知道呢。

Wednesday, October 08, 2008

九月初十寒露日杂记

1、继续炒地震这个冷饭。

2、炸药奖揭晓，饶院长未卜先知，威武。

3、vim是个很有趣的东西。要好好学习它。

Wednesday, June 18, 2008

回忆北大四年上过的通选课（下）

7、经济学原理。经济中心霍德明老师，2006秋，4分。得分86。

8、生物信息学导论。工学院朱怀球老师，2007春，2分。得分93。

9、英国传统诗歌精华。外国语学院梅申友老师，2007夏，2分。得分93。

10、数值方法。数院汤华中老师，2007秋，3分。得分93。

11、电影中的20世纪文学。外国语学院胡续冬老师，2分。得分95。

12、演奏者在音乐体验中的作用。耶鲁的Michael Friedmann教授，3分。得分97。

回忆北大四年上过的通选课（上）

1、古代汉语。中文系邵永海老师，2004秋，2分。得分：95。

2、普通生物学A。生科院高崇明老师，2005春，3分。得分：88。

3、西方美术史十五讲。艺术学院丁宁老师，2005秋，2分。得分：88。

4、中国传统官僚政治制度。历史系阎步克老师，2006春，2分。得分：82。

5、日本文化艺术专题。外国语学院佟军老师，2006春，2分。得分：87。

6、西方哲学导论。哲学系曾志老师，2006夏，2分。得分：90。

Chrisminte师兄则说，他的某位专业人士同学说这门课并不太好，有一定误导性，然而没有提供原因。不过无论如何这门课对我的启蒙意义还是很大的，就像无论小学自然课上学习的知识如何的简陋，乃至于在长大后几乎完全被更新的内容纠正掉，总归是我们这一切发展的起点。可悲的是，在这门启蒙之后，我又能再读多少哲学呢？似乎现在已经没有那个心境了。

夜半流水（重发版）

——我发现，我们总在快毕业的时候耍得比较好，上回是高中毕业，这回是大学毕业。

——明天就考××××了，你这会儿还敢出来，想挂吗？
——好吧，我还是回去复习一会儿就睡觉。
——来吧来吧，聚一会儿就回去。其他版友纷纷作出相反的劝告。

——是谁啊。
——忘了名字了。长得挺×××的。（在此省略关于外貌的描述若干）
——是不是×××？
——哦对，就是这个名字。
——哈，他的毕设肯定就是两三天做出来的，看他平时那德性吧，活该。最后让他过了么？
——好像还是过了吧。你们院那几个人的确挺烦的，还有×××，×××等等。
——他们有人不过才大快人心呢。

——大学四年你有没有遇到过喜欢的女孩子啊。
——有啊。
——那你追过她没有呢。

——如果现在你有喜欢的女孩子的话，应该在毕业前尝试一下。他继续说。

——他自己说，他除了成绩好，几乎没有任何突出的地方了。
——成绩好就足够了呀。我觉得他就是准备得太潦草。这是非常严重的错误。
——可是申请中究竟是闪光点决定还是短板决定呢？
——我不大相信短板之说。我觉得就是bbs某版……你看，他从一个原本的只知道学术的纯洁的学术男，变成了一个纯粹的宅男。以前只和人学术讨论，现在变成只和一群宅男交往了。
——的确，他的交际圈太窄了。话说某次……

——你后悔六大一个都没申么？
——从申其他学校的结果看来，还是有点后悔。
——觉得去不了么？
——实力不济，当然去不了了。
——为什么去不了呢？
——GPA不够高。
——可是GPA在申请中就那么重要么？
——……鬼晓得。
——所以说，还是你对自己定位有问题。

——你想想如果是四年前的你会这样么？
——的确不会。然而这四年荒废了啊。
——连我都申了好多顶尖牛校，为何你一个都没申呢？
——不知道。

——感觉很奇怪。“北大”两个字对我来说和四年前一样远。

ps: BSP又解封了。