宝宝新照片

Posted on 15th August 2006 by Nio in 宝宝, 日常生活

前一段时间宝宝拉肚子,有点肠炎,现在已经好了,精神状态也恢复了,于是今天给他拍了几张照片,貌似有段时间没拍照了。

DSC04623_resize.JPG

DSC04624_resize.JPG

(more…)

An Architect’s Perspective on Application Quality: Part 2

Posted on 14th August 2006 by Nio in 程序人生

An Architect's Perspective on Application Quality: Part 2

I do not claim to be an expert in the area of quality, but as an architect for a business area that includes multiple systems, it is my responsibility to define solutions that are functionally accurate, performant, robust and reliable. These application characteristics can only be achieved with focus on quality. From an abstract viewpoint, heightened levels of quality require processes that impose more scrutiny of the product, which inherently translates to time and resources. In the acceptance of my responsibility, I must apply pragmatism to my architectural decisions to best help the business reach achievable goals within their targeted budget. It is from within this paradigm that I provide my commentary on quality. [....]

Stored Procedure Programming for MySQL5

Posted on 9th August 2006 by Nio in 程序人生

Part 1, and Part 2

With the release of MySQL5 a bold new world opens up to the PHP developer… the world of a database programmer. In this world the interaction with the data can be done right where the data is located - not in a script that is far far away in a distant server. In this article we will be taking you on a journey that will introduce you to MySQL's stored procedures.

漫长的一天

Posted on 8th August 2006 by Nio in 工作忙碌, 程序人生

由于最近发现这台机器的硬盘出现问题,有很多坏道,已经造成了一些文件的丢失,这样下去非常危险,于是今天下定决心换一块硬盘。结果由于各种原因,折腾了整整一天,中途还安装了 ubuntu,但发现桌面版不太适合我,所以又装回了 FC5。

之后是安装 apache/mysql/php,在启动 apache 服务的时候发现出现诡异的错误:


Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

后来查了一下才突然想起来,在安装 FC5 的时候,设置了 SULinux 为 enforcing,于是禁用了 SULinux,禁用的方法有两个:
1、修改 /boot/grub/grub.conf 文件,加入一行 selinux=0
2、修改 /etc/selinux/config 文件,将 SELINUX 设置为 disable:SELINUX=disabled
这两种方法都需要重启,重启之后就禁用掉了,可以用命令 sestatus 查看 SELinux 的当前状态。

幸运的是,现在 BLOG 已经恢复了 :) ,不过 SVN 还没有弄好…… :(

Update @8.9:早上把 SVN 也恢复了,嘻嘻。

Google Adsense 的支票

Posted on 7th August 2006 by Nio in 日常生活, 程序人生

今天收到了 Google Adsense 寄来的支票,从 2005 年 4 月份至今,才第一次收到 100$,好长时间呀~~ :|

平常自己也创建了几个 Google Adsense 的渠道,用于观察哪个页面广告点击数多,后来发现,其实 BaiduMp3 的点击极少,而我写的 WordPress 插件 Anti Spam ImageWebBakerCakePHP AJAX Demo 等等的点击却明显比较多,看来国外的到访者更加愿意“实施”一些点击,似乎这也是对编程者劳动的一种鼓励、一种赞赏。以后还是要多写一些全球通用的东东比较好,哈哈 :)

Update @8.9: 今天去农行办理了支票,手续费倒不贵,20RMB 搞定,但需要两周左右才能拿到钱。