Feeds:
Posts
Comments

Archive for March, 2006

Nothing to say

nothing-to-say.gif

A word of thanks to Dave for approving me to use his cartoon pictures.

Courtesy : http://www.weblogcartoons.com/

Technorati :
Del.icio.us :

Advertisements

Read Full Post »

I was surfing through the net and came across this
website which had a simple personality test which ramifies your
persponlaity on 5 factors. So here is my personality..Guys you all know
me better,so lemme know if this is true 🙂


Your Five Factor Personality Profile


Extroversion:
You have medium extroversion.
You're not the life of the party, but you do show up for the party.
Sometimes you are full of energy and open to new social experiences.
But you also need to hibernate and enjoy your "down time."

Conscientiousness:

You have high conscientiousness.
Intelligent and reliable, you tend to succeed in life.
Most things in your life are organized and planned well.
But you borderline on being a total perfectionist.

Agreeableness:

You have high agreeableness.
You are easy to get along with, and you value harmony highly.
Helpful and generous, you are willing to compromise with almost anyone.
You give people the benefit of the doubt and don't mind giving someone a second chance.

Neuroticism:

You have low neuroticism.
You are very emotionally stable and mentally together.
Only the greatest setbacks upset you, and you bounce back quickly.
Overall, you are typically calm and relaxed – making others feel secure.

Openness to experience:

Your openness to new experiences is high.
In life, you tend to be an early adopter of all new things and ideas.
You'll try almost anything interesting, and you're constantly pushing your own limits.
A great connoisseir of art and beauty, you can find the positive side of almost anything.


Read Full Post »

As i had promised sandesh a post about him , without any more delay i would like to share the amount of fun I used to have taking his trip royally in the college, and I used to get complete support from all friends.. Well initially when i met sandesh he was this serious kind of a person and never liked speakin to girls, He was a geekm who had the uncanny tendency of jackin almost all the lecturers by his witty questions. So later on I caught his weekness, that he was very shy with girls and never spoke to them openly.. So once when Annie spoke to him, that was the scene i could not miss, both opposites.. and how could I miss this oppurtanity, so from then on started pulling his leg.. He used to get so irritated my god believe me he never liked me teasing him with her..poor fella i pity his condition, but one thing i appreciated abt it is he never let it effect our friendship, he took it sportively.. So then on all the guys joined me and started teasing him and y not, it was our final days in coll and more fun more the merrier… I’m sure Sandesh will never forget me in his life for this…Oh My god how can i forget that i told him he looks like Subramanian, the great violenist.. I had taken the magazine cover of his and sent it all over the class, and believe me everyone will agree with me that he resembles him, but he never agreed to it..

And now recently i have started teasing him with my colleuge Shruthi. well she saw his photo in orkut and suddenly my evil mind started thinking “Y not start teasing sandesh again”.. It had been very long time since i had done that to him.. so there i went pulling his leg for this.. Today fortunately, when shruthi saw his photo on orkut, she instictivly told me “Does’nt he look like Subramanian”..I had the laugh of my life, cuz i had another oppurtanity of pulling this poor fellows legs cuz he never believed me when i used to tell him this. Now Sandesh U got to believe me man..

Well, Sandesh has been a real sport, I honestly appreciate him for this. Hope you never mistake me for what I do, and always be a sport..

Technorati :

Read Full Post »

Fold your T-Shirt

Well People, This video will surely teah you how to fold ur T-Shirt in the most efficent way, and if u learn it by any chance,dont forget to flaunt ur success..

Read Full Post »

Just Like Heaven

Today I watched the movie “Just Like Heaven”

th-JLH.jpg

This movie is about Elizabeth Masterson who is a dedicated workoholic doctorwho is very busy in life. One night as she is returning back to her sisters house after 26 hours of work in the hospital, she meets with a terrible accident and renders into a spirit, though she is in coma and is on a life support. As a spirit she meets David, a lonely architect, who rents her appartment. The story continues into a romantic melodrama , where David realizes he has to save Elizabeth’s life when the doctors decide to take off the life support. David finally succeeds in saving her and the movie ends as usual in a romantic bliss 🙂

Read Full Post »

