|
| ||||||
| |||||||
* : the current date of the process |
Downloadable Resources![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To download all of these resources, just right-click on Download here and then click on Save Target As... Last Updated April 19, 2011 10:05AM by: Eddie Sam | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Friday, March 26, 2010
Tuesday, March 23, 2010
A Color for Each Day, A Day for Each Color
By : Moul Jetr, Picture by : Nathan Dexter.
Although city folks don't tend to observe the tradition as much any more, it is not unusual to attend a function and see all the women wearing the same color hols, phamuong and sarongs (types of skirts) on a given day.
This is because each day of the week corresponds with a planet, and each planet has a personality of its own. So each day has a color which clothing should correspond to.
An ancient poem explains the days:
A Color For Each Day, A Day For Each Color
Red is for Sunday,
Orange truly looks like a beautiful moon,
Purple is reserved for Tuesday,
Wednesday is the green of the lieb plant
Thursday is the yellowish green of the leaves of a banana palm
Happy Friday is blue and must be tidy,
Saturday is the color of ripe pring (a type of plum) according to the ages.
Cambodian traditional dress is usually a silk or cotton sampot or hol (types of skirts) and an embroidered collarless top for women, and a sarong for men, although many people nowadays, especially in the city, reserve these outfits for special occasions and wear Western clothes when going about their daily routines.
Mrs Keo Narom, a researcher and writer at the Ministry of Culture and Fine Arts, sites a document compiled in the 1960's by the Buddhist Institute of Cambodia as the best explanation of the choice of color for each day.
"We dress by giving consideration to each planet's vehicle and personality," she said.
"So Sunday (T'ngai attik) is the vehicle of the Sun. Sunlight to Khmers is seen as red, bright and strong enough to have an effect on people's feelings.
"Monday (T'ngai chann) is the day of the moon. The moon is seen as orange, representing a peaceful heart and victory.
"Tuesday (T'ngai angkear) is the day of Mars. Mars can be nasty and stubborn, unlike the soft moon. To offset this, we wear violet, which is a mixture between red and dark blue.
"Wednesday (T'ngai puth) is the day of Mercury. Mercury is impartial and even-tempered-never ferocious. People choose various colors for this day, but the most popular and the one that is generally seen as most favorable is the green of the lieb plant's leaves."
Lieb is a tree with edible leaves that are pale in dry season and turn a brilliant, vibrant green in wet season. It is often eaten with Khmer noodles, sour dishes and in kroeung, or spice pastes.
An saleswoman shows silks for the color of each day at the Exhibition Center, Wat Phnom, run by the Association of Cambodian Artist Friends.
"What everyone does agree on is that Wednesday's color should be a combination of red mixed with blue, white and earthy tones to represent the soil," Mrs Narom said.
"Thursday (T'ngai prohoh) is the day of Jupiter, the planet which we believe is the guru planet for magic, literature and natural phenomena on this planet. For this reason we wear yellowish green, which represents nature, flora and fauna.
"The type of green that best reflects Jupiter should have yellow in it to reflect flexibility, blue to represent progress and white to represent purity. Many people believe Thursday is the most auspicious day for their children to begin studies and that things are learned more quickly on this day of the week. It is an auspicious day, and a day the majority of ceremonies are scheduled for.
"Friday (T'ngai sok) is the day of Venus. Venus is powerful but not spiteful like Mars or Saturn can be. His job is to ensure people are happy and he always maintains an air of tolerance. If he gets angry, he never loses his temper. The best color to represent him is a dark, rich blue," she said.
Friday is believed to be the most happy of days, a day when people should dress especially neatly, and a good day for moving into a new house.
"Saturday (T'ngai sau) is the day of Saturn. He is compassionate and will assist those who please him. However, if he gets angry, he will destroy whoever or whatever caused his rage," she said.
"Khmers used to call Saturday Sau kheung (angry Saturday) or Sau soi (sorrowful Saturday). To offset this, we believe it is best to wear the color of ripe Jambolan plums, called pring tum-a combination of red and dark blue."
Children born on Saturdays are believed to be at risk of suffering sorrow if they displease Saturn, so parents will often invest in rituals to please the planet and ward off potential disasters should the child fail to live up to the planet's expectations.
"If someone does not have the correct color for a particular day, they can substitute pring tum for any of the other days," Mrs Narom concluded. For mourning and funerals, pring tum, black or white are all suitable colors. Other countries have slightly different ideas of colors and corresponding days they should be worn, but Cambodians staunchly hold to their belief in their auspicious colors. So next time you are at a formal function, look at the clothes the women are wearing and see if you can pick what day of the week it is from their attire.
Although city folks don't tend to observe the tradition as much any more, it is not unusual to attend a function and see all the women wearing the same color hols, phamuong and sarongs (types of skirts) on a given day.
This is because each day of the week corresponds with a planet, and each planet has a personality of its own. So each day has a color which clothing should correspond to.
An ancient poem explains the days:
A Color For Each Day, A Day For Each Color
Red is for Sunday,
Orange truly looks like a beautiful moon,
Purple is reserved for Tuesday,
Wednesday is the green of the lieb plant
Thursday is the yellowish green of the leaves of a banana palm
Happy Friday is blue and must be tidy,
Saturday is the color of ripe pring (a type of plum) according to the ages.
Cambodian traditional dress is usually a silk or cotton sampot or hol (types of skirts) and an embroidered collarless top for women, and a sarong for men, although many people nowadays, especially in the city, reserve these outfits for special occasions and wear Western clothes when going about their daily routines.
Mrs Keo Narom, a researcher and writer at the Ministry of Culture and Fine Arts, sites a document compiled in the 1960's by the Buddhist Institute of Cambodia as the best explanation of the choice of color for each day.
"We dress by giving consideration to each planet's vehicle and personality," she said.
"So Sunday (T'ngai attik) is the vehicle of the Sun. Sunlight to Khmers is seen as red, bright and strong enough to have an effect on people's feelings.
"Monday (T'ngai chann) is the day of the moon. The moon is seen as orange, representing a peaceful heart and victory.
"Tuesday (T'ngai angkear) is the day of Mars. Mars can be nasty and stubborn, unlike the soft moon. To offset this, we wear violet, which is a mixture between red and dark blue.
"Wednesday (T'ngai puth) is the day of Mercury. Mercury is impartial and even-tempered-never ferocious. People choose various colors for this day, but the most popular and the one that is generally seen as most favorable is the green of the lieb plant's leaves."
Lieb is a tree with edible leaves that are pale in dry season and turn a brilliant, vibrant green in wet season. It is often eaten with Khmer noodles, sour dishes and in kroeung, or spice pastes.
An saleswoman shows silks for the color of each day at the Exhibition Center, Wat Phnom, run by the Association of Cambodian Artist Friends.
"What everyone does agree on is that Wednesday's color should be a combination of red mixed with blue, white and earthy tones to represent the soil," Mrs Narom said.
"Thursday (T'ngai prohoh) is the day of Jupiter, the planet which we believe is the guru planet for magic, literature and natural phenomena on this planet. For this reason we wear yellowish green, which represents nature, flora and fauna.
"The type of green that best reflects Jupiter should have yellow in it to reflect flexibility, blue to represent progress and white to represent purity. Many people believe Thursday is the most auspicious day for their children to begin studies and that things are learned more quickly on this day of the week. It is an auspicious day, and a day the majority of ceremonies are scheduled for.
"Friday (T'ngai sok) is the day of Venus. Venus is powerful but not spiteful like Mars or Saturn can be. His job is to ensure people are happy and he always maintains an air of tolerance. If he gets angry, he never loses his temper. The best color to represent him is a dark, rich blue," she said.
Friday is believed to be the most happy of days, a day when people should dress especially neatly, and a good day for moving into a new house.
"Saturday (T'ngai sau) is the day of Saturn. He is compassionate and will assist those who please him. However, if he gets angry, he will destroy whoever or whatever caused his rage," she said.
"Khmers used to call Saturday Sau kheung (angry Saturday) or Sau soi (sorrowful Saturday). To offset this, we believe it is best to wear the color of ripe Jambolan plums, called pring tum-a combination of red and dark blue."
Children born on Saturdays are believed to be at risk of suffering sorrow if they displease Saturn, so parents will often invest in rituals to please the planet and ward off potential disasters should the child fail to live up to the planet's expectations.
"If someone does not have the correct color for a particular day, they can substitute pring tum for any of the other days," Mrs Narom concluded. For mourning and funerals, pring tum, black or white are all suitable colors. Other countries have slightly different ideas of colors and corresponding days they should be worn, but Cambodians staunchly hold to their belief in their auspicious colors. So next time you are at a formal function, look at the clothes the women are wearing and see if you can pick what day of the week it is from their attire.
Wednesday, March 17, 2010
How to be a best friend:
How to be a best friend:
1. Be loyal to your best friend and trust him/her.
2. When your best friend falls down, cheer him/her up.
3. Be a good listener to your best friend and give him/her the best advice you can.
4. Be trustworthy to your best friend and don’t gossip about or upset your best friend.
5. Stick up for your best friend.
6. Spend time with your best friend.
7. Be yourself around your best friend and go through thick and thin together.
8. Care for your best friend.
9. Do not expect your best friend to always be there, or to say the thing you want to hear.
10. Share laughs with your best friend.
Se7en VIRTUES OF SCHOOL TEACHER
Se7en VIRTUES OF SCHOOL TEACHER
By
H.E. DR. KOL PHENG
Senior Minister and Minister of Education, Youth and Sports
================================================================
1. Making yourself to be loved by students
2. Maintaining a high moral standard
3. Educating and improving yourself by being equipped with additional knowledge and wisdom
4. Using only good and useful words
5. Being patient and compassionate towards words of others
6. Speaking words of profound meanings
7. Not leading students to plunge themselves into deadly sins or evil deeds.
1. Making Yourself to be Be Loved by Students
Teachers ought to be friendly with students, inspiring them to come to school, to utter only loving (biyvaca), soothing (mnabvaca), sweet (mFuvaca), and truthful (sc©vaca) words. Teachers ought not to use improper words, such as swearing. Once teachers are loved and respected by students, they, in turn, will like to come to school (to class), make their comments, voice their concerns, and ask questions about any doubts they may have. Teachers are students’ guides, counselors, and advisors, but not their casual friends.
2. Maintaining a High Moral Standard
Conducting yourself and maintaining a high moral standard does not mean, at all, making students afraid. It simply means that you carry yourself out in such a way that students would respect and admire you for what you are (a teacher), a role model – Guru. Avoid womanizing drinking, drugging, and gambling; all that would lead you to but ruins in life. As teachers, you must present yourselves and serve as role model that students can count on and look up to you for help –an invaluable and genuine quality of hope for students.
3. Educating and Improving Oneself by Being Equipped with additional Knowledge and Wisdom
Although you have already been teachers, you must continue to everlastingly pursue knowledge and wisdom by reading more, by researching more, and by studying more, taking both the spiritual and worldly (secular, mundane) paths to better yourselves as moral and respected teachers and masters of your pupils.
4. Using Only Good and Useful Words and Comments
Teachers ought to make yourselves eloquent and clear when explaining to students. You ought to periodically remind and give students useful and moral advices – to develop critical thinking and to think critically.
5. Being Patient and Compassionate towards Words of Others
Teachers must be patient and compassionate towards the words of others or the comment and criticism of students. Control yourself and your temperament at all the time; so do not express your anger by making loud noises or inappropriate gestures. Sincerely apologize for any improper behaviors and unintentional mistakes you have made, even to your own students.
6. Speaking Words of Profound Meanings
Teach students everything you know; do not hide anything from them. Here in Cambodia, we say: “Pouring water on the head of a duck”, -- It is not easy for them to retain what you teach. Repeating each important point at the beginning of your new session is the key to remember.
7. Not Leading Students to Plunge Themselves into Deadly Sins or Evil Deeds
Teachers must teach and guide students to walk on a good and moral path. Do not lead them to plunge themselves into deadly sins or evil deeds, like Teacher of Angulimala who lead Angulimala to walk on the wrong path.
By
H.E. DR. KOL PHENG
Senior Minister and Minister of Education, Youth and Sports
================================================================
1. Making yourself to be loved by students
2. Maintaining a high moral standard
3. Educating and improving yourself by being equipped with additional knowledge and wisdom
4. Using only good and useful words
5. Being patient and compassionate towards words of others
6. Speaking words of profound meanings
7. Not leading students to plunge themselves into deadly sins or evil deeds.
1. Making Yourself to be Be Loved by Students
Teachers ought to be friendly with students, inspiring them to come to school, to utter only loving (biyvaca), soothing (mnabvaca), sweet (mFuvaca), and truthful (sc©vaca) words. Teachers ought not to use improper words, such as swearing. Once teachers are loved and respected by students, they, in turn, will like to come to school (to class), make their comments, voice their concerns, and ask questions about any doubts they may have. Teachers are students’ guides, counselors, and advisors, but not their casual friends.
2. Maintaining a High Moral Standard
Conducting yourself and maintaining a high moral standard does not mean, at all, making students afraid. It simply means that you carry yourself out in such a way that students would respect and admire you for what you are (a teacher), a role model – Guru. Avoid womanizing drinking, drugging, and gambling; all that would lead you to but ruins in life. As teachers, you must present yourselves and serve as role model that students can count on and look up to you for help –an invaluable and genuine quality of hope for students.
3. Educating and Improving Oneself by Being Equipped with additional Knowledge and Wisdom
Although you have already been teachers, you must continue to everlastingly pursue knowledge and wisdom by reading more, by researching more, and by studying more, taking both the spiritual and worldly (secular, mundane) paths to better yourselves as moral and respected teachers and masters of your pupils.
4. Using Only Good and Useful Words and Comments
Teachers ought to make yourselves eloquent and clear when explaining to students. You ought to periodically remind and give students useful and moral advices – to develop critical thinking and to think critically.
5. Being Patient and Compassionate towards Words of Others
Teachers must be patient and compassionate towards the words of others or the comment and criticism of students. Control yourself and your temperament at all the time; so do not express your anger by making loud noises or inappropriate gestures. Sincerely apologize for any improper behaviors and unintentional mistakes you have made, even to your own students.
6. Speaking Words of Profound Meanings
Teach students everything you know; do not hide anything from them. Here in Cambodia, we say: “Pouring water on the head of a duck”, -- It is not easy for them to retain what you teach. Repeating each important point at the beginning of your new session is the key to remember.
7. Not Leading Students to Plunge Themselves into Deadly Sins or Evil Deeds
Teachers must teach and guide students to walk on a good and moral path. Do not lead them to plunge themselves into deadly sins or evil deeds, like Teacher of Angulimala who lead Angulimala to walk on the wrong path.
Saturday, March 6, 2010
Realtime Clock
//Realtime Clock
#include
#include
#include
void fun(int a);
main(){
int c;
union REGS in;
clrscr();
while(!kbhit()){
in.h.ah=0x02;
int86(0x1a,&in,&in);
clrscr();
//hr=1;
printf("\n\n\n\t");
fun(in.h.ch);
printf(":");
//hr=0;
fun(in.h.cl);
printf(":");
fun(in.h.dh);
delay(250);
}
return(0);
}
void fun(int a) {
int i,k;
i=a;
a&=0x0f;
i&= 0xf0;
i>>=4;
printf("%d%d",i,a);
}
Accessing SQL Server from C++
Accessing SQL Server from C++
#define DBNTWIN32
#include
#include
#include
#include
// Forward declarations of the error handler and message handler.
int err_handler(PDBPROCESS, INT, INT, INT, LPCSTR, LPCSTR);
int msg_handler(PDBPROCESS, DBINT, INT, INT, LPCSTR, LPCSTR,
LPCSTR, DBUSMALLINT);
main(){
PDBPROCESS dbproc; // The connection with SQL Server.
PLOGINREC login; // The login information.
DBCHAR name[100];
DBCHAR city[100];
//Install user-supplied error- and message-handling functions.
dberrhandle (err_handler);
dbmsghandle (msg_handler);
//Initialize DB-Library.
dbinit ();
//Get a LOGINREC.
login = dblogin ();
DBSETLUSER (login, "my_login");
DBSETLPWD (login, "my_password");
DBSETLAPP (login, "example");
// Get a DBPROCESS structure for communication with SQL Server.
dbproc = dbopen (login, "my_server");
// Retrieve some columns from the authors table in the
// pubs database.
// First, put the command into the command buffer.
dbcmd (dbproc, "SELECT au_lname, city FROM pubs..authors");
dbcmd (dbproc, " WHERE state = 'CA' ");
// Send the command to SQL Server and start execution.
dbsqlexec (dbproc);
// Process the results.
if (dbresults (dbproc) == SUCCEED){
// Bind column to program variables.
dbbind (dbproc, 1, NTBSTRINGBIND, 0, name);
dbbind (dbproc, 2, NTBSTRINGBIND, 0, city);
// Retrieve and print the result rows.
while (dbnextrow (dbproc) != NO_MORE_ROWS){
printf ("%s from %s\n", name, city);
}
}
// Close the connection to SQL Server.
dbexit ();
return (0);
}
int err_handler (PDBPROCESS dbproc, INT severity,
INT dberr, INT oserr, LPCSTR dberrstr, LPCSTR oserrstr){
printf ("DB-Library Error %i: %s\n", dberr, dberrstr);
if (oserr != DBNOERR){
printf ("Operating System Error %i: %s\n", oserr, oserrstr);
}
return (INT_CANCEL);
}
int msg_handler (PDBPROCESS dbproc, DBINT msgno, INT msgstate,
INT severity, LPCSTR msgtext, LPCSTR server,
LPCSTR procedure, DBUSMALLINT line){
printf ("SQL Server Message %ld: %s\n", msgno, msgtext);
return (0);
}
Subscribe to:
Posts (Atom)
Khmer iTech Chat Room
created: 06/28/09 8:26PM (Khmer iTech) |
RELATED RESEARCH FIELDS
- | Ad Hoc Networks (Routing, Security...) |
- | Wireless Communication |
- | Digital Communication |
- | Intelligent Transport System |
- | Computer Network |
- | VLSI System Design |
- | Computer Simulation |
- | Data Communication |
- | Image Processing |
EDUCATIONS
Apr. 2009 | M. Eng., Electrical and Information Engineering |
King Mongkut's University of Technology Thunburi Bangkok, Thailand |
|
Apr. 2006 | B.Sc., Computer Science and Engineering |
Royal University of Phnom Penh (RUPP) Phnom Penh, Kingdom of Cambodia |
|
Jun. 2006 | B.Sc., Physics Subsidiary English: Academic English and Elective course, TOEFL |
Royal University of Phnom Penh (RUPP) Phnom Penh, Kingdom of Cambodia |
|