Friday, March 20, 2009

Vehicle registration numbers

I have this habit of observing vehicle registration numbers. In the last few years, one can see vehicles from various parts of India in Bangalore. I am referring to private vehicles here, not those heavy trucks. While DL, AP, TN, KL are pretty common, sometimes you get to see exotic(!) ones like Nagaland (NL), Sikkim (SK) and so on. I have seen a TVS Scooty from J&K! Recently I saw this one from Lakshadweep.

Sunday, March 15, 2009

An unexpected question...

We were having a snack at a darshini. For the Bangalore noob, a darshini in Bangalore is a simple, low cost self-service restaurant with high tables and no seating, just like the Shanthi Sagar or Adigas in your neighbourhood. My daughter was perched on the high table, visibly unhappy with the Rava Idly she was getting to eat while eyeing Gobi Manchurian that we were refusing to give her. An elderly gentleman, may be in his late seventies, walked in. My daughter has this habit of staring at strangers with wide eyes and blank face, not unlike how Mowgli must have stared at the first humans he saw. This invariably draws the stranger's attention, which leads to the stranger trying to talk to her. She then loosens up, ready to give a big smile or even a hand shake. This man, rather than trying to chat up the kid, asked us "ಮಗುವಿನ ನಕ್ಷತ್ರ ಯಾವುದು?" "What is the nakshatra (birth star) of the child?". We had as much expected this question as the shareholders expected the Satyam scandal. A number of people ask us what her name is, never her nakshatra. We somehow gathered our wits and told him her birth star and he said something like "It is a very good star, she will get very good education" and left the scene. While my wife thought it was strange that someone would ask this question, I was quite amused by it. This person did not look like a Purohit, he was just a person who grew up in a traditional environment and doesn't want to change with the changing times.

Tuesday, March 10, 2009

Most liked feature in web browsers?

What is your most liked new feature in web browsers in the recent times? To me, it was tabbed browsing till some time ago. However, this is not a new feature. It was there when I first started using the earliest betas of Phoenix browser (2002?) and even before that, in Opera. In the recent times, the feature I have liked most is the ability to search in the address bar for URLs I entered in the past. I think this came with Firefox3.x series and is also referred to as "Awesome bar" by some. Currently, Google Chrome has extended this functionality to search using any text in your previously viewed web pages. Even better, I would say, but Chrome doesn't (yet) run on Linux. If you know an add-on to Firefox that can provide this functionality, do let me know.

Saturday, March 07, 2009

To lengthen the peak of our happiness...

No, this is not one of those spam advertisements that offers to improve a certain aspect of your life. No sir, this is much more nobler than that. As you know, the success of a certain movie has brought DIGNITY (yes, dignity in capital letters) to our Country. Now I am sure you are wondering "I only wish someone was striking a right chord to lengthen the peak of our happiness!" Worry no more, your prayers have been answered. No idea what that kid is doing there, though.

Sunday, February 15, 2009

So who won?

So who won yesterday? Was it the group in favour of Valentine's day celebrations or the one against it? TOI making everyone believe that this was a game with the two opponents clearly marked out and only one was going to win.

Anyway, now that the dust has settled, I picked up today's newspapers. I subscribe to two newspapers, Vijaya Karnataka in Kannada and Times of India. Incidentally, TOI bought VK a couple of years back, so both are now owned by the same parent company. However, there is a big difference between what these two reported about yesterday.

