Ubuntu下,分别用ibus和scim安装极点五笔

刚刚安装好了 Ubuntu 11.04,但是没有五笔的日子实在不好过,WINDOWS下用习惯了极点五笔,本以为极点的作者不出Linux版的,结果在网上一搜,居然有高手想到引用极点五笔的字典实现可以同时打拼音和五笔,废话少说,下面看如何操作:

1. ibus下安装极点五笔
在终端中执行如下操作

sudo wget http://www.unicom-china.com/download/vissible-ibus.tar.gz
tar -zxvf vissible-ibus.tar.gz
sudo cp vissible.db /usr/share/ibus-table/tables
sudo cp vissible.gif /usr/share/ibus-table/icons

完成后,在点任务栏中那个键盘小图标,在下拉菜单选“重新重启” 重启ibus输入法,然后再点一下键盘小图标并在下拉菜单中选“首选项”,然后在弹出的窗口中点击“输入法”选项卡,接着点“选择输入法”>”汉语”,然后点”添加” 极点五笔,OK!

原载于:http://www.jzxue.com/fuwuqi/linux/201106/22-7891.html

2. SCIM下安装极点五笔 继续阅读Ubuntu下,分别用ibus和scim安装极点五笔

远离互联网的一周 by ft中文网

记得前几年有人整过一个所谓“网络生存”的活动。大体就是把人关一个物资里,一定时间内不许出来。唯一和外界联系的渠道就是网络。看人是不是能不出门满足基本生活需要。当时这活动在IT业以外的人眼里,应该还挺高科技的,甚至还上了电视台。当然,那时候还没淘宝,没有amazon。几年之后,有个老外,面对着一个新的挑战。断网一周人还能不能活。下面还是E文,练练阅读吧。 继续阅读远离互联网的一周 by ft中文网

HTML5能取代Android和iOS应用程序吗?

大量新生移动设备的兴起,改变了互联网的未来。在技术的发展上,HTML5会取代App应用吗?或者说能够在多大程度上取代呢?

在HTML5规范中,已经加入了相机、磁力罗盘、GPS信息的支持。很多新兴浏览器也已经开始支持这些新特性。能否用一个统一的HTML5来替代android和ios并行开发的双重成本呢?以下Michael Mahemoff有一篇很详细的论述,使得借鉴。长篇E文,过敏者绕行。

注:今天自己开始仔细读一读,顺手加上大致翻译。 继续阅读HTML5能取代Android和iOS应用程序吗?

Apache 的prefork MPM和worker MPM

本文给出了一些具体设置数值。但没有考虑硬件情况。所以具体数值不够严谨,仅供参考各项设置含义。
另一篇文章中,给出了一个设置算法。计算出来的数值远远小于本文的建议。
见:http://dingxuan.info/blog/post/tuning-Apache-Prefork-MPM.php

Apache使用哪种MPM在在安装的时候可以用
–with-mpm={beos|worker|prefork|mpmt_os2|perchild|leader|threadpool}
安装之后可以用httpd -l命令看到。
MPM的进程模块有有很多种( 见Apache官方文档:http://httpd.apache.org/docs-2.0/mod/)。
今天我主要是比较一下prefork MPM和worker MPM 继续阅读Apache 的prefork MPM和worker MPM

Apache的PreFork MPM功能

首先我們來看有關於 MPM 的一些資料:
http://dz.adj.idv.tw/archiver/tid-214.html
在 MPM中, prefork 及 worker 是兩種不同的 multi-processing module, 在 apache 管方網站上分別有對這兩個 module 有深入的介紹:
http://httpd.apache.org/docs/2.0/mod/prefork.html
http://httpd.apache.org/docs/2.0/mod/worker.html 继续阅读Apache的PreFork MPM功能

Tuning the Apache Prefork MPM

Apache uses a set of values called the Prefork MPM to determine how many servers it will utilize and how many threads each server can process. Out of the box all Apache installations use the same values regardless of whether your server has 512Mb of RAM or 8Gb of RAM.  It is important that as the server administrator you configure these values to work with your server load.

The Apache Prefork MPM can be found in the Apache configuration file; usually /etc/httpd/conf/httpd.conf.  The default values are…


StartServers       2
MinSpareServers    3
MaxSpareServers    3
ServerLimit       75
MaxClients        75
MaxRequestsPerChild  1000

Each Directive taken from “http://httpd.apache.org/docs/trunk/mod/mpm_common.html” is detailed below. 继续阅读Tuning the Apache Prefork MPM