Monday, May 31, 2010

C++ and OTcl Linkage: Why Two Languages?

Note: The content in this series is extracted from the book, Introduction to Network Simulator NS2. You may have to read chapter 3 of the book for better understanding.

Introduction

NS2 consists mainly of two languages: C++ and OTcl. Each of these two languages has its own strengths and weaknesses. NS2 beautifully integrates these two languages to draw out their strengths. For most of the time, you would not need to know the integration mechanism. But you need to know the strength and weaknesses of these two languages in order to apply them properly.

Saturday, May 29, 2010

Entrepreneurship and Poverty -- The Leader's Way, Chapter 8


"Poverty is a problem of the mind, not the lack of resources or the lack of intelligence of the people."
In order to improve poverty,
  • Government must be motivated to help.
  • Economy system must be a responsible one.
  • Regulation must stimulate entrepreneurship
  • Fair banking, property right, and family planning must be in place.
Poverty usually congregates around the poor. These people need to spend less, leading to stagnant economy and more unemployment. The government
needs to promote entrepreneurship among the poor. This will alleviate poverty
and increase liquidity.

Tuesday, May 25, 2010

C++ and OTcl Linkage

Note: The content in this series is extracted from the book, Introduction to Network Simulator NS2. You may have to read chapter 3 of the book for better understanding.

Introduction

NS2 consists of two languages: C++ and OTcl. For most of the time, you would configure (e.g., "$ns duplex-link ... ", "$ns attach-agent ...") a network in OTcl. But the real simulation is running in C++. If you are having troubles grasping the concepts of the linkage, stick around. I hope I can help enlighten you guys :)

Thursday, May 20, 2010

The Challenge of Globalization -- The Leader's Way, Chapter 7

Globalization business model

Globalization has led the business through 3 following stages
  1. Import/Export: Focus on trading on raw material and production
  2. Satellites: All the branches take the commands from the headquarter. Build branches on several countries to
    • Avoid importing/exporting raw material
    • Understand local people better
    • Avoid import/export regulation
  3. Globally integrated: This stage is similar to the satellite model. The difference is that the business initiative can come from any country (not just the headquarter country).


Saturday, May 15, 2010

Doing Business Right -- The Leader's Way, Chapter 6

Doing business right means doing business with warm hearts--meaning thinking of others' feeling. Although profit is essential, money can't buy happiness. Companies which do business right will attract consumers, investors, and employees. After all, people want to be a part of something they can be proud of.

Negative Factors


The following are negative factors which contribute to corporate bad reputation:
  • Leaders without humility (Flashy leaders tend to be self-interest and lead the company into great risks).
  • Creative or fraudulent accounting
  • Increasing disparity in compensation
  • Exploited practices
  • Marketing of harmful product
  • Human right and environment violation
  • Countries without good governance

Thursday, May 13, 2010

Creating Profit, Jobsor Happiness? -- The Leader's Way, Chapter 5

An organization is the place where people congregate. These people need common purposes and spontaneous leader.
"Any organization is both more and less than the sum of its members. It is less because the members of the group devote only a part of their time to the organization, and much more because the organization as a whole can accomplish tasks the individual members cannot succeed in carrying out on their own.''
A Living Entity

We can consider business as a living entity. If food is essential to life, profit is essential to business. Business can be motivated. It can thrives, withers, and renews itself. It can act responsibly or irresponsibly.

As people should not live to eat, business should not live to make profit only. Making less profit is similar to having less food to eat. But that's not necessarily a bad thing. Business has three important purposes: 1) Create profit, 2) serve the customers, 3) act responsibly.


Friday, May 7, 2010

The Leader’s Purpose -- The Leader's Way, Chapter 4


A leader needs to have wisdom (right view) and faith (support from followers). He must establish clear purposes for the company, and set the value that should be observed by all. He should act as an example to convince his follows to follow the principles.

Leaders' Roles
The leader's responsibilities include

  • Set the values and purposes of the organization,
  • Create faith, attract competent people, and encourage them to put great effort into the organization,
  • Provide communication systems for people inside the organization, and
  • Plan, organize, set priority, and make decisions.

A good leader should have technical knowledge and skill, determination, endeavor, and courage. The leader should understand the problem and know the solution. He or she should understand the organization and its people, culture and characteristics.


Wednesday, May 5, 2010

[ns2] Do you really need NAM?

NAM
Recently, I've got few people asking about installation NAM (network animator) in NS2. Usually it is quite straightforward to do it in Linux. But it's quite tricky in Windows (with Cygwin). To be honest, I have not tried to use NAM in Cygwin. If I have time, I might try and let you know.



Saturday, May 1, 2010

Doing the Right Thing -- The Leader's Way, Chapter 2



"A leader will only be respected, when he acts according to the principles in which he said he believes."

Leaders and Their Roles


If the leader does not follow the principles, his followers will not follow the principles, but will follow the leaders’ whimsical will.

The roles of leaders include making decision and taking actions for the organization and people working for them. Leader should practice right conduct, which is achieved when acting according to right view.

 "If the leader listens to you, it makes you feel valued and important."

Right conduct is an offspring of two following concepts: Right intention and wholesome actions.