VK version:
"ಬಿಗಿ ಬಂದೋಬಸ್ತ್ ನಡುವೆಯೂ ಪ್ರೇಮಿಗಳ ದಿನಾಚರಣೆಗೆ ರಾಜ್ಯದ ಹಲವೆಡೆ ಅಡ್ಡಿ-ಆತಂಕ ಎದುರಾಯಿತು.
...
ಶ್ರೀರಾಮ ಸೇನೆಯ ಬೆದರಿಕೆಯಿಂದಾಗಿ ಪ್ರೇಮಿಗಳ ದಿನಾಚರಣೆ ಬೆಂಗಳೂರಿನಲ್ಲಿ ರಂಗೇರಲಿಲ್ಲ. ಲಾಲ ಬಾಗ್, ಕಬ್ಬನ್ ಪಾರ್ಕ್, ಕಾಲೇಜು ಕಾರ್ನರ್, ರೆಸ್ಟೋರೆಂಟ್, ಪಬ್ಗಳಲ್ಲಿ ಪ್ರೇಮಿಗಳ ಎಂದಿನ ಕಲರವ ಕಾಣಸಿಗಲಿಲ್ಲ."

which roughly translates to:
"In spite of heavy security, there was disruption to Valentine's day celebrations in many places of the state.
...
Due to the threat by Sri Rama Sene Vantentine's day celebrations in Bangalore was pale. Lal Bagh, Cubbon Park, college corners, restaurants and pubs did not see the usual level of revelry."

TOI version:
"Love and peace thrived in perfect harmony in Bangalore and other parts of Karnataka on one of the most-anticipated Valentine’s Days ever. Bangalore was swathed in red and pink. Thanks to the police which put away potential disrupters, including Hindu Rashtriya Sena chief Pramod Mutalik, behind bars and the civil society which decided to push back hard against moral policing, V-Day came up smelling roses.
...
By evening, the boulevards of MG Road and the sidewalks of Brigade Road, Residency Road and other high streets were chock-ablock with youngsters, out with friends and love interests, in throngs. Pubs began to fill up as the sun came down and restaurants reported brisk footfalls. Star eateries, which had sold out their V-day specials, saw couples — young and old — enjoying their romantic dinners serenaded by romantic music and covered by discreet, high security.
...
The scene was similar in other parts of the state, though the scale and colour of the festivities were a pitch lower than Bangalore."

Wow, isn't that strange? Two newspapers from the same publishing house, reporting on the same incidence, being so different in their reports? One thing that is very clear from all this is that TOI, though it owns VK, doesn't have much control over the contents of it. May be they want to give this kind of independence to VK, but my bets are that with the kind of people who run VK, it won't be possible for TOI to control the contents of VK too much unless they kick out a lot of the editorial folks.

Friday, February 13, 2009

Weather and food habits: epilogue

Recently I had wondered "Why do we like to eat spicy food when it gets cold, but overall spiciest food habits are seen in hottest places on earth". I got two responses from my friends.

Hariprasad said: Its almost as if we are too used to the 'hot' weather and cannot tolerate a deviation from the same. That's our natural state, kind of. So, when the weather gets cold, we are actually 'uncomfortable'. Since we can't do much with the weather, we wear warm clothes and eat hot food trying to 'restore' normalcy, at least in our body."

Ego said: "My Friend wanderlust had the following answer: "it's because in hot climates, food spoils easily unless you preserve it with spices. check it out... the more away from the equator you go, the blander the food.”"

Both explanations sound logical and they are not exclusive of each other. I guess the answer is a combination of these two. Hence I guess I sorta know the answer now. Thanks folks!

Wednesday, February 11, 2009

Pataguppa bridge

I mentioned a place in the backwaters of Linganamakki dam in my previous post. So where is this place and what is the interesting history behind this place?

The submerged bridge I mentioned is Pataguppa Bridge (ಪಟಗುಪ್ಪ). If you visit the Wikimapia page, zoom out a couple of times so that you get a good idea of how it looks. The place looks like this on Google Earth:


This place is along a road that used to run from Hosanagara to Sagara towns in Shimoga district. Long long back, before our parents were born, this was _the_ road between Hosanagara and Sagara. Later, in 1930s, they built a dam called Madenur (ಮಡೆನೂರು) dam in this area. This dam submerged significant area of land around this place and cut off this road link. Hence they built a bridge at this place to keep the road connectivity on. Remember, this was built during the Raj. It was built completely using stones.

