postgres数据库安装

D:compierepgsqlbin>initdb -D d:/compiere/pgsql/data -E UTF8 –locale=C
The default text search configuration will be set to “english”.

creating subdirectories … 100
selecting default shared_buffers/max_fsm_pages … 32MB/204800
创建配置文件 … initializing pg_authid … initializing dependencies … 创建系
统视图 … loading system objects’ descriptions … 创建字符集转换 … creating
dictionaries … 对内建对象设置权限 … 创建信息模式 … 清理数据库 template1 ..
. 拷贝 template1 到 template0 … copying template1 to postgres …
警告: 为本地连接启动了 “trust” 认证.
你可以通过编辑 pg_hba.conf 更改或你下
次运行 initdb 时使用 -A 选项.

Success. You can now start the database server using:

“postgres” -D “d:/compiere/pgsql/data”
or
“pg_ctl” -D “d:/compiere/pgsql/data” -l logfile start

论法的精神

孟德斯鸠的巨著,提出了三权分立。很系统的分析了各种政治体制和人的关系。即使是200多年后的今天看来也依然是很严谨,准确的分析。200多年前,已经有人如此了解全世界,包括各种各样的哲学思想,洞悉历史,而我们那时候还是在自己的地盘上“打麻将“,推倒重来,推倒重来。从来都不屑去了解外面的世界,似乎我们根本不需要世界上的其他人。

书中提到了亚洲最多的三个国家就是印度,中华帝国和日本。他说:
印度因为其种姓制度和炎热气候,是得这个民族非常的懒,在印度的宗教里有一个最主要的主张就是“虚静“,就是不做任何事。不改变。
日本同样因为是君主立宪,天皇是所有人要效忠的。所以这个民族对生命非常轻视,表现为很随意的杀人和自杀。
有关中华帝国似乎说到的都是好的,比如勤劳,繁衍能力强(也是和气候有关),以及无法长时间的统一,中央集权虽然无法长久的保留广大的领土,但似乎也没有其他更好的制度。

或者是我愚钝吧,很多问题看到都有茅塞顿开的感觉。也许这就是大师吧。

技术分析

我承认,港股的直线下挫其实是我拖累的,直至2008年10月27日恒指已经跌到11015点。
因为我年初买了两手建行,结果波动了几个月之后开始全线暴跌。前几天还想逆势补仓,结果又令恒指狂跌,股票再次缩水40%。
唉,我有罪,我有罪。不该为了自己而拖累了所有人。Down Down Down 

BPM in MRP

There is a clear link between capacity planning in a workflow environment and in a production environment. Many concepts used in MRP systems can be directly transfered into workflow management systems. Rather than the BOM,however it is now the process definition which is starting point.
–worflow management system, wil van der aalst
Powered by MoFire

proposal writing tips (from internet)

Before you begin preparation of your proposal, carefully read the “Request for
Proposals” (RFP) and “Frequently Asked Questions” (FAQs) to clearly understand the
issues to be addressed and the information you are required to submit.
All proposals must include certain basic information. These basics include:
Why are you doing this project?
What will you be doing?
How will you be doing it?
Who will be doing it?
Where will it be done?
How long will it take?
How much will it cost?
The following generic proposal template is provided for guidance only. The USISTF does
not require a specific format. Follow this format in organizing your thoughts for preparing
your proposal.
Executive Summary: Some people consider this the most important part of the proposal
because it is the reviewer’s first impression. Even though it appears first, write it last
because it is a summary of the proposal. The executive summary is a concise
description of the project covering objectives, need, methodology, and dissemination
plans. It should identify the expected outcomes of the project. An executive summary
should be less than 750 words and fit on one page.
Need: Well-documented description of the problem to be addressed and why it is
important. Use support information, statistics and/or succinct statements to make your
point. This section should describe the significance, timeliness, and importance of the
project. Make a compelling case for it. Why should the sponsor give you funding?
U.S.-Israel Science & Technology Foundation — USISTF Page 2 of 2
Objectives: Indicate the expected outcomes of the project, preferably in measurable
terms. This shows what you will do, for whom, by how much, and by when. When the
project is completed, you will be able to evaluate it and determine whether the project
succeeded or not in achieving its objectives. Identify short-term and long-term
objectives.
Methods: The critical part of the proposal and is the longest part and worth the most
points. It is a plan of action for how the objectives will be achieved. This section usually
starts with a description of the overall approach, its relevance, effectiveness, and
innovativeness. Then it gives details on methodology, the population being addressed,
and how anticipated problems will be managed.
Evaluation: Describes the means by which the grantee and funding agency will know if
the project has accomplished its objectives. It may also describe plans for collecting
additional information to improve the project. What is the purpose of the evaluation, what
data will be collected, how will it be analyzed, and how will the results be reported?
Plans for disseminating products and findings to the sponsor and to the community at
large can also be described in this section. How will the results of this program be
disseminated?
Qualifications: This section outlines the ability of the grantee to successfully complete
the project. Show prior related experience, describe facilities, and equipment available.
Importantly, list key personnel who will work on the project and include their resumes.
Also mention any consultants who will work on the project, and give evidence (a letter, email)
that they have agreed to participate.
Timetable: Describe how long (days, months) specific tasks or components of the project
will take. If possible, include a milestone chart in this section.
Budget: Show the annual and overall cost of the project. A detailed budget should be
divided into categories such as salaries, fringe benefits, travel, supplies, equipment, etc.
Indirect costs should also be shown. Sub-categories should provide a line item detailed
breakdown of the funds requested. This should be accompanied with a budget narrative
to clarify and justify the figures. If matching funds are to be provided by the grantee,
identify the amount and budget category. The USISTF requires use of a specific budget
form.
Image Counts: The appearance of your proposal does make an impression on the
reviewer. The narrative description should not exceed 10 typed, Letter-Size (8.5” x 11″),
single-spaced pages, 12-point font. The proposal should be neat and readable, and it is
recommended to complete it at least a day or two before the deadline.

