Oct 17, 2012

Why and how to delegate works

Deligate: Ủy thác, giao việc cho người khác - Là cách hoàn thành công việc (của mình) qua tay người khác. Đây là một trong những kỹ năng quản lý/lãnh đạo cơ bản.

The final test of leadership is to leave behind men and women with the conviction, commitment and competency to carry on ... and this can be accomplished through delegation. Delegation is the on-going process by which a leader assigns additional tasks (i.e., responsibilities and authority) to a subordinate in such a way that there is acceptance of responsibility for the assigned tasks.


Why Delegate









  1. Benefits to the leader
    •   Eased work pressures - not dominated by minor details
    •   Increased time for primary (broader) responsibilities
    •   Increased time for self-development

  2. Benefits to the subordinate
    •   Challenge and interest
    •   Increased motivation
    •   Increased opportunities to learn and grow
The twin goals of delegation are (1) the development of subordinates and (2) the increased effectiveness of the leader.


Why One Manager Does Not Delegate
  • He can do it faster and better.

    Even if this is true, does he have confidence in his ability to get the thing done through others rather than doing it himself? In other words, can he delegate?

  • He thinks his subordinates can't handle the assignment and will make a mess of it.

    Honestly, he does not know unless and until he tries them out; moreover he can train them to do it.

  • It takes too long to train/guide them to do it.

    Yes, it may take a longer time in the short run but he is not investing in the short-term task but in the long-term development of his staff. Moreover, when they can handle the job, he would have more time for his primary responsibilities such as setting departmental/organisational direction and objectives and building teamwork.

  • If he trains his subordinates to do it then wouldn't he become dispensable?

    Isn't that a good thing that you have a replacement ... so that you can be promoted to a higher level in the organisation?
If this manager continues not to delegate, he may be taking a shortcut to the cemetery because the work will be too big and heavy for him to bear alone. Meanwhile, his subordinates will become bored and lose enthusiasm in their jobs.


How to Delegate
  1. Select the task to be delegated and match it to the proper person

    Delegation is not the assignment of routine tasks to anyone who happens to be available. There is a need to assess strengths, weaknesses and previous experience of all available personnel and then match them with tasks that will utilize their strengths and experience.

    Looking again at Moses' criteria in his selection of men to help him in the task of mediation (Exo 18:21-23), we see that he chose spiritually and morally qualified men for the tasks. We too need to look for these same qualities in our potential candidates.

  2. Meet for the initial delegation and motivate

    The key to successful delegation is communication of the importance of the assigned tasks and how they fit into the grand scheme of things. You need to present the tasks from his perspective, "What's in it for me?" In other words, ensure that there is benefit for the person. This is also when you communicate performance expectations and clarify the extent of his authority.
  3. Maintain supervisory control - observe, review and coach Delegation is not the abandonment of tasks. As a leader, you are still ultimately responsible therefore time should be set aside to observe and meet with the subordinate for follow-through and review of the delegated areas. This follow-through will give you the opportunity to coach the subordinate in his new assigned tasks. Time spent with your subordinate will also provide you with the information to decide whether to intervene or to allow him to fail and learn from his mistakes.

    Be careful not to take a problem out of a subordinate's hands and make a decision when he merely wants to discuss it with you. Let him take the wheel; do not be a back-seat driver i.e., do not make decisions that your subordinate could otherwise make for himself.
    "The best executive is one who has sense enough to pick good people to do what he wants done, and self-restraint enough to keep from meddling with them while they do it."
    President Roosevelt
    Continue to guide him by asking questions to clarify his objectives, raise up all key-related facts, think of alternatives and possibilities and finally consider consequences of actions.

cf. http://www.vtaide.com/gleanings/delegation.htm
cf. http://www.mindtools.com/pages/article/newTMM_60.htm (longer and more in-depth)
cf. http://leadershipfreak.wordpress.com/2010/08/09/delegation/

--   Best Regards,  Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )  vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:  vuhung16plus, twitter: vuhung, MSN: vuhung16.  http://www.facebook.com/nguyenvuhung  Nguyễn Vũ Hưng's blog on Free and Open Source:  http://nguyenvuhungvietnam.wordpress.com/  Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/  Vietnamese LibreOffice: http://libo-vi.blogspot.com/  Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/    Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,  Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*  the opinion of my employer(s), associations and/or groups I join.

Oct 15, 2012

Re: LibreOffice 3.6.3 RC1 ra lò, không nhiều thay đổi lắm

Thay đổi của LibreOffice 3.6.3 không nhiều:
- (Với ODF format), dùng encryption mode khác trong mặc định
- Điều khiển tính tương thích ngược với các phiên bản ODF cũ tốt hơn.

Các thay đổi khác chủ yếu là bugfixes.
-----

Dear Community,

The Document Foundation is happy to announce the first release
candidate of LibreOffice 3.6.3. The upcoming 3.6.3 will be the third
in a series of frequent bugfix releases, for our feature-packed 3.6
branch. Please be aware that LibreOffice 3.6.3 RC1 is not ready for
production use, you should continue to use LibreOffice 3.6.2 for that.

The release is available for Windows, Linux and Mac OS X from our QA
builds download page at

http://www.libreoffice.org/download/pre-releases/

Should you find bugs, please report them to the FreeDesktop Bugzilla:

