Development

FreeBSD 5.5-RELEASE和6.0-RELEASE代码冻结即将开始

| Development

我们将在大约月底的时候开始代码冻结,并准备两个新的RELEASE。我们的主要精力将集中于FreeBSD 6.1,而FreeBSD 5.5则集中于修正严重问题。近期发现的一系列功能和性能上的改进,将合并到这两个分支上。

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

用 iPython 做shell

| Development

学习一种语言最快的方法就是逼自己干什么事情的时候都用它——有一个利用了Python来实现的shell——iPython,可以用来代替默认的shell。

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

Bug in Python re implementation?

| Development

Python includes a Regular Expression implementation, called re. However, I thought that I have hit a bug.

The following regular expression is apparantly wrong, but Python spend much CPU time to give a mismatch:

_mailcheck = re.compile("^(\w|.){3,25}$")
_mailcheck.match(“foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo”)

I think the “.” would override anything (including “\w”), but this does not happen…

参与评论

开始琢磨Twisted

| Development

最近几天开始琢磨Twisted了。打算用Twisted来做一些东西,不过不知道它的线程是否能使用阻塞I/O……

参与评论

BerkeleyDB使用中的cache同步问题

| Development

今天被一个程序折腾了很久。大致的流程是这样:

事件处理:

锁的机制没有大毛病,可是数据死活不对。

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

赞一个David Xu的libthr...

| Development

很多以前执行的不很好的、很Linux的程序,如Evolution、Firefox等等,libmap一下之后,突然都变得非常顺畅了……

参与评论

HOWTO: upgrade OpenLDAP from a major release to another

| Development

Just for reference for future upgrades.

Today I managed to upgrade from OpenLDAP 2.2.29 to OpenLDAP 2.3.11. This is a large upgrade, so all and foremost thing is to backup. Additionally, to keep downtime as less as possible, build these stuff first!

On FreeBSD, the recommended way of installing third party software is to use ports(7). Note that OpenLDAP is separated into two ports, openldap2X-server and openldap2X-client, and building the server requires the client library, therefore, you can not easily do build on the production server (and this SHOULD be avoided anyway).

A solution is to use a separated box (or jail for smaller deployments), to build packages and use pkg_add to install them.

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

如何从目标代码、DDB backtrace找到崩溃的原因

| Development

今天复习了一次……

第一,你需要源代码编译出来的包含调试符号的目标代码。
第二,backtrace中的内容要尽可能完整。

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

FEGO上线了

| Development

这里 访问。这是放飞做的一个Web 2.0概念产品。

这里可以访问我在那里的网站。

参与评论

First PDF produced for Handbook!

| Development

With the work from intron@ now we have the Chinese Project’s translations in PDF format!

参与评论