Saturday, June 16, 2007

safari??!!!

有图为证

1. 访问lilybbs.net,结果:




















2. 访问 www.sina.com.cn,结果:





















莫非只是中文网页不正常?

3。访问blogspot上的blog,结果:









愚人节专用浏览器,或者是毕业设计?

上海老街游记

























1.香山路,老房子旁





















2. 香山路,中文学校





















3.泰康路,艺术作坊,屋顶





















4.泰康路,二井巷,巷门口小店

Friday, June 1, 2007

改用中文

使用英文每天记录blog,是一件实在坚持不下去的工作。从今天开始,我停止折磨自己了。

另外,今天装了上海电信的灵易通业务。发现:越是不灵的东西,越要宣传——上网相当的难通啊。营销确实很有力量。
灵易通,包月59元,带有小灵通的电话功能。通过msn传递文件,同时打开任务管理器,发现实际最大带宽是115k*67% = 77.5k。不知道115k是什么指标,我又回到了用猫拨号上网的年代。使用IE或者firefox浏览网络,觉得对这样的带宽是不是损耗太大了?于是几经周折,安装了windows版本的lynx。可是firefox真的会损耗带宽吗?有源代码,我可以考证一下。

安装完灵易通业务,回到办公室,发现大家有点歇斯底里。股票闹得?我对目前的工作比较满意,不过公司有很多资源还没有用上,学习中。

读了booch的blog,大师说软件系统扩大了,用电量和体积也变成了系统设计的一部分。他用了google做例子,google的服务器也是成栋楼的摆放,而且要靠近河边,利于散热。。。国外的软件的体量已经达到了这个地步了阿。目前的软硬件技术需要提高的地方还是很多阿。

大家都在说儿童节,还有7分钟就6.2了。祝妹妹节日快乐 :)

Wednesday, May 30, 2007

PersistenceDeleagate - alternative to persistent

PersistenceDeleagate is an another solution for persistent. This technique has two advantages:

1. Persistence function is separated to the third-party - the PersistenceDelegate, but not the object itself. This way, the deserialized form is no longer an integrated part of object public interface.

2. If developer is not owner of some class, he/she still can easily persist instances of the class.

The hard part is, some developer tend not to provide corresponding delegater, which make the default one hard to implement

Tuesday, May 29, 2007

Legend of Mainframe

The ancestor of mainframe computer are IBM 705 & IBM 1401. They respectively born in 1954 and the last year of the fifties of last century. These two machines are primarily now served as central data repository.
Then comes system 360 (s/360) - The third generation computer. It is the first general purpose computer. At this time, manufactures tended to standardize the HW & SW they offered to customers.

Friday, May 18, 2007

ls -t

ls -t sort files according to last modification date in descending order which is handy when finding out the latest modified files.

Tuesday, April 3, 2007

Annotation

Annotation just gives some structured explanation about source code.

ZZ:
Annotations have a much longer history than Java 5. They have been abundantly used in C# to specify meta-data in code. In Java, tools like XDoclet, Apache Commons, MetaClass, qDox, JAM and others have used special tags inside JavaDoc comments as annotations. Runtime annotations could be achieved in somewhat farfetched way by using Marker Interfaces or even implementing dummy methods. In Java 5, such tricks are no longer necessary as Annotations are now part of the core Java Programming Language.
ZZ

1. These explanations could be systematically extracted and processed during run time
This technique could make our run time behavior configurable
Refer to http://technology.amis.nl/blog/?p=1099

2. They could also act like type safe compiler directives. They inform apt( or javac in jdk6) to generate other resources. Hibernate, beehive uses it this way. Web Services in JDK6 also uses this technique.