The extra s in the title was there for a reason. But for the life of me, I can't remember what it was!

Thursday, October 08, 2009

My epiphany

I had an epiphany riding into work this morning. Getting into hell is easy, but you've to work hard to get into heaven, because there is an highway to hell, but only a stairway to heaven.

Labels:

Wednesday, September 02, 2009

More Earworms!

I managed to hit upon the basic tune of the Panivizhum malarvanam song from some old Karthik movie while playing around with my bro's guitar.

And I was hooked. I downloaded the song, and now its on a loop both in winamp, and in my head.

Here you go:

Panivizhum malarvanam un paarvai oru varam
inivarum munivarum thadumaarum kanimaram


saelai moodum ilanjoalai maalai soodum malarmaalai(2).
irubadhu nilavugal nagamengum olividum
hey hey ilamaiyin kanavugal vizhiyoaram thulirvidum
kaigal idaigalil neligayil, idaiveli kuraigayil, eriyum vilakku sirithu kangal moodum

(panivizhum)

kaaman kovil siraivaasam, kaalai ezhunthal parigasam(2)
thazuvidum pozithile, idam maarum idhayame
hey hey viyarviyin mazhailae payiraagum paruvamae
aadum idaigalil vazhigira nilavoli iruvizhi
mazhaiyil nanaindhu magizhum vaanambaadi

(panivizhum)

Shamelessly copy pasted from some place on the net.

I especially like the part where the singer goes kaigal idaigalil neligayil, idaiveli kuraigayil, eriyum vilakku sirithu kangal moodum

Labels:

Sunday, August 16, 2009

LINQ

I was bored, and I realized that this blog was desperately in need of resuscitation (once again) and so I decided to post on whatever I was doing right now, which happened to be experimenting with LINQ. Now, I've only just started, so I think I'll put up some basic commands here.


List list = new List();
for (int i = 0; i < 10; i++)
 list.Add(i);

IEnumerable oddIntegers = from inte in list where inte % 2 != 0 select inte;
foreach (int integer in oddIntegers)
 MessageBox.Show(integer.ToString());


On second thoughts, I am not going to be putting up anything here. You can do a better job looking it up somewhere :)

Sundar.

Labels:

Saturday, June 06, 2009

Sundar's Guide to Corporate E-Mail Writing

This article will give you an heads up on how best to write emails in any corporate culture, and live to tell the tale.

1. Open any email client
Usually this is Microsoft Outlook, and therefore this discussion assumes Outlook as the software being used.

2. Type in the subject
In the Sub: field, type in the subject of your email. Experts say this should not be more than three words. However, it should be bombastic enough to capture the attention of the folks lazing it out onsite, so it doesn't really matter if it doesn't make any sense. Suppose you were writing to the Electricity Board regarding frequent power outages, do not say "Frequent Power Cuts" in the subject line because they'd have gotten a million mails with the same subject, and probably would have automatically forwarded them to their junk folder. Therefore, go in for something that'd keep them sufficiently confused, like "Electron Flow Deficiency". You could of course, try something innovative, like "Brazilian Bikini Girls", but that really is your call.

3.Salutation
Gone are the days when we wrote long winding leave letters beginning with "Respected Sir/Madam, As I was suffering from...".
These days all you do is start off with a simple 'Hi'. Then, you type in the first name of the addressee. Even if he/she happens to be the Supreme Commander of the Imperial Forces. Something like "Hi Darth" should do fine!

