<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>liyi.freeshell.org   </title>
    <link>http://liyi.freeshell.org</link>
    <description>tips, notes, gossips, and random stuff</description>
    <language>zh-CN</language>

  <item>
    <title>太白山印象</title>
    <link>http://liyi.freeshell.org/2009/08/23#mt-taibai</link>
    <description>&lt;p&gt;7月11日去爬太白山。太白山海拔3767米，是秦岭主峰。秦岭是南北方地理分界线之一（东部以淮河为界）。&lt;/p&gt;

&lt;p&gt;&lt;object width=&quot;520&quot; height=&quot;400&quot;&gt;&lt;param name=&quot;allowfullscreen&quot;
value=&quot;true&quot; /&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot; /&gt;&lt;param
name=&quot;movie&quot;
value=&quot;http://vimeo.com/moogaloop.swf?clip_id=5662541&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1&quot;
/&gt;&lt;embed
src=&quot;http://vimeo.com/moogaloop.swf?clip_id=5662541&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1&quot;
type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot;
allowscriptaccess=&quot;always&quot; width=&quot;520&quot;
height=&quot;400&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://vimeo.com/5662541&quot;&gt;Mt
Taibai, a fairyland&lt;/a&gt; from &lt;a href=&quot;http://vimeo.com/user2054587&quot;&gt;Li
Yi&lt;/a&gt; on &lt;a href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;相册在&lt;a
href=&quot;/album/mt-taibai/&quot;&gt;这里&lt;/a&gt;（为方便浏览，照片已批量缩小）。&lt;/p&gt;</description>
  </item>
  <item>
    <title>A Chinese translation of a book</title>
    <link>http://liyi.freeshell.org/2009/06/29#taowm</link>
    <description>&lt;p&gt;I'm trying to translate R. B. Grossman's book &lt;em&gt;The Art of
Writing Reasonable Organic Reaction Mechanisms&lt;/em&gt; (2nd ed.,
Springer, 2003) into Chinese in my spare time.  The printable
sample document can be downloaded from this website (click the
link below), which is comprised of a table of contents and
a sample chapter.&lt;/p&gt;

