7/28/2008

java中transient关键字

transient
  Java语言的关键字,用来表示一个域不是该对象串行化的一部分。当一个对象被串行化的时候,transient型变量的值不包括在串行化的表示中,然而非transient型的变量是被包括进去的。

Read more...

7/25/2008

创意投资方向

美国风险投资机构Y Combinator合伙人、知名天使投资人Paul Graham日前撰文,首次透露了Y Combinator愿意进行投资的30大创意。他的看法或许代表了硅谷风投机构的普遍看法.

1.解决版权纠纷的方法

由索尼和环球提起的音乐版权诉讼不仅给文件共享软件的发展造成障碍,也破坏了自己的业务模型。目前的局面决不是最终的解决方案。除了音乐,电影行业未来也将面临类似问题。

Read more...

7/14/2008

Endo-Testing: Unit Testing with Mock Objects

1.Introduction

Unit testing is a fundamental practice in Extreme Programming , but most nontrivial
code is difficult to test in isolation. You need to make sure that you test one feature at a
time, and you want to be notified as soon as any problem occurs. Normal unit testing is hard
because you are trying to test the code from outside.

Read more...

7/11/2008

XML元数据交换开源工具-------ArgoUML

ArgoUML was conceived as a tool and environment for use in the analysis and design of object-oriented software systems. In this sense it is similar to many of the commercial CASE tools that are sold as tools for modeling software systems. ArgoUML has a number of very important distinctions from many of these tools.

1. It is free.

2. ArgoUML draws on research in cognitive psychology to provide novel features that increase productivity
by supporting the cognitive needs of object-oriented software designers and architects.

3. ArgoUML supports open standards extensively - UML, XMI, SVG, OCL and others.

4. ArgoUML is a 100% pure Java application. This allows ArgoUML to run on all platforms for
which a reliable port of the Java2 platform is available.

5. ArgoUML is an open source project. The availability of the source ensures that a new generation of
software designers and researchers now have a proven framework from which they can drive the
development and evolution of CASE tool technologies.

Read more...

7/09/2008

CruiseControl

CruiseControl is a framework for a continuous build process. It includes, but is not limited to, plugins for email notification, Ant, and various source control tools. A web interface is provided to view the details of the current and previous builds.

CruiseControl is distributed under a BSD-style license and is free for use. CruiseControl adheres to an open source model and therefore makes the source code freely available.

CruiseControl is maintained and developed by a group of dedicated volunteers.

What is Continuous Integration?
Continuous Integration by Martin Fowler and Matthew Foemmel.

An important part of any software development process is getting reliable builds of the software. Despite its importance, we are often surprised when this isn't done. We stress a fully automated and reproducible build, including testing, that runs many times a day. This allows each developer to integrate daily thus reducing integration problems.

Overview
CruiseControl is composed of 3 main modules:

the build loop: core of the system, it triggers build cycles then notifies various listeners (users) using various publishing techniques. The trigger can be internal (scheduled or upon changes in a SCM) or external. It is configured in a xml file which maps the build cycles to certain tasks, thanks to a system of plugins. Depending on configuration, it may produce build artifacts.
the legacy reporting allows the users to browse the results of the builds and access the artifacts
the dashboard provides a visual representation of all project build statuses.
This modularity allows users to install CruiseControl where it will best fit their needs and environment.

Using remoting technologies (HTTP, RMI), it is possible to control and monitor the CruiseControl build loop. Those are turned off by default for obvious security reasons.

CruiseControl can be installed from source, or using the all in one binary installation

Read more...

7/07/2008

在外企混的一些潜台词------真的都用到了

一些在外企经常用到的单词,怪搞笑的说法,很有意思,也真的都遇到了.

Unacceptable: 老外打小受的教育是人要以表扬鼓励为主,所以老外批评人比较含
蓄.说你这件事办的unacceptable,已经算是说的很重了,中国老板在外企混久了,也便
跟着装逼起来, 对你不满,写email给你,左一个unacceptable右一unacceptable
潜台词相当于:你这个傻逼,你奶奶个熊,给老子小心点,X你妈的,等等.

Read more...