Hài hước làm tăng hạnh phúc gia đình

Kết quả điều tra về các tiêu chuẩn của người chồng lý tưởng thời nay cho thấy: 72% số phụ nữ muốn người chồng hiện đại phải có tính hài hước. Tiếc rằng những ông chồng hài hước với vợ con hơi bị… tuyệt chủng, họ chỉ mang tiếng cười đi rải khắp nơi cho thiên hạ hưởng. Chuyện này lỗi tại ai?
Hài hước - chất men của cuộc sống
Hài hước phủ lên những hoạt động lặp đi lặp lại một cách nhàm chán trong gia đình thứ ánh sáng màu hồng, làm cho cuộc sống bình lặng trở nên lý thú hơn và vì thế con người thấy yêu đời hơn.
Trong bữa ăn, nếu có người nói một câu hài hước khiến mọi người cười vui vẻ, chắc chắn bữa ăn sẽ ngon hơn, tiêu hoá sẽ tốt hơn. Nếu cả nhà đi chơi mà có người pha trò một câu khiến tất cả cười rúc ra rúc rích thì đó chính là hình ảnh của một gia đình hạnh phúc. Khi phỏng vấn thủ môn Fabien Barthez sau khi đội tuyển Pháp vô địch châu Âu, rằng lúc này anh thích nhất điều gì? Anh trả lời ngay: “Được cùng người yêu cười một trận thả phanh!”.
Có lẽ hầu hết phụ nữ đều muốn được chung sống với người chồng vui tính, chan hòa. Sống với người suốt ngày lầm lì, cau có hết chuyện nọ đến chuyện kia thì dẫu có ăn ngon, mặc đẹp cũng chẳng vui thú gì. Tiếc rằng những pha gây cười trong gia đình không nhiều. Điều lạ lùng là cả những cây hài hước nổi tiếng ở cơ quan mà “tài năng” cũng bị thui chột trong… chính gia đình của họ.
Một lần trong lúc vui, có người hỏi chị vợ của một anh được đồng nghiệp mệnh danh là “vua hài”: “Chắc ở nhà, anh ấy hay làm chị buồn cười lắm nhỉ?”. Nào ngờ nét mặt người vợ bỗng sa sầm: “Ông ấy chỉ mua vui cho thiên hạ thôi, còn ở nhà với vợ con chẳng thấy cười bao giờ”. Nhưng giá như vua hề Charlot nhìn thấy vẻ mặt cau có của chị ta e cũng không thể pha trò nổi.
Để tiếng cười luôn ngập tràn
- Đứa trẻ 2 tuổi cười trung bình 150 lần mỗi ngày nhưng người lớn chỉ còn trung bình 12 lần mỗi ngày.
- Ai cũng biết “một nụ cười bằng mười thang thuốc bổ”, nó làm cho tinh thần sảng khoái, con người trẻ đẹp ra, quên đi mệt mỏi, khí huyết lưu thông, các cơ trên mặt giãn ra, xoá đi các nếp nhăn.
- Nhưng những nụ cười giả tạo hoặc nhếch mép tỏ thái độ lại không tác dụng. Vì cũng như tình yêu, nụ cười là cái không thể mua bán vay mượn, hay thậm chí đánh cắp từ người khác. Bởi vì, khi đó nó chỉ là cái khiên cưỡng và vô nghĩa.
Nếu để ý quan sát, chúng ta sẽ thấy để có một trận cười vui vẻ, phải hội đủ 3 yếu tố sau đây:
1. Có bầu không khí thoải mái, mọi người tạm thời quên đi những buồn phiền lo âu trong cuộc sống. Nếu mỗi thành viên trong gia đình đều vui vẻ mới tạo ra được bầu không khí tươi vui sẵn sàng đón nhận tiếng cười. Trái lại hài hước sẽ trở thành vô duyên, lạc lõng trong bầu không khí buồn thiu. Nhiều người khi về đến nhà là mang theo bao bực tức, ấm ức tích tụ qua cả ngày làm việc. Và họ sẵn sàng để người thân phải chịu đựng bộ mặt cau có của mình mà không nghĩ rằng các thành viên khác đang cảm thấy nặng nề vì chuyện ấy.
2. Phải có người biết thưởng thức tiếng cười. Những người hài hước nói chung đều thông minh. Họ phát hiện những khía cạnh buồn cười và phải được người nghe đồng tình, tán thưởng. Cũng như người gẩy đàn phải có người biết nghe. Nếu kể chuyện tiếu lâm mà không làm cho ai cười thì người kể cũng bẽ mặt chứ chưa nói còn đủ hào hứng để mà kể tiếp. Vậy mà nhiều người sau khi cố gắng chứng tỏ khiếu hài hước của mình ở gia đình thì chỉ nhận được những câu… đau điếng: “Hâm à?”, “Thừa hơi à?”, “Vớ vẩn, người ta đang mệt đây!”, “Im đừng làm ồn để tôi còn xem ti vi”.
3. Người nghe phải biết bình luận, khen chê câu chuyện. Người nghe không chỉ biết nghe mà họ như không thể ngồi yên, cũng muốn góp vào một vài ý hoặc bổ sung thêm một vài khía cạnh khiến cho câu chuyện càng đậm đà, ý nhị hơn. Có điều lạ là đôi khi, có những người khi ra ngoài xã hội rất biết tung hứng, tạo hứng thú cho người khác kể chuyện cười, nhưng về đến nhà thì tự cảm thấy mình… không có trách nhiệm phải lắng nghe những câu chuyện hài hước của người bạn đời.
Rõ ràng để có được tiếng cười trong gia đình, không chỉ một mình ai tạo ra được. Nó phải là sáng tạo của tập thể, là tài năng của mỗi thành viên trong gia đình. Có những người vốn dĩ không phải là người biết hài hước nhưng sau khi chung sống với người bạn đời vui tính một thời gian mà trở thành người hóm hỉnh. Trái lại có những người vốn dĩ có sở trường khôi hài mà sống với người bạn đời buồn tẻ, thì tài năng cũng bị thui chột đi ít nhất là trong ngôi nhà của anh ta. Và những lúc nhớ “nghề”, anh ta phải đến với những thính giả biết thưởng thức tài nghệ của anh ta để được cười cho thoải mái.
Tiếng cười không thể do một cá nhân nào tạo ra được. Nói khác đi không ai có thể hài hước được một mình. Bởi thế, nếu trong cuộc sống gia đình thiếu vắng tiếng cười đâu phải là trách nhiệm của riêng ai mà mọi người đều phải tự hỏi mình đã đóng góp gì vào bầu không khí vui tươi đó chưa?

