<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://people.virginia.edu/~wh5a/drupal-5.7">
<channel>
 <title>Life and Love - - computer science blogging, so easy a caveman could do it.</title>
 <link>http://people.virginia.edu/~wh5a/drupal-5.7</link>
 <description />
 <language>en</language>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/LifeAndLove" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
 <title>Windows 7 Tricks</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/5kzQKsVAsxg/</link>
 <description>&lt;h2&gt;From "Windows 7 Up and Running"&lt;/h2&gt;

&lt;p&gt;&lt;b&gt;Open a command window anywhere&lt;/b&gt;
Shift-Right-click on a folder&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Ctrl-click an application icon in the taskbar&lt;/b&gt;
This action will cycle through all the open windows belonging to the application. For example, suppose that you have five IE windows open. Pressing the Ctrl key while you click the IE  icon  in the taskbar will toggle between all the opened IE windows (including tab pages).&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Shift-click (or middle-click) an application icon in the taskbar&lt;/b&gt;
This will launch a new instance of the application.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Ctrl-Shift-Click an application icon in the taskbar&lt;/b&gt;
This action will launch the application in administrator mode.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/33#comments</comments>
 <pubDate>Mon, 12 Oct 2009 23:39:55 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">33 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/33</feedburner:origLink></item>
<item>
 <title>北卡Outer Banks归来</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/nXKleP3QAY4/</link>
 <description>&lt;p&gt;赶在夏天的尾巴，去了一趟outer banks (OBX)，为了纪念我们初识的日子。&lt;/p&gt;

&lt;p&gt;自从老婆经常写游记和传照片以来，我就懒了不少，去好多地方也提不起劲去记录一笔，不过本人的习惯就是，喜欢把有用的信息记录下来，以备以后查阅。&lt;/p&gt;

&lt;p&gt;从Charlottesville去OBX，先走I-64，到Norfolk时走环城高速664，然后从168向南再走158便到了，一路上都有路牌提示因此很好走，不过与Google/Bing/GPS显示略有不同。168那一段Chesapeake Expressway是收费的，只需两元。全程共250 Mi左右，虽然158不是州际高速，大家还是开的飞快。回来的时候胸有成竹，没想到在158上没有看到转上168的路牌就一路开过去了，最后只好按照GPS的指示转上US-17，略有些绕路。&lt;/p&gt;

&lt;p&gt;进入北卡以后一路都是农田，还插了很多No &lt;a href="http://en.wikipedia.org/wiki/Outlying_Landing_Field"&gt;OLF&lt;/a&gt;的标志，后来了解到是当地居民抗议政府在那边建立空军基地的计划。Youtube上还能找到介绍。再开一会，一路上就都是OBX的广告了，让人顿时蠢蠢欲动。&lt;/p&gt;

&lt;p&gt;Outer Banks是一串远离大陆的岛链，忘了在哪里看到说她有着美国第三棒的海滩。原以为与Key West类似，到了之后发现又略有些不同，去Key West的路很狭长，经常能在路边就看到海，很多时候车速很慢，而OBX的交通明显要好很多。沿海有一条12号公路，以&lt;a href="http://en.wikipedia.org/wiki/Virginia_Dare"&gt;Virginia Dare&lt;/a&gt;命名，与之平行的158公路则是主路，一路上还有很多餐馆商店等。从Kitty Hawk开始，往南每隔0.5mi便有一个milepost。我们想起在Key West找到0mi标志时的情景，也想去找到OBX的0mi，没想到在路上开了两遍只有1mi的标志，奉劝有同样想法的朋友放弃这个念头，呵呵。&lt;/p&gt;

&lt;p&gt;与VA最近的三个小town是Kitty Hawk, Kill Devil Hills和Nags Head，属于Dare County，网上有人称作大胆县，到了之后才知道是以Virginia Dare命名的，呵呵。这三个小town都很近，搞不懂怎么还分这么细。&lt;/p&gt;

&lt;p&gt;OBX有四个灯塔，我们看了Bodie（不能爬）和Hatteras（规模最大，有visitor center并可以爬）的两个，最北的和最南的两个放弃了。从Kill Devil Hills去Hatteras要一个小时，往南坐渡船应该会很有意思，可惜我当时身体不适，于是作罢。OBX的海岸线极长，到处都是beach，Hatteras的national seashore并没有显得多有意思，不过我们在那里看到了kiteboarding的帅哥们，真是一项非常刺激的活动。&lt;/p&gt;

&lt;p&gt;Wright Brothers Memorial 6pm后关门，我们过去远远看了看，还误打误撞到了First Flight Airport，是个非常小的供小型飞机起降的机场，在那里看到了停着的两架小飞机。&lt;/p&gt;

&lt;p&gt;Jockeys Ridge State Park是我最喜欢的去处，从入口的trail进去后，眼前一下子豁然开朗，给人造成黄沙万里的错觉，还真以为是到了沙漠。沙子非常细，赤脚走上去好舒服。爬上沙丘后，面朝西就可以看到落日。Kitty Hawk Sports在公园里开设hang gliding班，初级班90多，先在教室里学习基本知识，再从沙丘上滑翔下来共计五次，真的挺有意思的，可惜我们到的时候运气不好，我身体不舒服。还有一种是用飞机把你拉到天上，可以选择不同的高度，再由一位教练陪着你滑翔下来，130多，有机会一定要搞一次。&lt;/p&gt;

&lt;p&gt;我们还去Roanoke Island参观了Fort Raleigh的历史遗迹，当初英国人在这片新大陆殖民的遗迹已经荡然无存，于是荣耀给了后来的殖民地Jamestown。那里还有个植物园Elizabethan Gardens，是老婆的最爱。岛上还有个水族馆。岛上有个小town叫做Manteo，以&lt;a href="http://en.wikipedia.org/wiki/Manteo_(Croatan)"&gt;一位印第安人&lt;/a&gt;命名，我们后来坐在beach看海，天上有飞机做广告说可以参加air tour，飞机就从Manteo起飞。&lt;/p&gt;

&lt;p&gt;我们这一次根据TripAdvisor的建议住在&lt;a href="http://www.cavaliermotel.net/"&gt;Cavalier Motel&lt;/a&gt;，真的很不错，oceanfront的房间确实对着海，不像有的旅馆对着的其实是一片杂草。而且是family friendly的，有一块playground可以给小朋友玩，价钱也相对合理。&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/32#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/30">beach</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/29">obx</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/28">outer banks</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/31">summer</category>
 <pubDate>Sun, 06 Sep 2009 15:13:52 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">32 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/32</feedburner:origLink></item>
<item>
 <title>Some info about Linux console</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/bTFpkkVyagU/</link>
 <description>&lt;p&gt;Most people never need to worry about &lt;a href="http://tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html"&gt;the Linux keyboard and console HOWTO&lt;/a&gt;. Although it's written in 2002, I still find it worth reading, and below is a summary.&lt;/p&gt;

