என்னைப்பற்றி.... சுவாரசியாமாயிருக்க... பார்க்கலாம்... விஜயசங்கர். Read about my thoughts in Tamil & English (some may call it ramblings).
Friday, April 24, 2009
Free shares on me2everyone.com
Hello
Something incredible has arrived!
I just became a shareholder in me2everyone and I never had to pay a single penny for the shares! It can only be described as the gold-rush for 2009. This company is going to be huge and shares will soar in value over the coming months! You can register for free and it never has to cost you a single penny!
me2everyone is going to be a cool new virtual world where you can meet friends, chat, shop, play, watch videos, create an art gallery, open a virtual newspaper, play the free inworld lottery and make money from your own online store! You and everyone you know make the decisions, shape the world, create real incomes and share in the profits. It's a new place where you meet new people or invite your friends. Learn new skills or expand your business. Find the love of your life or help the planet.
Membership is free and every member automatically becomes a shareholder in me2everyone Limited. Personally I have 1000 shares in the venture I'm going to increase my shares very soon. This is an excellent chance for all of us to make some real progress in 2009 and beyond! Please don't miss it.
If you are looking for something really good in 2009: something that changes your view on the world, then you really have to spend just one minute and look at this website.
Please click visit www.me2everyone.com/432534 for the details
--Regards
Vijayashankar
The Evolution of a Programmer
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
(cons 'Hello (list 'World))))
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("\n");
}
Seasoned professional
#include <iostream.h>
#include <string.h>
class string
{
private:
int size;
char *ptr;
string() : size(0), ptr(new char[1]) { ptr[0] = 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(<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),
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 <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] = '\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);
}
Apprentice Hacker
#!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV >= 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!\n";
}
} else {
print ($msg);
}
1;
Experienced Hacker
#include <stdio.h>
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}
Seasoned Hacker
% cc -o a.out ~/src/misc/hw/hw.c
% a.out
Guru Hacker
% echo "Hello, world."
New Manager
10 PRINT "HELLO WORLD"
20 END
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
Senior Manager
% zmail jim
I need a "Hello, world." program by this afternoon.
Chief Executive
% letter
letter: Command not found.
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout
Anonymous
Wednesday, April 22, 2009
Maruti Wagon R mileage
May be if i drive for long distance, I might get that advertised 17 KMPL.! (under test conditions blah blah ;-) )
I have also checked with Kalyani where I bought, and after thorough analysis they suggested that I am getting the right mileage!
Earlier I drove an Esteem for 8+ years that I bought in 1999 after returning from US. I used to get similar mileage. Reason: Same Engine. 1100 cc.
--
Regards
Vijayashankar
Tuesday, April 21, 2009
Blood Clots/Stroke - They Now Have a Fourth Indicator, the Tongue
-
Blood Clots/Stroke - They Now Have a Fourth Indicator, the Tongue
I will continue to forward this every time it comes around!
STROKE:Remember the 1st Three Letters....S.T.R.
My nurse friend sent this and encouraged me to post it and spread the word.
I agree.
If everyone can remember something this simple, we could save some folks.
Seriously..
Please read:
STROKE IDENTIFICATION:
During a BBQ, a friend stumbled and took a little fall - she assured everyone that she was fine (they offered to call paramedics) .she said she had just tripped over a brick because of her new shoes.
They got her cleaned up and got her a new plate of food. While she appeared a bit shaken up, Ingrid went about enjoying herself the rest of the evening
Ingrid's husband called later telling everyone that his wife had been taken to the hospital - (at 6:00 pm Ingrid passed away.) She had suffered a stroke at the BBQ. Had they known how to identify the signs of a stroke, perhaps Ingrid would be with us today. Some don't die. they end up in a helpless, hopeless condition instead.
It only takes a minute to read this...
A neurologist says that if he can get to a stroke victim within 3 hours he can totally reverse the effects of a stroke...totally. He said the trick was getting a stroke recognized, diagnosed, and then getting the patient medically cared for within 3 hours, which is tough.
RECOGNIZING A STROKE
Thank God for the sense to remember the '3' steps, STR . Read and Learn!
Sometimes symptoms of a stroke are difficult to identify. Unfortunately, the lack of awareness spells disaster. The stroke victim may suffer severe brain damage when people nearby fail to recognize the symptoms of a stroke.
Now doctors say a bystander can recognize a stroke by asking three simple questions:
S *Ask the individual to SMILE.
T *Ask the person to TALK and SPEAK A SIMPLE SENTENCE (Coherently)
(i.e. It is sunny out today)
R *Ask him or her to RAISE BOTH ARMS.
If he or she has trouble with ANY ONE of these tasks, call emergency numberimmediatelyand describe the symptoms to the dispatcher.
New Sign of a Stroke -------- Stick out Your Tongue
NOTE: Another 'sign' of a stroke is this: Ask the person to 'stick' out his tongue.. If the tongue is 'crooked', if it goes to one side or the other,that is also an indication of a stroke.
A cardiologist says if everyone who gets this e-mail sends it to 10 people; you can bet that at least one life will be saved.
I have done my part. Have you?
Monday, April 20, 2009
7 reasons the world will end in 2012
7 reasons the world will end in 2012
Scientific experts from around the world are genuinely predicting that five years from now, all life on Earth could well finish.Some are saying it'll be humans that set it off. Others believe that a natural phenomenon will be the cause. And the religious folks are saying it'll be God himself who presses the stop button...
1. Mayan Calendar
The first mob to predict 2012 as the end of the world were the Mayans, a bloodthirsty race that were good at two things: Building highly accurate astrological equipment out of stone and
Sacrificing Virgins.
Thousands of years ago they managed to calculate the length of the lunar moon as 329.53020 days, only 34 seconds out. The Mayan calendar predicts that the Earth will end on December 21, 2012. Given that they were pretty close to the mark with the lunar cycle, it's likely they've got the end of the world right as well.
2. Sun Storms
Solar experts from around the world monitoring the sun have made a startling discovery: our sun is in a bit of strife. The energy output of the sun is, like most things in nature, cyclic, and it's supposed to be in the middle of a period of relative stability. However, recent solar storms have been bombarding the Earth with so much radiation energy, it's been knocking out power grids and destroying satellites. This activity is predicted to get worse, and calculations suggest it'll reach its deadly peak sometime in 2012
3. The Atom Smasher
Scientists in Europe have been building the world's largest particle accelerator. Basically its a 27km tunnel designed to smash atoms together to find out what makes the Universe tick. However, the mega-gadget has caused serious concern, with some scientists suggesting that it's properly even a bad idea to turn it on in the first place. They're predicting all manner of deadly results, including mini black holes. So when this machine is fired up for its first serious experiment in 2012, the world could be crushed into a super-dense blob the size of a basketball.
4. The Bible says...
If having scientists warning us about the end of the world isn't bad enough,religious folks are getting in on the act aswell. Interpretations of the Christian Bible reveal that the date for Armageddon, the final battle between Good an Evil, has been set down for 2012. The I Ching, also known as the Chinese book of Changes, says the same thing, as do various sections of the Hindu teachings..
5. Super Volcano
Yellowstone National Park in the United States is famous for its thermal springs and Old Faithful geyser. The reason for this is simple - it's sitting on top of the world's biggest volcano, and geological experts are beginning to get nervous sweats. The Yellowstone volcano has a pattern of erupting every 650,000 years or so, and we're many years overdue for an explosion that will fill the atmosphere with ash, blocking the sun and plunging the Earth into a frozen winter that could last up to 15,000 years. The pressure under the Yellowstone is building steadily, and geologists have set 2012 as a likely date for the big bang.
6. The Physicists
This one's case of bog-simple maths mathematics. Physicists at Berekely Uni have been crunching the numbers. and they've determined that the Earth is well overdue for a major catastrophic event. Even worse, they're claiming their calculations prove, that we're all going to die, very soon - while also saying their prediction comes with a certainty of 99 percent- and 2012 just happens to be the best guess as to when it occurs.
7. Slip-Slop-Slap- BANG!
We all know the Earth is surrounded by a magnetic field that sheilds us from most of the sun's radiation. What you might not know is that the magnetic poles we call north and south have a nasty habit of swapping places every 750,000 years or so - and right now we're about 30,000 years overdue. Scientists have noted that the poles are drifting apart roughly 20-30kms each year, much faster than ever before, which points to a pole-shift being right around the corner. While the pole shift is underway, the magnetic field is disrupted and will eventually disappear, sometimes for up to 100 years. The result is enough UV outdoors to crisp your skin in seconds, killing everything it touches
நான் எனக்கு வந்த ஸ்பேம் மெயில்களின் ஒரு சிறு விசையத்தை இங்கே சொல்கிறேன்.
End of World
The Mayan Civilization has predicted the end of world for 21-12-2012, 11-11 hrs, GMT
This would be preceded by a lot of earth quakes.
****************
Sri Aurbindo Ghosh and his Mother had also predicted the same before 2020.
Nostradamus has many verses seeing the end.
There are enough quotes ( of 2000AD as end, with lost days of 12 years owing to Gregorian calendar change )
What do u think as to whether it will happen?