In pursuit of code quality: Resolve to get FIT

Posted on 16th March 2006 by Nio in 程序人生

In pursuit of code quality: Resolve to get FIT

Whereas JUnit assumes that every aspect of testing is the domain of developers, the Framework for Integrated Tests (FIT) makes testing a collaboration between the business clients who write requirements and the developers who implement them. Does this mean that FIT and JUnit are competitors? Absolutely not! Code quality perfectionist Andrew Glover shows you how to combine the best of FIT and JUnit for better teamwork and effective end-to-end testing.

WordPress Plugin :: Anti Spam Image 0.2 released!

Posted on 15th March 2006 by Nio in BLOG, 程序人生

WordPress Plugin :: Anti Spam Image 0.2 released! 主要修复了两个 BUG,一个是出现验证码错误时,虽然评论已被删除,但与 post 一起的评论计数却没有回滚(rollback);另一个是 Danny 在使用时无法显示图片的问题,我猜想他所用的服务器 PHP 不支持 PNG 格式,所以这次在新版本中增加了 GIF、JPEG 的支持,使其适用性更强一些。

其实最初写一些 plugin 只是为了方便自己而已,但没想到发布出来之后会有这么多人使用,这也督促自己随时完善,毕竟大家所使用的环境不同,经常会出现不可用的状况,代码的兼容性显得尤为重要。有机会把 PHP Highlight 的 plugin 也发布出来,就是我的 BLOG 中现在正在使用的 PHP 语法加亮插件,示例如下:


<?php
echo 'Hello, world!';
?>

运动的一天

Posted on 15th March 2006 by Nio in 日常生活

下午和文学馆的兄弟们打了一场友谊比赛,没裁判的,结果把我的小拇指指甲给劈了,流了些血,不过打球过程中完全没有注意到,可能是太投入了,呵呵。对方有一位大个打得很好,能传能投,组织水平也很高。我们这边的几个同事平常只是简单地投篮,从来没配合过,所以比较被动。还好我们有强力中锋 MDK,让他抢篮板、上篮,而我和 Data 主要是外线进攻较多。打到后来,我那双不争气的李宁鞋竟然开始严重掉底,NND,这鞋也太烂了,还好是姐夫送的,要是自己买的还不心痛死。回到办公室之后先要了创口贴把指甲劈开的地方贴上,然后拿书扇风降温,我们几个早已汗流浃背,今天天气真的暖和了许多,春天已经到了,就在我们身边。

下了班之后,我们又来到嘉铭桐城的一个学校里头打羽毛球,虽然下午篮球消耗了不少体力,但一小时的羽毛球也没丝毫感觉到累,也许运动真的可以让人变得年轻。小丢同学也在我们的劝说之下参与了这次的羽毛球活动,女孩子多运动有好处,特别是羽毛球、游泳之类的,君不见国家队的各个女选手身材都很好吗,哈哈!:D

打完羽毛球之后天已经黑了,到亚运村吃了晚饭--喝粥,然后到北辰购物中心四层选购了一款 361 的旅游鞋,打七折,236,还不错,希望能够为明天的篮球运动增添活力,嘻嘻 :) 最后到五层请陪我一起买鞋的各位吃 DQ,我还是依旧要了绿茶的,只是让我万万没想到的是小丢也喜欢绿茶的~~我这人比较喜欢标新立异,以后决定换个喜好,嘎嘎~~

PS:以后再也不买李宁的旅游鞋了,吃一堑,长一智呀!

WordPress 2.0.2 Security Release!

Posted on 10th March 2006 by Nio in BLOG, 程序人生

WordPress 出现重大安全问题,使用者应立即下载 2.0.2 版本进行升级,以免留下隐患。

An important security issue has been brought to the attention of the WordPress team and we have worked diligently to bring you a new stable release that addresses it. Our latest version 2.0.2 contains several bugfixes and security fixes.

The problems addressed are unannounced XSS issues privately discovered and reported to the WordPress team. Thanks to Mark Jaquith, Robert Deaton, and David House for assisting with this release.

Zend Framework 0.1.2 released

Posted on 9th March 2006 by Nio in Zend Framework, 程序人生

=RELEASE 0.1.2 / 8-Mar-2006=
- Unit test suite is now included. (Mike)
- Docs for Zend_Controller are now included. (Mike)
- Coding standards were out of date. Reported by Steph Fox. (Mike)

- Fixed default charset in Zend_Mail constructor. Reported by Jakob Buchgraber. (Mike)

- Fixed several Zend_Filter methods. (Chris)
- Fixed JSON datum encoding. Reported by Edwin Vlieg. (Mike)
- Fixed FormRadio Helper. Reported by AJ Tarachanowicz. (Chris)
- Fixed Zend_Uri_Http to work with new Zend_Filter. (Chris, Mike)

- Docs for the Zend_Db::factory() method were incorrect. Reported by Dinh. (Chris) - Zend::loadClass() now works inside __autoload(). Reported by Rob Allen. (Mike) - Fixed notices from Zend_Pdf_Element_Dictionary. Reported by Ralf Eggert. (Alex) - Fixed notices from Zend_Search_Lucene_Index_SegmentWriter. Reported by Jared Williams. (Alex)

- Removed defunct Zend_Db_DataObject docs. (Mike)
- Added NEWS.txt file (Andi)