Adobe Flex 即将开源

Posted on 27th April 2007 by Nio in 程序人生

这不是愚人节玩笑,Adobe 宣布 Flex 即将开源

Adobe to Open Source Flex
For immediate release
Gives Developers Ability to Enhance Flex Framework for Delivering Rich Internet Applications

SAN JOSE, Calif. — April 26, 2007 — Adobe Systems Incorporated (Nasdaq: ADBE) today announced plans to release source code for Adobe® Flex™ as open source. This initiative will let developers worldwide participate in the growth of the industry's most advanced framework for building cross-operating system rich Internet applications (RIAs) for the Web and enabling new Apollo applications for the desktop. The open source Flex SDK and documentation will be available under the Mozilla Public License (MPL). [....]

离别

Posted on 22nd April 2007 by Nio in 宝宝, 日常生活

今天送宝宝到火车站,这小子将跟随外公外婆在河南生活几个月。我们当然是舍不得的,但却没有办法,因为我们都要上班,每天就是早上、晚上能和他玩一会儿,他晚上八点左右睡觉,所以加起来一天也就两个小时左右。看着他慢慢长大,每天都有不同的变化,总是给我们带来欢乐。我们会想他的,天天都会想,还好五一假期马上就到了,可以陪他好好玩几天。

Open Source!

Posted on 20th April 2007 by Nio in 程序人生

盖茨北大演讲遭遇反垄断抗议

os.jpg

我们需要这种精神!

宝宝一岁4个月

Posted on 17th April 2007 by Nio in 宝宝, 日常生活

最近一段时间比较忙,没怎么更新blog。
今天宝宝已经一岁4个月了,学会了飞吻,亲人脸,能听懂很多话,尿尿会主动蹲下或指着去厕所,一大进步呀,呵呵。
上周末带他去了天安门,贴几张照片吧 ;)

2.jpg

4.jpg

8.jpg

17.jpg

PHP 5.2 中使用了新的内存管理器

Posted on 11th April 2007 by Nio in 程序人生

来自 IBM 的文章:PHP V5.2 中的新增功能,第 1 部分: 使用新的内存管理器

了解如何使用 PHP V5.2 中引入的新内存管理器并开始精通于跟踪和监视内存使用情况。这将使您可以在 PHP V5.2 中更加有效地使用更多的内存。

对于 Linux 用户,可使用 –memory-limit-enabled 选项。看看下边的一段代码:


<?php
echo memory_get_usage() . "n"// 36640
$a str_repeat("Hello"4242);
echo memory_get_usage() . "n"// 57960
unset($a);
echo memory_get_usage() . "n"// 36744
?>

这样你就可以在 PHP 代码中自行检测内存使用情况了,对于调试而言是非常有用的,当然也可以使用 Xdebug 之类的工具。