&lt;p&gt;The &lt;b&gt;kbd&lt;/b&gt; package contains important programs to tweak console settings. It also contains data such as keymaps and fonts. Debian family likes to split packages so the data resides in another package known as &lt;b&gt;console-data&lt;/b&gt;. There's also a kbd clone, namely &lt;b&gt;console-tools&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;When a key is pressed, the keyboard controller sends &lt;b&gt;scancode&lt;/b&gt; to the kernel keyboard driver. Unless in &lt;b&gt;scancode mode&lt;/b&gt;, the driver parses scancodes into &lt;b&gt;keycodes&lt;/b&gt;. Unless in &lt;b&gt;keycode mode&lt;/b&gt;, the keycodes are looked up in the &lt;b&gt;keymap&lt;/b&gt; (which can be changed with &lt;b&gt;loadkeys&lt;/b&gt; or &lt;b&gt;xmodmap&lt;/b&gt;), and the characters found there are transmitted to the application. The program &lt;b&gt;showkey&lt;/b&gt; can examine scancodes and keycodes. Under X, use &lt;b&gt;xev&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Fonts are loaded into the video card's &lt;b&gt;character ROM&lt;/b&gt;, and can be changed using &lt;b&gt;setfont&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Why is it that you sometimes get a lot of line-drawing characters, e.g., after catting a binary to the screen? Well, there are various character set changing escape sequences, and by accident your binary might contain some of these.&lt;/p&gt;

&lt;p&gt;Bash, Emacs and X all do their own tty input handling.&lt;/p&gt;

&lt;p&gt;By default, to get a screen to scroll, Linux leaves the text in video memory as it is, but change the viewing origin. The kernel console driver will write text starting at the top of the video memory, continuing to the bottom, then copy the bottom part to the top again, and continue. You can scroll back until the top of the video memory by using Shift-PageUp and scroll down again using Shift-PageDown, assuming a default keymap. The amount of scrollback is thus limited to the amount of video memory you happen to have and you cannot increase this amount. Upon changing virtual consoles, the screen content of the old VT is copied to kernel memory, and the screen content of the new VT is copied from kernel memory to video memory. Only the visible screen is copied, not all of video memory, so switching consoles means losing the scrollback information.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/31#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/27">console</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/25">kbd</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/26">keyboard</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/8">linux</category>
 <pubDate>Sun, 30 Aug 2009 02:18:00 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">31 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/31</feedburner:origLink></item>
<item>
 <title>How to extract full text RSS</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/hUuqeNVPqa8/</link>
 <description>&lt;p&gt;&lt;a href="http://feedex.net/"&gt;http://feedex.net/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://pipes.yahoo.com/pipes/pipe.info?_id=f9ef30e9f3b6b905777deae6d24727a6"&gt;Yahoo Pipes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Leave comment if you know better ways.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/30#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/23">rss</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/24">全文输出</category>
 <pubDate>Mon, 27 Jul 2009 17:38:57 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">30 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/30</feedburner:origLink></item>
<item>
 <title>Fun with NULL pointers</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/TDb1uc1fFCk/</link>
 <description>&lt;p&gt;This post is actually stimulated by a recent &lt;a href="http://www.reddit.com/r/programming/comments/921sg/root_hole_in_linux_2630_including_a_creative_new/"&gt;kernel&lt;/a&gt; &lt;a href="http://lwn.net/SubscriberLink/342330/a2c5f5d336022de3/"&gt;bug&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I always took it as granted that null pointers aren't accessible. However, after reading that lwn article I learned that it's by default allowed to map a page at address 0. This behavior of course can be controlled by the &lt;a href="http://lxr.linux.no/linux+v2.6.30/Documentation/sysctl/vm.txt#L326"&gt;vm.mmap_min_addr&lt;/a&gt; sysctl knob. (UPDATE: According to &lt;a href="http://blog.cr0.org/2009/06/bypassing-linux-null-pointer.html"&gt;this blog&lt;/a&gt;, this knob was introduced since kernel 2.6.23.)&lt;/p&gt;
&lt;p&gt;The following code demonstrates my point.&lt;/p&gt;
&lt;pre&gt;
$ cat a.c
#include "stdio.h"
#include "sys/mman.h"

#define PAGESIZE 4096
#define STEP (4096/sizeof(int))

int main() {
  int *p = 0;
  void *ret = mmap(p, 4096, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED, -1, 0);
  if ((int)ret == -1) {
    perror("mmap");
    // Look for the lowest mappable address
    do {
      p += STEP;
      ret = mmap(p, 4096, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED, -1, 0);
    } while ((int)ret == -1);
  }
  *p = 3;
  printf("*(%p) == %d\n", p, *p);
}
&lt;/pre&gt;&lt;p&gt;
By default, we can establish a mapping at address 0.&lt;/p&gt;
&lt;pre&gt;
$ /sbin/sysctl vm.mmap_min_addr 
vm.mmap_min_addr = 0

$ ./a.out 
*((nil)) == 3
&lt;/pre&gt;&lt;p&gt;
(UPDATE: On 8/15/09, Debian kernel 2.6.30-6 changed this default value to 4096. Presumably, this change is made to defeat this even more powerful &lt;a href="http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html"&gt;exploit&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;We can enforce a restriction through sysctl. The lowest mappable address will be rounded to the next page boundary. The root user doesn't seem to be restricted at all.&lt;/p&gt;
&lt;pre&gt;
$ sudo sysctl vm.mmap_min_addr=10000
vm.mmap_min_addr = 10000

$ ./a.out 
mmap: Permission denied
*(0x3000) == 3

$ sudo ./a.out 
*((nil)) == 3
&lt;/pre&gt;</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/29#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/22">bug</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/21">kernel</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/20">mmap</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/19">null</category>
 <pubDate>Thu, 23 Jul 2009 19:11:23 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">29 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/29</feedburner:origLink></item>
<item>
 <title>Linkin Park vs. Transformers!</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/dMao7uAjArM/</link>
 <description>&lt;p&gt;What I've Done&lt;br&gt;
&lt;embed src="http://www.metacafe.com/fplayer/yt-DsmoXP4X_qY/linkin_park_what_ive_done_official_music_video_mp3_download_link_in_description.swf" width="400" height="345" wmode="transparent" allowFullScreen="true" allowScriptAccess="always" name="Metacafe_yt-DsmoXP4X_qY" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"&gt; &lt;/embed&gt;&lt;/p&gt;

&lt;p&gt;New Divide&lt;br&gt;
&lt;object width="425px" height="360px" &gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="wmode" value="transparent"/&gt;&lt;param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=58849526,t=1,mt=video"/&gt;&lt;embed src="http://mediaservices.myspace.com/services/media/embed.aspx/m=58849526,t=1,mt=video" width="425" height="360" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/28#comments</comments>
 <pubDate>Fri, 12 Jun 2009 13:53:21 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">28 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/28</feedburner:origLink></item>
<item>
 <title>Cool guys don't look at explosions</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/TghhUQW2-AM/</link>
 <description>&lt;p&gt;&lt;embed src="http://media.mtvnservices.com/mgid:uma:video:mtv.com:395483" width="512" height="319" type="application/x-shockwave-flash" flashVars="configParams=id%3D1611659%26vid%3D395483%26uri%3Dmgid%3Auma%3Avideo%3Amtv.com%3A395483%26startUri=mgid%3Auma%3Avideo%3Amtv.com%3A395483" allowFullScreen="true" allowScriptAccess="always" base="."&gt;&lt;/embed&gt;&lt;br /&gt;
&lt;div style="margin:0;text-align:center;width:500px;font-family:Arial,sans-serif;font-size:12px;"&gt;&lt;/div&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/27#comments</comments>
 <pubDate>Wed, 10 Jun 2009 14:30:47 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">27 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/27</feedburner:origLink></item>
<item>
 <title>A newly discovered browser, Conkeror</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/qJW9Xs3c60Y/</link>
 <description>&lt;p&gt;Google Chrome has been my browser of choice for a long time, because of its snappy speed, clean UI, and secure design. However, when it comes to UI, what can beat Emacs-like browser with a Mozilla kernel?&lt;/p&gt;

&lt;p&gt;Enter &lt;a href="http://conkeror.org/"&gt;conkeror&lt;/a&gt;, written completely in Javascript that extends xulrunner. It's customizable by writing new Javascript code (what a pity it's not Lisp!)&lt;/p&gt;

