Sunday, July 19, 2009

Samsung Star S5233 review

After months of dillydallying about buying a new mobile phone, I was yet to make up my mind, but fate decided to put an end to my dilemma. My old faithful Nokia 3230 conked off again and any I didn't have the mood to resurrect it again by spending more money. After a feverish research on the web for a couple of days and coming within minutes from buying a Nokia E63, I finally ended up with a Samsung Star S5233. Samsung Star must be one of the fastest selling phones in India right now. It is one of the cheapest full touch screen phones of any time (I paid Rs. 9550 inclusive of VAT) and it has enough features to attract the average phone buyer.

On the hardware side, the phone has good build quality and feels quite nice in the hands. It looks and feels like an iPhone to an extent. The resistive touch screen, though not in the same league as iPhone, is not too far behind either. It has actual buttons for volume adjustment, camera, locking the screen and call functions. The camera is 3.2 megapixels, but without autofocus and flash, can generate good photos only outdoors. The stylus is bulky and doesn't fit into the body of the phone, but there is no real need to use the stylus unless you are browsing the web. There is no wifi or 3G. I like the fact that the phone's battery is charged through the same micro-usb that is used to connect it to computer. However, I would have liked to see an independent audio jack.

I don't know what OS it runs. I suppose it is some proprietary one. The UI, though it feels very different for someone coming from an old Nokia, was quite easy to learn. The way to do a lot of things changes significantly (for the better) the moment you move to a touch screen. I think laptops will (and should) start shipping with touch screens soon. The applications provided with the phone are quite good. It has a document viewer that can read pdfs too, google maps, youtube, reasonably good web browser, facebook app, weather app and so on. The phone does a good job of playing music too. I have mostly positives about software on the phone.

Negatives on software side include OS crashes, especially when I had connected through bluetooth. I could not find many applications to download. It would have been nice to have a few more games on the phone, especially the ones that use motion sensing and gyroscope. I suppose the phone is still too new. The software they provide (Samsung New PC Studio) to make the phone talk to Windows computers is absolutely horrendous. They have made it unnecessarily complicated and seems to be quite buggy. The phone did not want to connect to my Linux box through USB until I put a memory card in it.

So I conclude that this phone is pretty good value for money and it deserves the tag some people have given it: "Poor man's iPhone".

Update:
I have one more good and one more bad thing to say about the phone.
Good: Camera. While I was unimpressed by the pictures I got indoors, I was able to get much better pictures in brighter conditions. Here are some proof:


Bad: Software installation. The phone supports Java apps, but there is no easy way to install third-party applications on the phone. I have googled for it and found that some people have installed Java apps successfully, but the procedure itself sounds like black magic and I have not succeeded so far. I wish there was an easy way to install Java apps using my PC.

Update2:
Some of the commenters have asked about the battery performance. I am not a heavy user of the phone. I talk may be 10-15 minutes on the phone every day, take 3-4 pics with the camera, play 10-15 minutes of games and listen to a bit of music. The battery is lasting roughly 5 days for me. Of course, the phone is still very new.

I have not attempted to connect my PC to the internet through this phone. Hence I don't know how well that works. I want to do the other way around, though. I want to connect the phone to the internet through the computer. However, this doesn't seem to be easy. Currently I use Airtel Live connection, which costs real money!

Wednesday, July 08, 2009

Don't let anyone overtake you

In order to prevent others from overtaking you, you would have to drive very fast. If you can't do that, you may load the luggage in a creative manner to scare away potential over-takers.

Sunday, June 21, 2009

Amusing singing

My 4 year old nephew singing the song "Minchagi Neenu Baralu". He can't pronounce a few sounds, most notably "L", which makes his singing quite amusing (if you know Kannada)

Thursday, June 18, 2009

A trip idea

I don't write many travel blogs now-a-days. And for a good reason. I don't travel much. However, I felt the urge to write a bit about the last trip I did, mainly because it will be a good place to visit during the coming months.

I had been to Honnavar. It is a town on the west coast of Karnataka, roughly 450 Kms from Bangalore. The town itself is quite nice and there are a number of nice places of interest around it. First of all, the road to Honnavar is quite nice. It passes through Shimoga, Sagar, Jog Falls, Gersoppa, which means it is one of the scenic routes. The road is in a good shape, and there isn't too much traffic on this road, so it is a pleasure to drive on this road. In the next couple of months the road is going to turn even more green and scenic due to the monsoon rains.

In my view, mid-August is the best time to visit Jog Falls, because there will be a lot of water and a lot of greenery. Agreed, the rains make it inconvenient, but if you want convenience you should stick to the Forum Mall. That too, only on weekdays. As you approach Honnavar, you will notice that the hilly (Ghat) roads don't end even when you are just a couple of Kms from the coast. That is the speciality of the sea coast in this part. The hills stretch almost till the beach. The beach in Honnavar is clean and neat, but there are few other beaches nearby as well. Depending on the taste and amount of time on hand, there are a number of places of interest all around: Gokarna, Murdeshwar, Dhareshwar, Idagunji, Apsara Konda, Maravanthe, Karwar, Dandeli, come to mind. If you are willing to drive 3 hours, you can visit Udupi, Agumbe or even Goa. So I think this is a good place to plan a trip somewhere between mid July - mid August. One word of caution: the rain here can be extremely heavy. Avoid driving when it is raining heavily. Especially in the night. I made the mistake and I know how hard it is.