seven forms of bpm – after read

seven forms of bpm – after read

use case 1:bpm as a discipline
refers to the analysis, documentation and improvement of the procedures that
describe how people and systems work together in an organization.
In the context of BPM as a discipline, we believe that a process model
from a non technical business analyst can never be translated into an executable process model by
just adding technical details to it.
Who is going to spend the time to link the
analysis blocks to the executable blocks and then keep that mapping up to date.
jBPM’s jPDL language is designed to facilitate this approach. First of all, it’s based on free graph
modeling. Secondly, it has so called actions, which can be seen as event listeners.
This allows the developer to add programming logic without
changing the diagram structure.
Also super-states are often used in the context of creating better
communication between business analyst and developer.

Use Case 2 : Combining template based and ad hoc task management
But what
is often overlooked is that template based task orchestration only suits for a limited number of
scenarios.
First the process must be relatively stable. And secondly, enough executions of this
process have to happen so that the gain that can be achieved with software support is worth the
development effort.
In jBPM 4, the task management component will support this ad hoc human tasks. The
combination will be awsome. Human tasks in processes can be specified at a course grained level.

Use case 3 : Transactional asynchronous architectures
BPEL also focuses on asynchronous architectures, but then in a (web) services environment, rather
then a Java environment.
From the history
information it is very easy to collect valuable statistical information like the average time in each
step of the process.

Use case 4 : Service orchestration
Service orchestration is actually a variant of the previous use case ‘transactional asynchronous
architectures’.

Use Case 5 : Visual programming
With visual programming, we will target developers that do not yet have the full skillset to develop
in Java.
But visual
programming can lower the treshold to build applications for developers that have no or limited
Java knowledge.

Use Case 6 : Thread Control Language
We’ll develop a Thread Control Language which lets you specify a multithreaded Java concurrency
by drawing forks, joins and method activities.

Use Case 7 : Easy creation of DSLs
General purpose process languages are different from domain specific process languages.
There is even an easier way. Instead of creating a full process language for a specific purpose, it is
also possible to leverage jPDL’s capabilities and just add new node types to it.

心理进化

前几天看到了一个关于人类进化的节目,说人类现在已经到了进化的最高阶段,而且由于医疗卫生条件的提高,人类已经丧失了进化的能力 – 因为正常的进化高峰是20岁之前,而现在大多数人都可以顺顺利利活过20岁,因为自然条件已经无法决定人类的优胜劣汰了。虽说自己不是很懂这些理论,但也觉得有点道理。
不知道这里所谓的进化是指哪些方面的进化,应该只是生理方面的。而现在人类也许正在心理心智方面的进化的高峰期。
心理上的进化,也许就是现在常见的人和人的依赖和信任将变得越来越不重要,最终归为对机器完全依赖或者对信息甄别的疲于奔命了。真的到了那个阶段,也许人的大脑将开始处理信息能力的进化。