No Comments

CShout’s wishlist

Hi guys, all your wanted/suggested features have been heard. Please understand that I have been having limited time for personal projects. As promised recently, I will be reviewing CShout and make some significant changes to it due to lots of your interests.
Please suggest or remind me of the features that you would like to be included in the next version of CShout. Those considered ideas will be listed here and guaranteed to be implemented as described.
To be implemented/upgraded features:
  • Auto refresh (with options for admin and users). With optional sound alert upon new messages arrival.
  • New CShout will not support non-javascript browser and use no iframe.
  • Better GUI for management and control
  • Source code will be Subversion controlled
  • Support integration into existing CMS framework for user management.

2 Comments

Web 2.0 goes live

My site is now rebuilt with AJAX. I decide to let it go live so that I can get feedback from you. This site should be displayed all right in those browsers that do not support ajax or have javascript turned off.
If there is any problem browsing my site, please feel free to send me your opinions. Thanks.

No Comments

CShout 2.0 Release

This shoutbox completely needs no database at all. It uses a text file as its database. I have created it since I realised that I would need one for my own. Before that, I used the free shoutbox service at http://www.shoutboxes.com from which I adopted the idea. I started with a free tutorial on the internet which was really really basic and simple.
You can download, unrar and enjoy it straight away as well as using it with phpwcms as a mod. I don’t know if this is considered as a mod but it does something different to the orginial copy of phpwcms. It is my little contribution to phpwcms community. This mod will add a shoutbox into your phpwcms site using phpwcms custom replacement tag.
If you would not mind, please let me know the website that you use this shoutbox. Put a link in to my shoutbox so that others can have different live demos of this shoutbox.
Features:
  • Use flat-file database, easy for setup and backup
  • Support emoticons, flooding control (spam protection), bad words filtering.
  • Display timestamp and ip address via tooltip.
  • Timezone adjusting.
  • Allow the admin to delete unwanted shouts on the fly.
  • Search shouts by date, time, shouter, message, and ip address.
  • Page navigation.
  • New version 2.0 implements AJAX.
  • Support any language/charset.
Websites link to this shoutbox:
Websites use this shoutbox:
CShout 2.x
Install instruction:
- Please refer to installation.html in the CShout 2.0 package.
Versions:
2.0: released on 28 September, 2006 with AJAX implementation but still be compatible with browsers that do not support JavaScript or AJAX. It’s now called CShout 2.0
Download CShout 2.0.1
Shoutbox 1.x
Notes:
Version 1.x is out of date and no longer get updated or fixed. It is recommended to install the latest version.REMEMBER that the replacement tag for phpwcms only works with version 1.x, for newer versions please refer to its installation notes. The replacement tag should be decompressed into/phpwcms_template/inc_script/frontend_render then you can use the tag {SHOUTBOX:‹width›x‹height›} in your articles.
Versions:
1.05: released on 17 June, 2006 with bug fixed and new features. Check the change log in the source code. For those who would like to update from old versions, you only need to replace the file shout.php and off you go.
1.02: released on 06 June, 2005 with features added: flooding control, smiley selection panel and paging navigation.
1.01: released on 05 June, 2005 with updating of timezone settings. Now it does not matter where you host your website, just set the timezone setting in the shoutbox to exactly where you are in the world it will tell you the right time of those shouts. Stop the mouse over a shout, it will tell you when and where (date, time and ip address) it was posted.