https://bugs.freedesktop.org

A good way to assess the release candidate quality is to run some
specific manual tests on it, our TCM wiki page has more details:

http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test

(and the announcement mail:http://lists.freedesktop.org/archives/libreoffice/2011-December/022464.html)

For other ways to get involved with this exciting project - you can
e.g. contribute code:

http://www.libreoffice.org/get-involved/developers/

translate LibreOffice to your language:

http://wiki.documentfoundation.org/Translation_for_3.5

or help with funding our operations:

http://donate.libreoffice.org/

A list of known issues and fixed bugs with 3.6.3 RC1 is available
from our wiki:

http://wiki.documentfoundation.org/Releases/3.6.3/RC1

Let us close again with a BIG Thank You! to all of you having
contributed to the LibreOffice project - this release would not have
been possible without your help.

LibreOffice 3.6.3 RC1 ra lò, không nhiều thay đổi lắm

Thay đổi của LibreOffice 3.6.3 không nhiều:
- (Với ODF format), dùng encryption mode khác trong mặc định
- Điều khiển tính tương thích ngược với các phiên bản ODF cũ tốt hơn.

Các thay đổi khác chủ yếu là bugfixes.


-------- Thư Gốc --------
Tiêu đề: [libreoffice-l10n] [ANN] LibreOffice 3.6.3 RC1 available
Ngày: Sat, 13 Oct 2012 21:20:00 +0200
Từ: Thorsten Behrens <thb@documentfoundation.org>
Tới: LibreOffice <libreoffice@lists.freedesktop.org>, l10n@global.libreoffice.org, projects@global.libreoffice.org, libreoffice-qa@lists.freedesktop.org


Dear Community,    The Document Foundation is happy to announce the first release  candidate of LibreOffice 3.6.3. The upcoming 3.6.3 will be the third  in a series of frequent bugfix releases, for our feature-packed 3.6  branch. Please be aware that LibreOffice 3.6.3 RC1 is not ready for  production use, you should continue to use LibreOffice 3.6.2 for that.    The release is available for Windows, Linux and Mac OS X from our QA  builds download page at      http://www.libreoffice.org/download/pre-releases/    Should you find bugs, please report them to the FreeDesktop Bugzilla:      https://bugs.freedesktop.org    A good way to assess the release candidate quality is to run some  specific manual tests on it, our TCM wiki page has more details:     http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test     (and the announcement mail: http://lists.freedesktop.org/archives/libreoffice/2011-December/022464.html)     For other ways to get involved with this exciting project - you can  e.g. contribute code:      http://www.libreoffice.org/get-involved/developers/    translate LibreOffice to your language:      http://wiki.documentfoundation.org/Translation_for_3.5    or help with funding our operations:      http://donate.libreoffice.org/    A list of known issues and fixed bugs with 3.6.3 RC1 is available  from our wiki:      http://wiki.documentfoundation.org/Releases/3.6.3/RC1    Let us close again with a BIG Thank You! to all of you having  contributed to the LibreOffice project - this release would not have  been possible without your help.    Yours,    The Document Foundation Board of Directors    The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany  Rechtsfähige Stiftung des bürgerlichen Rechts  Legal details: http://www.documentfoundation.org/imprint    

Oct 12, 2012

http://mozilla.vn 404 error := "Well, this is embarrassing…", Sặc mùi Firefox và đồng bọn.

Mozilla phát hành Thunderbird 16

Mozilla đã lặng lẽ phát hành bản Thunderbird 16 dù tổ chức này đã từng
tuyên bố không nâng cấp chức năng mà chỉ duy trì các bản vá bảo mật nếu
cần thiết.

Số phiên bản Thunderbird 16 được đặt trùng với phiên bản của Firefox 16.

Hai chức năng chính có sự thay đổi trong phiên bản 16

Tự động cập nhật (giống Firefox)
Thêm hỗ trợ box.net, một dịch vụ lưu trữ tệp (dung lượng lớn) trong
FileLink

Bản Thunderbird 16 có thể download tại đây:
http://www.mozilla.org/vi/thunderbird/

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Oct 9, 2012

Phần mềm quản lý dự nào nào?

A: Em xin lỗi trước vụ troll: MS Project làm được việc đó.

Redmine làm được, nhưng thủ công.

Nhưng bác đừng hy vọng vào tool quản lý nào tự động quản lý được tới mức
đó.

Bác thử thêm: www.projectmanager.com

Quản lý budget: MS Project, ProjectManager.com làm được.
Quản lý task: MS Project, ProjectManager.com, Redmine làm được.
Tham chiếu chéo (task dependency) thì MS Project, ProjectManager.com đều
làm được.

Xem thêm: http://www.redmine.org/boards/1/topics/32755

Q:
Có phần mềm nào hỗ trợ việc biên soạn dự án không các bác nhỉ? Ví dụ làm
một dự án xin tiền 10 đồng, phần mềm hỗ trợ tính toán tiền nong cho các
hạng mục, quản lý các tham chiếu chéo v.v... - không tính việc sử dụng
editor và bảng tính.


--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

LibreOffice 3.6 Facts

cf.
http://blog.documentfoundation.org/2012/10/04/the-document-foundation-announces-libreoffice-3-6-2/

Gà mình lọt vào chung kết MHST 2012 đây

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Oct 8, 2012

Software Freedom Day 2012 in Hanoi


Wiki, schedule, management:
http://wiki.vfossa.vn/sfd_2012_hanoi

Press:
http://www.thongtincongnghe.com/tructiep/sfd-2012
http://vfossa.vn/vi/mininews/detail/Ngay-hoi-tu-do-cho-phan-mem-thanh-cong-tot-dep-55/

Pictures:
http://www.flickr.com/photos/vuhung/sets/72157631563214601/

Slides:
http://www.slideshare.net/search/slideshow?searchfrom=header&q=sfd2012hanoi

Chương trình SFD 2012 @ Hà Nội

Địa điểm - Thời gian

Nhà T1, ĐH Khoa học Tự nhiên, 334 Nguyễn Trãi, TX, Hà Nội. Bản đồ: http://goo.gl/maps/fRMDY

Từ 09:00 đến 17:00, thứ Bảy ngày 15/09/2012

Đăng ký tham dự (miễn phí ăn trưa cơm kẹp): http://bit.ly/OKU7k2

Tham dự chương trình

- Cửa mở tự do, mọi người đều được chào mừng, - Đăng ký/theo dõi/đóng góp ý kiến tới SFD 2012 tại mailing list sau: http://lists.vfossa.vn/mailman/listinfo/sfd2012

Cơ cấu Ban Tổ Chức

  1. Giang Kiên Trung, trunggik at hotmail.com, 0983-271-180
  2. Nguyễn Vũ Hưng, vuhung16plus at gmail.com, 0904-28-7878,
  3. Nguyễn Thị Hoàng Anh (AITI Aptech), hoanganh at aiti.com.vn, 0989-123-004
  4. Bùi Thế Phong, buithephong at gmail.com, 0916-912-583
  5. Nguyễn Hà Dương, duongnh at iwayvietnam.com hoặc cmpitg at g-mail dot com
  6. Lê Quốc Thái, lqthai at gmail.com, 01694.69.69.04

và… (mọi thành viên muốn tham gia góp ý kiến để tổ chức hội thảo tốt hơn đều được chào mừng, bạn hãy liên hệ ngay với 1 trong số chúng tôi, :D), xem tab "DS BTC" (danh sách Ban Tổ Chức) tại http://bit.ly/OQFTwq

Chương trình

Xem tab "Khung chương trình" trong http://bit.ly/OQFTwq

  • * Do số người đăng kí lớp học Ubuntu quá đông. Ban Tổ chức tạm chốt danh sách người đã đăng kí vào 17h30 chiều 13.09.2012. Những người đăng kí sau giờ này sẽ không được ưu tiên học. Rất mong các bạn thông cảm!

Sáng: (8h30 - 12h00)

  • 8:30 - 9:00: Đón khách
  • 8:45 - 9:00: Phát biểu khai mạc.
  • 9h00 - 9h30: Lễ kết nạp thành viên mới của VFOSSA.
  • 9:30 - 11:45:
    • Hội thảo (Hội trường chính): các chủ đề về chính sách, cộng đồng, đào tạo, kỹ thuật… trong phần mềm tự do nguồn mở;
    • Lớp học cài đặt: Ubuntu, Fedora, Mint, Asianux (tại phòng máy, do nhóm Ubuntu-VN, KGCĐ): người học cần đăng kí trước theo mẫu đi kèm;

Trưa: (12h00 - 13h30)

  • Ăn trưa miễn phí (Free Community Lunch): cần đăng kí trước tại liên kết đi kèmhttp://bit.ly/OKU7k2;
  • Chiếu phim FOSS:
    • Elephants Dream;
    • Big Buck Bunny;
    • Sintel;
    • Mozilla_Firefox_Manifesto_v0.2;
    • Revolution OS;
    • Phát biểu của Richard Stallman về SFD (phụ đề tiếng Việt - khai mạc)
    • Một số đoạn phim giới thiệu về các công nghệ ứng dụng mã nguồn mở, giới thiệu về quá trình triển khai FOSS ở Việt Nam…

Chiều (13h30 - 17h00)

  • 13h30 - 16h30: (Các hoạt động: báo cáo, thi đấu trò chơi, hướng dẫn cài đặt diễn ra song song)
    • Hội thảo theo phong cách Barcamp (Hội trường chính + 02 hội trường nhỏ): các chủ đề về ứng dụng FOSS trong học tập nghiên cứu; các chính sách liên quan đến PMTDNM, chuyên sâu về kinh doanh mở, công nghệ mở, chuẩn mở,… Người nghe sẽ tự lựa chọn các chủ đề mình muốn nghe trong danh sách đã được đăng kí khi đó các chủ đề sẽ được chia về các phòng nhỏ hơn để trình bày.
    • Thi đấu trò chơi: Supertux-Kart
    • Lớp học cài đặt: Ubuntu, Fedora, Mint, Asianux (tại phòng máy, do nhóm ubuntu.vn, KGCĐ): người học cần đăng kí trước theo mẫu đi kèm;
  • 16:30 - 17:00: Trao quà tặng, Giải thưởng thi đấu , tổng kết, bế mạc

Các hoạt động khác

  • Giới thiệu, hướng nghiệp cho học sinh, sinh viên trong lĩnh vực PMTDNM:
  • Dùng internet miễn phí cả ngày (có Wi-Fi)
  • Khu vực triển lãm:
    • Khám phá các bản phân phối GNU/Linux phổ biến: Ubuntu, Fedora, Mint. Các máy này sẽ được tùy biến để có giao diện đẹp nhất, thân thiện nhất với người dùng.
    • Đại diện Fastest sẽ mang tới 01 máy workstation và cài các máy ảo linux trên đó. Mục đích: thể hiện tính tùy biến cao và khả năng hoạt động đa dạng, đa nền tảng của linux…
    • Người tham quan có thể tự do khám phá khu vực này và yêu cầu tư vấn, giúp đỡ hỏi đáp từ các thành viên của Ban tổ chức.
  • Phát đĩa live CD GNU/Linux các loại (ghi danh, số lượng có hạn):
    • Fedora 17
    • Ubuntu 12.04.1 LTS (các bạn có thể chép tệp iso và tự ghi đĩa live CD hoặc tự tạo ra một live USB ngay tại chỗ: sẽ có hướng dẫn)
    • Elementary OS Daily Build
    • Linux Mint 13
    • TheOpendisc 12.09.vi, bản Việt hóa (đĩa chứa các phần mềm tự do, nguồn mở dùng trên windows)
  • Sticker: SFD 2012, Ubuntu, Fedora, …
  • Ghi danh trúng thưởng: Tới SFD 2012 bạn hãy ghi lại tên tuổi, địa chỉ của mình. Cuối buổi Ban tổ chức sẽ tiến hành bốc thăm và trao quà tặng cho 03 bạn may mắn nhất của buổi lễ. Phần quà sẽ là: - 01 thẻ nhớ USB 8G, - 01 thẻ nhớ USB 16G, 01 chuột không dây.

Kế hoạch

Chiến lược quảng bá

Áp phích, poster, băng-rôn:

Truyền thông:

  • Thông tin đưa ra ngắn gọn, dễ hiểu, dễ tiếp cận …
  • Cách thức: trên các trang tin điện tử, truyền hình (VTV2, ?), báo giấy (THĐS=?), khác…
  • Thời gian: cả trước và sau sự kiện
  • Truyền thông trực tiếp ngay trong sự kiện qua các kênh IRC, Facebook, Twitter,… Qua đó có thể giúp các diễn giả và người tham dự từ xa có thể trao đổi các câu hỏi, giải đáp… [Nhóm KGCĐ]
  • IRC channel: #sfdhanoi2012
    • IRC server: freenode.net
    • Hướng dẫn theo dõi chương trình qua IRC: http://goo.gl/Sx59Z
Danh sách các bản tin đã đưa

Cấu trúc và các hoạt động

Đăng ký tham dự SFD trên web

  • Để BTC nắm được số lượng và chi phí;
  • Phục vụ cho survey;
  • Báo ăn trưa

Workshop

Presentation

Thi đấu game

  • Tiêu chí: vui vẻ, thoải mái, có tính đối kháng, có giải thưởng
  • Game thi đấu: SuperTux Kart;
  • Luật và thể lệ thi đấu chi tiết tại: http://fossathus.com/supertuxkart-2012<br/>

InstallFest + Triển lãm: Kéo dài cả ngày SFD. Lớp học cài đặt: Ubuntu, Fedora, Mint, Elementary OS (tại phòng máy, do nhóm Ubuntu-VN, KGCĐ): người học cần đăng kí trước theo mẫu đi kèm; Chương trình triển lãm: tại SFD 2012 sẽ có các máy được cài đặt các nhánh khác nhau của Linux: Ubuntu, Fedora, Mint, Elementary OS; Chân dung nhà tài trợ: ???

Tư vấn FOSS trực tiếp

Thảo luận: tham gia trả lời: Nguyễn Hồng Quang, Lê Trung Nghĩa, Trương Anh Tuấn, Nguyễn Hà Dương, …

Ăn trưa (Ăn nhẹ, miễn phí)

  • Số lượng người: Khoảng 300
  • Đăng ký ăn trưa: theo form trên mạng và trực tiếp tại bàn tiếp đón: càng sớm càng tốt vì liên quan tới kinh phí

Chiếu phim

Phát đĩa và điền survey + Khác (do các nhà tài trợ mang tới)

  • Survey:
    • Bạn đã biết FOSS là gì/về vấn đề gì chưa?
    • Bạn có thích ngày SFD không? Có hoạt động nào bạn không thích?
    • Bạn mong chờ điều gì ở FOSS? Ở một sự kiện FOSS?
    • Bạn có cần giúp đỡ, hỗ trợ gì không?
  • Khác: sticker, huy hiệu, …

Các công việc khác

  • Tài trợ: Quỹ MOST, THT-Solution, Netnam, Lạc Tiên, Iwayvietnam, EcoIT + ???
  • Truyền thông: VFOSSA, HUS, Nguyễn Vũ Hưng, Trương Anh Tuấn (iWay), Hoàng Anh (AiTi Aptech), Ubuntu-VN, và mọi người trong cộng đồng…

Tài liệu cho lớp học cài đặt Ubuntu

  • Một số nguyên tắc cơ bản trong việc cài đặt và dùng live CD/USB: PDF, 697 Kb



--   Best Regards,  Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )  vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:  vuhung16plus, twitter: vuhung, MSN: vuhung16.  http://www.facebook.com/nguyenvuhung  Nguyễn Vũ Hưng's blog on Free and Open Source:  http://nguyenvuhungvietnam.wordpress.com/  Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/  Vietnamese LibreOffice: http://libo-vi.blogspot.com/  Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/    Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,  Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*  the opinion of my employer(s), associations and/or groups I join.

