又熬夜看球了

Posted on 15th June 2005 by Nio in 日常生活

抵挡不住球赛的诱惑,还是熬夜看球了,还好国青没有让大家失望,以少打多还能 3:2 胜出, 比赛也是精彩绝伦,一波三折,越看约精神。不过白天可就惨了,困~~~~

快乐周末

Posted on 12th June 2005 by Nio in 日常生活

昨天一帮朋友聚会来着,炎热的夏天已经逼进,聚会却越发多了起来,可能是这一段时间容易让大家想起以前在一起时的快乐时光吧。这一段公司出了很多问题,lcs 走了,Yuffei 也走了,再往前,kiya、旺才、、新霞、Pride、E+……,看着一个个好朋友的离开,真的很无奈~这一段时间我也是郁闷,开始厌恶争吵,厌恶自己的工作,我想要新的生活,忘掉不愉快的一切,快了,这一刻正在到来,企盼着~不过不管这一段多么地不开心,一帮朋友在一起,却又什么都抛到九霄云外去了,玩 PS2、XBOX,吃大量的垃圾食品,kiya 对于这些东东的需求依旧是那样,虽然快半年没一起吃饭了,也没改变过 :),看来人的秉性还是很难改变的呀。倒是新霞姐变瘦了,最近的减肥方法很有效,这导致她的到来立刻被女士们包围,咨询减肥秘方 :D。旺才带了 MM 过来,她很喜欢猫,满屋子追赶 Yuffei 家的猫猫们。对于旺才这个键盘高手来说,使用手柄的 PS2 完全地陌生,和 Data 挑实况足球,被灭了两回。。。。

就这样开心到晚上十点多吃完晚饭回家,洗澡之后躺在床上看中青队对土耳其的比赛,最后时刻赵旭日的世界波使的中青队 2:1 胜出,爆了一个冷门,这种完美结局,竟然出现在中国足球队身上,一种很美妙的感觉,也算是给这个快乐的周末画上了圆满的句号吧。

PHP 5.1 Beta 1 Available

Posted on 11th June 2005 by Nio in 程序人生

image [10-Jun-2005] PHP 5.1 Beta 1 is now available! A lot of work has been put into this upcoming release and we believe it is ready for public testing.

Some of the key improvements of PHP 5.1 include:

* PDO (PHP Data Objects) - A new native database abstraction layer providing performance, ease-of-use, and flexibility.
* Significantly improved performance including a new Zend Engine II execution architecture.
* The PCRE extension has been updated to PCRE 5.0.
* Many more improvements including lots of new functionality & many bug fixes, especially in regards to SOAP, streams and SPL.
* See the bundled NEWS file for a more complete list of changes.

Everyone is encouraged to start playing with this beta, although it is not yet recommended for mission-critical production use.

ADOdb Lite

Posted on 10th June 2005 by Nio in 程序人生

image ADOdb Lite was a result of a need for a very small, fast ADOdb library for a browser based game we have been working on for over two years called Alien Assault Traders.

We noticed that the ADOdb package was consuming over 640k of ram for each HTTP access. This was even greater than the amount used by the biggest PHP program file used in the game. In effect the ADODB library was consuming vastly more resources than the game itself. This greatly restricts the number of players that can be online at the same time in respect to the amount of memory required by each client.

Currently, ADOdb Lite uses 80-85k of system ram for each HTTP access. This is about an 87% smaller memory footprint. A side benefit is an increase in speed. The speed increase will vary depending upon the database. This is also a great replacement for extremely HIGH traffic web sites.

We decided to create an ADO database library that was compatible with ADOdb and used far less memory when executed. This library has a very restricted command set and eliminates most of the esoteric commands that will not be used by most websites.

ADOdb Lite is a drop in replacement for ADOdb as long as you are not using unsupported commands on your website.

The following databases are supported:
Databasetype Designator (Database Name)
fbsq (Frontbase)
maxdb (Max DB)
msql (Mini SQL)
mssql (Microsoft SQL)
mysql (MySql)
mysqli (MySql Improved)
mysqlt (MySql w/transactions)
postgres (PostGres)
postgres64 (PostGres 6.4)
postgres7 (PostGres 7)
sqlite (SqLite)
sybase (SyBase)

The only databases that have been fully tested are the MySql databases. Drivers have been provided for the other databases and they should work. I would appreciate it if users would report how well the other database drivers function.没用过,不知道是否真的这样,有时间试试 :)

公司五周年庆

Posted on 8th June 2005 by Nio in 日常生活

今天是 PHP 1.0 发布十周年,而恰好是我所在公司的五周年庆,说起来我们公司也是依托 PHP 一起成长的 :) 今天活动的内容是上午在玉渊潭进行划船比赛,中午在中央电视塔旋转餐厅吃自助餐,下午到钱柜进行 K 歌大赛,还是很丰富的,玩得也很开心。

image
– 从中央电视塔往下拍的照片,可惜阴天,能见度不好

image
– 进入旋转餐厅的楼道