Thursday, November 20, 2008

Write your own OS-independent GUI Application

This one will help you to write your own OS-Independent GUI Application http://www.wxwidgets.org

Want to build your own SCM?

Actually, here is the experience, real application of my client.
They use CVS for code repository, ViewCVS for viewing, LXR for cross-reference, JIRA to link to source code, Doxygen to read code comment, make it as the documentation itself

This is my lesson, it actually cannot compare to google code, but anyway, it is good start

And they have their own Build Generation System, Distrificationalizer, the system will read the definition file, and generate the package, binary for releasing

How to Use Economic Downturn to Your Advantage

How to Use Economic Downturn to Your Advantage
October 14th, 2008 by Amrit Hallan
http://www.pickthebrain.com/blog/economic-downturn/


When it comes to business and economy, bad news is pouring like rain; go to any news website or social bookmarking website and you will find scores of links telling you what a mess we’re in. Businesses are crumbling, banks are failing, real estate is dissolving, and a new study has revealed that 80% Americans are stressed due to the prevalent economic conditions (Source). So when it seems the skies are falling, I know it may feel like rubbing salt over the wound if I tell you such conditions can be used to your benefit.

I’m not saying take financial, emotional or physical advantage of your family members, friends, colleagues, or neighbors. Whether we like them or not, adversities are like vaccinations that make us stronger as individuals, as a society and as a civilization. It is through hardships that we become more perceptive towards human values, towards togetherness and towards the beautiful world around us. Whenever we have grown as people it has been through hardship. Unfortunately the law of survival of the fittest manifests most prolifically during such times; some people survive and come through victorious and some don’t (the recent family-suicide-cum-murder).

So what makes you victorious, what differentiates you from those who succumbed to the pressure and couldn’t make it? You are victorious when you can use even adversity to your advantage. Here are a few things to consider:

Connect With Your Loved Ones

When work is less all of a sudden you get ample time to connect, with yourself, and your loved ones. This may seem esoteric when you are worried about paying the bills at the end of the month but worrying and causing distress is not going to solve your problem. In order to confront the adversity you need to be fit, both emotionally and physically.

A few days ago my wife read in a Harvard Business School article that families come closer during economic hardships. This is not a selfish act because this is what families are for. You are worried about your deteriorating finances because of your family. For example, if I am alone I wouldn’t mind sleeping on a park bench but to think like that about my child is a nightmare. So when finances are tight it becomes the business of the entire family. Take into confidence your children, your spouse, even your parents and brothers and sisters. Never, ever withdraw into a mental cocoon because this can be disastrous. There is nothing to feel ashamed of because you are not directly responsible for the current economic mess. Yes, you are responsible about how you tackle the situation.

Talking and brainstorming somehow always seems to work and new ideas crop up out of nowhere. Spending time with kids is always relaxing and it energizes your spirits and helps you refocus. Having long walks with your partner or spouse lets you bond and see the warmth of the relationship that you might have been ignoring while living in the fast lane of commerce.

You can also organize neighborhood gatherings and outings that don’t cost much. Share your resources as much as you can whether it is food, lodging, transport, money, or love. Strike up new friendships. If people stand for each other no hardship can be daunting enough.

Connect With Yourself

Have you been ignoring yourself due to work pressure? When we are busy conducting business and earning money we often begin to ignore our physical and intellectual health. During the downturn you can spend the time giving some good exercise to your body and your brain. Read books that you have been thinking of reading for years. Acquire some new skills. Go for long walks and do some exercise to make your body flexible and muscles stronger. Start eating food that doesn’t cost much and that is good for your brain and your body (surprisingly healthy food is always cheaper compared to unhealthy food).

Rethink Your Priorities

A sudden halt in our day-to-day life gives us a chance to look at our priorities from a new angle. What is really important in your life? Your lifestyle, your loved ones or your values? If you are distressed because you won’t be able to afford the lifestyle you have had so far then you surely need to re-evaluate your priorities. Do you really need such a big house in such an expensive neighborhood? Does your child really need to go to that Ivy League college? Do you want to drive that cool vehicle for the purpose of transporting yourself and your family or to show off? Does it really matter if you can no longer afford that expensive liquor and food? Once your priorities are clear you will be surprised to know that things are not as bad as they had seemed a few hours ago.

Consider Alternative Careers

