Another side of Bangalore

Bored of the restaurants near the apartment, on Monday night I took an auto out towards one of Bangalore’s best hotels, the Leela Palace, in the search of some nice food that hopefully wouldn’t poison me.

On reflection, it’s entirely likely that the probability of being killed in a road accident during the 20 minute auto-rickshaw ride out to the Leela Palace is greater than the probability of dying from food poisoning: the trip involved dodging buses, impatient SUV drivers, and some unfinished roads, making my short daily ride the to office look like a carousel compared to this roller-coaster. On the other hand, the auto also took me to through some parts of Bangalore I hadn’t seen yet. There was more of the dense and maze-like zig-zagging streets, but unlike the similar streets near where I live, these actually looked like they might make a pleasant area to wander through and explore—there were no piles of rotting rubbish and fewer roads that looked like abandoned building projects and open sewers.

Along the main road, there were a variety of modern looking bars, restaurants and other amenities. I remember thinking that this must be where Bangalore’s young and affluent middle class, of which I had read so much about, come to hang out—the area looked like the up-and-coming city Bangalore is supposed to be, as opposed to where I live which is like an oasis in the middle of a building site.

A further facet to Bangalore was revealed on Tuesday, which was Independence Day. I attended a traditional pre-breakfast flag hoisting ceremony in the grounds of the development where I am living, although the guest of honour (a high up in the company who owns the development) was very late and deeply unimpressive—he mumbled his speech so inaudibly that I don’t think anyone except his aide heard him. There was some nice singing of “patriotic songs” from the children, and all-in-all a lovely atmosphere of neighbours gathered for a day of celebration.

Exploring Bangalore

Today was the first day since I arrived that I have had chance to really explore Bangalore. It’s a sprawling city, but the auto-rickshaws make getting around very easy (once you get used to the way they drive over here!). My first stop was the Lalbagh Botanical Gardens, founded c.1760 by the British (it even has a bandstand!) since I had heard there was a special flower display on today for the forthcoming Independence Day celebrations (15th August).

It took me a while to find my way into the gardens proper as the only map I could find lacked the all-important “you are here” marker, but once I did I found them to be very pleasant—although not the immaculately manicured and picturesque gardens one might expect: more a large collection of different species of flora, with some pleasant spots occupied by families enjoying a Sunday outing. The Independence Day flower show was spectacular, though also extremely crowded, which made taking photos difficult. Photos; only the last two are from the flower show itself.

After the Botanical Gardens I took another rickshaw to MG (Mahatma Gandhi) Road, Bangalore’s retail and entertainment hub. Unfortunately I was rather underwhelmed by the area: admittedly it is Sunday and a few places were closed, but MG Road itself seemed to consist mostly of shops selling traditional Indian goods and still no chic. When I later stopped to pull out the guide book I realised that there were two recommended places just before the start of MG Road which I had missed; as usual the gems are always in the back streets, but I wasn’t feeling up to straying too far from the beaten track on my first trip.

Turning off MG Road, I found myself on Brigade Road which had also been recommended, and here I found the less touristy shops and eateries. Unlike MG Road, it was also thronged with hordes of people enjoying a Sunday shopping expedition. Feeling hot and thirsty, I spotted a suave-looking restaurant, and found myself sat in a comfortable sofa perusing a tasty sounding menu which actually explained what dishes called “Aloo Ka Garlay” were about (fried potatoes with green peppers in a spicy sauce). The waiter was friendly, the air conditioning a welcome relief, and the food lovely—although like much of the food in this country, left me feeling a little queasy. 🙁

News from home

Once again I find myself reading about Britain’s response to a major terrorist incident in the foreign press, on the other side of the world (I was also absent from the UK on 11th September 2001 and 7th July 2005). It feels odd to be disconnected from home at times like these, although also slightly glad to be away from the chaos, and reading about home in foreign newspapers is certainly very interesting. Foreign newspapers also tend to give much more of a global perspective: reaction to the news from around the world, rather than the intense focus of British media outlets on the big story.

Here in India, I have been reading the Times of India every day, and the International news section is never very large. Today was no exception. The bomb plot and hand luggage restrictions did take up about half of the front page though, a domain normally reserved for Bangalorean news. The possible link between the bombers and Pakistan was not emphasised, but it was certainly highlighted. Given India’s own recent experiences of terrorism, I am glad I am not flying anywhere for the next fortnight.

The BBC provides a brief overview of what British newspapers are saying, while there’s a good healthy dose of cynicism over at The Register.

Bangalore Update

A little exploration of the area where I am living has led me to believe I am probably living in the Bangalore equivalent of Canary Wharf: there are lots of shiny new office and apartment blocks, and some amenities in the form of an American-style mall, but none of the classy lounge bars and fine restaurants that are talked about in the guidebook. The area also has a decided “unfinished” feel to it, so perhaps Canary Wharf as it was a few years ago, rather than today. I’m getting used to taking the auto-rickshaws now so explorations further afield are clearly called for.