BTW, I stayed at Kamat Executive Inn, Honnavar. It is pretty decent and costs around 500 Rs for non-AC and around 1000 Rs for AC. The "kotte kadabu", idly cooked in leaves of jackfruit tree, that they serve in the morning is delicious. There are a few other lodges around this place.

Oh, there are no petrol pumps for around 50-60 Kms before reaching Honnavar. So beware!

Monday, June 15, 2009

Approximately unknown?

I have been enjoying my shiny new Fedora 11 installation so far. Lots of good things to say about it. The battery meter however is extremely... er.. diplomatic. It says "You have approximately Unknown time of remaining battery life" :-)

Let the games begin!

Now that India is out of T20 world cup, the blame game season can commence. Expect anything and everything to be blamed, including Dhoni's ego, media problems, Yuvraj's personal life, Sehwag's attitude, Ishant's hair style, over-confidence, new jersey colour, planetary positions, terrorism and so on. The so called experts will come out with insightful columns which are so easy to write in hind sight. Don't be surprised if there are demands for pulling the captain down. Let the fun begin!

Tuesday, June 09, 2009

UNIX turns 40!

The OS that most people start studying Operating Systems with is turning 40! I have known it for 13 years. I started off with SCO Unix in one of the computer training institutes. It surely wasn't love at first sight. In those days it was very common to see SCO Unix, because that was the only prominent UNIX that ran on Intel. Remember, Linux was hardly on the horizon back then. Later, at my first job my 'desktop' was a dumb terminal connected through a serial ports to the central SVR4 server. This meant it was complete text mode. We had to go looking for a Windows machine to see image attachments sent in e-mails :-) I suppose most people start their UNIX experience with Linux.

Saturday, May 09, 2009

Sunday, April 26, 2009

Geocities is closing down

Did you hear that Geocities is closing down? Unless you started using the Internet well after the Dot-com bubble burst, you are likely to have seen geocities web pages. If you were considered Internet-savvy back then, you would have a homepage on geocities. Or on tripod or angelfire... That was the "in" thing to do back then.

It appears like a number of people really hated those amateur homepages and are happy to see it closing down. Many of the pages there were made by total novice web-site designers who were doing it to make a statement. Agreed, the statement they made was mostly "see, I too have a tacky homepage." However, I will be very surprised if today's blogs, facebook homes and tweets are considered state-of-the-art after another decade.

If you are guessing why I feel so strongly about geocities, your guess is right. Though I jumped on the Internet bandwagon quite late, I too was among the "in" crowd of early 2000s with a homepage. Tacky floating background images, a guest book, links page, even the uber-geek Javascript. My homepage is still alive. It will be alive until Yahoo takes it down later this year. Until then it is good to visit once in a while and smile at what was considered cool back then.

Saturday, April 18, 2009

How to get thrilled?

If you are like me, the most risky thing you do in a typical work day probably is consuming cafeteria food. The more adventurous ones among us try activities like rock climbing, parasailing and if you are really reckless, to the point where you don't care about your life, bungee jumping. So what should the former type, cafeteria food type, do to get a good rush of adrenalin once in a while? I recommend driving up the highway from Mysore to Bangalore on a Sunday evening. The thrills only get multiplied if you are not familiar with this road. This is not a joke, let me explain how it works.

It works best if you have a small and tall car like a Santro. Alternatively, choose a car with low ground clearance. Make a resolve to drive at at least 80kmph all along. Even more importantly, decide not to let any vehicle overtake you on the way and if for some reason someone does, to take revenge (overtake him/her) within the next couple of kilometers. Wait in Mysore till the sun sets and then, set out.

You will quickly notice that pretty much half of cars in Mysore are now headed to Bangalore. To be fair, it is a pretty nice road. Two lanes on either side with a smooth riding surface. So you will quickly find yourself driving at more than 100kmph. Just when you thought it is going to be a smooth drive, BANG! That was the sound of the new makeshift speed breaker constructed by haphazardly pouring some tar onto the road, hitting one of the vital organs at the belly of your car. That was fun, wasn't it? The impact has switched on the wiper and right-turn indicator. Please turn them off. You see, the speed breaker was created just a few days ago and was placed in a curve, so that you cannot see it from a distance. No, they did not think it is necessary to place any warning signs or paint the hump with a paint. You were driving too fast, so you deserved what you got. When combined with the darkness of the night and glare of high beam headlights from the other side of the road, the recipe is complete.

Did I say high beam headlights? As if there is another type of headlight? While it is not as bad as a median-less road, glaring headlights cause problems because the road has curves all along. There are a number of villages on the road and this means there are various types of cross traffic. Pedestrians (helpfully wearing black clothing, to add to the effect), stray dogs, bullock carts, bicycles with not even a reflector on them, motorbikes with not even a reflector (forget lights) on them, all crossing the road at one of the various cuts in the median. When combined with plants that have been grown on the median and the headlights from the opposite side trying to blind you, you are never sure what is waiting at the next turn. How thrilling is that?

Though the road is a 2-lane on either side, you have realized by now that some of the vehicles, especially tractors, can go on either side of the road in either direction. While it is not so thrilling to come across these during the day, it surely is during the night because either they don't have any lights or have very powerful lights pointing directly at you.

So you escaped all the hurdles and reached Maddur. Now get ready for the next challenge. There are a number of restaurants on the highway between Maddur and Ramanagara. Every car religiously stops at one of these restaurants, as if this is required by law. On a Sunday evening, every restaurant in this stretch is so terribly crowded, there is neither a guarantee that you will get what you want, nor the quality you expect it at. The thrill here comes from capturing a table and eating whatever overpriced food is available.