&lt;p&gt;A Chinese translation of &lt;em&gt;The Art of Writing Reasonable Organic
Reaction Mechanisms&lt;/em&gt;, a sample chapter.
(Created: 2007-06-21. Last updated: 2009-05-12.)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download: &lt;a href=&quot;books/taowm_sample.pdf&quot; title=&quot;sample
document&quot;&gt;&lt;code&gt;taowm_sample.pdf&lt;/code&gt;&lt;/a&gt; (1.2M, PDF).&lt;/li&gt;
&lt;li&gt;Check &lt;a href=&quot;books/taowm_sample.md5&quot;&gt;MD5
hash&lt;/a&gt; for validity.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I do post nothing about this work to any other website or forum except
my website (http://liyi.freeshell.org/) and my blog
(http://yli.livejournal.com/). If you like to post something about it,
please give a clear indication of the original source URL:
&lt;strong&gt;http://liyi.freeshell.org/chemistry/taowm&lt;/strong&gt; , thank you!&lt;/p&gt;

&lt;p&gt;Feel free to drop me an email, I'll be very happy to receive
comments from readers.&lt;/p&gt;

&lt;p&gt;我在抽空翻译 R. B. Grossman 的 &lt;em&gt;The Art of Writing Reasonable
Organic Reaction Mechanisms&lt;/em&gt;, 2nd ed., Springer. (2003)
这本书。目录和样章提供下载：&lt;/p&gt;

&lt;p&gt;《合理推断有机反应机理的艺术（样稿）》
（初稿：2007-06-21. 更新：2009-05-12.）&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;下载：&lt;a href=&quot;books/taowm_sample.pdf&quot; title=&quot;sample
document&quot;&gt;&lt;code&gt;taowm_sample.pdf&lt;/code&gt;&lt;/a&gt; (1.2M,
PDF)&lt;/li&gt;
&lt;li&gt;核对 &lt;a href=&quot;books/taowm_sample.md5&quot;&gt;MD5 hash&lt;/a&gt;
以校验文件完整性。&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;本书的内容和更新只在我的网站 (http://liyi.freeshell.org/) 和网志
(http://yli.livejournal.com/)
上发布，不会在其他网站发帖。如有意转帖，请注明来源：
&lt;strong&gt;http://liyi.freeshell.org/chemistry/taowm&lt;/strong&gt; ， 谢谢！&lt;/p&gt;

&lt;p&gt;虽力求翻译准确，但谬误在所难免，恳请读者指正。联系方式见
web 页面右上方或 PDF 样稿译序脚注。&lt;/p&gt;</description>
  </item>
  <item>
    <title>西安国际机场交通指南</title>
    <link>http://liyi.freeshell.org/2009/06/15#xi-an-airport</link>
    <description>&lt;h3&gt;概况&lt;/h3&gt;

&lt;p&gt;西安咸阳国际机场(XIY)设在咸阳，距咸阳市13公里，距西安市47公里，距宝鸡市175公里。所有经停西安的民航客机都在这里起降。&lt;/p&gt;

&lt;p&gt;机场目前有两个航站楼&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1号航站楼：南方航空公司（下属厦门航空、四川航空、重庆航空）&lt;/li&gt;
&lt;li&gt;2号航站楼：国内其他、国际和港澳台航空公司&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;机场与西安市（或咸阳市）之间的交通有三种选择&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;自驾车&lt;/li&gt;
&lt;li&gt;大巴（注意运营时间）&lt;/li&gt;
&lt;li&gt;出租车&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;http://liyi.freeshell.org/travel/xi-an-airport.html?seemore=y&quot; class=&quot;seemore&quot;&gt;Read more ...&lt;/a&gt;&lt;/p&gt;</description>
  </item>
  <item>
    <title>Mechanism: Ozonolysis of an enol ether</title>
    <link>http://liyi.freeshell.org/2009/06/14#ozonolysis-of-an-enol-ether</link>
    <description>&lt;p&gt;My hypothesis on an ozonolysis reaction mechanism of an enol ether.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/images/blog/Mechanism__HelvChimActa-2004-87-2025.jpg&quot;
alt=&quot;ozonolysis reaction mechanism&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schank, K.&lt;/strong&gt;; Beck, H. and Pistorius, S., &lt;em&gt;Helv. Chim.
Acta&lt;/em&gt; &lt;strong&gt;2004&lt;/strong&gt;, &lt;em&gt;87&lt;/em&gt;, 2025. [DOI: &lt;a
href=&quot;http://dx.doi.org/10.1002/hlca.200490182&quot;&gt;10.1002/hlca.200490182&lt;/a&gt;]&lt;/p&gt;</description>
  </item>
  <item>
    <title>硬盘安装 Debian</title>
    <link>http://liyi.freeshell.org/2009/06/14#harddisk-install</link>
    <description>&lt;p&gt;1. 下载安装文件&lt;/p&gt;

&lt;p&gt;从 &lt;a href=&quot;http://www.debian.org/mirror/list&quot;&gt;Debian 镜像列表&lt;/a&gt;
中选择镜像，下载以下三个文件，存放到 C:/debian/ 目录下：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;debian-31r4-i386-netinst.iso (112M)&lt;/li&gt;
&lt;li&gt;vmlinuz (798K)&lt;/li&gt;
&lt;li&gt;initrd.gz (2.9M)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;第一个文件在镜像的 /debian-cd/3.1_r4/ 目录中；&lt;/p&gt;

&lt;p&gt;后两个文件在
/debian/dists/Debian3.1r4/main/installer-i386/current/images/hd-media/
目录中。&lt;/p&gt;

&lt;p&gt;2. 安装 Grub4DOS&lt;/p&gt;

&lt;p&gt;下载 &lt;a href=&quot;http://grub4dos.sf.net/&quot;&gt;Grub for DOS&lt;/a&gt;，按提示安装到 Windows 的 C: 盘。实际上只需把二进制文件 grldr 拷贝到 C: 盘根目录。&lt;/p&gt;

&lt;p&gt;编辑 C:/boot.ini ，添加：&lt;/p&gt;

&lt;pre&gt;
C:\GRLDR=&quot;Start GRUB&quot;&lt;/pre&gt;

&lt;p&gt;3. 安装基本系统&lt;/p&gt;

&lt;p&gt;重启，进入 Grub 启动菜单，选择 Boot Grub，在 Grub 命令行依次输入以下三行：&lt;/p&gt;

&lt;pre&gt;
grub&gt; kernel (hd0,0)/debian/vmlinux root=/dev/ram \
&gt; ramdisk_size=512000 devfs=mount,all
grub&gt; initrd (hd0,0)/debian/initrd.gz
grub&gt; boot&lt;/pre&gt;

&lt;p&gt;即开始安装基本系统。&lt;/p&gt;

&lt;p&gt;注：&lt;/p&gt;

&lt;p&gt;A. 分区基本原则：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;必须有主分区 / 和 swap，用户目录 /home 最好单独分区，如果用来做数据库或服务器，分区应当更细；&lt;/li&gt;
&lt;li&gt;swap 分区的大小：当内存小于 256M 时，swap 分区大小为内存大小的二倍；当内存大于 512M 时，分给 swap 分区约 512M。&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;B. 桌面环境及其它软件包&lt;/p&gt;

&lt;p&gt;在安装基本系统时，按提示设置好网络和 sources.list ，安装好基本系统以后，用 APT 安装桌面系统及其它软件包。&lt;/p&gt;</description>
  </item>
  <item>
    <title>ThinkPad T61 安装 Windows XP 的必要设置</title>
    <link>http://liyi.freeshell.org/2009/06/13#install-windows-xp-on-t61</link>
    <description>&lt;p&gt;ThinkVantage 帮助文档中有一个方法 (Access Help --&amp;gt; Advanced
configuration --&amp;gt; Installing a new OS --&amp;gt; Installing Windows XP)。
把 CMOS 设置成 AHCI 模式，先安装南桥芯片组驱动，再安装 Windows XP 操作系
统，因为 Windows XP 安装 CD 中没有 SATA 硬盘接口驱动。帮助文档建议从
SCSI 控制器或 RAID 卡安装，否则安装过程中会出现蓝屏。实际上，在 BIOS 
中把 SATA 设置成Compatibility 模式，可以绕过缺 SATA 驱动的限制。&lt;/p&gt;

&lt;p&gt;关键步骤：&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;进 BIOS --&amp;gt; Config，把 Serial ATA(SATA) 设置为 Compatibility 模式
（默认为 AHCI 模式）；&lt;/li&gt;
&lt;li&gt;依次安装：
&lt;ul&gt;
&lt;li&gt;Windows XP 操作系统，&lt;/li&gt;
&lt;li&gt;主板驱动(&lt;a href=&quot;http://www.google.com/search?q=Intel+Chipset+Support+for+Windows+Vista,+XP,+2000&quot;&gt;Intel Chipset Support for Windows Vista, XP,
2000&lt;/a&gt;)，&lt;/li&gt;
&lt;li&gt;南桥芯片组驱动(&lt;a href=&quot;http://www.google.com/search?q=Intel+Matrix+Storage+Manager+Driver+for+Windows+XP,+Vista&quot;&gt;Intel Matrix Storage Manager Driver for
Windows XP, Vista&lt;/a&gt;，关机)；&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;开机，进 BIOS --&amp;gt; Config，把 Serial ATA(SATA) 改回 AHCI 模式；&lt;/li&gt;
&lt;li&gt;安装其他驱动……&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;--------------------&lt;/p&gt;

&lt;p&gt;列几个链接参考：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.lenovoservicetraining.com/&quot;&gt;http://www.lenovoservicetraining.com/&lt;/a&gt;（Lenovo 各种机型分类介绍，有图片、视频）
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://forum.notebookreview.com/&quot;&gt;http://forum.notebookreview.com/&lt;/a&gt;（人气很旺的笔记本论坛）
&lt;/li&gt;
&lt;li&gt;&lt;a
href=&quot;http://thinklenovo.spaces.live.com/&quot;&gt;http://thinklenovo.spaces.live.com/&lt;/a&gt;（某 Lenovo 中国工程师的 Blog)&lt;/li&gt;
&lt;/ul&gt;</description>
  </item>
  <item>
    <title>软件开源协议和作品使用授权</title>
    <link>http://liyi.freeshell.org/2008/12/07#ian-murdock</link>
    <description>&lt;p&gt;昨天 &lt;a href=&quot;http://www.google.com/search?q=Ian+Murdock&quot;&gt;Ian Murdock&lt;/a&gt; 给 talk，主要为推广 Sun 的开源操作系统
&lt;a href=&quot;http://www.opensolaris.org/&quot;&gt;OpenSolaris&lt;/a&gt;
做宣传，免不了讲讲当年制造 &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian&lt;/a&gt; 的光辉历史。&lt;/p&gt;

&lt;p&gt;现场有个问题，开放源代码时如何选择协议？目前
&lt;a href=&quot;http://www.google.com/search?q=GPL&quot;&gt;GPL&lt;/a&gt;/&lt;a href=&quot;http://www.google.com/search?q=CDDL&quot;&gt;CDDL&lt;/a&gt;(~&lt;a href=&quot;http://www.google.com/search?q=MPL&quot;&gt;MPL&lt;/a&gt;)
各有侧重，有些内容互相冲突，会产生什么后遗症只有遇到过具体问题的人有体会。
Ian 的回答谈了一些区别，具体涉及较少。&lt;/p&gt;

&lt;p&gt;和合法使用软件相似的一个问题是，怎样合法使用从网上得到的文字、图片和多媒体等作品。其中，有的原作者声明使用
&lt;a href=&quot;http://www.creativecommons.org/&quot;&gt;Creative
Commons&lt;/a&gt;
（创作共用）某协议或某几个协议组合授权，明确了具体限制条件。如果依照授权使用，没有问题。有些虽然没有明确授权，但是能找到原始出处，可以主动联系原作者要求授权，当然这需要时间。另外，有不少是东抄西抄的、或者原作者过世已久版权不明的（如果是当代，版权也可能归出版社），很难找到原始出处或原作者根本无从联系。这些情况下需要使用作品怎么办？目前有一个钻空子的做法，如果是未授权公开的图（比如一副画），使用屏幕截图或数码相机记录而绕过原始文件，或者搭配其他对象拍一张照片当作自己的“创作”来“共用”，这样既不厚道也欠妥当。如果在正式文件中这样使用未授权的作品，可能会有麻烦。&lt;/p&gt;</description>
  </item>
  <item>
    <title>Abbreviated \today</title>
    <link>http://liyi.freeshell.org/2008/08/29#abbr-today</link>
    <description>&lt;pre&gt;
\newcommand{\abbrtoday}{\ifcase\month\or%
Jan.\or Feb.\or Mar.\or Apr.\or May\or Jun.\or%
Jul.\or Aug.\or Sep.\or Oct.\or Nov.\or Dec.\fi%
\space\number\day, \number\year}&lt;/pre&gt;</description>
  </item>
  <item>
    <title>How to install font symbols' packages (like ifsym) in teTeX?</title>
    <link>http://liyi.freeshell.org/2008/08/29#install-ifsym</link>
    <description>&lt;p&gt;It's so easy to generate and set up a new &lt;tt&gt;.sty&lt;/tt&gt; file.&lt;/p&gt;

&lt;p&gt;But how can we install a font/symbol package like &lt;tt&gt;ifsym&lt;/tt&gt; ?&lt;/p&gt;

&lt;p&gt;Is this a general method ?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;create a directory $TEXMF/fonts/sources/public/ifsym&lt;/li&gt;
&lt;li&gt;copy all the *.mf *.gen to this directory&lt;/li&gt;
&lt;li&gt;create a directory $TEXMF/tex/latex/ifsym&lt;/li&gt;
&lt;li&gt;copy all the *sty *.fd to this directory&lt;/li&gt;
&lt;li&gt;Add the following lines to the file:
&lt;code&gt;$TEXMF/fontname/special.map&lt;/code&gt;

&lt;pre&gt;
ifsym public ifsym
ifgeo public ifsym
ifwea public ifsym
ifclk public ifsym&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;update the TeX file database by running texhash or whatever your Tex
imprementation provides.&lt;/li&gt;
&lt;li&gt;create a document:

&lt;pre&gt;
\documentclass{article}
\usepackage[geometry]{ifsym}
\begin{document}
\Circle
\SquareShadowA
\end{document}&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;Run LaTeX, if everything is fine, you should see a dvi that has a big
circle and a big square shaded with a simple line at bottom and right of the
square.&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;(See: &lt;a
href=&quot;http://www.tug.org/pipermail/tugindia/2001-August/000056.html&quot;&gt;http://www.tug.org/pipermail/tugindia/2001-August/000056.html&lt;/a&gt;)&lt;/p&gt;</description>
  </item>
  <item>
    <title>配置 SCIM</title>
    <link>http://liyi.freeshell.org/2008/08/29#input-method</link>
    <description>&lt;p&gt;环境：Debian (3.1, sarge): Xorg (1:7.1.0-11); GNOME (1:2.14.3.5); SCIM (1.4.4-7)。&lt;/p&gt;

&lt;p&gt;1. 设置 locale&lt;/p&gt;

&lt;pre&gt;# dpkg-reconfigure locales&lt;/pre&gt;

&lt;p&gt;选择 locales，如 en_US.UTF-8, zh_CN.UTF-8, zh_CN.GBK。&lt;/p&gt;

&lt;p&gt;2. 安装 SCIM&lt;/p&gt;

&lt;pre&gt;# apt-get install scim scim-gtk2-immodule scim-modules-socket \
&gt; scim-modules-table scim-pinyin scim-tables-zh&lt;/pre&gt;

&lt;p&gt;3. 修改 /etc/gtk-2.0/gtk.immodules&lt;/p&gt;

&lt;pre&gt;- &quot;xim&quot; &quot;X Input Method&quot; &quot;gtk20&quot; &quot;/usr/share/locale&quot; &quot;ko:ja:th:zh&quot; 
+ &quot;xim&quot; &quot;X Input Method&quot; &quot;gtk20&quot; &quot;/usr/share/locale&quot; &quot;ko:ja:th:zh:en&quot; &lt;/pre&gt;

&lt;pre&gt;- &quot;scim&quot; &quot;SCIM Input Method&quot; &quot;scim&quot; &quot;/usr/share/locale&quot; &quot;&quot;
+ &quot;scim&quot; &quot;SCIM Input Method&quot; &quot;scim&quot; &quot;/usr/share/locale&quot; &quot;zh:en&quot;&lt;/pre&gt;

&lt;p&gt;4. 重启 X&lt;/p&gt;

&lt;p&gt;中、英文环境下都可以输入中文。&lt;/p&gt;</description>
  </item>
  </channel>
</rss>