Walking around and reading the local newspaper, there are plenty of signs of Western culture: from Levi jeans to Mcdonalds and Pizza Hut. However, it doesn’t feel like the globalised assimilation that you might expect but instead it has its own uniqueness; the signs may be familiar, but everything is still quintessentially Indian in a very pleasant way.

More Adrenaline Rushes than a Roller-Coaster: My Commute

Like all good roller-coasters the biggest adrenaline-rush is always saved for the finale. After a white knuckle auto-rickshaw ride from the office, I have a short walk to the apartment building. Unfortunately it usually involves crossing a busy urban dual carriageway where right-of-way is accorded to the biggest and fastest, and lights are strictly optional, even at night. After the dual-carriageway, it’s more like an adventure trail: does one risk the gaping holes and lose slabs of the pavement, or take one’s chances with the oncoming auto-rickshaws and motorbikes on the road? The journey concludes with another road crossing: this time a nasty t-junction with a sprint finish to take refuge on the (broken) pavement before the motor vehicle finishes its turn onto the road.

Welcome to commuting in Bangalore.

London 1-0 New York

While I was in New York last Autumn, we managed to organise a weekly London v New York football game in Central Park which was a lot of fun, and represented a real cultural exchange as we informed the New Yorkers that a trip to the pub was an obligatory part of an after-work sports outing! It was very disappointing though just how difficult it was to find anywhere to play in the huge Central Park for a 5-a-side kickabout—there are some proper pitches available for 3 months a year (they’re used for baseball the rest of the time!), but you need to apply for a permit 6 months in advance. We did eventually find a spot where a Ranger grudgingly let us play, but it was more dirt than grass.

In contrast, last night we had annual softball (weird form of rounders) game against another team in Greenwich Park. We just rocked up, laid out our cones, and played—the visiting Americans were shocked that not only could we just do this without a permit, but we had beer too (drinking in a park or street is apparently a heinous crime in the US). The New York office may have been rather more skilful at football than we were, but London is clearly the superior city. 😉

A weekend in Belgium

It’s been so long since I blogged about travelling that I think I have almost forgotten how! I’ve been busy with work—and enjoying London—and I didn’t even find time to post a wry observation on the similarity in temperature between Sydney’s first day of winter and the first day of summer here…

Anyway, last weekend, Rosie and I ventured forth to Brussels on the Eurostar (so much more civilised than flying, as I’ve said before) to enjoy beer, waffles, and catch up with a friend I hadn’t seen since my trip to Sydney almost exactly one year ago. Brussels is a bit of an odd place: it has some beautiful buildings, awesome cafés (where one enjoys very tasty beer), and some unique museums, but there are also too many monstrously ugly modern buildings, and the area around Le Grand Place is so popular that the atmosphere is distinctly, and sadly, tourist. The best part about staying with a resident is that you get to see the real Brussels, and that featured some very pleasant areas (if still a little grubby) and some excellent restaurants which overall made the trip highly enjoyable.

On the second day we took the train for a day in the Flemish town of Bruges. Bruges is much closer to my preconception of a Belgian town: picturesque old buildings and a pretty river setting, and while it was chock full of other tourists enjoying the overdue summer sunshine, the greater number of attractions meant they didn’t spoil the place.

I took quite a few photos, but only the first three are of Brussels; the remainder Bruges.

Doctor!

Despite passing my viva a year ago this week, I still hadn’t actually had my PhD conferred by the University and reached the promised land of graduation. So, it was very exciting to return to Cambridge last weekend to take my Doctorate. Sadly, as with every trip it seems impossible to catch up with everyone, especially as I seem to have spent much of Saturday being photographed from every angle, but it was great to see everyone that I did—thank you for coming along to help me celebrate!

The Digital (TV) Revolution

When the video recorder failed to record the soundtrack to last week’s Doctor Who it was the excuseomen I needed to splash out on a digital video recorder.

Single tuner models are now under a £100, but I think the ability to watch and record different programmes is pretty much essential for a TV recorder, so I spent the additional £25 on the twin tuner Fusion FVRT145 from Argos.

This model had favourable coverage on various websites, and overall I’m very happy with it. The interface is not going to win any awards, but unlike many no-name Freeview boxes, it’s responsive and does the job. The 80GB hard drive seems to allow for plenty of programmes to be recorded, and picture quality is acceptable using “LP” compression, although it can be a little “blocky” with “EP” compression. Recordings can be recompressed after they have been made, although it is not possible to perform any form of editing such as to trim the start or end of a recording. The first time I tried to view some digital channels, the tuner seemed to take a while to unscramble the picture which was a little odd, but it has worked fine since.

The 14-day TV guide is downloaded every night at 3am so you do have to leave the box on 24/7—and it’s got a fan which might annoy some people wishing to sleep in the same room—but the guide make recording programmes a doddle. The only feature that is really missing is the ability to schedule repeat recordings: a TiVo-owning friend enjoys the ability to issue instructions such as “record all new episodes of Doctor Who” while this box lacks even the ability to record for an hour every Saturday night at 7pm1.

uh-oh

