Python 2.5的默认地位惨遭否定
今天终于尘埃落定了
共370篇文章。
今天终于尘埃落定了
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.
dengxf同学提到的一个问题,想了一下,想到的一个算法:
令为已知量,为目标量,为迭代轮数,
原理:第(2)步的循环将除最高位的所有0均置位。最后一步(3)修正这一值。
The patch is available at: http://
最近一周FreeBSD发布了多个安全公告,其中有一个gzip的安全问题是Google的人发现的,由于gzip目前已经长期处于无人维护的状态,我认为是时候把这个程序杀掉了。(这次安全更新导致了某些文件无法解压缩)
今天看
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 :-(
不知道为什么突然吵起来了……以前的NetBSD不是这样的。从邮件列表里面也看不出什么实际的线索,希望这次变动不会给NetBSD带来太不好的影响吧。
以前一直是装FreeBSD最小安装,因为感觉很多东西在服务器上根本用不到;又更有甚者,前几天甚至在考虑进一步精简系统,使其在服务器上安装尽可能少的文件(例如开发工具完全不安装)。结果今天发现了一个之前一直没有注意到的问题:game这个看似没用的distribution其实也还是蛮有用的,比如生成素数表,等等。