4. Type in the message
You had it easy so far. All you did was type in three random words. Now comes the tough part. You have to compose a KISS email. Hang on! Before you go into rhapsodies, you have to know that KISS is an acronym for Keep It Short and Simple. That is really hard, because till last year you were writing 44 page long epics on obscure quality practices in Total Quality Management. There is also the added problem of making the email sound like you've been working your ass off when in reality you've been experimenting with ways to make the coffee dispenser churn out more milk.
Don't worry! There is a simple trick to get around this conundrum: Throw in as many acronyms as possible. Masters of email writing usually start with a simple 'FYI', which stands for 'For Your Information'. (I think. No one's really sure) Alternative beginnings include PFB (Please Find Below), (Yeah, like I didn't know I'd find the message below), and PFA (Please Find Attached). The usage of the last one is highly not recommended unless you have a spreadsheet full of random numbers and column headers like "Net planned/unplanned task efforts ratio" to send in.
Now, think hard on what productive work you've done since morning. It's not much, I know, but every little bit counts.
Right, you spent the morning reading Harry Potter erotica. Here's what you say:
Analyzed the FSD (Functional Specification Document) and the existing code to enumerate the list of changes to be made to include said enhancement into the product. Documented the dependencies and regression defects likely to be injected and have checked the file into the network. Then, rename the said Harry Potter book as "Dependencies and likely Regression Defects Injected by Enhancement No 4.3.72" and check it in. Trust me, no-one's ever going to open that document.
There, you've accounted for the morning. Of course, you then went and took your two hour lunch break.
What next?
You created an empty class at 2 P.M in a fit of workaholism. You typed out the name of the class, opened a curly bracket, pressed the carriage return down a couple of times, and closed it. How do you describe that? Suppose the class was called UserInteractionMonitor, this is what you type in: Created a concrete wrapper class called UserInteractionMonitor that implements the IUserInteractionMonitor interface and implemented the methods exposed by the interface.
Although you've made a couple of striking points, you still run the risk of being accused of shirking work (not without reason), so you need something that really clinches the deal. It's easy. Open all available documentation. Some Star Trek obsessed geek in the client's IT team is bound to have created a method called FutileResistance() whose sole function would be to display the message "This is the Borg. You'll be assimilated. Resistance is futile." All you have to do is to put an issue in the issue tracker saying that this method couldn't be used by you and that you were not able to figure out its purpose, and that it wasn't part of the design, and that it was stopping you from your work.
There you've said what you did today. But what do you plan to do tomorrow? Continuing in the previous vein, this is what you say:
"Going forward, (this phrase is absolutely essential in any email. More important than the subject), we'll be working on the User Interaction Monitor pending clarification on the functionality of the FutileResistance() method.
Presto! Your message is ready!

5. Sign
Yours truly, yours sincerely, faithfully, obediently, and all that jazz are a little dated. Damn those English classes that drilled such stuff into my head. All you have to put in is "thanks", or perhaps "thanks and regards", and type in half your first name, or whatever it is everyone calls you.

6. To
Put in the email ids of all the people you think should read this mail.

7. Cc
The email ids of all those people who do not need to look at this email, but must be given the pretense of respect.

8. Bcc
Your girlfriend. You don't have one I know, but still :)

Here is a sample email...

From Sundar.sarang.07@gempire.com
To Dart.Vader@gempire.com
cc Palpatine@gempire.com; Sate@gempire.com

Sub Jedi Invasion

Msg
Hi Darth,
PFB updates for today.
An old Jedi Master, Obi Wan Kenobi has boarded the Ship.
FYI, he wields a colorful tubelight which he thinks will slay random robots.
Going forward, you'll feel him in the Force.
So far, he has damaged three relay conduits and beheaded a robot. We have raised an issue with the damage control team who'll be replacing the said components before EOD. PFA the damage assessment report.
We fired three support staff today because we found their lack of faith disturbing.
We are also facing slow connectivity with the engineering division. Please look into it and do the needful.

Thanks & regards,
Sundar
Chief Commander, Vetti Timepass Division.

Labels: , ,

Friday, May 22, 2009

I was bored

So, I posted this. Die, all ye evil fiends who behold this.

http://www.youtube.com/watch?v=e_ZOanmYJMM&feature=related

Sunday, May 17, 2009

Autofellows galore!

This is the mail that is making rounds in my office for the past two days.

Superstar's song for those who do not understand English:

I am autofellow autofellow
Four knowing route fellow
Justice having rate fellow
Good people mix fellow
Nice singing song fellow
Gandhi borning country fellow
Stick take means hunter fellow
Big people's relation fellow
Mercy having mind fellow da
I am all poor's relative fellow da
I am always poor people's relative fellow da
Achak means achak only; Gumuk means gumuk only
Achak means achak only; Gumuk means gumuk only