employee-customer-profit

The best quotes:

- "When employee satisfaction improved by 5%, customer satisfaction
improved by 1.3%, which led to a .05% improvement in revenue."

- "What's the one factor that most affects how satisfied, engaged, and
committed you are at work? All of our research over the years points to
one answer — and that's the answer to the question: "Who is your
immediate supervisor?" "

- "Just name the right manager. No amount of pay and benefits will solve
the problems created by a manager who has no talent for the task at hand."

http://blogs.hbr.org/cs/2012/07/how_damaging_is_a_bad_boss_exa.html?goback=.gde_2455029_member_135412684

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Big/Medium/Small Projects

To say if a project is big/medium/small, we base on the following factors:

- Stragtegic Importance,
- Org Change Impact,
- Complexity,
- Risk,
- Cost,
- Project Team Size,
- Duration,
- Time Constraints,
- Inter Project Dependencies.

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Oct 2, 2012

Goods và Commodity

Trong kinh tế, Goods và Commodity khác, giống nhau thế nào?
Commodity bao gồm Goods?

Trong CNTT, các khái niệm sau cần làm rõ:
- Sản phẩm CNTT
- Dịch vụ CNTT

Trong tiếng Anh hình như không có từ tương đương với "sản phẩm CNTT" và
"dịch vụ CNTT".

