Archive for May 2007

The Bayon in HDR

The Bayon
The Bayon in Angkor, Cambodia, December 6, 2005.

This morning I figured I’d try my hand at HDR photography. I have a ton of unused pictures from my 2005 vacation in Southeast Asia. HDR seems like a decent means to rescue them. To make this image of the Bayon, I exported the same image at three exposure levels and combined them using Photomatix Pro.

Update: There was an error in the image URL. This has been fixed.

Making home

This pigeon couple has been trying to build a nest in my exhaust fan over the last month, but the twigs keep falling to the floor. This morning they laid an egg in the ‘nest’.

The egg is at risk of falling through. I don’t need the exhaust anyway, so maybe I should stuff a rag in the back. But how do I do it without touching the egg? Won’t the pigeons abandon it if I do touch?

Depending on how you want to look at it, I’ve got egg on my floor or infanticide on my hands.
Image from phone camera.
Image from phone camera.

Gtk# on Mac OS X revisited

So much for the fuss with getting Gtk# installed. I threw out the Mono framework package this evening, reinstalled it and the Gtk# packages from Fink, and now it all just works. No mucking with DYLD_LIBRARY_PATH and miscellaneous symlinks involved.

I’m looking forward to writing first class Windows apps on OS X.

Homemade cures for social maladies

Every day I look at the readers’ outrage columns in the papers, and wonder, are we really that worked up a society, or are the editors merely exercising their amusement by publishing these opinions?

My favourite clueless editor would recurringly drag the spatial expression ‘tip of the iceberg’ into a temporal context, when referring to events not yet occured. These people are similarly lost on the nuances of what bothers them. Their favourite expression is ‘it is high time’, usually employed on some segment of society that they read about in the papers.

Come to think of it again, if the newspaper influences the clue level of its readers, what does it say of this one?
Image from phone camera.

Mobile phones are the new cultural gold

Have you noticed how every crime report that talks of a techie getting murdered or mugged inevitably mentions that the culprit used the illbegotten wealth to buy a mobile phone?

It used to be that you made a show of status with gold jewellery. Now it’s done with mobile phones.

And yet, the phone’s value as an electronic device depreciates rapidly. It’s not like gold, which serves the dual purpose of status and savings. It’s a mere straw-grasp into the social hierarchy. Unless the value of being connected trumps that of the physical device.

A profound cultural shift is afoot.
Image from phone camera.

Reformatting Barcamp Bangalore 4

Planning for Barcamp Bangalore 4 has been slow, but may have gotten into gear over the weekend. I have previously reflected on BCB3. This time we discussed how we could tweak the format to make it better.

BCB3 was an event of individuals organised into spaces. One registered as an individual, listed a session individually, and decided for oneself where one wanted to spend their time. We had four rooms available, designated Internet, Mobile, Society and Demo, for the broad categories of sessions held within. The designation of these rooms was admittedly not the emergent community definition we’d have liked it to have been, but on that we’ll excuse ourselves for a mix of excitement, impatience, and nervousness at whether the concept would work.

Of the four, I think it was pretty clear the Mobile crowd was the most cohesive. They had a full house both days and the same people sat through most sessions. Rajan observed that several were regulars from Mobile Monday. Their presence at Barcamp effectively turned that room into an extended MoMo meet.

There’s something to be noted here. Barcamp’s participant base has been growing with each event. We’re getting to a stage where it is no longer possible to have an intimate space like we did for BCB1 and BCB2, and yet, each event brings back familiar faces, people who’ve met each other at previous events and have conversed since. Coming to Barcamp, then, is not an isolated event, but just another milestone in an ongoing conversation, a regular interval at which to gather and share what’s new. We’re proposing tweaking the format to encourage this. You no longer register to participate in Barcamp; you instead register to participate in a collective that decides on its agenda before coming to the event.

If you’re not satisfied with the existing collectives, you propose a new one and gather the interested. We’ll assign the available spaces based on their relative strengths.

With this move, we recognise that we’re no longer following a format that encourages participants to move from session to session depending on what interests them. We’re instead asking that participants collaborate in advance with fellow participants, decide in advance what they’d like to achieve at Barcamp, and focus on it when at the event. The initial investment is higher, but so is the return. Activities like CodeJam and hands-on workshops were discouraged by the earlier format. The new one makes them possible.

But what of the serendipitous experience of encountering something pleasant and unexpected? What’s the point of coming to Barcamp at all if you’re only going to associate with your group, apart from having someone else taking care of your logistics? What of inter-group mixing?

That deserves attention. I propose we request (but not require) collectives to make exclusive use of their spaces only within limited hours, say 10 AM to 1 PM and 3 to 6 PM. The remaining time should be undefined, allowing individual participants to associate as they see fit.

At BCB3, Kiruba and Amogh expressed interest in a photography workshop. This could be one our collectives. It could propose to conduct a three hour workshop the first morning, disperse for the rest of the event, and reassemble for an hour before closing to discuss outcomes. It’ll no longer be bound by the tyranny of limited time slots. Its participants will know in advance what outcomes to expect and what they’re skipping to be a part of this.

And it’ll still be nothing like getting lectured by a fellow on a podium who may turn up an hour late or not at all.

On the side of a vintage car.
Image from phone camera.

Trading in trust

I can't sleep. This evening at work, I was discussing my growing stable of applications with a need for user authentication, and how these databases may use different forms of id check (password, fingerprint, etc), need to be geographically separated and in the control of different groups, and yet sync with each other because the same person is listed across them and would very much like single sign-on and other such pizzaz. It's a problem none of us saw coming.

The easy solution? Define a master database structure that has fields for all the possible identity mechanisms and another table mapping from this master to app db specific login names. Everyone syncs with this master.

So easy to screw oneself there, assuming partners whose apps are deployed with ours will not mind having their user accounts also thrown into the soup bowl.

I'm exploring OpenID. It does a brilliant job of decentralised identity verification, but I've realised my problem is two-fold. I need to verify identity, and I need to know their trust level across the system, without re-specifying it for each id within each app's db. OpenID doesn't trade in trust. I run just two production trust databases at the moment (in ZODB and PostgreSQL) with a third coming up (SQL Server), and syncing between them is bad enough.

What do I do with tens of apps supporting tens of thousands of users? (Thankfully not millions, but thanklessly no more than a few hundred per each trust category.)

If you're the kind to be sleepless at night considering similar problems, I'd very much like to be working with you.

iDrop

GenTeal lubricant eye drops. 10 mL. To be used within a month of opening. Rs One Hundred and Twenty Four. City life is expensive!

(And when you say that without context, people point to darshinis for cheap food.)

Eye wash

Every night, when stretching out for bed, I inevitably end up rubbing my eyes red. There's been this faint irritation in my right eye the last few days. I suspect it's nothing more severe than exposure to road pollution, but surely there's something I can put in my eyes instead of rubbing them?

A dish of plain water? Or something less plain?

Clogged

Barely the patience to even articulate. So much. Later.

Tickets by mobile

The Bangalore railway station now has an SMS-based platform ticket dispenser. Message a number, get a 5 digit code in return, punch the code into the machine, and get a ticket. No fiddling for change. Very cool.

Wonder if there’s a way to buy more than one at a go. Or if they could change it to print a ticket without the verification code process.
Image from phone camera.