At least one stretch of the road, a couple of kilometers long, is usually closed on one side, making that stretch a 1-lane on each side, median less road. This means there is a huge congestion at that place. This is when the survival instincts of Bangalore's drivers kicks in big time. They will do anything, with no care for the physical health of themselves or the others, to gain, may be, a couple of overtakes. I won't be surprised if some of them are willing to drive through few sugar cane fields to get ahead of others. Please participate in this mayhem to enhance your fun of driving.

By the time Ramanagara is behind you, the traffic on the road has increased considerably. Add a few slow moving trucks and luggage auto-rickshaws to the mix and it is close to impossible to maintain a good speed. However, remember that you have resolved to maintain at least 80kmph because that is essential to get the thrill that you are looking for. After a high speed, high stakes game of driving for about an hour, you are ready to join the Bangalore traffic, which, to your surprise, is not any less on a Sunday evening than other days. This is when you start thinking "What are this many people doing on the road on a Sunday evening? If all these suckers were at home watching TV, I could have driven so easily and reached home by now". Eventually, you do reach home. The thrill ends. Until Monday afternoon, lunch time at the cafeteria :-)

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.

Friday, November 28, 2008

My talk at FOSS.in

Hey, I will be talking at FOSS.in today! The talk can be heard live online. Just point your media player to http://radioverve.com/foss.in.pls!

Tuesday, November 25, 2008

One of my best photos

I obviously have thousands of photos of her by now, but this one most deserves to be here on my blog as well.

Friday, November 14, 2008

My crazy thoughts

For lack of a better one, this blog post will go with this stupid title. These are some random thoughts that have run through my mind. Only when I tried to express them in writing did I realize how vague these thoughts are.

Lets say an air plane crashes somewhere in the world and 50 people die. Lets say another 50 people die in a train or bus accident. Guess which of these gets the maximum coverage in our news media?

Lets say 20 people die on a particular day in a bus accident in Bangalore. Let's say another 20 individuals die in various isolated (lets say, 10) accidents across Bangalore on the same day. Now guess which of these becomes the major news story in news papers and news channels and which doesn't?

Lets say 20 people die in a bomb blast in some city. On the same day, more people would have died due to reasons like deadly diseases in the same city. Which one becomes the 'breaking news' that evening? More US soldiers die in motorcycle accidents than in Iraq. While there is a huge hue and cry over the latter, the former hardly ever gets mentioned.

Let's consider another scenario. MNS activists beating up a North Indian in Mumbai is a much bigger news than dacoits breaking into a house in Mumbai, killing it's residents and running away with valuables. Isn't that strange? Hari has wondered why Article 355 was not imposed on Maharashtra Government because it did not protect the North Indians from miscreants. I wonder how different it is from protecting the locals from dacoits. If the purpose behind the crime determines it's significance, there are a number of such hate crimes which don't hog any limelight.

A techie doing anything, including committing suicide is a much bigger news than a non-techie doing it.

Well, I don't just blame the media for this. It is how most people think as well. A lot of people may think this is just normal. However, it intrigues me to know that the value of life (or death) depends on the mode in which it was lost and what the profession of the person was. The world is a strange place.

Monday, November 03, 2008

Photo from Deepavali

One of my better photos from this Deepavali. I was randomly exposing it for 2 seconds and I happened to catch this firework by luck. No doubt there is noise because it was at ISO200, but what else can you expect from a puny Canon A520? The view is from the terrace of my home, looking north towards BTM 2nd Stage.

Thursday, October 23, 2008

Speed limit for tanks

Remember, if you drive your tank to Hamburg, please follow the speed limits! Yes, the German traffic cop won't mind if you drive a war tank right into the market street, as far as you are driving within speed limits. I wonder whether shooting at the building all around is allowed. But then, if I am really driving a tank, do I care?

PS: Some intense googling revealed that these are weight limits, not speed limits. It still doesn't make complete sense, but much better.

Wednesday, October 15, 2008

Car car car!!!

It was not as if I did not know about it, but still, the sheer percentage of high-end cars on the roads of Hamburg was impressive. If it was not a Mercedes, it would be an Audi or BMW or Skoda. Volkswagens were a dime a dozen, somewhat like the Alto on Indian roads. Most of the taxis were Mercedes and so were the police cars. There were very few Japanese or Korean cars to be found. The only American brand that I could easily sight was Ford. Unless you count Opel, of course.


However, not everyone in Hamburg can be rich. Hence I was bound to see some low-end cars as well. The ones that used to catch my attention were the ones sold in India. I first spotted a Suzuki Swift and then a Hyundai Getz. So the claim by these guys that these are global cars is kind of true.



Next, I found a Chevy Spark, named Matiz. Oh, so there are people who buy Chevy in this country.










But I was not ready for the next big surprise... I spotted.... a Hyundai Santro Xing. Yes, a Santro!! It was called "Atos Prime" here. Seeing the humble Santro rubbing shoulders with the likes of Alpha Romeos and Audis has increased my respect for my own Santro.

Monday, October 13, 2008

Funs of machine translation

Google may be one of the best at what they do, but even they cannot translate natural languages perfectly. This is fine most of the time, but leads to some hilarious bloopers once in a while. I saw a fine example of this a few days ago while I was researching about Germany. Take a look.