Một số khái niệm liên quan và gần gũi hơn:
- Sản phẩm số (digital product)
- Nội dung số (digital content)
- Dịch vụ số (digital service)
- Hàng hóa số (digital goods hay digital commodity?)
Có thể coi "hàng hóa số" bao gồm 3 loại còn lại (sản phẩm số, nội
dung số, dịch vụ số)?

Trước khi CNTT ra đời, "sản phẩm", "hàng hóa" được xem là những gì sờ
được, cân, đo, đong đếm được.
Trong khi đó, "dịch vụ" được hiểu là những gì không sờ thấy được
(intangible).

Khi CNTT ra đời, cách nhìn về dịch vụ, sản phẩm cũng như việc "sờ" thấy
được có thay đổi. Ví dụ:
- Nhạc (đĩa CD), phim, ảnh, sách có thể tồn tại ở dạng vật lý hay dạng
số (là một tệp)
- Sản phẩm phần mềm như hệ điều hành, bộ phần mềm văn phòng có thể "sờ"
được nếu đóng gói bằng hộp giấy nhưng cũng có thể không "sờ" được, cân
được nếu ở dạng tệp trên Internet.

Theo wikipedia:

1. In economics, a service is an intangible commodity. More
specifically, services are an intangible equivalent of economic goods.

