Google Search

Thursday, September 2, 2010

Can we take bath when we have fever or we are sick ?

There's a myth surrounding about taking shower when u are sick or ill most Indian parents and even doctors to some extent say please do not bath until you are fine, just wash your self with wet towel soaked in hot water.

Recently six of us from development team got viral fever and cold at the same time grrrr!! i think its the plans of QA team to infect us as they did not had any new bugs to log lolzzz! (because a guy from QA team got sick first) !! and one of my colleague said he has not taken bath from 3 days as doctor suggested not to.., i asked why he said he too don't know hmmmm weird isn't it? i am with the viral fever from sat evening but i am still taking bath but i am better than all other guys.

after a decent googling i came to know this urban legend exist even in other countries and after searching for a while i did not get any convincing answers about why we should not take bath when we are ill... what ever it is if any doctor or qualified person under th hood reading this post do share your opinion on this subject, i am still confused.

Wednesday, September 1, 2010

get timezone change notification in windows mobile compact framework?

want to detect time changes or timezone changes events ? people who is working on .netcf windows mobile sdk knows very well that something that should be straight is never straight and something which should be hidden is open, one such catch in windows mobile development is once the application or process starts there is no way we can know if the timezone has changed, even thought the timezone has changed the date time api always returns old timezone value unless until the process/application is restarted.

recently i came across such a situation where i needed to handle timezone change case so after a lot of R&D i came across few sample code snippets in msdn and other discussion forums and websites which showed we can achieve this using win32 interop api's below is the tailored working code.

private const int NOTIFICATION_EVENT_TIME_CHANGE = 1;

private const UInt32 INFINITE = 0xFFFFFFFF;




[DllImport("coredll.dll", EntryPoint="CeRunAppAtEvent",

SetLastError=true)]

private static extern int CeRunAppAtEvent(string pwszAppName,

NOTIFICATION_EVENT lWhichEvent);

[DllImport("coredll.dll", EntryPoint="CreateEvent",SetLastError=true)]

private static extern IntPtr CreateEvent(IntPtr security, int

manualreset, int initialstate, string name);

[DllImport("coredll.dll",

EntryPoint="WaitForSingleObject",SetLastError=true)]

private static extern int WaitForSingleObject(IntPtr handle, uint

millisec);

[DllImport("coredll.dll", EntryPoint = "CloseHandle", SetLastError =

true)]

private static extern bool CloseHandle(IntPtr hHandle);




public Form1()

{

InitializeComponent();

CeRunAppAtEvent("\\\\.\\Notifications\\NamedEvents \\MyTimeNamedEvent",

NOTIFICATION_EVENT_TIME_CHANGE);

Thread thread = new Thread(new ThreadStart(ThreadProc));

thread.Start();

}





private void ThreadProc()

{

IntPtr hEvent = CreateEvent(IntPtr.Zero, false, false,

"MyTimeNamedEvent");

WaitForSingleObject(hEvent, INFINITE);

MessageBox.Show("Time Event Occured");

CloseHandle(hEvent);

}


above code worked flawlessly for me on almost all the devices from pocketpcs to smartphone if you know still better approach do let us know.


Monday, August 30, 2010

Fraud SMS Messages Scam Trapping Innocents : Nigerian 419 Scams

Did you received a SMS on your mobile phone something like this "the common wealth games promo cwg " from TD-CWG2010 or any other address claiming that you have won of £500,000 GBP etc and ask you to send your personal information via email or call some international telephone numbers? then never ever entertain these kind of SMS, these are pure fraudent scams try to loot your hard earned money sometimes these international numbers are high rated calls billing upto 500rs a minute.

I have been receving these kind of SMS from early 2005 and my first encounter with these kinda scam happened in 2004 when i recived a mail claiming that i have won 5 million US dollars at that time i was so convinced about that email i thought it was real and followed up with email and even got a call from them asking to pay few hundered dollars as a processing fee to release the amount which then i realized it has the fraud, so who the heck in this world will pay such a huge fortune for free even without participating in anything?



What made me write this post is one of my friend who is bit undereducated came running to me and said that he had won a large amount showing the SMS, finally to his horror i busted the bubble. what happens if you send a mail to them? they follow up sending a email which is something like below

THE COMMON WEALTH GAMES PROMO(CWG).
REGIONAL CLAIMS VERIFICATION OFFICE,
LONDON, UNITED KINGDOM.
TEL: +44-702 403 9942
Qualification number: CGF/908/G21

Congratulation winner,

Your email address has won a cash prize of(£ 500,000.00 ) Five hundrend thousand Great British pounds (GBP) in the 1st quarter Promotion 2010 "THE COMMON WEALTH GAMES PROMO(CWG)" telephone number drawn from 70 carriers world wide in the major continents: Asia, America, Europe, Carribean and Oceania. The CWG was formed in the year 1930 by Bobby Robbinson with a firm will of promoting and celebrating an atmosphere of unique, friendly, world class Games in these member countries and also strengthening the harmonious mutual relations between the Commonwealth countries..It is pending for your collection kindly contact the below information for claim.

VERIFICATION FORM

Full Name -----
Phone no ------
Address -------
Country --------
Age & sex -------
Two size passport photo- graph--

Yours faithfully,
Mr.Terry Ford.
TEL:+44-702-403-9942

most of the time the telephone number in the mail is fake, these guys most of the time will communicate to you only in emails until they think you are convinced and you are ready to transfer money if necessary they might call you from anonymous number from other side of the planet, so guys beware never fall in this type of nigerain fraud scam

Other Interesting Articles



Related Article Widget by ceveni

Search Powered by Google