Much later, in 1960s, the Linganamakki dam was built. This was the big daddy of Madenur dam, so it submerged even more land, pretty much half of Hosanagara Taluk, including the Madenur dam. Yes, a whole dam was submerged. In summer when the water level in Linganamakki dam comes down, one can see the Madenur dam even now. It is still intact, even after being submerged in water for so many years! Along with the dam, the bridge too went underwater! Hence the Government increased the height of this bridge, by erecting stone pillars on top of existing bridge and building a road on it supported by iron beams. The bridge was still going underwater for a few months during rainy season, but was usable during other times of the year. This went on till some time in the 1970s, when the top half of the dam, the one built on iron beams, collapsed under the weight of a truck. There were thoughts of repairing the broken bridge, but they really needed a new bridge, one that is remains above the water even when the dam is full. However, the pleas of people who lived in this area fell on deaf ears. The road link was permanently lost. All the buses and trucks that used to ply on this road started taking another, longer route to travel between Sagara and Hosanagara. Population of this area dwindled, only the core residents remained here and rest of the world started forgetting this area.

This is how the bridge looks now. Observe the lower bridge, which is still intact even after more than 70 years.


Now, decades after this bridge collapsed, the Government has finally begun building a new bridge here. It will mean there will be a lot of heavy machinery in what has been a serene place so far. They will huff and puff, pull down a lot of trees, dig out a lot of mud, project will get delayed numerous times and eventually there will be a new bridge. This road will come alive again and the lives of people living here will change forever. Again. All this will probably take 5 more years, but hopefully it will happen.

BTW, I have not visited the Madenur dam so far. I surely want to go there this summer, when the water levels are low enough to explore this place.

Some more photos from this place are here.

Sunday, February 01, 2009

The magic of a spectacular sunset

There is nothing like sitting on the ground watching a spectacular sunset slowly taking place. Last week, as I sat near a submerged bridge in the thick of Malnad region, on the shores of backwaters of Linganamakki dam, built across Sharavathi river, mother nature was putting up a great show. Everything was right about that place and time: A huge water body with tree stubs in it, dense forests on both sides of water, a few birds merrily singing along, eager to reach home before it gets dark, a lone boat, doing the last round for the day across the water, a handful of friends sitting along with me, but nobody speaking a word, just soaking in the beauty of the moment. It was magical.

Once the sun sets, the night falls surprisingly fast. Within a few more minutes, it is all over and time to go home with memories. For the sake of memories, I did take a few pictures. I did try all manual settings on my compact camera, leading to some really nice shots. The first one below is in pretty high resolution.


Friday, January 30, 2009

Weather and food habits

A couple of weeks back it was pretty cold in Bangalore. There used to be a bit of wind throughout the day, adding to the cold. The floor in my home - all granite, had gotten pretty cold, making me curl up my feet under me when I sat on the sofa. I was munching on some spicy snack and gulping down piping hot filter coffee, saying to myself: "This is the ideal weather to eat hot and spicy food like pakodas, bhajjis and so on".

I don't know what is it about the cold weather that makes people go after spicy foods. As I started thinking about it, I realized that this is not a universal phenomenon. In fact, just the contrary is probably true. Think of places which are well known for spicy foods and chances are, they are some of the hottest places on earth. Mexico, India, Thailand. Even within India, Andhra Pradesh, Rajasthan. On the other hand, most people in cold climate, like Europeans, prefer non-spicy foods. Even within India, Kashmiri food is pretty sweet, isn't it? Of course, there are exceptions to these rules. Especially in India, where there are exceptions to pretty much every rule. However, I can surely say, in general, cold places are not well known for spicy foods. So what is the relation between the weather and food habits? I did some googling, but could not spot anything obvious quickly.

If you know, please do let me know.

Thursday, January 29, 2009

Spam taking over the internet