Original German text:
Wir möchten uns für Ihr Interesse an unserem Unternehmen bedanken und begrüßen SIe hier auf unseren Internetseiten.
Translation by Babelfish:
We would like to thank you and welcome for your interest in our enterprise they here on our Internet sites.
Translation by Google translate:
We apologize for your interest in our company to thank and welcome you here on our web pages.

Proof in the picture below.
P.S: After going on a trip, it is now so customary to blog about it, that it almost seems like a rule. Hence I am going to write a bit about my Germany trip in the coming days.

Saturday, October 04, 2008

Linux Kongress

I will be speaking at the Linux Kongress conference next week. My talk is related to the real-time Linux kernel. This is the first time I will be visiting Germany and I am looking forward to it. Please wish me luck.

Thursday, September 25, 2008

This is not fair!

No, not fair at all. Absolutely not. Just when I was wondering why newly joined employees in my office behave so differently from the way I used to behave back then, I see this article which says there is a generation gap between junior and senior students in the same college, who differ by just 2 years in age. I wonder what these kids would think of me... may be same as what I think about ancient Egyptian civilization.

2 years? Is that all it takes to create generation gap? It is as if the Orkut generation is different from the Facebook generation, which itself is ancient compared to the Twitter generation. What about people who started off with Yahoo Groups? Listen to me people, a generation is around 30 years. Or at least 20. Not 2. Okay? Do you listen?

Wednesday, September 17, 2008

Chitranna Chitranna

ನಾನು ಸಾಧಾರಣವಾಗಿ ಸುಮಧುರ, ಮಂದಗತಿಯ, ಉತ್ತಮ ಸಾಹಿತ್ಯವಿರುವ ಹಾಡುಗಳನ್ನೇ ಕೇಳಲು ಇಷ್ಟ ಪಡುತ್ತೇನೆ. ಒಮ್ಮೊಮ್ಮೆ ಇದಕ್ಕೆ ತದ್ವಿರುದ್ಧವಾದ, 'ಗಲಾಟೆ' ತುಂಬಿರುವ ಹಾಡುಗಳೂ ಇಷ್ಟವಾಗುತ್ತವೆ. ಆದರೆ ಇಂಥಹ ಹಾಡುಗಳು ಬಹಳ ದಿನವೇನೂ favourite ಆಗಿ ಉಳಿಯುವುದಿಲ್ಲ. 'ಮುಂಗಾರು ಮಳೆ'ಯ ನಂತರ ಹೆಚ್ಚಿನ ಸಂಗೀತ ನಿರ್ದೇಶಕರು ಅದೇ 'ಫಾರ್ಮುಲ' ಅನುಸರಿಸಿ ಮಧುರ ಗೀತೆಗಳನ್ನು ನೀಡಲು ಪ್ರಯತ್ನಿಸುತ್ತಿರುವುದರಿಂದ ಕನ್ನಡದಲ್ಲಿ ನನಗೆ ಇಷ್ಟ ಆಗುವ fast beats ಇರುವ ಹಾಡುಗಳೇ ಬಂದಿರಲಿಲ್ಲ. ಆದರೆ ಕಳೆದ ವಾರದಿಂದ ಚಿತ್ರಾನ್ನ ಚಿತ್ರಾನ್ನ ಹಾಡು ನನ್ನ ಮನಸ್ಸನ್ನು ಹಿಡಿದಿಡುವಲ್ಲಿ ಯಶಸ್ವಿಯಾಗಿದೆ. ಇದರ ಟ್ಯೂನ್ ನಲ್ಲಿ ಒಂಥರಾ ಆಕರ್ಷಣೆ ಇದೆ. ಎಲ್ಲಾ ರೇಡಿಯೋ ಸ್ಟೇಷನ್ ಗಳೂ ಈ ಹಾಡನ್ನು ದಿನಕ್ಕೆ ನೂರು ಸಲ ಹಾಕಿ ಇದರ ಮೇಲೆ ವಾಕರಿಕೆ ಬರುವಂತೆ ಮಾಡುವುದು ಗ್ಯಾರೆಂಟಿ. ಆದರೆ ಅಲ್ಲಿಯವರೆಗೆ ಈ 'different' ಹಾಡು ನನಗಿಷ್ಟ.

Aid for one-handed steering

Anyone who drives in Bangalore's peak hour traffic will be good at steering with just one hand. The left hand is busy with changing between 1st and 2nd gears. Unless of course you drive an automatic. If we are going to do one-handed steering, we might as well make it easy. Now-a-days these knobs that cling on to a side of the steering wheel are becoming popular. It somehow caught my fancy and I bought one.


The knob turns internally, making it super-easy to make any complex turn, even a sharp U-turn with just one hand. It is also useful on a straight road, because it makes steering much easier. So far, I have liked it. If you have been thinking about buying it, I suggest you go right ahead.

Thursday, September 11, 2008

How not to place your advertisements

This was an example of not planning the placement of your newspaper advertisement properly.

On Page 23, there is this news:
On Page 24, some more about this topic:
And on Page 26, this advertisement:

Tuesday, September 02, 2008

Buying a mobile phone