Haven’t you been always thinking of starting out your own pursuits and work for yourself rather than under someone else? Maybe this is the right time to give it a try. Fine, you may not have the required money, but doing something is always better than doing nothing as long as that something is not destructive. You can even collaborate with a few like-minded people, pool up resources, exchange skills and talents and be as creative as you feel like.

Expand Your Market

If you are a freelancer this is definitely the right time to expand your market and explore other regions of the world. Don’t restrict yourself to one country even if it is your own country. In case you are promoting your business through your website then you can focus your efforts towards optimizing your website so that it begins to get traffic from varied resources. If your current traffic is not generating enough business for you then you should start exploring other traffic sources. This will also help you when the hard times are over.

Do Something Socially or Religiously Relevant

Doing something for others without expecting any return always brings you peace and contentment. Cater to your spiritual side – visit your local place of worship and touch base with the supreme one. Refresh the fact that this world is merely an infinitesimally tiny dot in the infinity of the universe. You may feel humbled and peaceful.

Similarly visit your local non-profit organization engaged in helping underprivileged communities. You will discover how bravely people face their day-to-day struggles like not having enough food to eat, not having warm clothes for winter and not having a roof over their heads. You will suddenly discover how small your problems and challenges are. You may decide that they are in fact totally insignificant.

Develop a Habit of Saving

I know saving is the last thing that comes to your mind when you are running out of money but believe me this is the right time to start saving. Although you must be regretting the days when you could have saved but you didn’t, it hardly matters now because nothing can be done about the time that has gone by. What matters is what can be done rather than what could have been done. Even if you can spare a few dollars, save them somewhere.

The things mentioned above may not immediately solve your financial problems but they will certainly go a long way in keeping you strong emotionally and mentally and make you tough to handle tougher situations.

Do you have any advice for using the economic downturn to your advantage? Please share your thoughts in the comments below.

Monday, November 17, 2008

New JAVA technologies

https://glassfish.dev.java.net/