I read recently that 95% of all e-mail in the world is just spam. I can readily believe that. I am pretty conservative about giving out my mail ids on the internet. In spite of that, gmail tells me I receive more spam than genuine mail. I used to use a mail id on an obscure website long time back. The only reason for using their mail id was that they were giving me 100MB of storage, whereas everyone else was at 2-4MB range back then. I had not visited that mail id in years. Last week somehow I remembered this id and curiously logged into it. While I was not looking, this mail id was slowly and steadily accumulating around 30 spam e-mail ids every day. Everything from offering me millions of dollars for free to offering me online degrees to selling me the blue diamond-shaped pill at very low cost. Some of the mails claimed that they arrived long before I, for that matter, the internet, was born!

Update: Yes, I know why it is 1969. After all, I have worked on UNIX!

Sunday, January 18, 2009

ಡಬ್ಬದ ಹೊರಗಿನ ಯೋಚನೆ

ಮಕ್ಕಳು ಯೋಚಿಸುವ ರೀತಿಯನ್ನು ಊಹಿಸುವುದೂ ಕಷ್ಟ. ಇದಕ್ಕೊಂದು ಉತ್ತಮ ಉದಾಹರಣೆ ನನ್ನ ತಂಗಿಯ ಮಗನ ಡಬ್ಬದ ಹೊರಗಿನ ಯೋಚನೆ (ಅದೇ, "thinking outside the box" ಕಣ್ರೀ!)

ಒಂದು ದಿನ ಶಾಲೆಯಿಂದ ಮನೆಗೆ ಬರುವಾಗ ಒಂದು ಒಂಟೆಯನ್ನು ನೋಡಿದ. ಮಕ್ಕಳಿಗೆ ಸಹಜವಾಗಿ ಎಲ್ಲಾ ವಿಷಯಗಳ ಮೇಲೂ ಕುತೂಹಲ. "ಅದೇನಮ್ಮ?" "ಅದು ಒಂಟೆ ಕಣಪ್ಪಾ".

ಮಾರನೆಯ ದಿನ ಅದೇ ಜಾಗದಲ್ಲಿ ಮೂರು ಒಂಟೆಗಳು ಹೋಗುತ್ತಿದ್ದವು. ತಕ್ಷಣ ಅವನ ಬಾಯಿಯಿಂದ ಹೊರಟೇ ಬಿಟ್ಟಿತ್ತು: "ಒಂಟೆ, ಟೂಟೇ, ತ್ರೀಟೇ" ("one-tay, two-tay, three-tay"). ಹೇಗಿದೆ? ಹೊಟ್ಟೆ ಹುಣ್ಣಾಗುವಷ್ಟು ನಗುತ್ತಿದ್ದ ನನ್ನ ತಂಗಿಯ ಸ್ಕೂಟಿ ಬೀಳದೆ ಇದ್ದದ್ದೇ ಆಶ್ಚರ್ಯ.

Petrol bunk: part of Bangalore's history?

Last Friday, as I pulled my car into my usual BP Petrol bunk (Yes, we call them petrol bunks in Bangalore, not petrol pumps) on Hosur Road, I noticed something different. I usually fill petrol at Venkateswara and Co, which is on South-bound Hosur road, just before Silk Board fly-over. This place is the most reliable one on my way home. They have never tried to cheat me either by not making the meter zero before beginning or distracting me while petrol is being filled (you know, "Cash or Card, saar?" types). The owner is usually right there, ready to jump in and ensure that the staff don't cheat. This day, the whole place was lit up with colorful lights. There was a little podium made at one end and flower bouquets were placed all over the place, including on the pumps. The owner, all excited, was roaming around instructing the staff to make final moment touch-ups to the decoration. It looked like there was going to be a speech of something.

I picked up a chat with the cashier while my car was being filled. He says "It has been 50 years since this petrol bunk was opened, sir. That's why the celebrations". I can't believe my ears. "50 years?" I say with a lot of exclamation in my voice. "Yes, golden jubilee. The current owner is a third generation owner of this place". The cashier said the news in a matter-of-fact way. I am sure he cannot feel as excited as the owner for this event. After all, he works there for a salary and the owner being strict may in fact be a hinderance for his income.