It is that time again.... time to buy a mobile phone. My old cell phone is still alive, but it doesn't have much life left in it. It is a trusted Nokia 3230. It was a prized possession when I bought it in 2005. It was a fashion statement. Now, looking back, I cannot figure how a phone that is as slow as that (a full 45 second boot-up time + 15 seconds for menu to get activated) could become such a big success. This phone has absorbed a lot of physical impact, like falling and rolling from Savanadurga hill, being dropped to ground innumerable times and so on. It has bruises all over to show for it's adventures. However, what gravity could not do, water did. It fell in a wash-basin when the tap was on!

I am a really slow decision maker, so I may not buy another phone just yet. I am not really too much electronics-crazy. However, we males have this strange brain model that makes us want a gadget that we don't need. This phone has a speakerphone with sub-woofer and home theatre support? Wow! That phone runs Linux? Can I run bash on it and run my python scripts? Tri-band phone is a necessity even though I never carry my phone abroad. That sort of creature we males are. No wonder handset manufacturers love us!

Thankfully, reality strikes us when we look at the prices. 31 freaking K for that snazzy new touchscreen phone? If I were spending that sort of money I would expect to get a laptop, not a cellphone. 25K for that phone that syncs my e-mail to the phone? Oh... I don't really need to see my mail on my mobile.... Eventually you settle for something that is still more than what you need, but less than what you want.

I have looked at the specs of a few phones. I am looking at a range of phones from Nokia 3600 the Sony-Ericsson P1i. I wonder which one I end up buying eventually. And when.

Update: I got my trusted 3230 resurrected by spending Rs. 650 and convinced myself that it can do everything I need from a mobile phone for now.

Sunday, August 31, 2008

Jharkhand (Part 2)

It must have been a while since I wrote 2 posts on consecutive days! Here is part 2 of my Jamshedpur trip highlights.

We went to Bistupur main road a couple of times. This is the Brigade Road of Jamshedpur. Pretty neat.

We were looking for a vegetarian restaurant and were directed to one on Bistupur main road (where else?). This happened to be the place known for South Indian food. However, the restaurant seemed to be run by a North Indian, hence we decided to do what I have learnt over the years: Eat the local food. By the time we got rotis and subji on our table, we looked around the hall and saw everyone... I mean literally every single customer in the restaurant... including the locals, sardars, huge families... was eating dosa. Wow, I am sure the restaurant staff were laughing their guts out because we ordered rotis in that restaurant. We too quickly corrected ourselves and switched to a dosa.

Oh, by the way, we were in Jamshedpur because we were visiting NIT Jamshedpur. It seemed like any other NIT that I have visited. Pretty good facilities, pretty good students, good experience. What surprised me was how far from the main road was this place. It seemed to be connected to the main road by narrow and bad roads. This being a pretty old institution, I am not sure why they did not build it closer to the main roads or provided wide enough roads. I suspect the roads were wide, but were encroached upon over the years.

On the day we were leaving Jharkhand, our train was at 6:15AM. When we came out of the hotel at 5:30, we were surprised to see the amount of sunlight. We had gone more northwards and eastwards from Bangalore and it was the summer in Northern hemisphere, so I was expecting early sunrise. However, I was surprised to see the number of people already on the road. The town seemed to be more active at 5:30 than Bangalore is at 7AM.

Our return journey was in a train, so we were not going to experience the roads again. A couple of things in the train reminded us again about the amount of impact naxals have in this area. As we entered our coach, we saw a commando - in full gear with a machine gun, strolling in it. Later, as the train passed through a certain area, they closed and locked all doors from inside and pulled down all the window shutters. Wow!

After watching more paddy fields, we were back in Kolkata.

Saturday, August 30, 2008

Jharkhand! (Part 1)

Recently, I got an opportunity to visit Jamshedpur. No, I am not writing a travelogue. That is the domain of guys like this. My expertise lie elsewhere. I am not sure exactly where, though. Hence I will just jot down some of the interesting things that happened in this trip in a systematic fashion that I call 'random'.

This was my first time ever in Jharkhand or undivided Bihar. There were 3 of us. We took a cab from Kolkata to Jamshedpur. It was an air-conditioned Toyota Innova, so we did not get to 'experience' Kolkata as such. I had seen the city before, but the folks with me kept saying the whole city looks like it is covered with soot... everything was of dull grey without much other color or shine. I know the reasons for this: 1) We were passing through the old part of the city 2) Kolkata's proximity to the sea. It is not easy to maintain the external paint of buildings in this weather.

The road we took - the highway to Mumbai was in excellent shape. However, good things can't last. We took a deviation from the highway near Kharagpur (of IIT fame) towards Jamshedpur. I have a big suspicion that at this stage our Innova somehow launched into space and landed on the moon. The 'national highway' that we were on had no resemblance whatsoever to the national highway we were on until then. The ideal vehicle for this road was not an Innova but a hovercraft.

Throughout our 6 hour journey, every single piece of agricultural land we saw on the sides of the road had paddy cultivated in it. We literally did not see a single other crop anywhere on the way. How's that?

We passed through a few villages, but we hardly saw any shops selling condiments. This is unlike the South India, where you can find a shop selling Kurkure, Bisleri and Pepsi even in smallest villages on the highway.

We saw a huge number of those long trucks carrying industrial produces, most of them steel products. Surprisingly, a disproportionately large number of them were Nagaland registered (NL). Yes, I have a habit of observing vehicle registration plates. Most of these trucks were carrying railway axles. There must some reason to Nagaland trucks plying on Jharkhand roads, like tax benefits, unless the railways are planning major rail network explansion in Nagaland. That would be fun, though. Trains on mountains, more locations to shoot songs like Chaiya Chaiya.