2. In economics, a good is something that is intended to satisfy some
wants or needs of a consumer and thus has economic utility. It is
normally used in the plural form—goods—to denote tangible commodities
such as products and materials.

3. In economics, a commodity is the generic term for any marketable item
produced to satisfy wants or needs. Economic commodities comprise goods
and services


--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Sep 11, 2012

svn: Can't convert string from 'UTF-8' to native encoding

Hiện tượng lỗi (mojibake):
$ svn update
svn: Can't convert string from 'UTF-8' to native encoding:
svn:
?\229?\137?\141?\230?\186?\150?\229?\130?\153?\232?\170?\191?\230?\159?\187?\233?\161?\140?\231?\174?\161?\231?\144?\134?\232?\161?\168.xls

Fix:
$ export LANG=ja_JP.utf8

hoặc bất cứ locale nào chứa "utf8" được chứa trong "locale -a"

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Sep 7, 2012

Sho-sei và sho-shoku - Kính ngữ tiếng Nhật

Tóm tắt:
小生, 小職: 
- Không nên dùng.
- Thực tế người Nhật vẫn dùng nhiều
- Chỉ là sếp to mới nên dùng từ này (đối với cấp dưới).
- Dùng từ này với người ngoài có thể bị coi là khệnh.

× 小生が思うに、顧客向けの文書では「小生云々」は使わない方が宜しかろう
と存じます。
○ 私の考えでは、お客様向けの文書では「小生云々」は使わない方が良いと思
います。

このように、小生は、文章全体の文体をも左右しかねません。
ですから、前者では、「偉そうに答えやがって」と思われることでしょう。
全体に高所から情報を発している文体になっているので当然のことです。
小職も、また、同じです。
加えて、何か、官僚的な上意下達の臭いも感じます。

役職者が、自分の立場を謙虚に言う言葉です。
どのレベルの役職者が使うのかは決まっていませんが、
謙虚にするなら、逆に使わないほうが良い言葉かなと思います。

例えば部長が、「小職、こう思うのですが、どうでしょうか?」と言った場合、
部長としての立場を謙虚にして発言しています。
まぁ、発言力は変わりませんが…

今は使う人はほとんどおらず、
通じない人が多いので使用は止めたほうが無難かなと、私は思います。

cf.
http://www.koakishiki.com/henkan-settougo.html