&lt;p&gt;Emacs users can start navigating very quickly. What frees users from mice is the "hinting system". To start, press "f" for follow. For more information, refer to the tutorial (C-h t).&lt;/p&gt;

&lt;p&gt;Below is my .conkerorrc:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
// Tab bar
require("new-tabs.js");
// Middle click on a tab to close
tab_bar_button_close = 1;&lt;/p&gt;

&lt;p&gt;// Open Middle-Clicked Links in New Buffers
require("clicks-in-new-buffer.js");
clicks_in_new_buffer_target = OPEN_NEW_BUFFER_BACKGROUND;&lt;/p&gt;

&lt;p&gt;// Switch to Buffers 1-10 Using Number Keys 1 through 0
function define_key_buffer_switch(key, buf_num) {
//    define_key(content_buffer_normal_keymap, key, function (I) {
    define_key(default_global_keymap, key, function (I) {
        switch_to_buffer(I.window, I.window.buffers.get_buffer(buf_num));
    });
    define_key(download_buffer_keymap, key, function (I) {
        switch_to_buffer(I.window, I.window.buffers.get_buffer(buf_num));
    });
}
for (let i = 0; i &amp;lt; 10; ++i) {
    define_key_buffer_switch(i == 9 ? "0" : (i+1).toString(), i);
}&lt;/p&gt;

&lt;p&gt;// Key bindings for compatibility with other browsers
define_key(default_global_keymap, "C-w", "kill-current-buffer");
// Some keybindings must be rebound in a proper keymap to take effect
define_key(content_buffer_normal_keymap, "back_space", "go-back");&lt;/p&gt;

&lt;p&gt;// The binding to find-url didn't prefill with current URL
define_key(content_buffer_normal_keymap, "g", "find-alternate-url");&lt;/p&gt;