The only English newspaper easily available in Jamshedpur was "The Telegraph". Well, I know this is a historic, great newspaper and all, but I never thought this would be so popular in this state. In Kolkata, I can understand...

The Telegraph told us why the national highways were in the stage they were. Money had been approved for repairing them, tenders had been called multiple times, but nobody had placed a bid. This is because the naxals don't let any road repair work happen at all. We now quickly linked naxals to absense of condiment stores along the highway as well.

The public are not far too behind. Bus service between Ranchi (yeah, Dhoni's) and Jamshedpur was in dire conditions because of non-co-operation of general public. Bad condition of the roads and naxals only added to the trouble.

Parts of Jamshedpur are maintained by the tatas (Tatanagar) and the rest of the urban local body (municipality?) Tatanagar is a huge contrast to everything else we saw in Jharkhand. We saw the "Jubilee Park", which I must admit is one of the best maintained parks I have seen in a while.

Wow, I have written a lot! I never thought I would write so much. I have some more. In Part 2.

Wednesday, August 13, 2008

KDE hack

Everyone's needs from a Linux desktop is different from others. Hence each desktop is configured in a unique way. I have a couple of strange needs from my desktop, so mine is 'different' in it's own way.

I am a GNOME convert. However, there are some KDE apps I still like. For example, I use Kmail for my mails. Hence I install both KDE and GNOME on my system, but run GNOME as the default desktop. When I click on a web link in kmail, I want it to open in Firefox. However, by default kmail opens web links in Konqueror. This is because it uses KDE's default settings. So what I do is I go to KDE's control center and set the default application for html to be Firefox. This fixes the problem. Or it did all these days.

On My new Fedora 9 desktop, the above trick did not work. I suspect KDE4 that is shipped with Fedora9 does not like Firefox. I ensured that my GNOME
settings too make Firefox the default web browser, but web links still kept opening in Konqueror. I googled, but only found references to things I
had already tried.

Can I just remove konqueror from my system, since I don't use it anyway? Well, no. It is part of kdebase rpm. So it looks like Konqueror is closely tied to KDE. Hmm.. can I remove the konqueror binary from /usr/bin? When I did that, kmail did not open the weblinks at all. I suspect it reported an error somewhere that it could not find the browser, but it said nothing directly to me through an error window! Next, I wanted to find out how kmail finds out the browser application. After straceing and ltraceing kde binaries running on my system, I had found nothing.

That's when Srikar reminded me of an old trick in the bag. Replace /usr/bin/konqueror with a symlink to /usr/bin/firefox :) This of course worked as expected. I know it is a horrible hack. It must have broken a few things in the KDE desktop. However, I don't use KDE as the desktop. I just need apps. Hence, it works for me :)

Friday, July 18, 2008

Did this ever happen to you?

I was at one of my company's events recently and I was listening to a presentation. Some guy came and sat in the vacant seat next to mine. From my quick glance towards him, I figured that this is someone I know pretty well. I turned around and looked at his face. From the side view, I was quite confident that I know this person. I tapped his shoulder and said "Hi". He turned around and from the front, he looked quite different. He was not the person I thought he was, I had done a mistake. However, by this time this guy was in the game. From the looks on his face, I could easily tell he was totally confused inside and was trying to guess who I was. He of course tried not to show it on his face and replied "Hi. How are you doing? Which project are you in now?" What could I do? I too acted as if I knew him and exchanged pleasantries. At the end of the day, he must still be wondering who this stranger who spoke to him was.

Tuesday, July 15, 2008

Sarvam Bollywood Mayam

Another post about FM radio stations. Hopefully the last for a while.

Typically I listen to FM on my way to work. I keep switching stations at the rate of approximately 0.5 seconds. I think it is required by some biological law for men to keep switching TV channels and radio stations at this frequency. A couple of weeks back, I was pleasantly surprised to hear to some old(ish) Hindi music on one of the stations. Mithun's "I am a disco dancer" and such stuff. Only towards the end of my 1 hour journey I realized the reason behind this: The radio station was celebrating 25 years of India's cricket world-cup victory in 1983 and to make us recall how those days were, they were playing Bollywood songs from that year. It left me wondering how these guys can link anything to Bollywood.

However, nothing tops what I heard a few more days back on another radio station. It was the World Environment Day and there was a movie star in the studio to discuss about it. I guess the movie star knew as much about the environment as the squirrels know about space shuttles. However, the host was intelligent. She went "Hi ! Today is world environment day. Environment is all about greenery. So who do you think is the evergreen star of Bollywood."

LOL!!!!!

Sunday, June 29, 2008

Traffic report on radio stations

What is one common program across all FM radio stations in Bangalore? Something that they play tens of times every day? Something that the radio stations want you to believe you cannot live without? Something that claims to make your life easy every day? Something, in spite of all these claims, is roughly as useful as navel lint? It is none other than traffic congestion report, of course.

First of all, the methodology used to obtain traffic congestion information is the biggest culprit. I have seen traffic reports coming out of helicopters in the US. Here in Bangalore, radio jockeys ask the commuters to send out traffic jam information to them and they in turn broadcast it to the entire city. The concept is nice, but sadly it doesn't work. The people stuck in a traffic jam often have no clue about the cause of the jam. Often, they don't want to or cannot get out of their cars to find out. However, they cannot control the urge to send out an SMS. Hence you hear reports like "The outer ring road is blocked all the way from Sarakki to Mysore Road". Hey, that is around 7KMs of jam. How does any one person know that the jam is that big?

