I'm a recent CS graduate. I have some work experience outside the software industry, and a few personal software projects, but no internships or other work experience in software. I'm trying to get a job in software, but have so far failed.
Lacking connections, I've been searching for a job by responding to ads and applying directly to companies, and have tried to improve my skills by making contributions to open source (mostly very small ones), and doing more personal projects and self-study. I've had a few interviews, but always got passed over. A relative of mine, who has never worked in software or any other professional, corporate, or white-collar type job, says I'm taking the wrong approach. His advice was to visit the headquarters of companies I'm interested, grab someone in the lobby, and try to talk them into offering me a job. He claims he's gotten several jobs like this.
An approach like this may have worked at some time for certain kinds of blue-collar job, but I have severe doubts that it could work in the software industry. Has anyone ever heard of something like this working? Keep in mind, these are not companies where I know anyone; I would essentially be some random schmo walking in off the street and asking to work at Google. If anything, I would expect to be escorted off the premises by security rather than offered a job. But as I said, I have no experience. Could an approach like this work?