给McKusick老伯发了一个46KB的patch...

| Development

主要是空格的问题。我打算接下来的一段时间琢磨琢磨SoftUpdates,如果这个patch能commit的话,delphijfork的diff一下就能减少46K :-)

参与评论

大学论文:从激光原理看六脉神剑的产生机制zz

| Shared Chaos

发信人: gokeeper (拼命赚钱), 信区: joke
标 题: 大学论文:从激光原理看六脉神剑的产生机制zz
发信站: 知新园 (2004年06月24日10:47:05 星期四), 站内信件

作者:swordmean 导师:金庸
专业:光电子

摘要:
六脉神剑具有广阔的应用前景,本文从激光原理出发,论证了生物激光的可行性及实现的办法,在人类进化事业中,具有十分重大的意义。 背景: 与传统的武功,如降龙十八掌,九阳真经等相比,六脉神剑是一种威力极强的武功,具有 操作简单,响应时间快,杀伤力大(功率密度大),效率高,使用范围远等优点,因此为 广大的武学名家所觊觎,但是由于大理段氏将这门武功列为绝密档案,而且存在修炼困难 等问题,六脉神剑的产生原理,始终是武林中的一个谜,作者从事激光器理论研究多年, 终于凭借两条基本假设,解决了生物激光产生中的若干困难问题。并提出了一种快速修炼六脉神剑的方法,本文的发表,具有划时代的意义。

阅读全文…( 本文约 3019 字,阅读大致需要 7 分钟 )

Useful sed(1) regular expressions

| Development

Source code cleanup:

sed -i '' -E s/\ \	/\	/g *.c *.h
sed -i '' -E s/^\ \ \ \ \ \ \ \ /\	/g *.c *.h
sed -i '' -E s/\	\ \ \ \ \ \ \ \ /\	\	/g *.c *.h
sed -i '' -E s/\ +\$//g *.c *.h
阅读全文…( 本文约 76 字,阅读大致需要 1 分钟 )

5.2-delphij 20040624 snapshot released

| Development

Here is the URL’s:

Mini installation disc:
ftp://ftp.freebsdchina.org/pub/china_ports/delphijfork/5.2-delphij-20040624-i386-miniinst.iso

Bootonly and FIXIT:
ftp://ftp.freebsdchina.org/pub/china_ports/delphijfork/5.2-delphij-20040624-i386-bootonly.iso
ftp://ftp.freebsdchina.org/pub/china_ports/delphijfork/5.2-delphij-20040624-i386-disc2.iso

阅读全文…( 本文约 27 字,阅读大致需要 1 分钟 )

FreeBSD 5.2-delphij to release third iso

| Development

I will release third (more or less unstable) release ISO if nothing will prevent me from doing that :-) The latest delphijfork includes several new features, which is tend to exhibit new technologies and possiblities of FreeBSD:

Also, FreeBSD-CURRENT has several new features, including:

阅读全文…( 本文约 199 字,阅读大致需要 1 分钟 )

一位台湾校长的讲话

| Shared Chaos

From ChinaUnix.

台湾有这么一所学校,学生年龄在15-18之间,每年三千多学生中,因违反校规校纪被校方开除的二、三百人。学校没有工人,没有保卫,没有大师傅,一切必要工种都由学生自己去做。学校实行学长制,三年级学生带一年级学生。全校集合只需3分钟。学生见到老师七米外要敬礼。学生没有寒署假作业,没有一个考不上大学的。这就是台湾享誉30年以道德教育为本的忠信高级工商学校。在台湾各大报纸招聘广告上,经常出现"只招忠信毕业生」字样。

阅读全文…( 本文约 4532 字,阅读大致需要 10 分钟 )

Shall we patch a (possibly) non-exploitable heap overflow?

| Security

While I believe that proactive security practice is necessary for every consumers, the most conversave ones should argue that even a security update will possibly break compablity.

Now I am in trouble. With rsync 2.5.5 installed on a FreeBSD system, we know that it is possible to overflow its heap, however, shall we patch it, or just let it as-is because it is not exploitable on FreeBSD, unlike Linux’s silly brk(9) implementation?

阅读全文…( 本文约 136 字,阅读大致需要 1 分钟 )

NetBSD have pf(4) in its src repository now!

| Security

Finally, yes, itojun has imported pf(4) into NetBSD. Having pf(4) in base indicates that NetBSD’s recognition of pf(4) related work, and as security officer of NetBSD, itojun-san’s import have some special meanings.

参与评论

beastie.frontfree.net under SYNFLOOD attack!

| Security

I have watched spurious SYN messages and apparantly this has affected beastie.frontfree.net’s networking subsystem, namely, its mail system. The attack is from 203.81.27.11.

Whois indicates 203.81.27.11 is:

阅读全文…( 本文约 229 字,阅读大致需要 2 分钟 )

Command line I am using to analyze script execution time on Apache log

| Life

grep cgi-bin scripttime | cut -f6,8 -d’ ’ | sed -E s/\\\?.+//g | grep cgi-bin | sort | uniq -c | sort > statis

Where scripttime is a log with %T (script execution time) log. The above command line will obtain execution time, script name from log, then sort it by the execution time, then have a counted unique.

参与评论