Secondly, the information is often incomplete. In the evenings I always get to hear this: "Huge traffic pile-up reported in Madivala". Alternatively how about this: "Slow moving traffic on Airport Road". Well, where on Airport Road? Eastbound or westbound? Which parts of Madivala? This information is meaningful only when it is qualified with more details, like "Huge traffic pile-up on Hosur road, heading towards Electronics city, at Bommanahalli junction".

Lastly, in most cases, there is very little you can do with the information, even though it is accurate. In most areas on the outskirts of Bangalore, which are hardly planned, there are no alternative roads. For example, if I hear in the morning that Bannerghatta Road is choked north-bound, I still get on to that road, because I have no credible alternative. This would be true for most roads heading out of the city and the outer ring road. The only use of this traffic information would be to mentally prepare in advance to suffer. That is not much of a use, is it?

Sunday, June 22, 2008

My Nokia thinks the headset is connected even though it isn't!

My old faithful Nokia 3230 showed the first real illness today. Well, first, if you don't count the hangs and instantaneous reboots sometimes seen, because that is almost a 'feature' of Symbian OS. The other thing to discount is the slowness. The phone is notoriously slow. How slow is it? From the time you power it on, you need to wait more than a minute to make your first phone call :) On the positive side, this phone has the best build quality I have seen. It has fallen from all sorts of places without showing any signs of damage, including one incidence when it was rolling down the Savanadurga hill.

Today, the phone claimed that the wired headset, which is both the hands-free and the FM radio device, is connected to the phone, even though the alleged headset was nowhere within 10 feet distance from the phone! The phone refused to send out voice through the speaker, turned off the built-in mic, instead expecting the headphone to do these jobs. Now phone was useless without the headset.

A bit of googling led me to all sorts of suggestions, like the rebooting ritual, hard power cycling ritual, firmware upgrade ritual. None of them worked. The other possibility was liquid ingression (scary terms which just means water getting into the phone) and malfunctioning of the data port pins of the phone. Finally, I left the phone in sunshine for an hour and voila, my phone had cured itself! All it needed was some Vitamin-D :-) The rituals of debugging mobile phone problems is very similar to debugging your computer problems (especially Windows), except computers don't need a suntan.

Sunday, June 08, 2008

Does this ever happen to you?

I used to visit my grandfather's house quite often during my childhood. Of late, I go there quite rarely, because nobody lives in that house. Every time I visit the place now-a-days, a strange feeling happens to me. I feel the whole place is much 'smaller' than what is imprinted in my mind. The whole house, rooms in it, the surroundings, the private lake nearby, the front courtyard, everything seems smaller. Further, the distances to nearby places seems much lesser. Distance to the nearby temple, to the beach, to the paddy fields, to the neighbor's house, everything. This has happened to me at a number of places I used to live in while I was a kid. When I visit the towns where I spent my childhood, did my schooling, everything seems to be smaller now. It appears as though the impression in my mind is the relative sizes of these objects to my own size and since I have grown now, the places now appear smaller. This does not seem to happen with places I lived in after my teen years. My college in Mysore, the surroundings, my hostel and so on seem to be of the same size as before.

For a long time, I used to think this happens only to me. Recently, I came to know that I am not alone. Now I wonder whether this happens to everyone. If you read this blog, could you please comment on this?

Monday, June 02, 2008

IPL and royalty

Well, why is IPL so terribly obsession with the royalty? I mean, really. Out of the eight teams, four of them had a name that contained word referring to the kings. Rajasthan Royals, Chennai SuperKings, King's XI Punjab, Bangalore Royal Challengers. Even Kolkata had Knight, a related term, in the name. Of course, Bangalore had a good reason to use that name. I don't know what reasoning other teams had to choose their names.

Monday, May 26, 2008

Wow, what an error message

I saw this wonderful message on my Linux system today when I tried to launch Nautilus. Just imagine the impact of this message on someone who is very new to Linux.

Saturday, May 24, 2008

About the new airport in Bangalore

The HAL airport in Bangalore was shut down at the dawn of today, in lieu of the new Airport at Devanahalli. There won't be any commercial flights landing at this airport. All these days, I used to see flights in the sky from my home, as they circle around to land at the HAL airport. My office is so close to the HAL airport that the people in planes could probably recognize us on the ground as the flights landed. All this will change. My home is more than 40Kms from the new airport, so I will only be seeing planes only at a great distance.

The biggest impact of this will be on people living far away from the new airport, because it will be order of times more difficult to reach the new airport. There is a lot of discussion happening about keeping the HAL airport open, because the new one is too far away from the city. However, is 35Kms really too much? Don't many great cities of the airport have their airports tens of miles away from the city center? With the exception of the old airport of Hong Kong, I don't think any great city of the world has it's airport in the heart of the city. I think the people in Bangalore are fighting the wrong battle. The problem is of connectivity to the new airport, not the distance to it. However, that is a much more difficult problem to solve, considering the political system of the state. Hence they just choose to fight the easy battle - demanding keeping the HAL airport open.

Sunday, April 20, 2008

When should a kid start using computers?

I didn't use a computer until I was 18 years old. But now-a-days, kids demand to use computers as soon as they are 5 months old. The first thing that my daughter demanded in all her life was not a toy or a food, but my laptop. Tough days ahead for me!

Friday, April 18, 2008

What have YOU won in all these years?