HELLO WORLD” , The very 1st program a novice programmer would learn in any language, and here is the evoultion of this program described in a hilarious way..

1 )High School/Jr.High

10 PRINT “HELLO WORLD”
20 END

2. First year in College

program Hello(input, output)
begin
writeln(‘Hello World’)
end.

3. Senior year in College

(defun hello
(print
(cons ‘Hello (list ‘World))))

4. New professional

#include <stdio.h>
void main(void)
{
char *message[] = {“Hello “, “World”};
int i;

for(i = 0; i < 2; ++i)
printf(“%s”, message[i]);
printf(“
“);
}

5. Seasoned professional

#include <iostream.h>
#include <string.h>

class string
{
private:
int size;
char *ptr;

public:
string() : size(0), ptr(new char(”)) {}

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);
}

6. 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(<windows.h);
importheader(<ole2.h);
importheader(<except.hxx);
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),

#include “ipfix.hxx”

extern HANDLE hEvent;

class CHello : public CHelloBase
{
public:
IPFIX(CLSID_CHello);

CHello(IUnknown *pUnk);
~CHello();

HRESULT __stdcall PrintSz(LPWSTR pwszString);

aggregatable
]
coclass CHello
{
cotype THello;
};
};
private:
static int cObjRef;
};

#include <windows.h>
#include <ole2.h>
#include <stdio.h>
#include <stdlib.h>
#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
“, 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 <windows.h>
#include <ole2.h>
#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 <windows.h>
#include <ole2.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#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] = ”;
wcsT[0] = ”;
if( argc 1) {
mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
wcsupr(wcsPath);
}
else {
fprintf(stderr, “Object path must be specified
“);
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
“, wcsPath);
printf(“Text String %ws
“, 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);
}

7. Apprentice Hacker

#!/usr/local/bin/perl
$msg=”Hello, world.
“;
if ($#ARGV = 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, “” . $outfilename) || die “Can’t write $arg: $!
“;
print (FILE $msg);
close(FILE) || die “Can’t close $arg: $!
“;
}
} else {
print ($msg);
}
1;

8. Experienced Hacker

#include <stdio.h>
#define S “Hello, World

main(){exit(printf(S) == strlen(S) ? 0 : 1);}

9. Seasoned Hacker

% cc -o a.out ~/src/misc/hw/hw.c
% a.out

10. Guru Hacker

% cat
Hello, world.
^D

11. New Manager

10 PRINT “HELLO WORLD”
20 END

12. Middle Manager

mail -s “Hello, world.” bob@b12
Bob, could you please write me a program that prints
“Hello, world.”?
I need it by tomorrow.
^D

13. Senior Manager

% zmail jim
I need a “Hello, world.” program by this afternoon.

14. Chief Executive

% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Courtesy : A mail from my Friend

Technorati :
Del.icio.us :

Read Full Post »

It was a tiring day today, not because of work but I was more on the road driving, than in the office. Well morning got up a bit late and had to rush to the bank to settle some accounts work, after that mom had asked me to pay the electricity bill, hate doing it, especially standing in the long queues..well had to wait for almost half an hour there to pay the bill..dam these KEB people, they keep only one counter open..

I reached office also late today, there was not much work though. I had to go to the station to book my tickets to go to Goa and also sashi wanted to exchange his harddisk casing which he bought yesterday, as it was a defective piece. So went to the railway station , booked my tickets, from there went to S.P road, The traffic in bangalore especially the majestic road is horrible. Had hell of a time driving through those over crowded roads. After exchanging the casing, we drove back to IISc. we reached late in the afternoon. Sashi had to give his birthday treat, we all had missed it cuz it was on a sunday and we could not meet up that day. So we all (Sashi , Shruthi, Venkatesh and Myself) went to Pizza Hut in Sadashivnagar, I was so dam hungry and tired that Sashi and I hogged like pigs. After which we entered Sapna book house, and my eyes fell on John Grishams ” Painted House”,I had read reviews about this book and I had to read this book so i bought the book there.

We returned back to office,packed our bags without wasting any more time we all packed up to go back home….

PS: As i have promised Sandesh, I will Come up with a special blog dedicated to him and my pranks…

Technorati :
Del.icio.us :

Read Full Post »

Older Posts »