After happily using the box for 2-3 weeks, one morning I awoke to discover that overnight all our stored programmes had been wiped. Half an hour of web-surfing later it seems that this is not uncommon for this model of recorder, but apparently can only occur if signal quality drops below 65% while recording in compressed mode. I’ll be recording in SP-mode only in the future.

Aside on Freeview

Despite the loss of our stored programmes, overall I am really pleased with my new gadget, and I think the main reason for that is Freeview. I don’t think there’s very much on TV worth watching, and when we had a standalone Freeview box, I still couldn’t find anything to watch when I wanted to veg out. But with this box, a quick flick through the programme guide reveals a plethora of delightful repeats of quality programmes such as Jeeves & Wooster and Due South on various digital-only channels. None at convenient times of course, but with a DVR suddenly all are available at a time of my choosing. Even on the traditional channels, recording is so effortless that I find myself recording programmes which sound interesting on the off-chance I may watch them if I just want to switch out my brain for half an hour… With FilmFour becoming free-to-air in July, a Freeview-enabled Digital Video Recorder ought to be an essential item for every living room.

  1. Although this feature might be of limited use given the volatility of British TV scheduling, especially during a sport-laden summer season! [↩]

More Doctor Who

In case the new episodes just aren’t enough, there are three BBC Doctor Who “webcasts” from 2003 available on the Doctor Who website.

The remake of the late, great, Douglas Adams’ episode Shada is excellent—and set in Cambridge! The first webcast to be made, Death Comes to Time does not seem to be available although I don’t think that is any loss as I was not terribly impressed by it, but there appear to be two others which I don’t remember watching.

Trains Suck

I predict that the JCN talk on Monday will be excellent. So excellent in fact, I’d make the trip up to Cambridge to hear it and to catch up on what the SRCF has been doing since the end, just under a year ago, of my three-year involvement with the society.

Sadly, British Rail1 have other ideas. 🙁 With two sets of tracks leading from London to Cambridge, you would think someone would have to be pretty careless for them both to be out of operation on the same bank holiday, but no, the incompetence of British Rail knows no bounds and a bus is the only option. If I hadn’t been to Cambridge for some time I might attempt it, but as I went last weekend, and rail-replacement bus services meant I spent 6 hours travelling for only 5 hours of leisure time in Cambridge, I think I might be forced to miss the talk. 🙁

<rant>Will all those people who whine that cars ought to be banned/taxed out of existence, please shut up and make trains a viable alternative? ‘kthxbye</rant>

Talk Details

— A day in the life of an SRCF sysadmin —

Fear and loathing in the CUSU server room.

The SRCF is a University society that is run by students and for students.

Ross Church, one of the system administrators, will talk about some of the
challenges involved in running a computer with over 2000 users and relate
some of the more entertaining incidents from the last few years, …

Monday 1st May, 7.30pm, Coleridge Room (above the bar). All welcome!

  1. Or, perhaps the organisation formerly-known-as-British-Rail [↩]

Automatic apt-ing in Debian

Recently I wanted to schedule some routine apt operations on our server. I discovered there is already an “apt” entry in /etc/cron.daily, but sadly it seemed that the documentation on how to configure it was less clear than it should have been. Hopefully this will aide another Debian user in the future!

In /etc/apt/apt.conf
# Perform a daily apt-get update
APT::Periodic::Update-Package-Lists 1;
# Download any upgradeable packages
APT::Periodic::Download-Upgradeable-Packages 1;
# Run apt-get autoclean every 7 days
APT::Periodic::AutocleanInterval 7;

Python v Ruby

Although I have not read this comparison paper[pdf] in detail, I found looking at their example code side-by-side to be most illuminating. Ruby’s pureness (mainly in object-orientation) may give it a theoretically superior (“cleaner”) syntax, but from a practitioner’s point of view, the Python’s syntax appears to be refreshingly uncluntered and easy to use. Whether you come from an imperative or functional background, Python appears familiar—and with computing, conquering the fear of the unknown is half the battle!

An example:

Ruby Python

p = proc do |x|
       print "Hello ",x ,"\n" 
    end 
p.call "Fred!"

p = lambda x:
         print "Hello ", x
p("Fred!")

Ruby’s pure object syntax leads to the ugly p.call ... while Python’s p("...") looks pleasing to the imperative and functional camps. Object-orientation is a great paradigm, but as anyone who has tried to “knock-up” a quick program in Java will know, trying to shoe horn objects into a small program is a waste of effort.

The paper concludes:

Overall there is not much different between Ruby and Python, though Ruby offers some cleaner syntax due to its object oriented model. […] The disadvantage of Ruby is the fact that it is very poorly documented. Our advice is that you choose Ruby, if you are new to both the languages, otherwise weigh the option of continuing with language you are using.

So, in other words, Ruby has little to offer over Python except its theoretically purer syntax, and at the same time it is poorly documented which is likely to mean that the learning curve is a steep and painful climb. My advice: choose Python [1].

[1] This discussion has been entirely free of Rails. I haven’t used it and the paper I am responding to here doesn’t mention it—but I hear it’s a strong contender in the web app arena.