The world, how it works, surroundings, myself, etc.

Wednesday, July 05, 2006

Friday, June 23, 2006

My first paper

My research paper titled "Scalable, Tiled Display Wall for Graphics using a Coordinated Cluster of PCs" made it as a poster paper to Pacific Graphics, 2006. The conference will be held on 11-13th October.

The paper discusses IIIT's efforts in building Tiled Display Walls using off-the-shelf inexpensive PCs. A 4x4 tiled display setup showing Fatehpur Sikri shown below.

Wednesday, June 21, 2006

Server Room Tragedy #7

The Situation:
If you have followed Tragedy #6, I mentioned about all students receiving over 20 mails from a virus-infected PC. Even if you didn't follow Tragedy #6, you must've noted those mails in your mailbox -- yeah, the ones where viruses write poems too.

This time, the same got repeated, with the faculty. All the faculty were greeted with not 20, but over 60 such mails.

The Tragedy:
The server room has already gotten through the situation. The nature, cause and solution is the same. Is it that difficult to learn at least from old mistakes?

--
Qs:
1). You are reporting a tragedy after a long time. What happened?
Ans: I'm not frequenting the server room these days.

Thursday, June 08, 2006

Server Room Tragedy #6

The Situation:
Today students received numerous funny mails (seemingly) from a faculty account.

4 times -   [Students] Fw:
1 times -   [Students] Fwd: Crazy illegal Sex!
2 times -   [Students] Fwd: image.jpg
5 times -   [Students] Fwd: Photo
2 times -   [[Students] Fw: Funny :)
4 times -   [Students] Fw: Sexy
2 times -   [Students] Re:
1 time -    [Students] Word file

This series went on till the evening.

