原来game这这如此重要

| Development

以前一直是装FreeBSD最小安装,因为感觉很多东西在服务器上根本用不到;又更有甚者,前几天甚至在考虑进一步精简系统,使其在服务器上安装尽可能少的文件(例如开发工具完全不安装)。结果今天发现了一个之前一直没有注意到的问题:game这个看似没用的distribution其实也还是蛮有用的,比如生成素数表,等等。

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

代发一则招聘启事

| Others

软件测试开发工程师(1人,工作地点:北京)

职责描述:

  1. 为开发团队开发专用、高效的自动化测试工具
  2. 搭建自动化测试平台
  3. 编写测试计划、设计案例和分析、定位问题

职位要求:

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

ftp.freebsdchina.org 故障 :-(

| Life

由于磁盘故障,ftp.freebsdchina.org 暂时无法提供服务了(初步估计是panic掉了)。更头疼的是,由于连续5年运行没有出过什么严重问题,这台机器在机房的位置恐怕也不太好找了。

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

sh与csh中的算符优先顺序

| Development

第一个脚本(1.sh):
#!/bin/sh
echo test
exit 1

测试命令:./1.sh | grep test && echo 1

csh:
./1.sh | grep test && echo e
test

sh:
./1.sh | grep test && echo e
test
e

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

鲁迅:中国人失掉自信力了吗zz

| Shared Chaos

从公开的文字上看起来:两年以前,我们总自夸着「地大物博」,是事实;不久就不再自夸了,只希望着国联,也是事实;现在是既不夸自己,也不信国联,改为一味求神拜佛,怀古伤今了——却也是事实。于是有人慨叹曰:中国人失掉自信力了。

如果单据这一点现象而论,自信其实是早就失掉了的。先前信「地」,信「物」,后来信「国联」,都没有相信过「自己」。假使这也算一种「信」,那也只能说中国人曾经有过「他信力」,自从对国联失望之后,便把这他信力都失掉了。

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

gdb helper for FreeBSD kernel

| Kernel

It seems that John Baldwin has published a debugging helper script for gdb, which is interesting to have a look at:

http://people.freebsd.org/~jhb/gdb.6

Maybe we can extend it to have some VM inspection function as well? :-)

参与评论

搞定了Safari的中文显示

| Development

之前用Safari访问很多中文网页都有问题,今天端木同学帮忙看了一下,发现是默认语言顺序导致的问题。不过调整之后,Firefox又毛病了……不知道是否应该在里面装个FreeBSD,然后再到FreeBSD里面装个X?:P

参与评论

The missing uptime explained

| Security

It seems that my box loses its uptime record after I have migrated it to the Yizhuang IDC. The two things are related, but technically speaking, they are not. Actually I have discovered gokeeper’s hosts losed their uptimes as well, but I did not know why before. Sometimes I thought that was because the Linksys switch we have used, but there are some evidence that it is not; also I have at a point doubted the Cisco devices were misconfigured or have some firewalling features, but that’s not the answell, either.

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

Updated less(1) in base system to 3.9.4

| Development

less is a very popular command line tool that is distributed with a lot of *nix distributions. Thanks goes to David Wolfskill (our postmaster) who helped the test.

The current plan is to MFC less(1) before 6.2-RELEASE’s freeze, but because the date is near, we may want to change the plan.

参与评论

FreeBSD.org website reengineered

| Development

Today Hiroki Sato has committed the long waited www/ cleanup mega-patch. Key features:

参与评论