MSDN website, there are a lot of articles, but I rarely use it :-(

http://msdn.microsoft.com/en-us/magazine/default.aspx

Do you want to get a DVD of Microsoft MSDN, etc.?

http://estore.websitepros.com/1779793/StoreFront.bok?cart_id=5909817

This link, the price is just to deliver

A busy week, sad news, many stuffs need to be done

I had plan to do many stuffs, to document many tech. articles. But the sad news was coming, our client in US, they closed the contract after almost 4years with us, built up really strong relationship; because of US economy

I was so sad, my team as well, we was worked together, high dedication, the time we worked together, see people more than the time I was at home, anyway, we need to overcome this situation, and move forward. I do hope to have a chance to work with my client again in future

Squid, a web proxy, i had just completed in US lab, Remote Computer Management to track the resource consumption in Test Automation. Python, etc. "How to motivate team members", I did completed many stuffs and want to document it, but...

After almost 4 years working for client I had experience in Unix/Linux, DBMS as well, but unfortunately I haven't documented it yet, the project closed!

Saturday, November 8, 2008

Increasing Opportunities For Skilled Migrants

http://digi-text.com/archives/2008/11/07/increasing-opportunities-for-skilled-migrants/

Skilled Independent Migration has become increasingly popular with a number of countries, including the UK, Canada, Australia and New Zealand. Essentially, Skilled Independent Migration allows individuals with strong experience and/or education to migrate to another country with the right to work WITHOUT first needing to find an employer to sponsor a work permit. This gets round the problems faced by people seeing great jobs that they cannot apply for because the employer is unwilling to sponsor their work permit.

The purpose of allowing people to enter the country with the right to work already gained is to encourage the entry of people with exactly the skills that the country needs. These visas tend to be more flexible for the individual as they do not tie the person to only one company.

United Kingdom
The HSMP (Highly Skilled Migrant Programme) is a points based system. Applicants are awarded points for their education, experience and previous earnings and must be awarded a minimum of 65 points to qualify. Applicants who are under 28 will get points for this and find the criteria for other areas easier in terms of lower criteria for points being awarded. MBA students from certain universities around the world are also awarded HSMP purely based on their education. The HSMP Visa allows for an initial one year period, with a further three year extension to be applied for at the end of the first year. This scheme has proved very popular since its creation. You can use an online points calculator to get an idea as to whether you are likely to qualify, such as http://www.skillclear.co.uk/hsmp-highly-skilled-migrant-programme-points-calcultor.asp

Canada
The Federal Skilled Worker Visa is again a points based system, but rather more complex than the UK version, with additional points being available in a wider range of areas. These can include points for having a relative in Canada, for having a job offer, for French and English language skills and more. This Visa takes a considerable time to be approved presently, but many feel that the opportunities available in Canada make the wait more than worthwhile. Again, there are online points calculators available to find out if you qualify, such as http://www.skillclear.co.uk/canada/canada-skilled-worker-points-calculator-1.asp

Australia
Skilled Workers wishing to migrate to Australia face two main options - the full Skilled Worker Visa and the Skilled Independent Regional Visa. As its name suggests, the Regional Visa allows you to work in a specific region of Australia and is designed to encourage development of these areas specifically. The full Skilled Worker Visa allows you to work anywhere in Australia but requires you to gain a higher level of points. Again, these visas are more complex than the UK version.

New Zealand
New Zealand is working hard to encourage skilled migrants to move there and have lowered the pass mark from 195 points in 2004 to its current level of 100 points. As with Canada, having a close relative in New Zealand will gain you extra points and previous work experience gained in New Zealand can also gain you extra points.

For individuals with good education and/or experience, there is a strong initiative in these countries to try and encourage you to bring your skills and experience to their economies, representing increasing options available for individuals to experience different cultures and career opportunities.

SkillClear Immigration and Work Permit Services
http://www.skillclear.co.uk/

About the Author

Dean Marshall is a Director and co-founder of www.SkillClear.co.uk - Immigration and Work Permit Consultants for the UK, USA, Canada, Australia and New Zealand.

Friday, November 7, 2008

3 bài học cho giới kinh doanh từ chiến thắng của Obama

Từ chiến thắng của ông Barack Obama, giới kinh doanh có thể rút ra nhiều kinh nghiệm, bởi chạy đua vào Nhà Trắng và điều hành một doanh nghiệp có những nguyên tắc chung mà một nhà lãnh đạo muốn thành công không thể bỏ qua.
> Đường lối kinh tế đối lập giữa Obama và McCain

Trước hết là nguyên tắc mà chính những người sáng lập nước Mỹ hơn 200 năm trước đề cao, là cần có một đường lối rõ ràng, kiên định. Nếu muốn lôi cuốn được nhiều người ủng hộ, người lãnh đạo không thể mỗi lúc đưa ra một thông điệp khác nhau, cũng không thể khiến người ta bị nhầm lẫn bởi quá nhiều thông điệp, hay vì sợ mà phải làm theo mình. Chính sách về y tế của ứng cử viên đảng Cộng Hòa John McCain được giới chuyên môn đánh giá là rất hữu ích, nhưng cách ông trình bày khiến người ta bị ngợp, bởi nó có vẻ rắc rối quá.

Trong khi đó, thông điệp mà ông Obama đưa ra lại rất đơn giản và thể hiện nhiều khát vọng. Ông Obama nói về những thất bại của chính quyền Tổng thống Bush đương nhiệm. Ông nói về những thay đổi, những hy vọng và hệ thống chăm sóc sức khỏe cho toàn dân.

Những bài diễn thuyết của nhà lãnh đạo có tài hùng biện này vẽ lên một bức tranh sáng về tương lai nước Mỹ, và đủ hấp dẫn để lôi cuốn người dân. Ông Obama cũng xây dựng cho mình hình ảnh nhà lãnh đạo kinh tế điển hình: luôn gắn với một số điểm quan trọng nhất định, không ngừng nhắc lại những luận điểm này và cuốn mọi người theo mình.


Trong những bài diễn thuyết của ông Barack Obama, một trong những câu người ta hay nghe thấy nhất là "Có, chúng ta có thể" (Yes, we can).
Ảnh: thestate.com

Một nguyên tắc khác mang lại thành công cho ông Obama nghe có vẻ rất dễ dàng: sự thi hành. Trong một cuốn sách có cùng tựa đề, 2 tác giả Larry Bossidy và Ram Charan nhận định, thi hành không phải là việc duy nhất một nhà lãnh đạo cần làm, nhưng thiếu nó, những quy trình khác không còn ý nghĩa.

Trong suốt gần 2 năm thực hiện chiến dịch chạy đua vào Nhà Trắng, đội ngũ của ông Obama hầu như không mắc phải sai lầm nào. Ngay từ đầu, các cố vấn của ông luôn có sự chuẩn bị tốt và xuất hiện đúng nơi đúng chỗ để hỗ trợ ông. Trong khi đó, đội ngũ của ông McCain có sự gắn kết lỏng lẻo hơn, và có quỹ vận động tranh cử nhỏ hơn, nên khó lòng cạnh tranh được với đối thủ.

Bài học lớn hơn có thể xuất phát từ chính chiến thắng của ông Obama trước đối thủ Hillary Clinton để giành được sự ứng cử của đảng Dân chủ cho chiến dịch vào Nhà Trắng. Khi bắt đầu cuộc đua trong nội bộ đảng Dân chủ, bà Hillary Clinton có nhiều lợi thế và tin tưởng có thể chiến thắng theo cách truyền thống, là giành được các bang quan trọng New York, Ohio, California thì sẽ chiến thắng chung cuộc. Nhưng ông Obama đã giành được chiến thắng sít sao vào thời điểm cuối, và nhờ sự cân nhắc của các thành viên đảng Dân chủ.

Nhiều lãnh đạo doanh nghiệp cho rằng, cứ làm ngày càng tốt những quy trình đã có là sẽ tăng trưởng mạnh. Thực tế, doanh nghiệp tìm thêm được nhiều khách hàng và mở rộng thị trường trong quá trình thay đổi cách vận hành. Người ta không thể đánh bại các đối thủ và lớn mạnh bằng những phương thức đã cũ, mà phải tìm ra những "trò chơi" mới và nhờ đó vượt mặt đối thủ.

Cuộc bầu cử tổng thống vừa diễn ra tại Mỹ cũng một lần nữa khẳng định giá trị của tình bằng hữu vào những thời điểm quan trọng. Ngay từ đầu, ông Obama đã giành được thiện cảm của giới truyền thông, và những cuộc tranh luận nhiều chiều của báo giới ít khi có sự liên quan đến ông. Trong khi đó, càng về sau, đội ngũ của ông McCain càng "mất điểm" trước giới truyền thông. Phần lớn các nhà quan sát cho rằng, thiện cảm mà giới truyền thông dành cho ông Obama đã tạo nên khác biệt lớn giữa ông và đối thủ McCain.

Trong quá trình điều hành doanh nghiệp, các nhà quản lý không thể không có sự đồng lòng của các cộng sự. Nhưng mỗi khi lãnh đạo đưa ra thay đổi, sẽ có người phản đối. Họ có thể phản đối công khai tại các cuộc họp, thông qua truyền thông, hay nhiều cách khác. Vì thế, ngay từ khi bắt đầu công việc quản lý, lãnh đạo doanh nghiệp cần xây dựng cho mình một êkíp làm việc chuyên nghiệp, có năng lực và chia sẻ quan điểm với mình về các chính sách trong công ty.

Nhưng thế vẫn là chưa đủ. Nếu muốn giữ được sự đồng lòng trong nội bộ doanh nghiệp, không nên làm các thành viên khác bị sốc. Việc ông McCain lựa chọn nữ thống đốc bang Alaska Sarah Palin vào liên danh tranh cử được đánh giá là một quyết định có phần ngẫu hứng. Và có khả năng vì thế mà ông có thêm bất lợi trong cuộc đua.

Thu Nga (theo Business Week)

http://www.vnexpress.net/GL/Kinh-doanh/Kinh-nghiem/2008/11/3BA0823A/

Tuesday, November 4, 2008

Một phút để bắt đầu sữ dụng Python

Hôm nay tôi mới download được Unikey, và quyết định viết bài này bằng tiếng Việt. Lý do đơn giản là vì đã có quá nhiều bài viết bằng Tiếng Anh rồi

Một phút bắt đầu:
- Vào website: http://www.python.org/download/, và download gói cài đặt cho Windows của bạn

- Tạo một file text với nội dung (hello.py):
print "Hello World!"

- Mở Python Shell lên và open file (hello.py) lên, một cửa sổ soạn thảo file sẽ xuất hiện

- Trên cửa sổ soạn thảo file, chọn Run\Run Module (hoặc F5)

- Kiểm tra lại cửa sổ Python Shell, bạn sẽ thấy "Hello World!" xuất hiện


Vậy là bạn có thể bắt đầu tập tành viết chương trình Python cho chính bạn rồi đó


Hy vọng mình sẽ có thời gian viết thêm nhiều về Python, những thư viện của nó, tiện ích, ích lợi, v.v.

Digital Inspiration Technology Guide

Change the world with your passion