--
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:
vuhung16plus, twitter: vuhung, MSN: vuhung16.
http://www.facebook.com/nguyenvuhung
Nguyễn Vũ Hưng's blog on Free and Open Source:
http://nguyenvuhungvietnam.wordpress.com/
Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/
Vietnamese LibreOffice: http://libo-vi.blogspot.com/
Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/

Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,
Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*
the opinion of my employer(s), associations and/or groups I join.

Install Redmine 2.0.3 on Centos 6.3


The Goals

  • Setup Redmine 2.0.3 running on CentOS 6.3;
  • with MySQL backend, FastCGI to connect Redmine and Apache;
  • integrate Redmine with Subversion;
  • Single sign-on between Apache, Subversion and Redmine using LDAP

Backgrounds

Our company was using the BITNAMI stack with Redmine and Subversion for our production environment. So the goal was about changing the server and migrating the data from Redmine 1.4 to Redmine 2.0.3 including getting all repositories and permissions preserved.

I've tried to avoid webrick but rather use the fastCGI Module for Apache2.

Second was converting the built-in accounts from the database to LDAP (ActiveDirectory). This is the result of 2 days of work and googling is this little tutorial for setting up a mentioned box doing exactly this stuff. We are using CentOS 6 for that task.

"vi/vim" is the editor used this in this tutorial but you can you any editor you want. If my instruction tells you to edit a file, you can find the sequence "..." which means, there is something above or below that line of text, that needs to be edited. Do not include those dots...

Assumptions

  • You have a CentOS 6.3 installation (minimum install) working and SSH access to your Redmine box;
  • You can access the Internet;
  • You are logged in as root.

Redmine Installation Instruction

My personal flavour is to use as less self compiled packages as necessary to get the package up and runnning. So I try to use as many repository packages as possible.

Turn off SELinux

I spent a lot of time to find out, that selinux can be a real party pooper. So I strongly recommend to disable that first before installing anything else. You can find a tutorial inside the howto section describing how to enable SELinux for your installation.

vi /etc/selinux/config  

find the line with SELINUX and set it to

...  SELINUX=disabled  ...  

Do a reboot NOW

Install basic services (Apache, mySQL, and several tools...)

Now we are good to go to install some tools that might be useful during our installation...

First of all, update your system, make sure it is up to date,

yum update  

and then install some prerequisite packages to the setup,

yum -y install wget vim \\         system-config-network system-config-firewall vim openssh-clients  

anhd some packages needed for Redmine

yum -y install httpd mysql mysql-server   

After that continue and install all packages that might be necessary during the ruby and redmine installation.
yum -y install ruby rubygems   yum -y install zlib-devel curl-devel openssl-devel httpd-devel apr-devel apr-util-devel mysql-devel gcc ruby-devel \\        gcc-c++ make postgresql-devel ImageMagick-devel sqlite-devel perl-LDAP mod_perl perl-Digest-SHA  

Configure basic services

Let's configure the basic services, first of all, make mySQL and Apache to start at boot

chkconfig httpd on --level 35  chkconfig mysqld on --level 35  

After configuring these, start them up
service httpd start  service mysqld start  

Now configure your new mySQL Installation and follow the instructions. Please note/write down administrator password to MySQL you've just installed.
/usr/bin/mysql_secure_installation  

Configure passenger for Apache

You need to install Passenger for Apache using gem. Do the following on the command line

gem install passenger  passenger-install-apache2-module  

Please notice the installation messages! The next .conf file might use another path or version!
After this you need to generate a conf file with the displayed content
vi /etc/httpd/conf.d/ruby.conf  

During my installation the following content was displayed and needs to be entered in that file:
   LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.15/ext/apache2/mod_passenger.so     PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.15     PassengerRuby /usr/bin/ruby  

Restart your apache with
service httpd restart  

Get Redmine and install it

change to your home directory and download the latest version, expand it and copy it to the right place.

cd  wget http://rubyforge.org/frs/download.php/76259/redmine-2.0.3.tar.gz  tar xvfz redmine-2.0.3.tar.gz  mkdir -p /var/www/redmine  cp redmine-2.0.3/* /var/www/redmine  

or you can do

cd /var/www  wget http://rubyforge.org/frs/download.php/76259/redmine-2.0.3.tar.gz  tar xvfz redmine-2.0.3.tar.gz  ln -s redmine-2.0 redmine  

Next is to install bundler and let it install the production environment (with automatic resolve)
Now change to this directory - this is your new Redmine application directory!

cd /var/www/redmine  gem install bundler  bundle install --without development test  

fetch some coffee... this might take some time...

Create Redmine database

Next to generate a new database for redmine
Log on to your database with the following command. If prompted for a password, enter it.

mysql -u root -p  

I tend to create a local only user for that database, change the password 'very_secret' to a better one :)
create database redmine character set utf8;  create user 'redmine'@'localhost' identified by 'very_secret';  grant all privileges on redmine.* to 'redmine'@'localhost';   quit;  

Note: If you are going to store Redmine's database to a machine that is not the server you are going to install Redmine - whose IP address is 192.168.10.100, the settings should be:

create database redmine character set utf8;  create user 'redmine'@'192.168.10.100' identified by 'very_secret';  grant all privileges on redmine.* to 'redmine'@'192.168.10.100';   quit;  

Configure Redmine