As I drove off, I kept telling to myself: "Man, 1959. Really? What was there in India back then?" Was Premier Padmini there, at least? This page says NO. Was Ambassador there, after all, it has existed for ever? This page says Ambassador started in 1957, so it was barely there. So there were pretty much no cars at all, except may be a few imported ones. Even Tata trucks hadn't been around for too long. Secondly, this place was well outside the city. Hosur road was probably there, but it wasn't going up to Madras back then. There was no Koramangala and no Indiranagar, forget about BTM. So this place must have been one of the extremely few petrol bunks in Bangalore back then. This is incredible that they have been selling fuel for that long. This place is a part of Bangalore's history!

Thursday, January 08, 2009

First rain of 2009

I have this tradition of recording the first rain of the year I see in Bangalore. Today (Jan 8), it rained. Well, okay, it kinda drizzled, but what the heck. This is probably the earliest rain I have seen in Bangalore. Another interesting observation: I have seen it rain in Bangalore in most of the months of the year. Probably all, with the possible exception of February. I wonder how many cities in India can claim this.

Monday, January 05, 2009

Start early!

To ensure the next generation is well versed with Linux, not some proprietary OS, it is important to give them an early start. How early? 1 year olds are perfect.

Wednesday, December 31, 2008

Manufacturing might

I am amazed at how good China is in manufacturing everything that was ever to be made. Especially toys. Pretty much every toy you can buy - both in stores and foot paths, are now made in China. I bought a little plastic bird, fitted with a motion sensor, a speaker and a little 'button' cell, so that it chirps when it senses any movement near it. They can make it in a huge factory somewhere in China, ship it all the way to India, possibly Chennai, transport it on road to Bangalore, distribute to stockists, resellers and foot-path vendors and they can still sell it for a meagre 20 Rupees. What should be the cost of manufacturing the toy? At what price can they sell this toy in the town it is manufactured at? While this is terrific, what is even more amazing is that if you want to replace the battery in the toy, you will need to shell out 40-70 Rupees. Do your math now!

Tuesday, December 16, 2008

Bangalore? Bengaluru?

Bangalore is on it's way to become Bengaluru. There are people who like the change and there are people who don't. There is yet another class of people who cannot make up their mind either way. They spell it "Bangalooru" :-)

Thursday, December 11, 2008

A feature I wish for

I sometimes connect my laptop to an LCD monitor at work. The monitor supports lower resolution than what my laptop supports. Hence I often keep switching between two resolutions on my GNOME desktop. When I switch to higher resolution, all my windows retain their old size (pixel-wise), so they turn out to be too small. I need to manually resize each window to my taste.

What I need is a way to set the size of the window to be relative to the size of the desktop. That is, I want all my terminal windows to be around 75% of the width of the desktop and 100% of the height of the desktop, excluding the taskbars. I want my pidgin IRC client to be 50% in width and 75% in height. Is that even possible with the existing GNOME desktop? If not, is it possible with any other desktop on Linux? If not, I wonder whether any other OS has such a feature.

Tuesday, December 09, 2008

Weird problem with Linux file system

How big is the problem of your hard disk drive getting full? If it is anything like what happened to me, LOTS. I am still trying to come to terms with all that happened on my laptop.

Like any self-respecting geek, I run Linux as my primary desktop. In fact I have 3 Linux distros installed on my fairly small hard disk. As a result, most of my disk partitions are filled to the brim. Sometimes I need to delete stuff from my disk even to make way for even a 300MB file. On my Fedora9 partition, I have both root and /home on the same partition. On one of the unfortunate days last week, while I was compiling some code, the partition reached 100% full. I wasn't alarmed, after all, how bad can this be? But it was going to be quite bad.

