Airways
Indian Airlines - 1600 180 1407
Jet Airways - 1600 22 5522
SpiceJet - 1600 180 3333
Automobiles
Mahindra Scorpio - 1600 22 6006
Maruti - 1600 111 515
Tata Motors - 1600 22 5552
Windshield Experts - 1600 11 3636
Banks
ABN AMRO - 1600 11 2224
Canara Bank - 1600 44 6000
Citibank - 1600 44 2265
Corporatin Bank - 1600 443 555
Development Credit Bank - 1600 22 5769
HDFC Bank - 1600 227 227
ICICI Bank - 1600 333 499
ICICI Bank NRI - 1600 22 4848
IDBI Bank - 1600 11 6999
Indian Bank - 1600 425 1400
ING Vysya - 1600 44 9900
Kotak Mahindra Bank - 1600 22 6022
Lord Krishna Bank - 1600 11 2300
Punjab National Bank - 1600 122 222
State Bank of India - 1600 44 1955
Syndicate Bank - 1600 44 6655
Cell Phones
BenQ - 1600 22 08 08
Bird CellPhones - 1600 11 7700
Motorola MotoAssist - 1600 11 1211
Nokia - 3030 3838
Sony Ericsson - 3901 1111
Computers/IT
Adrenalin - 1600 444 445
AMD - 1600 425 6664
Apple Computers - 1600 444 683
Canon - 1600 333 366
Cisco Systems - 1600 221 777
Compaq - HP - 1600 444 999
Data One Broadband - 1600 424 1600
Dell - 1600 444 026
Epson - 1600 44 0011
eSys - 3970 0011
Genesis Tally Academy - 1600 444 888
HCL - 1600 180 8080
IBM - 1600 443 333
Lexmark - 1600 22 4477
Marshal's Point - 1600 33 4488
Microsoft - 1600 111 100
Microsoft Virus Update - 1901 333 334
Seagate - 1600 180 1104
Symantec - 1600 44 5533
TVS Electronics - 1600 444 566
WeP Peripherals - 1600 44 6446
Wipro - 1600 333 312
xerox - 1600 180 1225
Zenith - 1600 222 004
Couriers/Packers & Movers
ABT Courier - 1600 44 8585
AFL Wizz - 1600 22 9696
Agarwal Packers & Movers - 1600 11 4321
Associated Packers P Ltd - 1600 21 4560
DHL - 1600 111 345
FedEx - 1600 22 6161
Goel Packers & Movers - 1600 11
3456
UPS - 1600 22 7171
Education
Edu Plus - 1600 444 000
Hindustan College - 1600 33 4438
NCERT - 1600 11 1265
Vellore Institute of Technology - 1600 441 555
Healthcare
Best on Health - 1600 11 8899
Dr Batras - 1600 11 6767
GlaxoSmithKline - 1600 22 8797
Johnson & Johnson - 1600 22 8111
Kaya Skin Clinic - 1600 22 5292
LifeCell - 1600 44 5323
Manmar Technologies - 1600 33 4420
Pfizer - 1600 442 442
Roche Accu-Chek - 1600 11 45 46
Rudraksha - 1600 21 4708
Varilux Lenses - 1600 44 8383
VLCC - 1600 33 1262
Home Appliances
Aiwa/Sony - 1600 11 1188
Anchor Switches - 1600 22 7979
Blue Star - 1600 22 2200
Bose Audio - 1600 11 2673
Bru Coffee Vending Machines - 1600 44 7171
Daikin Air Conditioners - 1600 444 222
DishTV - 1600 12 3474
Faber Chimneys - 1600 21 4595
Godrej - 1600 22 5511
Grundfos Pumps - 1600 33 4555
LG - 1901 180 9999
Philips - 1600 22 4422
Samsung - 1600 113 444
Sanyo - 1600 11 0101
Voltas - 1600 33 4546
WorldSpace Satellite Radio - 1600
44 5432
Hotel Reservations
GRT Grand - 1600 44 5500
InterContinental Hotels Group - 1600 111 000
Marriott - 1600 22 0044
Sarovar Park Plaza - 1600 111 222
Taj Holidays - 1600 111 825
Insurance
AMP Sanmar - 1600 44 2200
Aviva - 1600 33 2244
Bajaj Allianz - 1600 22 5858
Chola MS General Insurance - 1600
44 5544
HDFC Standard Life - 1600 227 227
LIC - 1600 33 4433
Max New York Life - 1600 33 5577
Royal Sundaram - 1600 33 8899
SBI Life Insurance - 1600 22 9090
Mattresses
Kurl-on - 1600 44 0404
Sleepwell - 1600 11 2266
Investments/ Finance
CAMS - 1600 44 2267
Chola Mutual Fund - 1600 22 2300
Easy IPO's - 3030 5757
Fidelity Investments - 1600 180 8000
Franklin Templeton Fund - 1600 425 4255
J M Morgan Stanley - 1600 22 0004
Kotak Mutual Fund - 1600 222 626
LIC Housing Finance - 1600 44 0005
SBI Mutual Fund - 1600 22 3040
Sharekhan - 1600 22 7500
Tata Mutual Fund - 1600 22 0101
Paints
Asian Paints Home Solutions - 1600 22 5678
Berger Paints Home Decor - 1600 33 8800
Teleshoppin
Asian Sky Shop - 1600 22 1600
Jaipan Teleshoppe - 1600 11 5225
Tele Brands - 1600 11 8000
VMI Teleshopping - 1600 447 777
WWS Teleshopping - 1600 220 777
Travel
Club Mahindra Holidays - 1600 33 4539
Cox & Kings - 1600 22 1235
God TV Tours - 1600 442 777
Kerala Tourism - 1600 444 747
Kumarakom Lake Resort - 1600 44 5030
Raj Travels & Tours - 1600 22 9900
Sita Tours - 1600 111 911
SOTC Tours - 1600 22 3344
UPS
APC - 1600 44 4272
Numeric - 1600 44 3266
Others
Consumer Helpline - 1600 11 4000
L'Oreal, GARNIeR - 1600 223 000
KONE Elevator - 1600 444 666
Indane - 1600 44 51 15
Aavin - 1600 44 3300
Pedigree - 1600 11 2121
Kodak India - 1600 22 8877
Domino's Pizza - 1600 111 123
World Vision India - 1600 444 550
Telecom Monitoring Cell - 1600 110 420
Sunday, July 13, 2008
Some Punch Dialogues....
1)U can study and get any certificates. But u cannot get ur death certificate
2) U may have AIRTEL or BSNL connection but when u sneeze u ll say HUTCH
3 ) U can bcome an engineer if u study in engineering college. U cannot bcom a president if u studies in Presidency College
4 ) U can expect a BUS from a BUS stop..u cannot expect a FULL from FULL stop
5) A mechanical engineer can bcom a mechanic but a software engineer cannot bcom a software
6 ) U can find tea in teacup. But cannot find world in world cup
7) U can find keys in Keyboard but u cannot find mother in motherboard.
2) U may have AIRTEL or BSNL connection but when u sneeze u ll say HUTCH
3 ) U can bcome an engineer if u study in engineering college. U cannot bcom a president if u studies in Presidency College
4 ) U can expect a BUS from a BUS stop..u cannot expect a FULL from FULL stop
5) A mechanical engineer can bcom a mechanic but a software engineer cannot bcom a software
6 ) U can find tea in teacup. But cannot find world in world cup
7) U can find keys in Keyboard but u cannot find mother in motherboard.
Sunday, June 29, 2008
A Funny Comparison
Love Marriage: Resembles procedural programming language. We have some set functions like going to movies together, making long conversations on phone and then try to fit all functions to the candidate we like.
Arranged Marriage: Similar to object oriented programming approach.We first fix the candidate and then try to implement functions on her. The main object is fixed and various functions are added to supplement the main program. The functions can be added or deleted.
Love Marriage: It is a throwaway type of prototype as client requirements rises with time thus it is a dynamic system and difficult to maintain.
Arranged Marriage: Requirements are well defined so use of waterfall model is possible.
Love Marriage: Family system hangs because hardware called parents are not responding.
Arranged Marriage: Compatible with hardware Parents.
Love Marriage: You are the project leader so u are responsible for implementation and execution of PROJECT- married life.
Arranged Marriage: You are a team member under project leader parents so they are responsible for successful execution of project Married life.
Love Marriage: Client expectations include exciting feature as spouse cooking food, washing clothes etc.
Arranged Marriage: All these features are covered in the SRS as required features.
Love Marriage: Acceptance test possible you can try before you Buy.
Arranged Marriage: Similar to object oriented programming approach.We first fix the candidate and then try to implement functions on her. The main object is fixed and various functions are added to supplement the main program. The functions can be added or deleted.
Love Marriage: It is a throwaway type of prototype as client requirements rises with time thus it is a dynamic system and difficult to maintain.
Arranged Marriage: Requirements are well defined so use of waterfall model is possible.
Love Marriage: Family system hangs because hardware called parents are not responding.
Arranged Marriage: Compatible with hardware Parents.
Love Marriage: You are the project leader so u are responsible for implementation and execution of PROJECT- married life.
Arranged Marriage: You are a team member under project leader parents so they are responsible for successful execution of project Married life.
Love Marriage: Client expectations include exciting feature as spouse cooking food, washing clothes etc.
Arranged Marriage: All these features are covered in the SRS as required features.
Love Marriage: Acceptance test possible you can try before you Buy.
Latest Version of ABCD.....
Yae
Bee
See
Dee
Eee
Yef
Jee
Hetch
Ai
Jae
Kae
Yel
Yem
Yen
Oh
Pee
Kyu
Aar
Yes
Tea
You
We
DoubleYou
Eks
Why
zed
Bee
See
Dee
Eee
Yef
Jee
Hetch
Ai
Jae
Kae
Yel
Yem
Yen
Oh
Pee
Kyu
Aar
Yes
Tea
You
We
DoubleYou
Eks
Why
zed
Sunday, June 22, 2008
Sardarji Virus....
Dear Receiver....
I am Sardarji Virus. Since I am not so technically
advanced, this is a MANUAL virus. Please delete all
the files on your hard disk yourself and send this
email to everyone you know.
Thank you very much for helping me.
Sardarji Virus.
I am Sardarji Virus. Since I am not so technically
advanced, this is a MANUAL virus. Please delete all
the files on your hard disk yourself and send this
email to everyone you know.
Thank you very much for helping me.
Sardarji Virus.
If you have been in IT industry too long these are your symptoms...
1.) U use phrases like "No issues" and "Value addition" in everyday parlance. For e.g. When talking about your Milkman, U say, "His milk does zero value addition to my health but he is the only guy around so no issues"
2.) Ur prime source of entertainment is the forwards send to U by friends whose faces U cant remember.
3.) U drink more tea or coffee than water.
4.) U keep trying to shut down ur home computer by pressing Ctrl+Alt+Del (used to lock office comps)
5.) When ur mobile rings at home, U rush outside to receive thecall.
6.) When U make calls at home, U accidentally dial "0"to get an outside line.
7.) U haven't played Solitaire with real cards in years.
8.) U try to open Lift and House Doors using Access card.
9.) U spend the entire day reading forwards, drinking tea/coffee and playing T.T. and then complain about the late working hours.
10.) Ur important 'meetings' usually comprise two or three people max, including yourself.
11) U secretly prepare for CAT only to find ur PL sitting behind you at the exam.
12.) U keep pressing Ctrl+Enter wondering why your gmail is not going.
13.) U email ur mate who works at the desk next to U.
2.) Ur prime source of entertainment is the forwards send to U by friends whose faces U cant remember.
3.) U drink more tea or coffee than water.
4.) U keep trying to shut down ur home computer by pressing Ctrl+Alt+Del (used to lock office comps)
5.) When ur mobile rings at home, U rush outside to receive thecall.
6.) When U make calls at home, U accidentally dial "0"to get an outside line.
7.) U haven't played Solitaire with real cards in years.
8.) U try to open Lift and House Doors using Access card.
9.) U spend the entire day reading forwards, drinking tea/coffee and playing T.T. and then complain about the late working hours.
10.) Ur important 'meetings' usually comprise two or three people max, including yourself.
11) U secretly prepare for CAT only to find ur PL sitting behind you at the exam.
12.) U keep pressing Ctrl+Enter wondering why your gmail is not going.
13.) U email ur mate who works at the desk next to U.
Electronic Invitation
You are electronically invited on the marriage occasion of
Mr. TRANSISTOR BC107 ,
(working as amplifier in "CE" configuration)
With
Miss. DIODE IN4007,
(working as a rectifier in Electronic Circuits)
The only Daughter of Mr & Mrs. Silicon and Germanium
MUHURTAM May 30, 2K6 @ 10-45 Amplitude Modulation
VENUE At Peizo Electric Palace, Near Wein Bridge, Nyquist criterion Road-2,
Electricity -508085.
Yours inductively
Mr&Mrs. ADC DAC,
Near P-N Junction, IC Road , Zener breakdown.
With BEST COMPLIMENTS FROM,
Inductor, Resistor, Capacitor, Transformer Near & Dear
Note: Musical Ni ght By Motors and Generators
Chief Guest: LED's And LCD's
Mr. TRANSISTOR BC107 ,
(working as amplifier in "CE" configuration)
With
Miss. DIODE IN4007,
(working as a rectifier in Electronic Circuits)
The only Daughter of Mr & Mrs. Silicon and Germanium
MUHURTAM May 30, 2K6 @ 10-45 Amplitude Modulation
VENUE At Peizo Electric Palace, Near Wein Bridge, Nyquist criterion Road-2,
Electricity -508085.
Yours inductively
Mr&Mrs. ADC DAC,
Near P-N Junction, IC Road , Zener breakdown.
With BEST COMPLIMENTS FROM,
Inductor, Resistor, Capacitor, Transformer Near & Dear
Note: Musical Ni ght By Motors and Generators
Chief Guest: LED's And LCD's
Hello World Programs .....
High School/Jr.High
10 PRINT "HELLO WORLD"
20 END
First year in College
program Hello(input, output)
begin
writeln('Hello World')
end.
Senior year in College
(defun hello
(print
(cons 'Hello (list 'World))))
New professional
#include
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message);
printf("\n");
}
Seasoned professional
#include
#include
class string
{
private:
int size;
char *ptr;
public:
string() : size(0), ptr(new char('\0')) {}
string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}
~string()
{
delete [] ptr;
}
friend ostream &operator <<(ostream &, const string &);
string &operator=(const char *);
};
ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}
string &string::operator=(const char *chrs)
{
if (this != &chrs)
{
delete [] ptr;
size = strlen(chrs);
ptr = new char[size + 1];
strcpy(ptr, chrs);
}
return(*this);
}
int main()
{
string str;
str = "Hello World";
cout << str << endl;
return(0);
}
Master Programmer
[
uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
]
library LHello
{
// bring in the master library
importlib("actimp.tlb");
importlib("actexp.tlb");
// bring in my interfaces
#include "pshlo.idl"
[
uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)
]
cotype THello
{
interface IHello;
interface IPersistFile;
};
};
[
exe,
uuid(2573F890-CFEE-101A-9A9F-00AA00342820)
]
module CHelloLib
{
// some code related header files
importheader();
importheader();
importheader();
importheader("pshlo.h");
importheader("shlo.hxx");
importheader("mycls.hxx");
// needed typelibs
importlib("actimp.tlb");
importlib("actexp.tlb");
importlib("thlo.tlb");
[
uuid(2573F891-CFEE-101A-9A9F-00AA00342820),
aggregatable
]
coclass CHello
{
cotype THello;
};
};
#include "ipfix.hxx"
extern HANDLE hEvent;
class CHello : public CHelloBase
{
public:
IPFIX(CLSID_CHello);
CHello(IUnknown *pUnk);
~CHello();
HRESULT __stdcall PrintSz(LPWSTR pwszString);
private:
static int cObjRef;
};
#include
#include
#include
#include
#include "thlo.h"
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"
int CHello::cObjRef = 0;
CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)
{
cObjRef++;
return;
}
HRESULT __stdcall CHello::PrintSz(LPWSTR pwszString)
{
printf("%ws\n", pwszString);
return(ResultFromScode(S_OK));
}
CHello::~CHello(void)
{
// when the object count goes to zero, stop the server
cObjRef--;
if( cObjRef == 0 )
PulseEvent(hEvent);
return;
}
#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"
HANDLE hEvent;
int _cdecl main(
int argc,
char * argv[]
) {
ULONG ulRef;
DWORD dwRegistration;
CHelloCF *pCF = new CHelloCF();
hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
// Initialize the OLE libraries
CoInitializeEx(NULL, COINIT_MULTITHREADED);
CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
REGCLS_MULTIPLEUSE, &dwRegistration);
// wait on an event to stop
WaitForSingleObject(hEvent, INFINITE);
// revoke and release the class object
CoRevokeClassObject(dwRegistration);
ulRef = pCF->Release();
// Tell OLE we are going away.
CoUninitialize();
return(0); }
extern CLSID CLSID_CHello;
extern UUID LIBID_CHelloLib;
CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */
0x2573F891,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};
UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */
0x2573F890,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};
#include
#include
#include
#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "clsid.h"
int _cdecl main(
int argc,
char * argv[]
) {
HRESULT hRslt;
IHello *pHello;
ULONG ulCnt;
IMoniker * pmk;
WCHAR wcsT[_MAX_PATH];
WCHAR wcsPath[2 * _MAX_PATH];
// get object path
wcsPath[0] = '\0';
wcsT[0] = '\0';
if( argc > 1) {
mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
wcsupr(wcsPath);
}
else {
fprintf(stderr, "Object path must be specified\n");
return(1);
}
// get print string
if(argc > 2)
mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);
else
wcscpy(wcsT, L"Hello World");
printf("Linking to object %ws\n", wcsPath);
printf("Text String %ws\n", wcsT);
// Initialize the OLE libraries
hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);
if(SUCCEEDED(hRslt)) {
hRslt = CreateFileMoniker(wcsPath, &pmk);
if(SUCCEEDED(hRslt))
hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&pHello);
if(SUCCEEDED(hRslt)) {
// print a string out
pHello->PrintSz(wcsT);
Sleep(2000);
ulCnt = pHello->Release();
}
else
printf("Failure to connect, status: %lx", hRslt);
// Tell OLE we are going away.
CoUninitialize();
}
return(0);
}
10 PRINT "HELLO WORLD"
20 END
First year in College
program Hello(input, output)
begin
writeln('Hello World')
end.
Senior year in College
(defun hello
(cons 'Hello (list 'World))))
New professional
#include
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message);
printf("\n");
}
Seasoned professional
#include
#include
class string
{
private:
int size;
char *ptr;
public:
string() : size(0), ptr(new char('\0')) {}
string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}
~string()
{
delete [] ptr;
}
friend ostream &operator <<(ostream &, const string &);
string &operator=(const char *);
};
ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}
string &string::operator=(const char *chrs)
{
if (this != &chrs)
{
delete [] ptr;
size = strlen(chrs);
ptr = new char[size + 1];
strcpy(ptr, chrs);
}
return(*this);
}
int main()
{
string str;
str = "Hello World";
cout << str << endl;
return(0);
}
Master Programmer
[
uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
]
library LHello
{
// bring in the master library
importlib("actimp.tlb");
importlib("actexp.tlb");
// bring in my interfaces
#include "pshlo.idl"
[
uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)
]
cotype THello
{
interface IHello;
interface IPersistFile;
};
};
[
exe,
uuid(2573F890-CFEE-101A-9A9F-00AA00342820)
]
module CHelloLib
{
// some code related header files
importheader(
importheader(
importheader(
importheader("pshlo.h");
importheader("shlo.hxx");
importheader("mycls.hxx");
// needed typelibs
importlib("actimp.tlb");
importlib("actexp.tlb");
importlib("thlo.tlb");
[
uuid(2573F891-CFEE-101A-9A9F-00AA00342820),
aggregatable
]
coclass CHello
{
cotype THello;
};
};
#include "ipfix.hxx"
extern HANDLE hEvent;
class CHello : public CHelloBase
{
public:
IPFIX(CLSID_CHello);
CHello(IUnknown *pUnk);
~CHello();
HRESULT __stdcall PrintSz(LPWSTR pwszString);
private:
static int cObjRef;
};
#include
#include
#include
#include
#include "thlo.h"
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"
int CHello::cObjRef = 0;
CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)
{
cObjRef++;
return;
}
HRESULT __stdcall CHello::PrintSz(LPWSTR pwszString)
{
printf("%ws\n", pwszString);
return(ResultFromScode(S_OK));
}
CHello::~CHello(void)
{
// when the object count goes to zero, stop the server
cObjRef--;
if( cObjRef == 0 )
PulseEvent(hEvent);
return;
}
#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"
HANDLE hEvent;
int _cdecl main(
int argc,
char * argv[]
) {
ULONG ulRef;
DWORD dwRegistration;
CHelloCF *pCF = new CHelloCF();
hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
// Initialize the OLE libraries
CoInitializeEx(NULL, COINIT_MULTITHREADED);
CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
REGCLS_MULTIPLEUSE, &dwRegistration);
// wait on an event to stop
WaitForSingleObject(hEvent, INFINITE);
// revoke and release the class object
CoRevokeClassObject(dwRegistration);
ulRef = pCF->Release();
// Tell OLE we are going away.
CoUninitialize();
return(0); }
extern CLSID CLSID_CHello;
extern UUID LIBID_CHelloLib;
CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */
0x2573F891,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};
UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */
0x2573F890,
0xCFEE,
0x101A,
{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
};
#include
#include
#include
#include
#include
#include "pshlo.h"
#include "shlo.hxx"
#include "clsid.h"
int _cdecl main(
int argc,
char * argv[]
) {
HRESULT hRslt;
IHello *pHello;
ULONG ulCnt;
IMoniker * pmk;
WCHAR wcsT[_MAX_PATH];
WCHAR wcsPath[2 * _MAX_PATH];
// get object path
wcsPath[0] = '\0';
wcsT[0] = '\0';
if( argc > 1) {
mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
wcsupr(wcsPath);
}
else {
fprintf(stderr, "Object path must be specified\n");
return(1);
}
// get print string
if(argc > 2)
mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);
else
wcscpy(wcsT, L"Hello World");
printf("Linking to object %ws\n", wcsPath);
printf("Text String %ws\n", wcsT);
// Initialize the OLE libraries
hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);
if(SUCCEEDED(hRslt)) {
hRslt = CreateFileMoniker(wcsPath, &pmk);
if(SUCCEEDED(hRslt))
hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&pHello);
if(SUCCEEDED(hRslt)) {
// print a string out
pHello->PrintSz(wcsT);
Sleep(2000);
ulCnt = pHello->Release();
}
else
printf("Failure to connect, status: %lx", hRslt);
// Tell OLE we are going away.
CoUninitialize();
}
return(0);
}
Some of the Oracle real life messages...
Q. What if your Dad loses his car keys?
A. 'Parent keys not found!'
Q. What if your old girl friend spots you with your new one?
A. 'Duplicate value on index!'
Q. What if the golf ball doesn't get into the hole at all?
A. 'Value larger than specified precision!'
Q. What if you don't get any response from the girl next door?
A. 'No data found!' or ' Query caused no rows retrieved!'
Q. What if you dial a wrong number?
A. 'Invalid number' or ' Object doesn't exist!'
Q. What if you try to beat your own trumpet?
A. 'Object is found mutating!'
Q. What if you are too late to office and the boss catches you?
A. 'Discrete transaction failed!'
Q. What if you see 'theatre full' when you go to a movie?
A. 'Maximum number of users exceeded!'
Q. What if you don't get table in the lunch room?
A. 'System out of tablespace!'
A. 'Parent keys not found!'
Q. What if your old girl friend spots you with your new one?
A. 'Duplicate value on index!'
Q. What if the golf ball doesn't get into the hole at all?
A. 'Value larger than specified precision!'
Q. What if you don't get any response from the girl next door?
A. 'No data found!' or ' Query caused no rows retrieved!'
Q. What if you dial a wrong number?
A. 'Invalid number' or ' Object doesn't exist!'
Q. What if you try to beat your own trumpet?
A. 'Object is found mutating!'
Q. What if you are too late to office and the boss catches you?
A. 'Discrete transaction failed!'
Q. What if you see 'theatre full' when you go to a movie?
A. 'Maximum number of users exceeded!'
Q. What if you don't get table in the lunch room?
A. 'System out of tablespace!'
The Leave Applications
Infosys , Bangalore :
An employee applied for leave as follows:
'Since I have to go to my village to sell my land along with my wife , please sanction me one-week leave.'
This is from Oracle Bangalore:
From an employee who was performing the 'mundan' ceremony of his 10 year old son:
'as I want to shave my son's head , please leave me for two days..'
From H.A.L. Administration Dept:
'As my mother-in-law has expired and I am only one responsible for it , please grant me 10 days leave.'
Another employee applied for half day leave as follows:
'Since I've to go to the cremation ground at 10 o-clock and I may not return , please grant me half day casual leave'
An incident of a leave letter:
'I am suffering from fever , please declare one-day holiday.'
A leave letter to the headmaster:
'As I am studying in this school I am suffering from headache. I request you to leave me today'
Another leave letter written to the headmaster:
'As my headache is paining , please grant me leave for the day.'
Covering note:
'I am enclosed herewith...'
Another Note:
'Dear Sir: with reference to the above , please refer to my below...'
Letter writing:
'I am well here and hope you are also in the same well.'
An employee applied for leave as follows:
'Since I have to go to my village to sell my land along with my wife , please sanction me one-week leave.'
This is from Oracle Bangalore:
From an employee who was performing the 'mundan' ceremony of his 10 year old son:
'as I want to shave my son's head , please leave me for two days..'
From H.A.L. Administration Dept:
'As my mother-in-law has expired and I am only one responsible for it , please grant me 10 days leave.'
Another employee applied for half day leave as follows:
'Since I've to go to the cremation ground at 10 o-clock and I may not return , please grant me half day casual leave'
An incident of a leave letter:
'I am suffering from fever , please declare one-day holiday.'
A leave letter to the headmaster:
'As I am studying in this school I am suffering from headache. I request you to leave me today'
Another leave letter written to the headmaster:
'As my headache is paining , please grant me leave for the day.'
Covering note:
'I am enclosed herewith...'
Another Note:
'Dear Sir: with reference to the above , please refer to my below...'
Letter writing:
'I am well here and hope you are also in the same well.'
Saturday, June 14, 2008
Team Dialogues
(When you join the project) -
"Please don't hesitate to come to me any time for any technical or
domain help"
(When you go to him for help) -
"You can find it out man.... Can't you?
Search in the books, and try to find it out yourself."
(When you 'try to find it out yourself') -
"You can't waste time like this. You should've come to me for help. We
have to deliver .Come to my place"
(When you go to him for help, again) -
"Don't make any changes in the code now. Come up with a document for
impact analysis by lunch"
(When you go to him Just before lunch) -
"So, what have you done since morning? This document? Shall we deliver
this? How many lines of coding did you do?............. See, this is
not the way we should work"
(When you go to him 1 hr after lunch, with a small amount of coding
-that's all what's necessary ) -
"Only this much of coding since morning!!!" (Probably, you could've
added the lyrics of a Hindi song in your code to make it look healthy).
"Change here, ......... change there, ............. Add
here,................ Modify there . Do it NOW"
(When you go to him with the changes suggested by him) -
"Who asked you to do these? Everything's wrong here. See, this is not
the way we should work..............."
(Every 10 minutes) -
"So? What's the status??
Lucky I am not in such a Team....
"Please don't hesitate to come to me any time for any technical or
domain help"
(When you go to him for help) -
"You can find it out man.... Can't you?
Search in the books, and try to find it out yourself."
(When you 'try to find it out yourself') -
"You can't waste time like this. You should've come to me for help. We
have to deliver .Come to my place"
(When you go to him for help, again) -
"Don't make any changes in the code now. Come up with a document for
impact analysis by lunch"
(When you go to him Just before lunch) -
"So, what have you done since morning? This document? Shall we deliver
this? How many lines of coding did you do?............. See, this is
not the way we should work"
(When you go to him 1 hr after lunch, with a small amount of coding
-that's all what's necessary ) -
"Only this much of coding since morning!!!" (Probably, you could've
added the lyrics of a Hindi song in your code to make it look healthy).
"Change here, ......... change there, ............. Add
here,................ Modify there . Do it NOW"
(When you go to him with the changes suggested by him) -
"Who asked you to do these? Everything's wrong here. See, this is not
the way we should work..............."
(Every 10 minutes) -
"So? What's the status??
Lucky I am not in such a Team....
Thursday, May 8, 2008
Types of Computer Girls ( Computer Humor )
CD-ROM GIRLS
She is always faster and faster.
EMAIL GIRLS
Every ten things she says, eight are nonsense .
HARD DISK GIRLS
She remembers everything, FOREVER
INTERNET GIRLS
Difficult to access
MULTIMEDIA GIRLS
She make horrible thing look beautiful
SCREENSAVER GIRLS
She is good for nothing but at least she is fun
RAM GIRLS
forget about you, the moment turn her off
WINDOW GIRLS
Everyone know that she can't do a thing right, but no one can live without her.
VIRUS GIRLS
Also known as "wife'' when you are not expecting her, she comes, install herself and uses all your resources. If you try to uninstall her you will lose something, if don't try to uninstall her you will lose everything...
SERVER GIRLS
Always busy when you need her.
She is always faster and faster.
EMAIL GIRLS
Every ten things she says, eight are nonsense .
HARD DISK GIRLS
She remembers everything, FOREVER
INTERNET GIRLS
Difficult to access
MULTIMEDIA GIRLS
She make horrible thing look beautiful
SCREENSAVER GIRLS
She is good for nothing but at least she is fun
RAM GIRLS
forget about you, the moment turn her off
WINDOW GIRLS
Everyone know that she can't do a thing right, but no one can live without her.
VIRUS GIRLS
Also known as "wife'' when you are not expecting her, she comes, install herself and uses all your resources. If you try to uninstall her you will lose something, if don't try to uninstall her you will lose everything...
SERVER GIRLS
Always busy when you need her.
Mathematician in love
My Dear SweetHeart,
Yesterday, I was passing by your rectangular house in trigonometric lane.
There I saw you with your cute circular face,conical nose and spherical eyes,standing in your triangular garden.
Before seeing you my heart was a null set, but when a vector of magnitude (likeness) from your eyes at a deviation of theta radians made a tangent to my heart, it differentiated.
My love for you is a quadratic equation with real roots, which only you can solve by making good binary relation with me.
The cosine of my love for you extends to infinity.
I promise that I should not resolve you into partial functions but if I do so, you can integrate me by applying the limits from zero to infinity.
You are as essential to me as an element to a set.
The geometry of my life revolves around your acute personality.
My love, if you do not meet me at parabola restaurant on date 10 at sunset, when the sun is making an angle of 160 degrees, my heart would be like a solved polynomial of degree 10.
With love from your higher order derivatives of maxima and minima, of an unknown function.
Yesterday, I was passing by your rectangular house in trigonometric lane.
There I saw you with your cute circular face,conical nose and spherical eyes,standing in your triangular garden.
Before seeing you my heart was a null set, but when a vector of magnitude (likeness) from your eyes at a deviation of theta radians made a tangent to my heart, it differentiated.
My love for you is a quadratic equation with real roots, which only you can solve by making good binary relation with me.
The cosine of my love for you extends to infinity.
I promise that I should not resolve you into partial functions but if I do so, you can integrate me by applying the limits from zero to infinity.
You are as essential to me as an element to a set.
The geometry of my life revolves around your acute personality.
My love, if you do not meet me at parabola restaurant on date 10 at sunset, when the sun is making an angle of 160 degrees, my heart would be like a solved polynomial of degree 10.
With love from your higher order derivatives of maxima and minima, of an unknown function.
Saturday, April 5, 2008
Uncommon Windows Shortcuts
CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
F2 key (Rename the selected item)
CTRL+SHIFT with any of the arrow keys (Highlight a block of text)
SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)
F3 key (Search for a file or a folder)
ALT+ENTER (Display the properties of the selected object)
CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)
ALT+TAB (Switch between the open items)
ALT+ESC (Cycle through items in the order that they had been opened)
F6 key (Cycle through the screen elements in a window or on the desktop)
F4 key (Display the Address bar list in My Computer or Windows Explorer)
SHIFT+F10 (Display the shortcut menu for the selected item)
ALT+SPACEBAR (Display the System menu for the active window)
CTRL+ESC (Display the Start menu)
F10 key (Activate the menu bar in the active program)
F2 key (Rename the selected item)
CTRL+SHIFT with any of the arrow keys (Highlight a block of text)
SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)
F3 key (Search for a file or a folder)
ALT+ENTER (Display the properties of the selected object)
CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)
ALT+TAB (Switch between the open items)
ALT+ESC (Cycle through items in the order that they had been opened)
F6 key (Cycle through the screen elements in a window or on the desktop)
F4 key (Display the Address bar list in My Computer or Windows Explorer)
SHIFT+F10 (Display the shortcut menu for the selected item)
ALT+SPACEBAR (Display the System menu for the active window)
CTRL+ESC (Display the Start menu)
F10 key (Activate the menu bar in the active program)
Some of Windows Run Commands
Certificate Manager : certmgr.msc
Character Map : charmap
Check Disk Utility : chkdsk
Clipboard Viewer : clipbrd
Command Prompt : cmd
Component Services : dcomcnfg
Computer Management : compmgmt.msc
Date and Time Properties : timedate.cpl
DDE Shares : ddeshare
Device Manager : devmgmt.msc
Direct X Control Panel (If Installed)* : directx.cpl
Direct X Troubleshooter : dxdiag
Disk Cleanup Utility : cleanmgr
Disk Defragment : dfrg.msc
Character Map : charmap
Check Disk Utility : chkdsk
Clipboard Viewer : clipbrd
Command Prompt : cmd
Component Services : dcomcnfg
Computer Management : compmgmt.msc
Date and Time Properties : timedate.cpl
DDE Shares : ddeshare
Device Manager : devmgmt.msc
Direct X Control Panel (If Installed)* : directx.cpl
Direct X Troubleshooter : dxdiag
Disk Cleanup Utility : cleanmgr
Disk Defragment : dfrg.msc
Wednesday, February 27, 2008
CONSERVE GRAVITY
CONSERVE GRAVITY
Follow these simple suggestions:
(1) Walk with a light step. Carry helium balloons if possible.
(2) Use tape, magnets, or glue instead of paperweights.
(3) Give up skiing and skydiving for more horizontal sports like curling.
(4) Avoid showers .. take baths instead.
(5) Don't hang all your clothes in the closet ... Keep them in one big pile.
(6) Stop flipping pancakes
Follow these simple suggestions:
(1) Walk with a light step. Carry helium balloons if possible.
(2) Use tape, magnets, or glue instead of paperweights.
(3) Give up skiing and skydiving for more horizontal sports like curling.
(4) Avoid showers .. take baths instead.
(5) Don't hang all your clothes in the closet ... Keep them in one big pile.
(6) Stop flipping pancakes
News About Oxygen
Oxygen is a very toxic gas and an extreme fire hazard. It is fatal in concentrations of as little as 0.000001 p.p.m. Humans exposed to the oxygen concentrations die within a few minutes. Symptoms resemble very much those of cyanide poisoning (blue face, etc.). In higher concentrations, e.g. 20%, the toxic effect is somewhat delayed and it takes about 2.5 billion inhalations before death takes place. The reason for the delay is the difference in the mechanism of the toxic effect of oxygen in 20% concentration. It apparently contributes to a complex process called aging, of which very little is known, except that it is always fatal.
However, the main disadvantage of the 20% oxygen concentration is in the
fact it is habit forming. The first inhalation (occurring at birth) is sufficient to make oxygen addiction permanent. After that, any considerable decrease in the daily oxygen doses results in death with symptoms resembling those of cyanide poisoning.
Oxygen is an extreme fire hazard. All of the fires that were reported in the continental U.S. for the period of the past 25 years were found to be due to the presence of this gas in the atmosphere surrounding the buildings in question.
Oxygen is especially dangerous because it is odorless, colorless and
tasteless, so that its presence can not be readily detected until it is
too late.
-- Chemical & Engineering News February 6, 1956
However, the main disadvantage of the 20% oxygen concentration is in the
fact it is habit forming. The first inhalation (occurring at birth) is sufficient to make oxygen addiction permanent. After that, any considerable decrease in the daily oxygen doses results in death with symptoms resembling those of cyanide poisoning.
Oxygen is an extreme fire hazard. All of the fires that were reported in the continental U.S. for the period of the past 25 years were found to be due to the presence of this gas in the atmosphere surrounding the buildings in question.
Oxygen is especially dangerous because it is odorless, colorless and
tasteless, so that its presence can not be readily detected until it is
too late.
-- Chemical & Engineering News February 6, 1956
Saturday, February 16, 2008
Jokes
Some Funny Stuff Jokes:
HEADLINES DATED 1ST JAN 2025:
1. Kyunki saas bhi kabhi bahu thi completed 2,50,000 episodes & Baa has completed 400yrs.
2. Dhoom 17 ready for release.
3. I will play next world cup - Sachin Tendulkar
4. Salman, Vivek and Abhishek attends Aishwarya's 3rd marriage.
5. Mein to aabhi jawan hu - Dev Anand's new film, staring himself in the lead role.
6. Petrol Rs.999/lt.
7. N.Siddhu will launch his own TV channal where he can speak for a whole day.
8. Coach Ganguly resigns, as India went out of world cup in 1st round after losing to Korea .
9. Riots in the Parliament as the newly elected MP MALLIKA SHERAWAT enters the assembly.
1.What is height of Fashion?
Dhoti with a zip
2. What is height of Secrecy?
Offering blank visiting cards .
3. What is height of Activelaziness?
Asking for a lift to house while on a morning walk.
4. What is height of Craziness?
Getting a blank paper Xeroxed.
5. What is height of Forgetfulness?
Seeing the mirror and trying to recollect when you saw him / her last.
6. What is height of Stupidity?
A man looking through a keyhole of a glass door.
7. What is height of Honesty?
A pregnant woman taking one and a half ticket.
8. What is height of Suicide?
A dwarf jumping from the footpath on the road.
9. What is height of De-hydration?
A cow giving milk powder
Q : What will u call a person who is leaving India??
A : Hindustan Leaver.
Q : What will u call a person who leaves India, but doesn't travel much??
A : Hindustan Leaver Limited.
Q : Why was Santa writing the exam near the door?
A : Because it was an entrance exam.
HEADLINES DATED 1ST JAN 2025:
1. Kyunki saas bhi kabhi bahu thi completed 2,50,000 episodes & Baa has completed 400yrs.
2. Dhoom 17 ready for release.
3. I will play next world cup - Sachin Tendulkar
4. Salman, Vivek and Abhishek attends Aishwarya's 3rd marriage.
5. Mein to aabhi jawan hu - Dev Anand's new film, staring himself in the lead role.
6. Petrol Rs.999/lt.
7. N.Siddhu will launch his own TV channal where he can speak for a whole day.
8. Coach Ganguly resigns, as India went out of world cup in 1st round after losing to Korea .
9. Riots in the Parliament as the newly elected MP MALLIKA SHERAWAT enters the assembly.
1.What is height of Fashion?
Dhoti with a zip
2. What is height of Secrecy?
Offering blank visiting cards .
3. What is height of Activelaziness?
Asking for a lift to house while on a morning walk.
4. What is height of Craziness?
Getting a blank paper Xeroxed.
5. What is height of Forgetfulness?
Seeing the mirror and trying to recollect when you saw him / her last.
6. What is height of Stupidity?
A man looking through a keyhole of a glass door.
7. What is height of Honesty?
A pregnant woman taking one and a half ticket.
8. What is height of Suicide?
A dwarf jumping from the footpath on the road.
9. What is height of De-hydration?
A cow giving milk powder
Q : What will u call a person who is leaving India??
A : Hindustan Leaver.
Q : What will u call a person who leaves India, but doesn't travel much??
A : Hindustan Leaver Limited.
Q : Why was Santa writing the exam near the door?
A : Because it was an entrance exam.
Quotes Quotable Quotes....
Here are Some Quotable Quotes
Nobody goes to that restaurant; it's too crowded.
Don't go near the water 'til you have learned how to swim.
The man who wrote such a stupid sentence can not write at all.
If you get this message, call me, and if you don't get it, don't call.
Scientific Quotes:
ADVERTISEMENT: Are you an an alphabet? Write a letter and we will send you free of charge instructions how to undo it.
# Your mission is not to accept the mission. Do you accept?
# If the temperature this morning is 0 degrees and the Weather Channel says, "it will be twice as cold tomorrow", what will the temperature be?
# Answer truthfully (yes or no) to the following question:
Will the next word you say be 'no'?
# What happens if you are in a car going the speed of light and you turn the headlights on?
# I conclude with this challenge:
Let the God Almighty create a stone, which he can not pick up!
Nobody goes to that restaurant; it's too crowded.
Don't go near the water 'til you have learned how to swim.
The man who wrote such a stupid sentence can not write at all.
If you get this message, call me, and if you don't get it, don't call.
Scientific Quotes:
ADVERTISEMENT: Are you an an alphabet? Write a letter and we will send you free of charge instructions how to undo it.
# Your mission is not to accept the mission. Do you accept?
# If the temperature this morning is 0 degrees and the Weather Channel says, "it will be twice as cold tomorrow", what will the temperature be?
# Answer truthfully (yes or no) to the following question:
Will the next word you say be 'no'?
# What happens if you are in a car going the speed of light and you turn the headlights on?
# I conclude with this challenge:
Let the God Almighty create a stone, which he can not pick up!
Friday, February 8, 2008
My First Post.......
It all started when I was watching one of my friend's Blog.To share our experiences with others is like telling to friend what happened at the day end...Where to start now...I would like to give a small Intro about me......I am a simple person..finishing my Engineering studies...I am interested in Science && Technology...Apart from Acads..I like to watch Movies....Play Computer Games...I do read books like Novels,Short Stories...I like reading Books on Meta Physics and Occult Sciences.I like Einstein very much.My big buzz is to become a Scientist...
...Ok..I think this is enough of me....I will start Posting Interesting things ....
...Ok..I think this is enough of me....I will start Posting Interesting things ....
Subscribe to:
Comments (Atom)