&lt;p&gt;/* I'd like to enable caret mode by default, but I always get a javascript error.
session_pref("accessibility.browsewithcaret", true);
   So I'm trying a workaround by pushing caret-mode to any URL &lt;em&gt;/
var my_re = new RegExp(".&lt;/em&gt;");  // There's a star not showing up in my blog?!
auto_mode_list.push([my_re, caret_mode]);
define_key(content_buffer_normal_keymap, "f7", "caret-mode");
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Tips:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
M-x reinit                      reloads the rc file
conkeror -daemon &amp;amp;      keep a daemon running (Be careful that C-x C-c will kill the daemon)
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Complaints:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.nabble.com/how-to-change-page-encoding--td21212122.html"&gt;No friendly way for changing page encoding&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/26#comments</comments>
 <pubDate>Thu, 02 Apr 2009 22:10:16 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">26 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/26</feedburner:origLink></item>
<item>
 <title>小知识：美国的两种医学学位</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/_y3Oa6r3zF8/</link>
 <description>&lt;p&gt;因为MD（&lt;a href="http://en.wikipedia.org/wiki/Doctor_of_Medicine"&gt;Doctor of Medicine&lt;/a&gt;）比DO（&lt;a href="http://en.wikipedia.org/wiki/Doctor_of_Osteopathic_Medicine"&gt;Doctor of Osteopathic Medicine&lt;/a&gt;）多得多，以前一直只知道MD这一种学位。翻看电话本，看到还有DO之说，于是查了一下，还挺有意思的。&lt;/p&gt;

&lt;p&gt;http://www.askdrwalker.com/index/What_is_a_doctor_of_osteopathic_.htm&lt;/p&gt;

&lt;p&gt;http://www.creative-wisdom.com/education/essays/others/do.shtml&lt;/p&gt;

&lt;p&gt;DO强调把人体看做一个整体治疗，MD则针对各个器官头痛医头脚痛医脚，还真有点象中西医的区别。&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/25#comments</comments>
 <pubDate>Sun, 22 Mar 2009 23:03:44 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">25 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/25</feedburner:origLink></item>
<item>
 <title>新偶像，侯高俊杰</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/otDxOj67rW0/</link>
 <description>&lt;p&gt;记得几年前，网上有高手将《本草纲目》和《辣妹子》&lt;a href="http://www.flypig.org/001956.html"&gt;mix&lt;/a&gt;在一起，效果真的很搭。居然今年春晚周杰伦和宋祖英真的同台演唱了，央视现在也很会搞了嘛。不过两人风格实在差别太多，春晚也没有想出办法让他们同时唱，呵呵。隆重推荐，侯高俊杰底迪。&lt;/p&gt;
&lt;p&gt;&lt;object width="425" height="344"&gt;&lt;br /&gt;
&lt;param name="movie" value="http://www.youtube.com/v/O6shn8IqxMo&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;/param&gt;
&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;
&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/O6shn8IqxMo&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;&lt;embed src="http://www.56.com/n_v155_/c40_/21_/28_/chaojibaobing_/123064946239x_/412000_/0_/40237407.swf"  type="application/x-shockwave-flash" width="450" height="390"&gt;&lt;/embed&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/24#comments</comments>
 <pubDate>Sun, 25 Jan 2009 14:30:05 -0500</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">24 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/24</feedburner:origLink></item>
<item>
 <title>面向和谐的编程？</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/mLGm1Xc56q4/</link>
 <description>&lt;p&gt;http://www.oopsla.org/oopsla2008/program-overview/onward-short-papers&lt;/p&gt;

&lt;p&gt;Towards Harmony-Oriented Programming，OOPSLA 08的一篇short paper，由两名来自香港CUHK的作者发表。这题目怎么总有点恶搞的意思呢？&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/23#comments</comments>
 <pubDate>Sat, 17 Jan 2009 20:50:49 -0500</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">23 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/23</feedburner:origLink></item>
<item>
 <title>Windows 7 Beta 7000 64-bit 初体验</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/R5xfdsetYmA/</link>
 <description>&lt;p&gt;本人一向喜欢追新，所以也不像很多人那样鄙视Vista。微软向公众推出Windows 7 Beta，我自然是要试一试的。总的来说很满意。&lt;/p&gt;

&lt;p&gt;先从一台淘汰的Dell Inspiron 700m上安装的Gentoo刻盘。第一次用Linux刻盘，前后废掉两张DVD+R和一张-R。先用cdrecorder，不知是speed没设对还是光驱不支持+R，两张+R盘在刻了几百M后都废掉了。然后用dvd+rw-tools中的growisofs工具刻。不知何故，它不能识别+R盘，换上-R盘，因为speed没设对，再次废掉一张。最后，用最低倍速终于成功刻出一张64-bit盘。&lt;/p&gt;

&lt;p&gt;把盘丢进去，忍痛格掉OS X，就去睡觉了。发现这一版本的Windows安装时比较自动化，不需要过多的人工干预。早上起来后，随便点了点，就安装完毕了。&lt;/p&gt;

&lt;p&gt;摘自关于启动管理器的&lt;a href="http://www.newsmth.net/bbstcon.php?board=MSDN&amp;gid=29455"&gt;讨论&lt;/a&gt;：Bootmgr(.exe后缀被省略)，代替了ntldr和ntdetect.com。Boot\BCD(Boot Configuration Data)，代替了boot.ini。另外boot下还有一个memtest.exe，以及上述两个exe的mui。这种启动方式其实在Vista中就改变了，只是我一直没有正式使用Vista，所以忘了这回事。&lt;/p&gt;

&lt;p&gt;Windows的安装还是这么霸道，直接将MBR覆盖掉了，但是居然没有识别出其他盘上的XP，不给我启动菜单直接就跳到了Win 7。我使用BCDEdit编辑加入XP的entry，发现还是启动不了。也许是因为我之前留了个小分区装了grub，把Windows的启动管理器弄傻了。用linux启动光盘启动，重装一遍grub，就可以实现双系统启动了。&lt;/p&gt;

&lt;p&gt;启动后的界面类似Vista，但没有了那个比较鸡肋的sidebar，取而代之的是更灵活的desktop gadgets。最明显的几点改进，就是UAC没有那么烦人了，还有就是任务栏改变很大，有点Mac OS X的意思了，很不错。没了Quick Launch，但是可以将常用程序pin在taskbar上。&lt;/p&gt;

&lt;p&gt;Media Player可以直接放xvid格式的avi文件。&lt;/p&gt;

&lt;p&gt;大部分32位程序都可以完美支持，甚至包括我的杂牌USB无线网卡 for XP 驱动。以前没有用过64位的Windows，发现在任务管理器中会标出32位的程序。微软很多程序如IE和WMP都有两份，既有64位又有32位，缺省似乎总是执行32位的，大概是出于兼容插件的目的吧。&lt;/p&gt;

&lt;p&gt;Chrome不能完美运行，大概是它玩的tricks太多了。需要在快捷方式加上--in-process-plugins才能运行，大概是把sandbox功能disable了，需要看一下代码。Chrome引以为豪的多Tab管理界面在Win 7下，最大化时行为不太正常，加上--magic_browzR使用新的Frame代码也没用。不能打开flash。&lt;/p&gt;

&lt;p&gt;IE8似乎比XP下的好用了。&lt;/p&gt;

&lt;p&gt;分辨率被自动识别成了1680x1050，但我一般喜欢把分辨率设低一些这样对眼睛舒服。最奇怪的是，如果我把分辨率改成其他的，显示内容不会铺满整个屏幕。所以只好保留分辨率设置，再把&lt;a href="http://blogs.msdn.com/e7/archive/2008/09/13/follow-up-on-high-dpi-resolution.aspx"&gt;DPI&lt;/a&gt;缩放为150%。&lt;/p&gt;

&lt;p&gt;使用管理员cmd，运行powercfg -h off，可以关闭休眠功能，但我没有找到GUI的方式。&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/22#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/18">windows 7</category>
 <pubDate>Sun, 11 Jan 2009 15:53:16 -0500</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">22 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/22</feedburner:origLink></item>
<item>
 <title>Gentoo Linux on Dell Inspiron 700m</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/VWog0j-1raU/</link>
 <description>&lt;h2&gt;Useful tools&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/gentoolkit.xml"&gt;gentoolkit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/portage-utils.xml"&gt;portage-utils&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://overlays.gentoo.org/proj/sunrise"&gt;sunrise&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://www.gentoo.org/dyn/use-index.xml"&gt;Description of use flags&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;/usr/portage/profiles/use.desc&lt;br /&gt;
/usr/portage/profiles/use.local.desc&lt;/p&gt;
&lt;h2&gt;Autostart programs&lt;/h2&gt;
&lt;p&gt;Edit /etc/conf.d/local or /etc/conf.d/local.start.&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://www.gentoo-wiki.info/TIP_Passwordless_Login"&gt;Auto login&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;For agetty, use "-l" to change the login program, and "-n" to avoid prompting for username.&lt;br /&gt;
For the custom login program, use "exec login -f username"&lt;/p&gt;
&lt;h2&gt;Wireless network&lt;/h2&gt;
&lt;p&gt;In the kernel, enable ipw2200 support. Then emerge ipw2200-firmware. You should &lt;b&gt;NOT&lt;/b&gt; build ipw2200 into the kernel. Because it looks for the firmware on the file system, which is not ready yet. See the documentation when you config the kernel. It's easiest to build it as a module. Or, you can use an initramfs.&lt;/p&gt;
&lt;p&gt;Udev obsoletes hotplug/coldplug, so you don't need them.&lt;/p&gt;
&lt;p&gt;After the driver is installed, just emerge wpa_supplicant and edit your /etc/wpa_supplicant/wpa_supplicant.conf. Everything else should be taken care of automatically.&lt;/p&gt;
&lt;h2&gt;Portage tips&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&amp;amp;chap=5"&gt;Exclude packages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo-wiki.info/HOWTO_Create_an_Updated_Ebuild" title="http://www.gentoo-wiki.info/HOWTO_Create_an_Updated_Ebuild"&gt;http://www.gentoo-wiki.info/HOWTO_Create_an_Updated_Ebuild&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://wgo.wolf911.us/?p=28"&gt;a&lt;/a&gt;ut&lt;a href="http://www.iml.ece.mcgill.ca/~stephan/autounmask"&gt;o&lt;/a&gt;unmask&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Tweaking configure&lt;/b&gt;. Man 5 ebuild tells us that we can pass extra options to ./configure by setting the environment variable EXTRA_ECONF. There's also EXTRA_EMAKE and EXTRA_EINSTALL. &lt;a href="http://blog.cafarelli.fr/post/2008/04/09/Testing-the-new-gold-linker-from-binutils"&gt;An example&lt;/a&gt; looks like this: EXTRA_ECONF="--enable-gold" emerge -av '=sys-devel/binutils-2.18.50.0.6'.&lt;/p&gt;
&lt;h2&gt;Function keys&lt;/h2&gt;
&lt;p&gt;First of all, build the i8k support in the kernel. The usespace tool i8kutils is not necessary. Its README could be helpful though. In particular, read "THE I8000 MULTIMEDIA BUTTONS" section. I ended up using the solution described &lt;a href="http://www.gentoo-wiki.info/HOWTO_Use_Multimedia_Keys"&gt;here&lt;/a&gt; and &lt;a href="http://kunxi.org/archives/2007/07/howto-gentoo-20070-on-dell-700m/"&gt;here&lt;/a&gt; to map mute, volume-down, volume-up buttons under X. I don't know much about sound output, but setting PCM is only effective when "PCM Out" is set to "pre 3D". Setting Master is more reliable.&lt;/p&gt;
&lt;pre&gt;
.Xmodmap

keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
&lt;/pre&gt;&lt;pre&gt;
.xbindskeyrc

"amixer set Master toggle"
XF86AudioMute

"amixer set Master 5%-"
XF86AudioLowerVolume

"amixer set Master 5%+"
XF86AudioRaiseVolume
&lt;/pre&gt;&lt;p&gt;I believe the Fn-CRT/LCD combination is to be handled by the BIOS, but it doesn't seem to do the job. We can use i855crt instead. Examples: &lt;i&gt;i855crt off&lt;/i&gt;, &lt;i&gt;i855crt on 1024x768@70&lt;/i&gt;.&lt;/p&gt;
&lt;h2&gt;Bugs and fixes&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://www.gossamer-threads.com/lists/gentoo/amd64/177318?do=post_view_flat"&gt;Fixing broken portage or python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bugs.gentoo.org/show_bug.cgi?format=multiple&amp;amp;id=250342"&gt;glibc-2.9_p20081201 breaks portage&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/proj/en/qa/asneeded.xml"&gt;--as-needed introduction and fixing guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bugs.gentoo.org/show_bug.cgi?id=252808"&gt;glibc-2.9_p20081201-r1&lt;/a&gt; &lt;a href="http://bugs.gentoo.org/show_bug.cgi?id=252302"&gt;breaks&lt;/a&gt; firefox-3&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.linuxsir.org/bbs/showthread.php?s=08ce8613fae73a341a64d5f80b511c5a&amp;amp;t=342933"&gt;升级X的讨论&lt;/a&gt;。I didn't encounter this problem on my system, which has evdev and no hal. However, downgrading X to 1.5.2 did cause some issues. &lt;/p&gt;
&lt;h2&gt;Tips&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/Maintain_Gentoo_-_%22Best_Practices%22" title="http://en.gentoo-wiki.com/wiki/Maintain_Gentoo_-_%22Best_Practices%22"&gt;http://en.gentoo-wiki.com/wiki/Maintain_Gentoo_-_%22Best_Practices%22&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/Laptops" title="http://en.gentoo-wiki.com/wiki/Laptops"&gt;http://en.gentoo-wiki.com/wiki/Laptops&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/kernel-config.xml" title="http://www.gentoo.org/doc/en/kernel-config.xml"&gt;http://www.gentoo.org/doc/en/kernel-config.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/alsa-guide.xml" title="http://www.gentoo.org/doc/en/alsa-guide.xml"&gt;http://www.gentoo.org/doc/en/alsa-guide.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/openrc-migration.xml" title="http://www.gentoo.org/doc/en/openrc-migration.xml"&gt;http://www.gentoo.org/doc/en/openrc-migration.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/utf-8.xml" title="http://www.gentoo.org/doc/en/utf-8.xml"&gt;http://www.gentoo.org/doc/en/utf-8.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml" title="http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml"&gt;http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kunxi.org/archives/2007/07/howto-gentoo-20070-on-dell-700m/" title="http://kunxi.org/archives/2007/07/howto-gentoo-20070-on-dell-700m/"&gt;http://kunxi.org/archives/2007/07/howto-gentoo-20070-on-dell-700m/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.gentoo.org/viewtopic-t-279395-highlight-bookstack.html" title="http://forums.gentoo.org/viewtopic-t-279395-highlight-bookstack.html"&gt;http://forums.gentoo.org/viewtopic-t-279395-highlight-bookstack.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.gentoo.org/viewforum-f-12.html" title="http://forums.gentoo.org/viewforum-f-12.html"&gt;http://forums.gentoo.org/viewforum-f-12.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.celifornia.com/documents/dell700m.html" title="http://www.celifornia.com/documents/dell700m.html"&gt;http://www.celifornia.com/documents/dell700m.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo-wiki.info/HOWTO_ATAPI_CD_Burning" title="http://www.gentoo-wiki.info/HOWTO_ATAPI_CD_Burning"&gt;http://www.gentoo-wiki.info/HOWTO_ATAPI_CD_Burning&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo-wiki.info/TIP_Recommended_Packages" title="http://www.gentoo-wiki.info/TIP_Recommended_Packages"&gt;http://www.gentoo-wiki.info/TIP_Recommended_Packages&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://www.gentoo.org/doc/en/xorg-config.xml"&gt;X&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors" title="http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors"&gt;http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.gentoo.org/doc/en/dri-howto.xml" title="http://www.gentoo.org/doc/en/dri-howto.xml"&gt;http://www.gentoo.org/doc/en/dri-howto.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/Intel_GMA" title="http://en.gentoo-wiki.com/wiki/Intel_GMA"&gt;http://en.gentoo-wiki.com/wiki/Intel_GMA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/X.Org/xsession" title="http://en.gentoo-wiki.com/wiki/X.Org/xsession"&gt;http://en.gentoo-wiki.com/wiki/X.Org/xsession&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2" title="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2"&gt;http://www.thinkwiki.org/wiki/Xorg_RandR_1.2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad" title="http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad"&gt;http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://wiki.archlinux.org/index.php/Xorg_input_hotplugging" title="http://wiki.archlinux.org/index.php/Xorg_input_hotplugging"&gt;http://wiki.archlinux.org/index.php/Xorg_input_hotplugging&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://en.gentoo-wiki.com/wiki/X.Org/Fonts"&gt;Fonts&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The blessed way of configuration is through &lt;i&gt;eselect fontconfig&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://lwn.net/Articles/315872/"&gt;Free fonts&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://www.gentoo.org/doc/en/distcc.xml"&gt;Distcc&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I have some &lt;a href="http://www.debian-administration.org/articles/112"&gt;Debian&lt;/a&gt; machines to speed up compilation. It's important to make sure that all machines have the same version of gcc, in this case, gcc-4.3.2. With older versions of distcc, the client must preprocess the source files first and then send the preprocessed files to the servers. With distcc-3, there's this so-called pump mode that allows the client to send the source files with the header files, and have the servers to do the preprocessing. Enabling pump mode in Gentoo is simple:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
distcc-config --set-hosts "foo,cpp,lzo bar,cpp,lzo baz,cpp,lzo"&lt;br /&gt;
pump emerge -u world&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
Unfortunately, Debian only has distcc-2.18. Debian's distcc has a nice zeroconf feature that Gentoo's missing: auto discovery of servers. Check out /usr/share/doc/distcc/README.Debian.&lt;/p&gt;
&lt;p&gt;Using the default setup, you're most likely to see errors with exit code 110. The man page of distcc tells us it's "compiler not found". That's because Gentoo uses i686-pc-linux-gnu-gcc as the default compiler, whereas Debian only has i486-linux-gnu-gcc. The solution is to create symlinks on Debian.&lt;/p&gt;
&lt;p&gt;For debugging info, we can look at /var/log/distccd.log on the server side. The file was empty on the first run, but restarting the server solved the issue. On the client side, we can &lt;i&gt;DISTCC_DIR="/var/tmp/portage/.distcc/" distccmon-text 5&lt;/i&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://www.gentoo.org/doc/en/power-management-guide.xml"&gt;Power management&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;First config your kernel to add in necessary support. Then, install acpid, which receives kernel events and performs actions by matching user-defined rules. In my case, I'd like to suspend to ram when I close the lid. The package hibernate-script does just that. It installs two programs: hibernate, and hibernate-ram. Their behavior can be fine-tuned by editing files under /etc/hibernate/. Under the hood, they rely on either one of the two &lt;a href="http://www.tuxonice.net/features.html#compare"&gt;kernel implementations&lt;/a&gt;. For more information, refer to /usr/share/doc/hibernate-script-1.98.1/README. The preferred uswusp implementation, which requires the userspace program suspend, doesn't work well with X on my computer.&lt;/p&gt;
&lt;p&gt;Now, I'd like to put the computer to sleep when I close the lid. First observe the log file (depending on the syslogd program you use, the file may differ), and I saw a pair of events when I pressed and released the lid button:&lt;/p&gt;
&lt;pre&gt;
acpid: received event "button/lid LID0 00000080 00000001"
acpid: rule from /etc/acpi/events/default matched
acpid: executing action "/etc/acpi/default.sh button/lid LID0 00000080 00000001"
BEGIN HANDLER MESSAGES
END HANDLER MESSAGES
acpid: action exited with status 0
acpid: 1 total rule matched
acpid: completed event "button/lid LID0 00000080 00000001"
acpid: received event "button/lid LID0 00000080 00000002"
acpid: rule from /etc/acpi/events/default matched
acpid: executing action "/etc/acpi/default.sh button/lid LID0 00000080 00000002"
BEGIN HANDLER MESSAGES
END HANDLER MESSAGES
acpid: action exited with status 0
acpid: 1 total rule matched 
acpid: completed event "button/lid LID0 00000080 00000002"
&lt;/pre&gt;&lt;p&gt;
Instead of looking at the log, you can also run acpi_listen.&lt;/p&gt;
&lt;p&gt;Below are my files for handling the lid closing event:&lt;/p&gt;
&lt;pre&gt;
# /etc/acpi/events/lid 
# To only trigger on one, you may use the line
# event=button[ /]lid .*[02468ace]$
# to match only every second event. 

# It is more reliable, however, to check the state of the lid:
event=button/lid
action=/etc/acpi/lid.sh %e
&lt;/pre&gt;&lt;pre&gt;
#!/bin/sh
# /etc/acpi/lid.sh 
if grep -q closed /proc/acpi/button/lid/$2/state ; then
  hibernate-ram
fi
&lt;/pre&gt;</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/21#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/17">gentoo</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/8">linux</category>
 <pubDate>Wed, 24 Dec 2008 17:38:49 -0500</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">21 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/21</feedburner:origLink></item>
<item>
 <title>lesspipe.sh, a preprocessor for less</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/Jb6MbUso9Mo/</link>
 <description>&lt;p&gt;今天才通过&lt;a href="http://zhllg.spaces.live.com/Blog/cns!956A48A2D7ED7265!3340.entry"&gt;zhllg&lt;/a&gt;知道less的这个功能。&lt;/p&gt;

&lt;p&gt;less可以通过LESSOPEN 这个环境变量来设置 input preprocessor，从而扩展其可以解释的文件，很好很强大。Debian本身带了一个预处理的shell脚本，放在/usr/bin/lesspipe，但似乎功能没有另外一个专门的&lt;a href="http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html"&gt;lesspipe.sh&lt;/a&gt;强大，支持的文件更多，以及语法高亮（在文件尾加':'去除高亮）。&lt;/p&gt;

&lt;p&gt;要替换的话，修改~/.bashrc的一行：&lt;br&gt;
[ -x /usr/bin/lesspipe ] &amp;amp;&amp;amp; eval "$(lesspipe)"&lt;br&gt;
=&gt;&lt;br&gt;
[ -x /usr/local/bin/lesspipe.sh ] &amp;amp;&amp;amp; eval "$(lesspipe.sh)"&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/20#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/8">linux</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/9">unix</category>
 <pubDate>Fri, 24 Oct 2008 17:56:27 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">20 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/20</feedburner:origLink></item>
<item>
 <title>iBus - Intelligent Input Bus for Linux / Unix OS</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/6SeGHpxtMME/</link>
 <description>&lt;p&gt;今天知道一个新的&lt;a href="http://code.google.com/p/ibus/"&gt;输入法项目&lt;/a&gt;，也许会很有前途，特此记之。&lt;/p&gt;

&lt;p&gt;UDPATE: http://www.gnome.asia/static/upload/event_file/Input_Methods.pdf&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/19#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/16">ime</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/8">linux</category>
 <pubDate>Sat, 18 Oct 2008 00:46:35 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">19 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/19</feedburner:origLink></item>
<item>
 <title>gcc --help command-line option</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/SlO35BbPCxY/</link>
 <description>&lt;p&gt;I just learned that gcc-4.3's &lt;a href="http://gcc.gnu.org/gcc-4.3/changes.html"&gt;changes&lt;/a&gt; include extended --help. This &lt;a href="http://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html"&gt;feature&lt;/a&gt; is very useful.&lt;/p&gt;

&lt;p&gt;The following will display all the options controlling warning messages:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;  --help=warnings
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Whereas this will display all the undocumented, target specific options:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;  --help=target,undocumented
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will display the optimizations that are enabled by -O3:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;  gcc -Q -O3 --help=optimizers
&lt;/code&gt;&lt;/pre&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/18#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/15">gcc</category>
 <pubDate>Sat, 11 Oct 2008 17:52:17 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">18 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/18</feedburner:origLink></item>
<item>
 <title>Money As Debt</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/b4ZwvRFn7eU/</link>
 <description>&lt;p&gt;&lt;a href="http://video.google.com/videoplay?docid=-9050474362583451279&amp;amp;ei=FybeSL_4B4vSjgKoyoiVCw"&gt;A great educational film&lt;/a&gt;.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/17#comments</comments>
 <pubDate>Sat, 27 Sep 2008 20:44:20 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">17 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/17</feedburner:origLink></item>
<item>
 <title>Quantum Mysteries Disentangled</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/Pg5Q1OSve84/</link>
 <description>&lt;p&gt;I'm a physics layman, but I always enjoy introductory articles on quantum mechanics. I found &lt;a href="http://www.flownet.com/ron/QM.pdf"&gt;this one&lt;/a&gt; to be pretty good.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/16#comments</comments>
 <pubDate>Thu, 25 Sep 2008 15:23:39 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">16 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/16</feedburner:origLink></item>
<item>
 <title>Web developers!</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/0VWA2DZ_7dA/</link>
 <description>&lt;p&gt;&lt;object width="425" height="344"&gt;&lt;br /&gt;
&lt;param name="movie" value="http://www.youtube.com/v/00ADUX0dV8o&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;/param&gt;
&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/00ADUX0dV8o&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/15#comments</comments>
 <pubDate>Mon, 22 Sep 2008 13:33:19 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">15 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/15</feedburner:origLink></item>
<item>
 <title>密切关注毒奶粉事件</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/H6qD9vd3y_g/</link>
 <description>&lt;p&gt;http://zh.wikipedia.org/w/index.php?title=2008年中国婴幼儿奶粉污染事件&amp;amp;variant=zh-cn&lt;br /&gt;
http://zh.wikipedia.org/wiki/黑心食品&lt;/p&gt;
&lt;p&gt;三鹿集团是中外合资公司，其最大海外股东是新西兰恒天然公司。恒天然公司在8月份得知奶粉出现问题后，马上向中资方和地方政府官员要求召回三鹿集团生产的所有奶粉。不过恒天然公司经过一月多的努力未能奏效，中国地方官员置若罔闻，试图掩饰，不予正式召回。恒天然只好向新西兰政府和总理海伦·克拉克报告。9月5日新西兰政府得知消息后下令新西兰官员绕过地方政府，直接向中国中央政府报告此次事件，中国政府才严正对待此事。&lt;/p&gt;
&lt;p&gt;中华人民共和国国家质量监督检验检疫总局对全国婴幼儿奶粉三聚氰胺含量进行检查，结果显示，有22家婴幼儿奶粉生产企业的69批次产品检出了含量不同的三聚氰胺，除了河北三鹿外，还包括：山西雅士利、内蒙古伊利、蒙牛集团、青岛圣元、上海熊猫、山西古城、江西光明乳业英雄牌、宝鸡惠民、多加多乳业、湖南南山等22个厂家69批次产品中检出三聚氰胺，被要求立即下架。&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/14#comments</comments>
 <pubDate>Tue, 16 Sep 2008 23:04:44 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">14 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/14</feedburner:origLink></item>
<item>
 <title>关于三鹿奶粉，5月份的老帖</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/akiyjE2Z7NA/</link>
 <description>&lt;p&gt;搞笑的是，在原帖发后10天，原作者在其后跟帖表示买到的奶粉其实是假货。其实是被人堵了嘴（关键字：王远萍）。&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cache.tianya.cn/publicforum/content/free/1/1262292.shtml" title="http://cache.tianya.cn/publicforum/content/free/1/1262292.shtml"&gt;http://cache.tianya.cn/publicforum/content/free/1/1262292.shtml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;      经历了这一事件，就像经历了漫漫长夜；又像做了一个噩梦。同时，也说明我们的食品安全问题任重而道远，想揭露事件的真相是很困难的，除非出现像安徽阜阳那种大事件，而所能揭露真相的比例占总数也是极少的。&lt;br /&gt;
　　事情是这样的。我全家（包括岳父岳母）都有吃奶粉的习惯。自2007年11月份开始，我在县城某超市陆续购得一批“三鹿”牌子的奶粉。经食用，首先发现生产日期及批号为2007/12/19 D 01 08的儿童高钙配方奶粉有如下现象：女儿晚睡前食用，次日晨起第一注小便排出，粘稠、呈淡黄色米汤状，还有细小颗粒沉淀，并偶有腹泻；停用即清，再食用又浊。再闻冲开之后的奶粉气味，似香不香；入口感觉淡涩、且有粉渣感。&lt;br /&gt;
　　开始，我以为买到假货了。出于公民义务，我将情况电话告知厂家服务热线。厂家叫我寄2包原封奶粉，送实验室检验。&lt;br /&gt;
　　我于2008年2 月25日，向河北石家庄三鹿集团股份有限公司寄出儿童高钙配方奶粉（生产日期及批号：2007/12/19 D 01 08）、中老年高钙配方奶粉（生产日期及批号：2007/12/29 D 02 37）各一包。&lt;br /&gt;
　　过了多天，我致电厂家，询问是否收到寄检奶粉？有无问题？请把检验结果传真给我。厂家承认收到，并证实是他们生产的产品，但没有跟我说有无质量问题，只是说地区代理商会跟我联系。&lt;br /&gt;
　　过了几天，地区代理商代表厂家果然和我联系，叫我把没吃完的退还或换货；还说次日来人回收或换货。我不同意。我首先要的是检验结果。如果没问题，孩子吃了为何有上述情形？如果有问题，是什么问题？为什么不让我知道结果？如果不能让我知道结果，你为什么要叫我寄检？我又何必寄检？我孩子吃了，出现一些反常现象，可以退还或换货，那其它人的孩子呢？&lt;br /&gt;
　　自称是厂家代表的人给我的答复是：《检验报告单》涉及商业秘密，不能给我，但是可以给我看（到目前为止我还没有看到）。还说他们的儿童奶粉只适合３－７岁儿童，我孩子超过７岁。但包装袋上却明明标着：适合３岁以上少年儿童食用。后来提出：吃到肚子里的就说不清楚了；剩余１５包，１１包退一换一，开掉的４包退一换二。这是什么逻辑？他这样说有道理吗？连自己的产品都不熟悉的人，他能是厂家代表吗？我还能跟他谈吗？&lt;br /&gt;
　　我只好向消协投诉。消协于3月27日下午联系了卖家（超市），买卖双方在县工商局直属工商所所四楼由消协工作人员主持调解。卖方确认是他们所销售商品，说厂家不出具检验结果他们也觉得莫名其妙，最多只能按原价回收我们所食剩余的奶粉。我不同意。觉得此举意义不大，厂家既然叫我寄检了，我也寄检了，我一定要先知道奶粉有无质量问题！谈话间，他们还透露：他们仓库里还有大批这样的奶粉；泰顺县最大的连锁幼儿园——育才幼儿园也用这种奶粉。听到这些，我更想知道这批奶粉有无质量问题了，而想知道有无质量问题？唯一的办法就是由公正的第三方（即工商部门）通过合法的程序抽样送检。但检验费用得由我先垫付，说全检要上万，等于我要花几十倍的钱去证实它。我犹豫了，说回去好好想想。双方没有谈拢，调解没有成功。&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;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/13#comments</comments>
 <pubDate>Sat, 13 Sep 2008 15:41:59 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">13 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/13</feedburner:origLink></item>
<item>
 <title>Google Chrome</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/unXJrQInZDY/</link>
 <description>&lt;p&gt;Google最近加入了浏览器第三次世界大战。试用了一下以后，感觉到很多优点：&lt;/p&gt;
&lt;p&gt;1. 界面清爽简单。没有了标题栏，状态栏变成了自动隐藏的。&lt;br /&gt;
2. 速度极快，无论是启动、打开新标签、渲染页面、处理JavaScript，表现都非常优秀。V8 JavaScript engine确实不同凡响，令人同时期待Firefox的TraceMonkey（说到Firefox，它家最近出的Ubiquity和Weave也很不错，Firefox最强大的就在于其可扩展性）。Webkit HTML renderer与Gecko孰优孰劣我没有感觉，据说Webkit的代码写的比较好，利于embed到各种应用中。&lt;br /&gt;
3. 多进程模式思想超前。有些人以为从单进程模式到多进程模式是一种倒退，其实大谬不然。以前IE那种单进程，是一个进程只能访问一个页面，效率其低，因此才有其它程序使用OLE的方式嵌入IE的Trident内核来实现多tab浏览。但这带来的就是安全性和稳定性的降低。IE8也意识到这一问题，开始向多进程多页面过渡。但Chrome更胜一筹，不仅效率高，更内嵌一个任务管理器不但可以杀页面，还可以杀Flash插件。&lt;strike&gt;更厉害的是，Chrome考虑到了多种进程模式，并不是一个tab一个进程这么简单，同一个tab中，来自不同站点的内容也可以隔离在不同进程中。&lt;/strike&gt;用于渲染页面的进程被置于sandbox中，优先级比主控进程低，所以受恶意网站的危害也小。&lt;br /&gt;
4. 开放。不仅是源代码开放，设计文档也很详尽。&lt;/p&gt;
&lt;p&gt;缺点：&lt;br /&gt;
1. 浏览器功能比较单一，扩展性不够，给用户呈现的选项也较少。&lt;br /&gt;
2. 目前只支持Windows平台。&lt;/p&gt;
&lt;p&gt;我稍微研究了一下Chrome，并自己做了一些修改。心得和程序下载见 &lt;a href="http://sites.google.com/site/ggchromium/" title="http://sites.google.com/site/ggchromium/"&gt;http://sites.google.com/site/ggchromium/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;UPDATE: &lt;a href="http://blog.chromium.org/2008/09/chrome-3s-webkit.html"&gt;Why Webkit?&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/12#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/13">chrome</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/14">chromium</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/12">google</category>
 <pubDate>Fri, 05 Sep 2008 01:38:22 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">12 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/12</feedburner:origLink></item>
<item>
 <title>THE documentation for linux kernel (and beyond)</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/1duzKNLPaDQ/</link>
 <description>&lt;p&gt;&lt;a href="http://kernel.org/doc/" title="http://kernel.org/doc/"&gt;http://kernel.org/doc/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is just a work in progress at the moment. But its table of content looks very interesting. For more information, check out &lt;a href="http://www.linuxsymposium.org/2008/ols-2008-Proceedings-V2.pdf"&gt;Where Linux Documentation Hides&lt;/a&gt; published in &lt;a href="http://www.linuxsymposium.org/2008/"&gt;OLS 08&lt;/a&gt;.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/10#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/8">linux</category>
 <pubDate>Fri, 29 Aug 2008 01:14:20 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">10 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/10</feedburner:origLink></item>
<item>
 <title>Why you need separate root and /usr partitions</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/GuNRKCHEFGo/</link>
 <description>&lt;p&gt;via &lt;a href="http://lwn.net/SubscriberLink/294667/555f96805240edda/"&gt;LWN&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A user can do ln /usr/sbin/sendmail ~/sendmail then wait for a security bug to be reported in sendmail. Even though the administrator upgrades /usr/sbin/sendmail the buggy setuid sendmail is still available in the user's home directory.&lt;/p&gt;
&lt;p&gt;This is one reason to have separate root and /usr partitions, because hardlinking across filesystems isn't possible.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/9#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/8">linux</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/10">security</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/9">unix</category>
 <pubDate>Tue, 26 Aug 2008 14:16:44 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">9 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/9</feedburner:origLink></item>
<item>
 <title>Defeat Airport Delays</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/eKfOHE5-yDM/</link>
 <description>&lt;p&gt;Tips from PC Magazine Aug 2008.&lt;/p&gt;
&lt;p&gt;Before you book, at &lt;a href="http://www.flightstats.com" title="www.flightstats.com"&gt;www.flightstats.com&lt;/a&gt; you can get the odds of the flight being on time.&lt;/p&gt;
&lt;p&gt;On the day of your departure, visit &lt;a href="http://www.fly.faa.gov" title="www.fly.faa.gov"&gt;www.fly.faa.gov&lt;/a&gt; to learn if there are any delays specific to your destination.&lt;/p&gt;
&lt;p&gt;You can sign up for OrbitzTLC Alerts or check updates.orbitz.com for real-time updates.&lt;/p&gt;
&lt;p&gt;If you're already at the airport and have to rebook, don't wait at the back of the line at the service counter. Call your airline's telephone numbers instead.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/8#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/7">life</category>
 <pubDate>Thu, 14 Aug 2008 18:35:52 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">8 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/8</feedburner:origLink></item>
<item>
 <title>奥运火了</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/udGBTJQ-I4c/</link>
 <description>&lt;p&gt;&lt;object width="425" height="344"&gt;&lt;br /&gt;
&lt;param name="movie" value="http://www.youtube.com/v/FBFEgMqhOs4&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;/param&gt;
&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/FBFEgMqhOs4&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;&lt;object width="450" height="358"&gt;&lt;br /&gt;
&lt;param name="movie" value="http://www.traileraddict.com/emb/5450"&gt;&lt;/param&gt;
&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;
&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.traileraddict.com/emb/5450" type="application/x-shockwave-flash" wmode="transparent" width="450" height="358" allowFullScreen="true"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/7#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/6">beijing</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/5">olympics</category>
 <pubDate>Fri, 11 Jul 2008 12:43:25 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">7 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/7</feedburner:origLink></item>
<item>
 <title>Presto</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/v251Yvlvu7k/</link>
 <description>&lt;p&gt;&lt;object width='424' height='318'&gt;&lt;br /&gt;
&lt;param name='movie' value='http://videolog.uol.com.br/ajax/codigoPlayer.php?id_video=343906&amp;amp;v=b0/2d/343906&amp;amp;v_hd=b0/2d/343906_HD&amp;amp;relacionados=S&amp;amp;default=S&amp;amp;cor_fundo=000000&amp;amp;swf=1&amp;amp;width=424&amp;amp;height=318'&gt;&lt;/param&gt;&lt;embed  align='middle' allowFullScreen='true' type='application/x-shockwave-flash' quality='high' src='http://videolog.uol.com.br/ajax/codigoPlayer.php?id_video=343906&amp;amp;v=b0/2d/343906&amp;amp;v_hd=b0/2d/343906_HD&amp;amp;relacionados=S&amp;amp;default=S&amp;amp;cor_fundo=000000&amp;amp;swf=1&amp;amp;width=424&amp;amp;height=318' width='424' height='318'&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/6#comments</comments>
 <pubDate>Sun, 06 Jul 2008 02:29:20 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">6 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/6</feedburner:origLink></item>
<item>
 <title>Redirecting Drupal's Feeds to Feedburner</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/XbmLUlcf4_U/</link>
 <description>&lt;p&gt;Feedburner has an official plugin that allows you to redirect Wordpress feeds to Feedburner. There's also &lt;a href="http://drupal.org/project/feedburner"&gt;a 3rd-party module&lt;/a&gt; that allows you to do the same thing with Drupal. Unfortunately, you always get the same error "The specified local feed URI does not exist" when you try to redirect your feeds. &lt;a href="http://drupal.org/node/235299"&gt;The workaround&lt;/a&gt;, for now, is simply to comment out the complaining line.&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/2#comments</comments>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/1">drupal</category>
 <category domain="http://people.virginia.edu/~wh5a/drupal-5.7/?q=taxonomy/term/2">feed</category>
 <pubDate>Fri, 06 Jun 2008 13:55:13 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">2 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/2</feedburner:origLink></item>
<item>
 <title>从cs.virginia.edu转移到virginia.edu</title>
 <link>http://feedproxy.google.com/~r/LifeAndLove/~3/7D4IrZgKZ0s/</link>
 <description>&lt;p&gt;我们系的服务器不知怎么被黑了，与我无关的几个网页被插入了我的blog的内容，管理员于是怀疑有攻击者利用我的blog为跳板进行了XSS或者SQL injection攻击，只好临时关闭我的blog。说来奇怪，就算wordpress存在漏洞，我的帐户被完全控制，也不应该写入其它用户的网页啊？&lt;/p&gt;
&lt;p&gt;本来选择自己host，就是觉得自由、方便，没想到还不如使用那些大站的服务稳定。干脆换到drupal，换换口味。&lt;/p&gt;
</description>
 <comments>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/1#comments</comments>
 <pubDate>Fri, 06 Jun 2008 00:26:00 -0400</pubDate>
 <dc:creator>wh5a</dc:creator>
 <guid isPermaLink="false">1 at http://people.virginia.edu/~wh5a/drupal-5.7</guid>
<feedburner:origLink>http://people.virginia.edu/~wh5a/drupal-5.7/?q=node/1</feedburner:origLink></item>
</channel>
</rss>
