Posts

wall_john's desktop

Image
I have already uploaded the picture to blogspot. So now everyone could be able to see it.

screen之detach/reattach的一个应用

如果因为某个原因,X需要重起 那么可以先detach 然后X重新启动后,或者可以干脆直接在console里,再reattach 刚刚想到,有点莫名的兴奋,:-D detach是C-a C-d reattach是screen -r 然后按tab即可补齐。前提自然是要启用 bash-completion 。 如果不了解screen,可以看看GWN里的 报道 。一定要试一下!

prelink's segfault problem

The latest prelink in current portage has a problem. That is it segfaults if you run it with -q option. This patch fixed the problem. Thanks to Martin von Gagern. http://bugs.gentoo.org/attachment.cgi?id=95051&action=view

bayonne VS. asterisk

Asterisk is better? http://software.newsforge.com/comments.pl?sid=50233&cid=118555 I haven't touched asterisk. So I have nothing to say about it. However, I am looking at bayonne . I have contributed some patches to bayonne and I am taking care of bayonne2's ebuild in gentoo-voip overlay. So I know there are something that need to be improved in bayonne, for example the documentation.

Flash player 9 for Linux

http://labs.adobe.com/downloads/flashplayer9.html I have tried it on www.metacafe.com My firefox was crashed on the first try. After that, it works well.

FREE international call

Use your regular phone to make local/international call. http://www.jajah.com/

Hans Reiser accused of murder

http://www.linux-watch.com/news/NS3021902234.html Sigh!

SUSE's pronunciation

http://www.novell.com/linux/demos/desktop.html Sounds like suser

Buffer Overflow in NVIDIA Binary Graphics Driver For Linux (with exploit)

http://lwn.net/Articles/204542/ It's a pity that I don't have a nvida card to try the exploit. :) I am so admire those who could create an exploit all on his own. It requires a lot of skill. A famous Chinese Poet Lu You (陆游) from Song Dynasty has once said, if you do want to learn poem, you should learn beyond poem (汝果欲学诗,功夫在诗外). Take this exploit as an example, I myself know little on Xlib programming, so although I have some basic idea on shellcode/exploitation, it's still impossilbe for me to write an exploit of nvidia driver at this moment.

Linux系统及程序的启动速度

这篇文章写了有段时间了,不过没有在这里贴过。现在拿出来和大家分享一下。如果有理解错误的地方,还望指正。 Linux(包括其上运行的应用程序)的启动速度相比Windows要慢,这是个不争的事实。不过未来这种状况必将会发生变化。 lwn.net 上有两篇文章与此话题有关。 首先,要明确的一点是,导致这种状况的根本原因与内核关系不大。两个主要原因,一个是用户层程序启动时往往会做很多无谓的动作,可以从strace的结果里体会到;一个是ELF(现代*nix系统所采用的可执行文件和共享库文件格式)格式的二进制程序在符号解析时要耗费不少时间。lwn.net上的这两篇文章就分别针对这两个问题。 第一篇是 http://lwn.net/Articles/192214/ 第二篇是 http://lwn.net/Articles/192624/ 第一篇是Dave Jones在渥太华Linux研讨会(Ottawa Linux Symposium)的一个演讲,这个pdf的第441页 http://www.linuxsymposium.org/2006/linuxsymposium_procv1.pdf 就有这篇文章,题目是"Why user space sucks"。Dave观察了他的Fedora系统的启动过程,结果发现整个过程调用了stat() 79000次,打开过27000个文件和运行了1382个程序。但实际上不一定需要这么多动作。他还具体分析了很多程序的表现,比如gamin(fam ——file alteration monitor——的后继者),Xorg,CUPS,HAL等等。虽然Dave没有提出具体的解决方案,但是自此以后这个问题必定会引起人们的重视。 第二篇题目是Optimizing linker load times。文章开头提到目前很多发行版都在想尽办法提高系统启动速度,目前已有一些途径,比如预读取(readahead),启动重排序(boot reordering),还有并行执行init脚本。还有一个途径就是文章的主题,提高连接器动态连接的速度,主要是符号解析的速度。符号解析的目的,是把在程序里未定义的函数名解析为运行时该函数的内存地址。解析的过程就是查hash表,按惯常做法表里hash值相同的符号(就是未定义的函数名)组成链表。文章提到目前已经有的一个

scim-1.4.5 works again

I didn't mask it in /etc/portage/package.mask when I emerge =scim-1.4.4. So it was upgraded to 1.4.5 in the lastest update. And now it works. Don't know why. Anyway, it works. This is the most important thing.

异体字?

我找你找了好久 别人都说我们会分开 我找你找了好久 别人都说我们会分开 这两对,看似一模一样,实则不同 第一对不同的字是“了” 第二对不同的字是“都” 第一行是我在转用utf8字符集的时候用convmv改的 看来还有点问题

Feed from feedburner

I have created a feed on feedburner. You may subscribe to that as well. http://feeds.feedburner.com/zhllg