First of all, copy the example config to a productive one and edit the config for your needs

cd /var/www/redmine/config  cp database.yml.example database.yml  vi /var/www/redmine/config/database.yml  

Now find the production section inside this file and edit it like that
...  production:  # adapter = mysql2 is newer and proven to be more better than mysql  # adapter: mysql2    adapter: mysql    database: redmine    host: localhost    username: redmine    password: very_secret    encoding: utf8  ...  

Head back to your application directory and generate a secret token
cd /var/www/redmine/  rake generate_secret_token  

Now it is about time to generate the database structure (application directory!)
cd /var/www/redmine/  RAILS_ENV=production rake db:migrate  

fill the database with default values...
cd /var/www/redmine/  RAILS_ENV=production rake redmine:load_default_data  

follow the instructions to select your language.

Mind the firewall!

Be aware that the firewall is enabled by default (which is good!). So if you know which ports to open, do it now or disable the firewall (just for testing purposes). I'd really recommend disabling the firewall during installation and enable it (opening ports) after you are sure that everything works.

system-config-firewall  

use the onscreen menu to disable it or adjust the values.

or simply disable iptables during Redmine's setup

service iptables stop  

Do a testdrive!

I mentioned that I wanted not to use webrick, but for a testdrive, it'll work. This helps finding bugs and errors that might have occured before.

cd /var/www/redmine/  ruby script/rails server webrick -e production  

Open up a browser and point it to: http://yoursystemname.yourdomain.com:3000 - the default username and password is 'admin'.
If everything is working, you are good to go! Kill webrick by hitting Ctrl+C.

Activate FCGI and generate plugin directory

To activate the fcgi module you need to copy the example file and edit the very first line. During this step it is recommended to generate the default .htaccess config as well.

cd /var/www/redmine/public  mkdir plugin_assets  cp dispatch.fcgi.example dispatch.fcgi  cp htaccess.fcgi.example .htaccess  vi /var/www/redmine/public/dispatch.fcgi  

now edit dispatch.fcgi and change it like this...
#!/usr/bin/ruby  ...  

Apache permissions!

this one is important, so don't miss that one...

chown -R apache:apache /var/www/redmine/  

Note: "apache" is the user that runs httpd (apache) service, as defined in /etc/password and /etc/httpd/conf/httpd.conf

Getting Apache to work with FastCGI

Unfortunately the default Repo from CentOS cannot deliver the fcgid module so it is important to include a replo, that can deliver this package. I use the Fedora Repo so it is time to activate this... Again - this can change so please take care which repository to use.

rpm --import https://fedoraproject.org/static/0608B895.txt  wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm  rpm -ivh epel-release-6-7.noarch.rpm  yum -y install mod_fcgid  

Set the file path for Redmine

I wanted to move the files to another location, so I decided to move them to /opt/redmine

mkdir -p /opt/redmine/files  chown -R apache:apache /opt/redmine  

now edit the configuration
cd /var/www/redmine/config  cp configuration.yml.example configuration.yml  vi /var/www/redmine/config/configuration.yml  

edit the path settings inside this file...
...    attachments_storage_path: /opt/redmine/files  ...  

Telling Apache to serve REDMINE

The final step is to tell apache, where to find Redmine and what to do with it. Generate a new conf file for your virtual host to serve redmine...

vi /etc/httpd/conf.d/redmine.conf  

and enter the following config (adjust to your needs ;) )
<VirtualHost *:80>          ServerName yoursystemname.yourdomain.com          ServerAdmin yourmail@yourdomain.com          DocumentRoot /var/www/redmine/public/          ErrorLog logs/redmine_error_log            MaxRequestLen 20971520            <Directory "/var/www/redmine/public/">                    Options Indexes ExecCGI FollowSymLinks                  Order allow,deny                  Allow from all                  AllowOverride all          </Directory>  </VirtualHost>  

Restart Apache and cross your fingers, wheter you can access http://yoursystemname.yourdomain.com - redmine should be available right now...
service httpd restart  

Additional Config: E-Mail System

in order to get emails sent to your clients, edit the configuration.yml and enter your server settings...

vi /var/www/redmine/config/configuration.yml  

now find the settings for your server... the following settings describe an anonymous relay on an internal server. You need to remove the username and password line if you use anonymous sign on.
...  default:    # Outgoing emails configuration (see examples above)    email_delivery:      delivery_method: :smtp      smtp_settings:        address: mailserver.yourdomain.com        port: 25        domain: yourdomain.com  ...  

Here is the configration if you use Google's SMTP server

production:    email_delivery:      delivery_method: :smtp      smtp_settings:  #      tls: true        enable_starttls_auto: true        address: "smtp.gmail.com"         port: '587'        domain: "smtp.gmail.com"         authentication: :plain        user_name: "google-account-name@domain-name.domain-extension"         password: "password"   

Getting Subversion working

After getting Redmine working, it is time to get Subversion working... The goal is to integrate the repositories inside Redmine and host them on the same server...

Installing Packages for Subversion

Install the following packages

yum -y install mod_dav_svn subversion subversion-ruby  

Linking authentication for Redmine

Redmine provides a perl module to handle Apache authentication on SVN DAV repositories. First step is to link that module into the search path

