| 機関車 | 1820年代 | >>> | 高速電鉄 | 1980年代 |
| 自動車 | 1900年代 | >>> | 電気自動車 | 2010年代 |
| 飛行機 | 1930年代 | >>> | ジャンボ機 | 1970年代 |
| メインフレーム | 1960年代 | >>> | ??? | 20?0年代 |
| PC | 1990年代 | >>> | ??? | 20?0年代 |
| クラウド | 2010年代 | >>> | ??? | 20?0年代 |
搜索此博客
2010年10月28日星期四
機関車、自動車、飛行機 & メインフレーム、PC、クラウド
2010年10月20日星期三
Work, Worship and Wisdom
Without flowers you cannot have fruits.
The maturation of the flowers into the unripe fruits and then into the ripe fruits,
is the path of self-realization.
The flowering stage is the path of service.
When it progresses to the unripe fruits it is the path of devotion.
When the fruits become ripe and full of the sweet nectar of wisdom,
then it becomes the path of self-knowledge. At that point, the flowers of good works and service
have transformed themselves through love and devotion into the sweet fruits of wisdom.
Therefore, good works lead naturally to worship and detachment, and on to wisdom.
On the spiritual path, it is not enough to just worship; you must also engage in good works.
But your works become worship when you steep every deed with love for the Lord and offer all your works to him.
As long as you are in this world, you must be engaged in work.
Work is very important for human beings.
It is through your work and activities that you learn to harmonize thoughts, words and deeds.
For great souls, thoughts, words and deeds are always one.
At first you will yearn for the fruits of your work.
In the beginning, when there is still a great deal of desire,
you will not be able to perform your work without a desire to enjoy the fruits.
Later, however, you will become totally selfless and unconcerned with the fruits of your work.
In that way, gradually, your work becomes converted into worship and, in time,
you will be doing everything only for the love of God.
Truth is one, but the sages call it by many names.
The divinity is one, but many names are used to speak of this one absolute reality.
From the one come the many.
When a child is born it is called a baby.
As it grows up it becomes a youth.
After twenty years it becomes an adult and later a parent.
Later still in life, it becomes a grandparent.
But these are all one and the same entity.
Similarly, the ultimate reality is always one and the same.
When you realize this unity and remain firmly established in the one divinity
underlying all the changing names and forms, you will have achieved something that is truly worthwhile.
Sri Sathya Sai Baba
The maturation of the flowers into the unripe fruits and then into the ripe fruits,
is the path of self-realization.
The flowering stage is the path of service.
When it progresses to the unripe fruits it is the path of devotion.
When the fruits become ripe and full of the sweet nectar of wisdom,
then it becomes the path of self-knowledge. At that point, the flowers of good works and service
have transformed themselves through love and devotion into the sweet fruits of wisdom.
Therefore, good works lead naturally to worship and detachment, and on to wisdom.
On the spiritual path, it is not enough to just worship; you must also engage in good works.
But your works become worship when you steep every deed with love for the Lord and offer all your works to him.
As long as you are in this world, you must be engaged in work.
Work is very important for human beings.
It is through your work and activities that you learn to harmonize thoughts, words and deeds.
For great souls, thoughts, words and deeds are always one.
At first you will yearn for the fruits of your work.
In the beginning, when there is still a great deal of desire,
you will not be able to perform your work without a desire to enjoy the fruits.
Later, however, you will become totally selfless and unconcerned with the fruits of your work.
In that way, gradually, your work becomes converted into worship and, in time,
you will be doing everything only for the love of God.
Truth is one, but the sages call it by many names.
The divinity is one, but many names are used to speak of this one absolute reality.
From the one come the many.
When a child is born it is called a baby.
As it grows up it becomes a youth.
After twenty years it becomes an adult and later a parent.
Later still in life, it becomes a grandparent.
But these are all one and the same entity.
Similarly, the ultimate reality is always one and the same.
When you realize this unity and remain firmly established in the one divinity
underlying all the changing names and forms, you will have achieved something that is truly worthwhile.
Sri Sathya Sai Baba
2010年10月13日星期三
「ライト、ついてますか」読後感
ユーザはシステムが提供する機能がほしいのであって、システムを構成するハードウェアやソフトウェアがほしいのではない。
もし、ユーザがほしい機能を提供できるシステムがすでにあるのであれば、ユーザはわざわざ大金を費やして自らシステムを構築したりしない。
しかし・・・
Gerald M. Weinberg 曰く
「ちょっとみたところと違って人々は、くれといったものを出してやるまでは何がほしかったか知らぬものである。」
利害関係の渦の中で開発される大規模な業務システムともなると、よほど明確なゴールと強力(協力)なリーダシップがない限り、システム開発は失敗しないほうがおかしい。システム開発の成功、失敗をどのように定義するかは別の話になる。
もし、ユーザがほしい機能を提供できるシステムがすでにあるのであれば、ユーザはわざわざ大金を費やして自らシステムを構築したりしない。
しかし・・・
Gerald M. Weinberg 曰く
「ちょっとみたところと違って人々は、くれといったものを出してやるまでは何がほしかったか知らぬものである。」
利害関係の渦の中で開発される大規模な業務システムともなると、よほど明確なゴールと強力(協力)なリーダシップがない限り、システム開発は失敗しないほうがおかしい。システム開発の成功、失敗をどのように定義するかは別の話になる。
2010年9月5日星期日
ソフトウェアの仕様書は料理のレシピに似ている
ソフトウェアの仕様書は料理のレシピに似ている
ちなみに、この話を書いていて思ったのだが、プログラムの仕様書は料理のレシピに似ている。ソフトウェアのアーキテクトが自らプログラムを書いたり、下っ 端のエンジニアの書いたコードをレビューするのは、レストランのシェフが自ら料理をしたり、下っ端の料理人の作ったスープの味見をするとの同じである。も ちろん、レストランに行く側の立場になってみれば、そんなレストランで食事をしたいのは当然である。シェフがレシピだけ書いてキッチンにも立たないレスト ランには行きたくないし、ましてや自分で料理したこともないシェフが書いたレシピを元に作った料理がおいしいわけがない。 --中島聡2010年8月25日星期三
業務システムの仕様書を書くのに適した言語
業務システムの画面表示仕様やデータ処理仕様には業務用語が沢山使われる。
これらの業務用語は、業務データ(もの)を表すものもあれば業務処理(事)を表すものもある。
五万とある業務用語をすべて明確に定義しない限り、仕様書に曖昧さはつきものである。
形式言語(例えば、Z言語)を用いれば曖昧さはなくせるかも知れないが、特別な訓練を受けない限り、仕様書の記述と理解は極めて困難になる。
なので、業務システムの仕様を記述する言語には、自然言語の分かりやすさと形式言語の厳密さとのバランスが必要である。最近欧米でPython言語がポピュラになっているのも、英語を使う人から見ればPythonはJavaよりバランスが取れているからだと思う。ただし、Pythonは変数や関数をAlphabetでしか記述できないので、日本の業務システム開発現場では、Java言語の方が向いていると思う。
これらの業務用語は、業務データ(もの)を表すものもあれば業務処理(事)を表すものもある。
五万とある業務用語をすべて明確に定義しない限り、仕様書に曖昧さはつきものである。
形式言語(例えば、Z言語)を用いれば曖昧さはなくせるかも知れないが、特別な訓練を受けない限り、仕様書の記述と理解は極めて困難になる。
なので、業務システムの仕様を記述する言語には、自然言語の分かりやすさと形式言語の厳密さとのバランスが必要である。最近欧米でPython言語がポピュラになっているのも、英語を使う人から見ればPythonはJavaよりバランスが取れているからだと思う。ただし、Pythonは変数や関数をAlphabetでしか記述できないので、日本の業務システム開発現場では、Java言語の方が向いていると思う。
2010年8月24日星期二
要求、仕様、設計、実装
要求:
抽象的に、分かり易く表現する。
コスト、納期のトレードオフの中で取捨選択する。
仕様:
厳密に表現し、測定可能でなければならない。
コスト、納期のトレードオフの中で決める。
設計(仕組み):
シンプルに、保守しやすい構造(構成)にする。
コスト、納期のトレードオフの中で改良を続ける。
実装(コード):
簡潔に、分かり易くコードを記述する。
時間が許す限り磨きをかける。
また、コメントにはコードの必要性を裏付ける”事情”を必ず書いておく。
コードを見ればわかるような内容をコメントに書く必要はない。
抽象的に、分かり易く表現する。
コスト、納期のトレードオフの中で取捨選択する。
仕様:
厳密に表現し、測定可能でなければならない。
コスト、納期のトレードオフの中で決める。
設計(仕組み):
シンプルに、保守しやすい構造(構成)にする。
コスト、納期のトレードオフの中で改良を続ける。
実装(コード):
簡潔に、分かり易くコードを記述する。
時間が許す限り磨きをかける。
また、コメントにはコードの必要性を裏付ける”事情”を必ず書いておく。
コードを見ればわかるような内容をコメントに書く必要はない。
2010年8月19日星期四
システム開発が決まったら
システム開発が決まったら
まずは、データ仕様について分析する。
管理対象となる業務データのかたまり(エンティティ)を識別し、
必要な属性と識別子(データの粒度)を洗い出す。
業務プロセスを加味する。
承認ステータス、手配ステータスと言ったステータス項目が増える。
データの追跡可能性やセキュリティと言ったことを加味する。
赤黒区分、履歴番号、論理削除フラグと言った項目や最終更新者、最終更新時刻と言った項目が増える。
外部システムとのデータ連携を加味する。
外部システムとのデータ整合性を保証するための外部データのキー項目が増える。
ここまで分析できたら、以下を設計する。
機能概要
まずは、データ仕様について分析する。
管理対象となる業務データのかたまり(エンティティ)を識別し、
必要な属性と識別子(データの粒度)を洗い出す。
業務プロセスを加味する。
承認ステータス、手配ステータスと言ったステータス項目が増える。
データの追跡可能性やセキュリティと言ったことを加味する。
赤黒区分、履歴番号、論理削除フラグと言った項目や最終更新者、最終更新時刻と言った項目が増える。
外部システムとのデータ連携を加味する。
外部システムとのデータ整合性を保証するための外部データのキー項目が増える。
ここまで分析できたら、以下を設計する。
- コード体系
- データベース
- システム構成(HW、MW、NW)
- アプリのアーキテクチャ
- 個別機能
機能概要
- 機能が必要な理由
- 画面モックアップ
- ボタンなど押された時実行される処理について
- 想定される使い方
- レイアウト(セクション、タブ、フレームなど)
- 表示項目(表示するデータ項目)
- 表示フォーマット(日付、時刻、数値、電話番号、郵便番号など)
- 表示ステータス(表示・非表示、活性・非活性)
- 見栄え(フォント、色など)
- コントロールの種類(テキスト、プールダウン、ラジオボタンなど)
- Javascriptによる動き
- Actionと遷移先
- 子画面表示
- 戻る
- トランザクション
- 制御フロー
- データ加工
订阅:
博文 (Atom)