Now-a-days, there are a number of programs on TV where they ask you to either send SMSes or make phone calls for various reasons. The most common of these, of course, are talent shows where you think you are deciding the winner of the competition by sending lots of messages and your mobile service provider walks laughing all the way to the bank! The other kind is where they give out 'prizes' to the callers. One such program runs on a Kannada TV channel in the afternoon. It works like this: You basically send as many messages as you want/can on the previous day to 'register' for the program next day. The program is run live, where they call the people who have sent highest number of messages. They show a sari and ask us to guess it's price. If you guess it correctly, or if your guess is closer to the actual than others on that day, the sari is yours. Simple?

One of these days (18th March), my wife got the crazy idea of actually competing in this event. Off she went, sending a few messages, but she sent it in my daughter's name. The next day she was in front of the TV in the afternoon, to see how she fared. Unfortunately, the number of messages she had sent was nowhere close to the highest numbers that day. There was no way they were going to call her. However, as she sat there watching the program, it turned out that a number of people who the TV anchor called either did not pick up the call or were unreachable or busy and so on. As a result, the last person to be called for the day turned out to be my daughter! As the anchor announced the name of my daughter, there was a lot of cheering in my home from all. Celebrations had already begun. We didn't get the sari, but we got the consolation prize - cosmetics worth Rs. 1000. But my mom and wife didn't mind that. They were celebrating as if my daughter had got the first rank in CAT exams. My daughter, meanwhile, being all of 5 months old, was blissfully unaware of her achievement(!) and was thinking exactly what most babies of her age think, that is, "Should I cry now or later?" and "Huh?"

Now, winning the prize is one thing, actually going to the office of the TV channel and getting it from there is totally another. Considering that we were only going to get a box of cosmetics, most of which may be unusable, I was not even close to thinking of actually going and getting it. But my mom and wife had other ideas. "What have you won on TV in all these years? Nothing. She is just 5 months old and she has already won something in her very first attempt. At least for that reason you must go and get the prize". It was only then that the importance of my daughter's achievement and the gravity of the situation started sinking in to me. I quickly realized that I had no choice.

The office of the TV channel was right in the middle of the city, with no parking available anywhere in 2 Km radius of it. Finding the office was an appropriate job for Indiana Jones. Further, I had to make two trips to their office because of their restrictive timings. Finally, there was a little shocker. They wanted the person who had won the prize to come and claim it! We convinced them that the 'winner' was a 5 month old baby who won't claim anything in the world as hers for another few months. Finally, the prize was ours! It was a package of various cosmetic items from an obscure Japanese company which mostly sells in Sri Lanka. Not bad. Hey, my daughter must now be famous in Japan and Sri Lanka too. What an achievement!!!

Thursday, April 17, 2008

Human alcohol meter

A few days back, I was at the Kempegowda bus stand, a.k.a "Majestic", at around 11PM. I was dropping off someone for a late night bus. I started heading back and was at the first traffic signal, near Sangam, where a traffic policeman stopped my car by literally standing in my path. When he approached me I rolled down the glass of my car, wondering what this was about. He then put his head _into_ my car, so far inside that it seemed as if he was going to kiss the steering wheel. Well, I too like my car quite a bit, but not so much as to kiss it. While I was wondering whether this guy is drunk, he said "Your good name please, sir?" I quickly answered and he said "Okay okay. Just checking", took his head out and asked me to carry on. I was still surprised, but I carried on. Only after a couple of seconds did I realize why he did that: He was checking if I was drunk and he wanted to smell my breath to confirm. He was a human alcohol meter! I left pretty amused, but impressed. I ho
pe they take all drunk people out of roads and make roads safer for driving in the night.

Tuesday, April 08, 2008

How cpu frequency scaling can affect applications

I have seen a very interesting problem while playing "Cricket 2007" game on Windows. The problem is probably caused by cpu frequency scaling and it gives an interesting perspective on how power management in operating systems and hardware can affect application writers.

My laptop runs at around 800MHz when it is on battery and at around 2.1GHz when it is connected to the mains. Lets say I boot the system running on batteries and connect it to the mains after it boots up fully. If I run Cricket 2007 game on this now, it runs way too fast. The game is almost unusable at this stage. The only way I have found to rectify this is to reboot the system while it is connected to the mains. Alternatively, if I boot up the system while it is connected to the mains and later switch to battery before starting the game, it plays too slowly, far slower than a typical slow-mo replay. It is not the problem with the battery, because if I boot the system on battery and continue to run the game while it is on battery, it plays correctly.

The problem is pretty interesting. I suspect it is because of cpu frequency scaling because I can't attribute it to anything else. However, whose fault is it? application's? operating system's? I have some thoughts, but I have no idea of Windows internals, so I can't be sure.

The application has no idea that the cpu frequency has changed before it is started. It must be doing some calibration for timing when it is started, by reading the frequency of the cpu from the OS. It is quite possible that the OS does not provide correct information to the application. Lets say the system was booted at 800MHz and the OS stores this value somewhere. Later the system could be running at 2.1GHz, but when the application queries, OS still says it is running at 800Hz. The application does it's calibration based on this number and it goes horribly wrong because the cpu is running much faster.

On second thought, it is not correct for the application to depend on cpu frequency being constant. This frequency could be varying all the time on modern hardware, so any application that depends on this value for it's timing calculation could go wrong. The same holds for any application that performs time calculations based on TSC. Depending on TSC is an even bigger mistake on SMP systems.