mkdir /usr/lib/perl5/vendor_perl/Apache  ln -s /var/www/redmine/extra/svn/Redmine.pm /usr/lib/perl5/vendor_perl/Apache/Redmine.pm  

Creating a path for subversion repositories

create a path and set permissions for your SVN repo...

mkdir /opt/subversion  chown -R apache:apache /opt/subversion  

Edit virtual host for apache to serve SVN with redmine

to get Apache working with subversion, you need to adjust (create) the virtual host file

vi /etc/httpd/conf.d/subversion.conf  

now enter/edit the following
PerlLoadModule Apache::Redmine  <Location /svn>          DAV svn          SVNParentPath "/opt/subversion"           SVNListParentPath on          Order deny,allow          Deny from all          Satisfy any          LimitXMLRequestBody 0          SVNPathAuthz off            PerlAccessHandler Apache::Authn::Redmine::access_handler          PerlAuthenHandler Apache::Authn::Redmine::authen_handler          AuthType Basic          AuthName "Redmine SVN Repository"             Require valid-user          RedmineDSN "DBI:mysql:database=redmine;host=localhost:3306"           RedmineDbUser "redmine"           RedmineDbPass "very_secret"             # cache max. 50 passwords          RedmineCacheCredsMax 50  </Location>  

Achievements

What we've done at this point:
  • A running Redmine v2.0.3 installation using Apache Passenger
  • Working authentication with Redmine's built-in database
  • Working Subversion with Apache's WebDav
  • Subversion authentication against redmine's built-in database

Authentication against Active Directory

The last step requires some knowledge how to authenticate against your Active directory. First of all, open up Redmine in a web interface and enter the Administration dialogue. Select LDAP-Authentication adn create a new authentication entry.

  • Name: Enter a NAME for your entry, this can be anything...
  • Host: Enter the IP address of a domain controler unless you are really sure, that DNS is working correctly
  • Port: 389
  • Account: This one is kind of a pitfall. Enter the DN of the user object that can authenticate against the Active Directory.
    EXAMPLE: Assume that you have a domain that is called: mynetwork.local and an organizational unit that is named: myUsers. The DN of this organizational unit is: OU=myUsers, DC=mynetwork, DC=local If you create a user, which Display name is like ldap authentication user then the Account you need to enter is: CN=ldap authentication user, OU=myUsers, DC=mynetwork, DC=local. I'd recommend using a tool like Sysinternals ADExplorer if you are unsure about the distinguished name of your authentication user.
  • Base DN: This is the entry point, where Redmine tries to find users. In the example above you want to enter: OU=myUsers, DC=mynetwork, DC=local
  • LDAP Filter: You can enter any filter you like here, a valid filter for finding users is: (&(objectClass=user)(objectCategory=person)).
  • On-the-fly Usercreation: I tend to check this.. This allows the initial creation of a new user when the user logs on redmine.
Attributes: (I am not sure, whether the fields below are correctly tranlsated... please correct if necessary)
  • member name: sAMAccountName
  • first name: givenname
  • surname: sn
  • E-Mail: mail

Save it, try it :)

You should be able to log on with your Windows logon name and your Windows passwort. If you've never logged on a new account should have been created within the Redmine's built-in database.

Authenticate Subversion against Active Directory

Note: Using the built-in database provided by Redmine.

This one is tricky, you want the authentication data from Active Directory but you also want the group permissions from Redmine. So you need to tell the logon mechanism to authenticate against AD and check inside the database, whether the user is SVN editor or not. Finally most of the work is done here with the redmine.pm script (remember, we've linked that already).

Fortunatelly the CentOS Perl implementation includes no module for Simple::LDAP. So we need to do some compiler work...

First of all, fetch the packages needed for building the necessary Perl modules.

yum -y install perl-CPAN perl-YAML  

There are a lot of dependencies when trying to build the module, so I recommend to turn on automatic dependency handling inside the CPAN shell....
Start up the shell:

perl -MCPAN -e shell  

and then run the following two commands:
o conf prerequisites_policy follow  o conf commit  

Now it is time, to install the module, still inside the shell. Enter
install Authen::Simple::LDAP  

This takes some time... If queried for any dependencies or defaults, just acknowledge them with their default values - this should work.
Close the shell after everything is done by entering
exit  

Now we need to tell Apache where to find the authentication data, this is simple by editing the subversion.conf

vi /etc/httpd/conf.d/subversion.conf  

just add the Simple::LDAP Perl module by editing it this way:
   ...     PerlLoadModule Apache::Redmine     PerlLoadModule  Authen::Simple::LDAP     <Location /svn>       DAV svn       ...  

Restart Apache and LDAP Authentication should work now

service httpd restart    http://www.redmine.org/projects/redmine/wiki/Redmine_203_with_Subversion_and_LDAP_Authentication_%28for_Redmine_and_Subversion_through_Redmine%29_on_Centos_6_i386_-_detailed?version=24   
--   Best Regards,  Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )  vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype:  vuhung16plus, twitter: vuhung, MSN: vuhung16.  http://www.facebook.com/nguyenvuhung  Nguyễn Vũ Hưng's blog on Free and Open Source:  http://nguyenvuhungvietnam.wordpress.com/  Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/  Vietnamese LibreOffice: http://libo-vi.blogspot.com/  Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/    Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups,  Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not*  the opinion of my employer(s), associations and/or groups I join.