The Tragedy:
Mr Someone-in-the-server-room was supposed to properly install the virus & mail scanner which had been stopped in damage-control mode yesterday. By the evening, due to some reason, the imap service too had stopped working. Obliviious of the solution, Mr Somebody rebooted the students server and left for the day (the server hadn't booted back yet). Even after the server booted back, the imap service hadn't got back.

--
Qs
1. Hey, but imap on 200 is working now.
Ans: Yup, I switched it on. I myself use imap.

Wednesday, June 07, 2006

Google's Hiring Strategy


I found this reference to Google's hiring strategy. Google relies on the Lake Wobegon Strategy, which says only hire candidates who are above the mean of your current employees. An analysis of the simulation over time, using this strategy shows how good it is (the blue line). An alternative strategy (popular in the dot-com boom period) is to justify a hire by saying "this candidate is clearly better than at least one of our current employees." -- red line. The orange line corresponds to the no hiring manager strategy, in use by Google.

Server Room Tragedy #5

The tragedy:
Mail problem: Mails getting delayed.

This tragedy hasn't finished -- it's still ongoing. One fine day, Mr Someone installed MailScanner on 200, and didn't care to make sure that everything was ok. Turns out, it wasn't. Mails started getting delayed, first minutes, then hours. Mailscanner isn't processing the mails properly and they're getting delivered only when it times-out. Mr Someone has to solve the problem, with the help of the new server room staff. In damage-control mode, he came running to me. I relayed some of the processing to another server. Mailscanner is switched off right now until he fixes the problem (I'm not going to fix it). No spam-checks, virus checks till then.

Update:
My mails were getting delayed. So I corrected some probs just so that they get delivered on time. I've informed Mr Someone what else needs to be done. The rest of the fixing (virus checks, spam checks) remains.

++Update (June 9)
MailScanner's virus and spam check probs are fixed now. Oh, that's evident isn't it. You didn't get "Fw: Photo" kind of mails in the evening.

Tuesday, May 30, 2006

Bihar on a devel track

It has been six months since RJD was kicked out of power in Bihar and a new governement was sworn in. Nitish Kumar is the last hope of Bihar, they say. I had been to Patna for a fortnight this month. For a man facing the task not of mismanagement but of complete absence of governance, Nitish Kumar, I feel, has been quite successful. Phrases like "development", "investment", "production", which I did not hear about Bihar ever since I gained consciousness, are being discussed and debated. Yes, it cannot happen at the flick of a switch. Yes, it takes time. Yes, it'll take time before things really start getting visible. All that's required is a will, which sparks determination in more people. The rest, as they say, is details, and will follow.

I perceived a saner general environment in Patna. I could see highways being widened, made and repaired. Several of the hooligans who used to kill time on every other nukkar were missing. A long long way to go still, before people can recall that Nalanda University, once a seat of learning in India, was in Bihar.

Sunday, May 21, 2006

Server Room Tragedy #4

The Situation:
It is common knowledge that the internet had been sulking for quite some time from the start of this summer vacation. Refer the graph. Note the unduly high upload rate beginning the month of May.

The Tragedy:
Even a slug-head should realize that an upload rate of 3 Mbps is preposterous for IIIT. When I returned back from my vacation, I noted problems with the firewall configuration at the proxy server, and fixed this. The net has gotten better now.

FAQ:
1. You have resigned. Why did you bother?
Ans: For the simple reason that I need the internet.

2. Are you going to raise all these tragedies with the CRC, or the Director?
Ans: Yes. But not yet. Let the cookie crubmle.

Server Room Tragedy #3

The Situation:
U K Visesh goes to the Server Room to get his IP unlisted from the IP Black list. He mentions his IP to a new guy there.

The Tragedy:
The new guy ponders for a while, then shakes his head, goes to the proxy server, and types: "unblock <IP>". But it instaneously results in a command not found. The new guy, entirely oblivious of it, replies -- Yup, done.

What the hell! This guy U K Visesh is in his fifth year at IIIT, and "command not found" is what is being shown to him. Too aghast to speak any further, Visesh silently returns back.

Friday, April 28, 2006

Server Room Tragedy #2

A few months ago:
We realized that the proxy server's primary hard-disk was going bad. It was reporting errors in several sectors. We knew it would go down very soon. The Server Room staff were duly informed and we also acquired another system as a backup. This system was setup as a fallback proxy server

A few days ago:
Mr XYZ, a server room staff, reinstalls the fallback proxy server with FC5. All the configuration settings are gone

A few hours ago:
Proxy goes down. You guessed it right -- the hard disk crashed. With cries of SOS, the two new staff members rushed to us. Then started the damage control again. The proxy server won't boot. Need FC2 1st CD. And I was nuts to expect the Server Room to have one. Had to burn one (dig a well when it's fire). But it won't solve the hard disk problem -- hard disk problems can be hard, remember!

Anyways, we looked at the fallback system -- it had a brand new FC5 installed, smiling shamelessly, unconfigured. With nothing else to do, we start configuring this system. It took a lot of time before the basic services got working and the internet came back (thank god the backup server hasn't been tampered with yet).

Friday, April 21, 2006

svn recovery

What do you do when you have a submission in a few hours, and your svn starts reporting something like:

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///svn/gswall/trunk/Client'
svn: Berkeley DB error while opening environment for filesystem /svn/gswall/db:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: PANIC: fatal region error detected; run recovery


To make matters worse, you recollect that the last non-svn backup is a bit too old, and you start blaming yourself for keeping all the blank DVDs unused.
Well, luckily (and thank God for it) there is:

svnadmin recover /path/to/svn


This did something to the Berkeley DB, and the prob fixed. I was almost dead.

Thursday, April 13, 2006

Server Room Tragedy: #1

Mon:
A TA informs the Server Room about a lab exam to be conducted on Wed morning. He asks for accounts for 100 students.

Tue:
Mr JP, the one who had been informed on Mon, forwarded, as is his custom, the work to one of the new staffs. He asked him to create the accounts MANUALLY. 100 accounts manually -- it took a whole day. He does it. But the TA is not informed. The TA was left to guess the system IP, the 100 user names, and the 100 passwords. Besides, the server room is clueless about the whether the teaching lab (the exam spot) is intact and working or not.

Wed: (Lab Exam day)
The TA inquires in the Server Room at 9:00. The exam was at 9:30. Only Mr Madhu is present (he wasn't there in this loop). Dr Anoop would be angry if things don't work out. Oblivious, he begins the damage-control mode, the only mode in which the Server Room ever works, whenever that is. A machine is handed over to the TA and he is asked then to create accounts, etc. Mr Madhu finds a script that was used earlier for this job, and the TA then creates the account, all accounts on the same system. Naturally, no quota, process limits, mem limits, etc were placed. The server froze several times during the exam.

Points worth nothing:
The server room, the place supposed to be the mecca of technical efficacy, creates 100 accounts manually. And the TA isn't even informed.
At the last moment, the TA is handed the server and is expected to feel at ease with it -- i.e. he is asked to manage the needful.

--
Expected Questions / FAQs

1. What's the hue-cry? What's your point?
Ans: Simple. The server room is not in a position to manage itself. Doing away with new student sysadmins is suicidal.

2. When do you expect the Server Room staff to get efficient?
Ans: Never

3. Why did you title this post as #1?
Ans: Things like this is just the beginning. More such exemplary activities happen every day. I'll post the next one as #2.

4. Such examples are called case-studies. I took SE, so I know.
Ans: I don't care what it is called. I took SE, but still I don't know, and happily so.

It rained and wow!

It rained yesterday evening, and wow what a rain it was -- relinquishing Hyderabad from the painful sun. If you were out at that time, you would have seen how quickly everything happened. I was. Not 5 minutes ago I was telling Visesh that if it continued thus, it was going to be a painfully hot summer, and as if God(?) was listening, he threw open the skies. Within 5 minutes, the stoic, suffocating air around was replaced with soothing, swift breeze. It was dark and powercut accompanied. At a point, we were standing in Gachibowli, waiting for auto, as it poured. We were drenched. The only light around was that from the intermittent lightning, but it was frequent.

By the time we reached the Hostel, the water accumulated in front of the OBH had made impossible the corssing without getting wetter. I think they should arrange for boats near the entrance. Oh, the times when rains meant paper-boats. I don't even remember the last time I made a paper-boat. We don't do much with paper these days anyway. Felt like dancing in the rain.

Wednesday, April 12, 2006

A Trip to Microsoft Campus

I just returned from a (casual/informal) trip to the Hyd M$ Campus. Thanks to Bothra for playing a wonderful host.

The look and feel was good. Excellent, in fact. Transparent glasses throughout. In the evening, you can actually see people working insde, from the side galleries. I wonder if that makes one conscious while working. I mean, sort out a couple of issues and you could be pictured all day long from satellites!

We (smr, parry, bansi & I) tried our hands at FuΒball (pronounced as fooz-ball) -- first time. FuΒball is nice. I like it. Can we have one in IIIT? They shouldn't be expensive, are they? But a lot of fun they are for sure. The game was exciting. We were on even until Parry made the winning move.

The chairs in the outside lounge appeared cute. Red petal-shaped ones, blue heart shaped ones. I expected the heart-shaped ones to be red, though.

The running water fountain in a setting of rocks outside the building was good. I like water bodies, so I was bound to like this.

Tuesday, April 11, 2006

Right to Disownment

Ever since birth, we have been carrying the load of the constitution of India. Heavy words like democracy, liberty, freedom, equality(??) are no more than crap-on-the-head. Just because I was born in part of the globe called India, it was assumed that I would be happy to comply with any and every law the founding fathers of the constitution chose to pen down. But this assumption is flawed. I don't want any of these heavy-weight words. Why should I pay taxes when I know that it will go to satiate the govt's whims and fancies. There should, therefore, be a way by which I can disown the govt, the constitution, and everything related. I propose the Right to Disownment.

Every citizen should have the right to disown the govt of that state. This frees him of any taxes, and also liberates the govt of any responsibility/obligation towards the individual. This balances the equation between the govt's performance and citizens' obligations.
  • The govt be like any corporate entity -- merit-based. You perform, I subscribe to you. You don't perform, I disown you.
  • I won't pay VAT, and the govt won't be obliged to resolve consumer-products related litigations for me.
  • I won't pay road-tax, and the govt won't be obliged to make roads for me. I agree to pay a tax every time I use a maintained road.
  • I won't pay the education cess, and the govt shouldn't feel obliged to provide education at the primary and other levels for me. The govt shouldn't bother to create reservations, etc for me. I would be more than happy.
  • I won't pay the income tax, and I won't expect the govt to interfere with the finance of the country. Everyone would be content.

Monday, April 10, 2006

Google MV's pics

Follow this link to see some (supposedly spy) photos of Google's office at Mountain View, CA.

The sad MHRD

The Ministry of Human Resources of the Govt of India is a sad entity. While most of the limelight is nearly always taken by the other more-profilic ministries of Defence, Finance & Home, MHRD has lately tried all tantrums to exhibit its existence. What else can explain the sudden urge by MHRD to raise the reservation to unprecendented levels so that one in every two students is an undeserving one? Who wants it? I don't think even the OBC's like this. They'll forever be tagged as the one-who-did-not-deserve.

If the ruling goes by, I have a few more suggestions to make for the upliftment of the so-called backward classes (BC).
  • 49.5% of the width of any and every road be reserved for BCs. No one else can traverse on them.
  • 49.5% of all public toilets in India be reserved for BCs. They should be FREE (as in free beer) too.
  • Out of every 100 times Arjun Singh's wife/daughter has sex, 49.5% of them should be with BC men.
  • 49.5% of Arjun Singh's balls be castrated and donated to BCs.
  • For every book which anyone buys, he should tear 49.5% pages and donate it to a BC guy.
  • 49.5% of all land be donated to BCs.
  • Everyone should donate 49.5% of his income to BC people.
  • 49.5% of India's GDP be donated to BCs.
  • 49.5% of oxygen in the atmosphere be reserved for BCs.
  • 49.5% of all sea-beaches be reserved for BCs.
  • .. and so on. 49.5% is the (magic) key figure.
Needless to say, the BCs should not be required any payment, merit, etc for the above favours.

Mr Arjun Singh, you are an unhappy wretch. The more I think of you, the more I love the pigs in my neighbourhood.

Sunday, March 19, 2006

My fourth job offer

I got my 4th job offer on 16th. This time it's Google, Hyderabad. This concludes the Google honeymoon which started on Dec 6th last year and lasted for 101 days. The process involved 9 interviews (2 on phone, 5 in Bangalore and 2 in Hyderabad), numerous mails and a similar no of phone calls, and fetched me my first air-trip (to and fro Bangalore in Jet airways) and 2 Google T-shirts.

Interview 1 - Interview 8:
Algorithms algorithms algorithms algorithms.
Each interview involved 2-3 questions and would last for about 1 hr.

Interview 9:
It can't really be called an interview. The only question I was asked was the meaning of my name, which, for natural reasons, wasn't very difficult to answer. The rest of the time was spent in me asking questions while my interviewer stood near the board explaining me things. He explained me a lot of things related to Google, the policies, the interviewing process, etc. He explained me Google's 80-20 funda, by which a person is given 20% (i.e. 1 day per week) free time to work on anything. This one day gives a person the chance to develop something very useful and interesting. The end-product can be recommended in the review process (which takes place every 6 months) and might lead to promotion and other incentives. Many of Google's flagships product have emerged from this 20% time. Ex: Orkut, Adsense, Google News.

Some excerpts from Interview 9:
Me: This is my 9th interview. What does this mean?
Ans: Nothing. A person is interviewed till as long as the deciding committee feels that the candidate hasn't been tested in all aspects.

Me: Should I expect more interviews?
Ans: Not very likely. 9 interviews is kind of enough for a fresher. I had 13 interviews.

Me: How many people are there at Google, Hyderabad.
Ans: There are 300 people, but only 20 engineers. The rest are people in advertising, marketing, art, design, etc, etc, etc.

Me: What is SDE, SET, SQA, etc.
Ans: These are names given to positions. SDE -- Software Devel Engineer, SET -- Software Engineer in Test, SQA -- Software Quality Assurance. When a person joins Google, he's just assigned to one of these based on some heuristics during the interviewing process. The real allocation is done 6 months later. Google doesn't do the dirty kind of testing.. the ones like black-box testing, monkey testing -- these are outsourced.

In essence, the motive of the interview was to convince me that Hyderabad does exciting technical work contrary to the popular notion associated with the word test. He was successful.

Monday, March 13, 2006

Getting direct rendering on MSI Xtreme with ATI Radeon Xpress 200

Configuration:
MSI Xtreme motherboard x86_64, 512 MB RAM (with 64 M shared)
ATI RADEON XPRESS 200 Series integrated on-board graphics

Problem: DRI not enabled with ATI drivers on Linux. Actually, after installing the rpm available from ATI's site, glxgears' performance drops. What runs at 400 FPS with vesa drivers, runs at 200 FPS with ATI's drivers (fglrx).

Solution: The kernel module wasn't getting compiled properly. ATI released new drivers on 8th, March. But that wasn't enough. It required some tweaking.
I used to get a missing <asm/ioctl32.h> error. There's no <asm/ioctl32.h> on my Fedora Core 4 (FC4-x86_64)
Replacing all such occurences with <linux/ioctl32.h> works.

Essentially:
  • cd /lib/modules/fglrx/build_mod
  • Replace all occurrences of <asm/ioctl32.h> with <linux/ioctl32.h>
  • sh make.sh (this should succeed. It should at least make fglrx.ko)
  • cd ..
  • sh make_install.sh
Besides, I need the fglrx64 rpm installed. The rpm released on 8th March didn't work for me. This one did.
So, finally I have direct rendering (confirmed with: glxinfo | grep direct) on FC4-x86_64. glxgears reports 733 FPS.

Monday, March 06, 2006

R & D Showcase '06: Display Wall

The R & D Showcase ended; a lot of fanfare, but the industry was uninterested (stupid Bush!). If the activity observed in the academic building is any criteria, it was succesful -- never before had I seen such activity going on in the main building. So many people moving around systems, tables, posters, and other people.

Display Wall
The Display Wall was unprecedented this time. The 3x4 matrix utilized 12 systems. The combined setup with a 6.25 megapixel resolution, 8.704 GB RAM, 1 TB storage and 36.2 GHz of processing power was cooled in a separate room (#215). 11 of the 12 systems used had the same config as the ones in lab-5, and the ATI graphics drivers were unusable in Linux (shame shame ATI).

Sincere thanks to Parry and Tarun for installing Fedora on all the systems, SMR for helping throughout thereafter, and Vardhman for the pics.

Some common questions asked about Display Wall:
Q1: What are you doing apart from just cutting an image and displaying on those systems?
Ans: Those are not images. They are rendered from a 3D model. The model has 13 Million triangles, and is a bit too heavy for even the most serious graphics cards.

Q2: Why not use a projector instead?
Ans: A display wall is different from just projecting using a projector. Projecting a display merely increases the scale, not the resolution. And if you sit near to a projected display, you'll start observing blocks. However, in the case of the display wall, the combined resolution is far greater than that of a single system. You can of course replace each monitor with a projector, and the total resolution is herculean.

Q3: What's the front-end and back-end?
Ans: I don't know, and I don't care.