Development
GNOME 2.16 committed
没想到这么快……不过已经装了桌面的同学们,hia hia hia
参与评论Python 2.5的默认地位惨遭否定
今天终于尘埃落定了。
阅读全文…When you can use a different license?
To quote M. Warner Losh (with permission):
阅读全文…So long as there’s old code, you can’t replace the copyright, unlessthe old code that remains is not protectable by copyright any more(eg, if it is just { and } lines). If you add your own implementation of the 50 lines in question, or move them to a separate file, then you can put your own copyright/license statement on the code you wrote.
如何计算不小于给定数的最小的2整数次方幂?
dengxf同学提到的一个问题,想了一下,想到的一个算法:
令为已知量,为目标量,为迭代轮数,
- 令 ,
- 对于 右移 位 的情形,执行下列操作,直到此条件不符合为止:
y与前述结果相与;累进。 - 累进。
原理:第(2)步的循环将除最高位的所有0均置位。最后一步(3)修正这一值。
阅读全文…trac的ticket notification
半作弊条性质。
找到trac环境目录。
进入其下的conf,揪出trac.ini
编辑,找到下面的段落替换为类似的内容
[notification]
always_notify_owner = true
smtp_always_cc = !!你的邮件列表名字!!
smtp_password = !!密码!!
smtp_enabled = yes
smtp_replyto = !!回复给谁?通常是管理员或留空!!
smtp_port = 25
always_notify_reporter = yes
smtp_server = !!邮件服务器名字!!
smtp_from = !!邮件以谁的身份发出?通常是trac管理员!!
smtp_user = !!登录邮件服务器的用户名!!
Patch to replace GNU gzip with NetBSD gzip
The patch is available at: http://people.freebsd.org/~delphij/for_review/bsd_gzip/. Please note that this is considered experimental and it is preliminary for FreeBSD for now, while I think it is very mature code and has been available on NetBSD for years. Positive and negative feedbacks are all welcome.
参与评论我准备杀掉GNU gzip
最近一周FreeBSD发布了多个安全公告,其中有一个gzip的安全问题是Google的人发现的,由于gzip目前已经长期处于无人维护的状态,我认为是时候把这个程序杀掉了。(这次安全更新导致了某些文件无法解压缩)
阅读全文…GIF明天就自由了
今天看到ijliao长辈提到,根据Software Freedom Law Center的说法,明天GIF就是完全自由的了。
参与评论讲解IPv6的书
今天Qing LI在-developers邮件列表中介绍了他和神明达哉(Tatuya Jinmei)、Keiichi Shima两位KAME重量级人物共同撰写的关于KAME实现的书。从出版社的介绍来看,这本书将于11月正式发布。[更正:作者说,此书应在10月而非11月发布]
阅读全文…Bug fixed in rss.js
It turns out that just doing a substring “invalid” search within the XML DOM’s responseText is silly and I have replaced it with an explicit compare. This is still imperfect, though, but fairly bullet-proof as I added an “invalid” in recent blog which caused the RSS reader to consider the feed itself is invalid :-(
参与评论