The first thing that I noticed was that bash command history did not work. The next bash shell I spawned did not show a proper prompt (PS1). Little investigation showed that my ~/.bash* files did not exist any more! I frantically started looking at my $HOME to noticed that a number of small files, like my custom scripts directory, were missing. I don't know what else and how much more I have lost. Didn't I back up my entire home dir? Yeah, right.

I know, this is NOT what you expect and people will tell me this cannot happen. Unless I am trying one of the bleeding edge file systems. But I was on good old ext3. I did not find any hint about this in kernel messages. I tried googling for this, but this problem is very difficult to phrase and my attempts did not hit anything. I wonder whether anyone who reads this blog has hit such a problem or have any idea what might have happened. One more thing: I am NOT willing to try to recreate this problem ;-)

Scripts I use

These are a couple of scripts I use to convert files between media formats. The only advantage of using these is that I don't need to remember all the crazy command line options.

rm_to_wav.sh
--------------------
basename=`echo $1 |awk -F. '{print $1}'`
mplayer -cache 32 -ao pcm -ao pcm:file=$basename.wav $1


wav_to_mp3.sh
----------------------
basename=`echo $1 |awk -F. '{print $1}'`
lame -V2 $1 $basename.mp3


Usage:
-----------
rm_to_wav.sh filename.rm
wav_to_mp3.sh filename.wav

Monday, December 01, 2008

FOSS.in 2008

FOSS.in conference is over! As I mentioned in my previous post, I gave a talk there. What do I feel about how the event went?

First, the bad things.

This year's conference had an unique, unprecedented build up. It all started with this Atul's post. It turned out to be very controversial and it put off a lot of people, especially abroad. I am not guessing this. I met a few people at Linux Kongress this year, who personally told me that they felt unwelcome at FOSS.in this year and hence refrained from sending a talk proposal. The organizers provided some clarification towards the end of the year, but the damage had been done.

Next, the global economic meltdown meant finding money for sponsoring the event was going to be tough, because very few companies were willing to spend money on this. This meant low propaganda for the event, leading to much lower anticipation building up to the event. All this led to much smaller number of delegates this year. Someone who had been to FOSS.in 2007 would immediately recognize the difference.

Now the good things.

FOSS.in organizers did a lot of things right, especially as the conference approached. First, they corrected some of the misconceptions in the minds of people, especially with this post.

Secondly, they communicated effectively with the speakers to ensure the workout sessions, which was the most unique thing about this year's conference, were planned pretty well.

Third, they showed the openness to Linux kernel talks, thus alleviating one of the biggest complaints from my team at work. In fact they stepped back and let the people who know about kernel plan sessions related to this area.

They ensured that the conference ran smoothly by ensuring that a lot of little things were taken care of well. Food was good, biscuits served with tea were even better. Little things like running around and getting us more extension cords for workout sessions, ensuring that logistics at the conference were handled well go a long way in enhancing satisfaction in the minds of attendees. I also liked the "Show me the..." theme.

There was live streaming of talks from the main hall, which was another cool thing.

The talks themselves were pretty good, but I think they could have been better. I really enjoyed the closing note by Kalyan Varma. While his photos were obviously very good, it was clear that he had prepared a lot for this talk and it showed in the class his talk exhibited.

Finally, there were far too many good things about the conference than bad ones. The event was an overall success. Talks, workouts, logistics, everything was a success. Lower turnout compared to last year was expected, hence I can't say that was a failure either. I don't know what the organizers are thinking about FOSS.in 2009, but I hope they retain the format of this year and just polish up some of the rough edges. I hope the people who participated in FOSS.in 2008 will come back with much more enthusiasm next year and get their friends involved. The Linux kernel people will surely be more interested about the conference next year. I hope we will be able to advertise the event much better next year, which hopefully will bring in much more sponsorship money. This conference is surely one of the better organized FOSS conferences in the world, I hope it only gets better.