GNU/Linux下更好的使用Thinkpad的键盘灯

August 11th, 2009 no comment

让广大“黑友”的thinklight更好的发挥作用。 Thinkpad屏幕顶部的键盘灯是个很有创意的设计,这个和小红点一起构成了Thinkpad的重要特色功能。 比如收到邮件后,thinklight闪烁;pidgin收到消息后,thinklight闪烁提醒。

饭后自行车小绕圈

August 10th, 2009 no comment
bike_walking

周日在家睡了一整天,晚饭后出去骑车转一圈。 沿着京密引水渠,向西北方向,走到北清路,沿着永丰路返回。 发现西边发展的很快,越来越繁华了。 全程19KM,平均速度19KM/h,水平下降很多。 Google earth显示路线如下:

解决pgpool2.2.2在PostgreSQL8.4.0下无法使用问题

August 8th, 2009 no comment

PostgreSQL从8.3.x升级到8.4.0后,pgpool-II的最新版2.2.2无法编译通过,报以下错误: sed ‘s,MODULE_PATHNAME,$libdir/pgpool-recovery,g’ pgpool-recovery.sql.in >pgpool-recovery.sql cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -fPIC -DPIC -I. -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -c -o pgpool-recovery.o pgpool-recovery.c pgpool-recovery.c: In function `pgpool_recovery’: pgpool-recovery.c:47: error: `textout’ undeclared (first use in this function) pgpool-recovery.c:47: error: (Each undeclared identifier is reported only once pgpool-recovery.c:47: error: for each function […]