2 Comments

How to write your own GDownloadUrl function

While doing the javascript calendar with ajax, I figured that I would need a wrapper function like GDownloadUrl() as you may see in Google Map API. The point is how to pass your custom function to this GDownloadUrl() to process returned xml data.

The Code

A few Google searches gave me the idea of how to do it. I would say this function will do exactly what GDownloadUrl does. In that regard, I name it CDownloadUrl.

Now have a look at the code, explanation will be followed.

/*
method : POST/GET
url    : Call url
func   : custom function which is used to process returned data,
take only one parameter
*/
function CDownloadUrl(method, url, func) {
tvar httpObj;
tvar browser = navigator.appName;
tif(browser.indexOf("Microsoft") > -1)
tthttpObj = new ActiveXObject("Microsoft.XMLHTTP");
telse httpObj = new XMLHttpRequest();
tthttpObj.open(method, url, true);
thttpObj.onreadystatechange = function() {
ttif(httpObj.readyState == 4){
tttif (httpObj.status == 200) {
ttttvar contenttype = httpObj.getResponseHeader('Content-Type');
ttttif (contenttype.indexOf('xml')>-1) {
tttttfunc(httpObj.responseXML);
tttt} else {
tttttfunc(httpObj.responseText);
tttt}
ttt} else {
ttttfunc('Error: '+httpObj.status);
ttt}
tt}
t};
thttpObj.send(null);
}

The function will take 3 parameters which specify method (GET or POST), url and a function taking return data as its parameter. I will give a example of this custom function later.

From line 8 to 13, it is all about setting up variables and instantate an XML object depending on the kind of browser (Microsoft or Non-Microsoft).

After openning a connection on line 15, a handler is defined for onreadystatechange event up to line 29.

The handler actually runs as all the operations are completed (readyState = 4). The early version of this handler was like this:

httpObj.onreadystatechange = function() {
tif(httpObj.readyState == 4){
ttfunc(httpObj.responseXML);
t}
};

It lacks of some essential error checking. The handler needs to check if the request was successful (status code 200 means OK), otherwise it will return Error: plus status code.

Now it seems okie to retrieve data, you may get them from responseXML or responseText. By checking its ‘Content-Type’ header, it knows what to return. Finally, it just pass the data to your custom function.

The last statement is just send the request away.

Example

Many people would find it hard to understand the code without some examples. The following will demonstrate how to use CDownloadUrl to request some text and display it into a div element. Assuming the getsometext.php script return some raw text.

document.write('<div id="test">Old text</div>');
CDownloadUrl('get', 'getsometext.php', function(text) {
tdocument.getElementById('test').innerHTML = text;
});

It can be rewritten in another way as below which is clearer and easy to understand.

document.write('<div id="test">Old text</div>');
function showText(text) {
tdocument.getElementById('test').innerHTML = text;
}
CDownloadUrl('get', 'getsometext.php', showText);

That’s it. I hope you understand and apply it into your own application. If you have any questions or comments, please feel free to shout it in my shoutbox or the form below.

No Comments

New Calendar and Google map pages

Finally, I have finished a solar/lunar calendar of which I am quite happy. It supports displaying events (single or multiple occurrences) based on solar or lunar calendar system. Lunar events calendar is pretty useful for those who want it to remind them death anniversaries (đám giỗ). This calendar is developed from an original version written by Mr. Ho Ngoc Duc at http://come.to/duc. A very big thank to him for his generosity of making the code free to everyone. As soon as this calendar is stable to use, I will make it available for download to anyone who is interested in.
A Google map module has just also been added to make the site a little bit more interesting. If you find the information in my Google map section offensive or incorrect, please let me know so I can put it in the right context.

No Comments

My Yahoo 360°

Someone would wonder why I need this thing while I have already have my own website here. The reason is that my friends and I are keeping in touch on Yahoo Messenger. Yahoo 360° creates a friends network which you cannot resist to be involved. Have a look at http://360.yahoo.com/coolersport and you might find more of me in there.

No Comments

New online file storage

A new only file storage has been set up after a long time without doing anything for my website. This online file system uses MySQL database as its primary file storage. It can basically store anything in it and supports tree directory. Check it out

No Comments

Online Picture EXchange

This is an assignment task which was done in PHP and used MySQL as back-end database. Please visithttp://opex.coolersport.info for more information. A demo user has been provided with user for both username and password.

No Comments

Neuragenix Pty Ltd

Visit Neuragenix’s home page at http://neuragenix.com

No Comments