Town become big, population become big
Bus expecting, half age over
Life become hectic in time, exist in corner of street
Ada eye beat means love coming they telling
You hand clap means auto coming I telling
Front coming look, this three-wheel chariot
Good come and arrive, you trust and climb up
Mercy having mind fellow da
I am always poor people's relative fellow da
Achak means achak only; Gumuk means gumuk only
Achak means achak only; Gumuk means gumuk only

Mummy motherfolk, danger not leave
Heat or cyclone, never I never tell
There there hunger take means, many savoury
Measurement food is one time
For pregnancy I come free mummy
Your child also name one I keep mummy
Letter lacking person ada trusting us and coming
Address lacking street ada auto fellow knowing
Achak means achak only ; Gumuk means gumuk only
Achak means achak only ; Gumuk means gumuk only


I found it extremely funny.

Achak means achak only, gumuk means gumuk only, that takes the cake!

Edit: Listen to the original song if you wanna.

Tuesday, April 21, 2009

Define Triboluminescence

Richard Feynman, in Surely You're Joking, Mr. Feynman, narrates the following in a chapter called O Americano, Outra Vez!, where he talks about his experiences teaching in Brazil:

...Then they asked, "When light comes at an angle through a sheet of material with a certain thickness, and a certain index N, what happens to the light?"

"It comes out parallel to itself, sir -displaced."

"And how much is it displaced?"

"I don't know sir, but I can figure it out." So he figured it out. He was very good, but by this time, I had my suspicions.

After the exam, I went up to this bright young man, and explained to him that I was from the United States, and that I wanted to ask him some questions that would not affect the results of his exam in any way. The first question I ask is, "Can you give me some example of a diamagnetic substance?"

"No."

Then I asked, "If this book was made of glass, and I was looking at something on the table through it, what would happen to the image if I tilted the glass?"

"It would be deflected sir, by twice the angle that you've turned the book."

I said, "You haven't got it mixed up with a mirror, have you?"

"No, sir!"

He had just told me in the examination that the light would be displaced, parallel to itself, and therefore the image would move over to one side, but would not be turned by any angle. He had even figured out how much it would be displaced, but he didn't realize that a piece of glass is a material with an index, and that his calculation had applied to my question...


Another excerpt:

...One other thing that I could never get them to do was to ask questions. Finally a student explained it to me: "If I ask you a question during the lecture, afterwards, everybody will be telling me, 'What are you wasting our time for in the class? We're trying to learn something. And you're stopping him by asking a question.'"

It was a kind of one-upmanship, where nobody knows what's going on, and they'd out the other one down as if they did know. They all fake that they know, and if one student admits that something is confusing for a moment by asking a question, the others take a high-handed attitude, acting as if it's not confusing at all, telling him that he's wasting their time...

Yet another excerpt:

...So, I came in, carrying the elementary physics textbook that they used in the first year of college. They thought this book was especially good because it had different kinds of typeface-bold black for the most important things to remember and so on...

..."I have discovered something else," I continued, "By flipping the pages at random, and putting my finger in and reading the sentences on that page, I can show you what's the matter-how it's not science, but memorizing, in every circumstance. Therefore, I am brave enough to flip through the pages now, in front of this audience, to put my finger in, to read, and to show you."

So I did it. Brrrrrrrup -I stuck my finger in, and I started to read: "Triboluminescence. Triboluminescence is the light emitted when crystals are crushed..."

I said, "And there, have you got science? No! You have only told what a word means in terms of other words. You haven't told anything about nature -what crystals produce light when you crush them, why they produce light. Did you see any student go home and try it? He can't.

"But if, instead, you were to write, 'When you take a lump of sugar and crush it with a pair of pliers in the dark, you can see a bluish flash. Some other crystals do that too. Nobody knows why. The phenomenon is called "triboluminescence."' Then someone will go home and try it... "



Now, in my humble opinion, the education system in India is definitely better than this (Brazil in the 50s or 60s I think), but not too far ahead. I was able to relate to a lot of what was said above, from my own experiences in school. A lot of education here is still rote learning based, and no one knows exactly what they are learning.

Pity, don't you think?

Labels: