December 31, 2010

Indian zeitgeist interpreted

Google released their annual zeitgeist, including country-wise insights. The Indian zeitgeist, for me, holds special relevance - fortunately or unfortunately, Google is one of the most important ways that I stay in touch with India. And here is what I deciphered from the results this year.

Bollywood and cricket still rule: Just look at the list of fastest rising people searches, all you have is either heroines and cricketing personalities. Out of the 10 most popular movies - only 2 are Hollywood movies.

Value is most valued: The brands that are successful are the ones provide most value - nokia, micromax, samsung, maruti. And value isn't just price - IRCTC has an incredible proposition (railway tickets online), something that caused it to top the charts in 2009 as well.

Entrepreneurship is alive and kicking: The youngsters want to impress girls, kiss, tie ties, improve their English, build websites and make money. Some are stressed and want to meditate, but thankfully not as much as last year. All pointing to a young populace itching to get out there.

There is a certain sense of brand loyalty: Yahoo mail still beats gmail, Nokia is up at the top, quite unlike their destinies elsewhere in the world. Same with Dell. When brands spend the time, they get rewarded.

Yet people are adopting the latest: I know this is contradictory, in a sense, to the earlier point, but that is India. Facebook, Twitter, Lady Gaga, Twilight are all what we searched for (thankfully, no Justin Beiber).

There is only so much that can be interpreted from six top 10 lists. And I am sure there is enough and more confirmatory bias. But looking at the amount of contradiction I have in one post, makes the gut feel it is just right.

December 27, 2010

Cross-processing using GIMP

Downloaded FxCamera for our trip over to Chicago over the holiday weekend. The app has a mode called Toy camera, that produces a cross-processed look to the photographs in the phone itself. Unfortunately, the final images are resized, and applying an in-phone effect to a phone camera shot results in an irrecoverable loss of fidelity, leaving no room for anything else. According to the author, the effect is produced by manipulating the color curves of the image - something that GIMP does a rather good job of.

Cross-processing has its roots in film photography, where a film is deliberately developed in a chemical solution intended for a different film. Cross processing results in color casts, high contrast and a sort of blown highlights and color casts in blacks.

Cross-processing technique

To cross-process in GIMP, the idea is to open the picture; auto-correct the colors or get the picture to look well exposed; apply the curves; then potentially adjust contrast.

The focus of this post is the trickiest part step from the above - to apply custom curves for the cross-processed look. The screenshot below shows how the curves should look. Save these as a preset and use as a starting point. As you can see, the red highlights get toned down and shadows get stretched, the green highlights get stretched, and blue is clipped at the ends.

Redscale technique

Similar to the cross-processed technique is the redscale technique, that originated with film cameras using the film in reverse. This causes the photograph to have an overtly red cast, while suppressing greens and blues.

The curves similarly follow, by focusing on boosting the higlights and midtones of the reds, while actively damping greens and blues. The curves below are what work best when trying to apply the redscale technique in post processing.

The advantage of doing this outside the phone is of course the additional control, but in addition you can leave the poor phone camera to do what it can to get a decent photograph with its itsy bitsy sensor, without worrying about having to post process it as well.

Of course, after using either technique, a good followup is to do a quick contrast boost make sure the resulting photograph is not too flat, and do the usual crop, resize, unsharp mask prior to saving as a png. Boosting contrast is achieved by using the classic "S-curve" on the composite channel. The curve can be stronger or flatter depending on the original photograph and the final desired effect. Know that you will lose a bit of detail at the higher and lower ends of the histogram using either technique and you shouldn't necessarily try to get it back with contrast correction.

External links: lilahpops.com & epicedits.com

December 21, 2010

FCC - Open Internet Rules

It was just a matter of time after the last cave-in by Google, that the FCC was going to make it all official. Today in a rather curiously timed vote, the Federal Communications Commission passed a set of rules that ostensibly seek to establish a framework for net-neutrality but in effect sets the idea of network neutrality down the path of exceptions which can only end in one day becoming as mind-boggling as the tax code. The illustrations are screen captures from the live hearing the FCC held for this event.

Network neutrality is a simple concept. Network providers, that is your ISP that links you to the Internet, should have no say in the way the network is being used. In other words, as a service provider, their job is to link customers up, not limit or influence what the customers do with the link. This is important because the current innovation on the web required a significantly low barrier to entry. The bandwidth hungry YouTube of today would not have existed if the network deemed it to be less desirable compared to the much lighter Twitter.

The business argument against network neutrality is that investment in network infrastructure depends on the amount and type of usage. And not having a seat at that table will result in a worse experience for everyone. Till date there was not explicit rule guaranteeing the protection of network neutrality. All that changed with the latest hearings by the FCC. We have rules now, but they are the strangest set of rules for the weirdest of reasons. And toothless to boot.

Starting with the images at the top, the current FCC proposal includes three rules - Transparency; No Blocking; and No Unreasonable Discrimination. First off the good - the principles themselves are robust enough. There is always going to be someone that seeks to circumvent the spirit for the letter, but in a broad sense these could well be the pillars of the definition of an open Internet. The fun is however lies in the details.

Firstly, creating a rule that includes the word "lawful", includes just enough leverage to establish a monitoring and inspection regime to prevent illegal activity. The two biggest excuses - security and copyright protection. This has got to be one of the myriad goals of these rules.

Second, apparently the Internet is different when you are walking on the street as opposed to sitting at home (see fourth slide). Google said so. This doesn't make much sense until you realize it is all about the apps. The apps have already created a form of stratified, non-interoperable web on the smartphone. And what is more, your telecom provider can unreasonably discriminate between the apps. Would you then be surprised if YouTube on your telecom's $1.99 app played better than on Google's app?

Thirdly there is no real enforcement. During the hearing, the counsel mumbled something about self-regulation. Though you do get to submit informal complaints to the FCC, for free!

So in effect net neutrality gets more reports, and a promise for no unreasonable discrimination in traffic as long as you are sitting down. All bets are off if you use apps on your phone. And if things go south, there isn't much redress beyond what we have today - start a twitter campaign and pray.

December 19, 2010

Eigenharp

One month, four (or six) seasons, 75 episodes later, Battlestar Galactica is finally all done. Today we watched the final three episodes, Daybreak parts 1, 2 and 3. And true to its nature the ending was no disappointment. BSG stands up there with the best science fiction series of all time.

In honor of the completion of the series, here is a farewell to the haunting Cylon theme played on a geeky instrument called the eigenharp.

December 17, 2010

Un-delicious

Yahoo bought and is now closing delicious. Del.icio.us as it was known at inception, is one of the best tools to save bookmarks online. Yahoo has done quite a number of stupid things over the years, but this is right up there. And making it worse is that they are vocally not happy that this leaked out. Nevertheless this means I am looking for a replacement, and rethinking my assumptions when it comes to web-only tools.

All eggs & one basket: There are certain items that I prefer to store online - bookmarks being a great example. Offline bookmarks make no sense beyond backups. Their value comes out of being online, available, portable (not just synced) and accessible (without installing stuff or logging in). Which is a big reason why online bookmarking has taken off rather quickly.

But the dilemma about web services is their availability - they suffer outages, and they run the risk of being shut down. So the question is, should one limit risk by putting all their eggs into one basket at the cost of losing out on innovation? Choosing a Google would, for all intents and purposes, ensure service. But one will probably never get to the see all the new and nifty that happens only in a basement. Which brings me to the second characteristic of the cloud.

Egg mobility: Continuing the ovular metaphor, unless one is able to move their eggs around, having accessible services has no meaning. Free services have an incentive to getting data in, but do not always have to be friendly with getting data out. Some like Facebook, are brazen about the one-way nature of their data pipes.

Having data portability is the true mark of a good web-only tool. The ability to back up data offline is a start, but adhering to standards where available or defaulting to a simple extract should be necessary for all cloud services.

Diigo seems to fit the bill. The exodus from delicious.com seems to be ending up in two locations - Diigo and Pinboard.in. Unfortunately Pinboard does not have a Firefox plugin (while they seemed to have hiked up their sign-up cost). And Diigo has a good list of export formats.

Thank you Del.icio.us. Go Diigo.

Update: Delicious insists it is only being sold, not shut down. Diigo has been importing my bookmarks for a few hours now without luck. Maintain status quo!

December 14, 2010

Statistics are sexy

Professor Hans Rosling, is the co-founder of a very interesting website called Gapminder. The website is dedicated to using graphics, animation and interactive charts to display and interpret global data. The tools initially developed by the site, now lives as the Motion Chart gadget within Google docs.

The technology, while not cutting edge, is nifty. Information of up to four dimensions plus time is displayed beautifully in an interactive way. There is no dearth of data around, but having a way to view, interpret, understand and communicate the knowledge hidden within all that data is what makes the data usable.

This is a perfect example where technology meets society in ways deeper than Facebook and Twitter can. Where technology directly faces societies' challenges and is able to directly make a difference. Something like the Random hacks of kindness, a story I heard on NPR a couple of weeks ago (embedded below).

Back to Prof Hans. He hosts a BBC program that makes statistics sexy and enjoyable. After the break is a wonderful visualization of the progress made by humanity in the last two hundred years. A simple, yet powerful, metric of life as we know it.

December 13, 2010

Angry birds, clueless pigs

The game Angry Birds, seems to be all the rage now. It is the top selling game on iTunes, and one of the most successful free games on the Android platform. It has apparently been downloaded 50 million times, and is responsible for 200 million fewer minutes of productive human existence each day. The game style itself is not new, but of course the execution of the game is snappy, beautiful and addictive. Yet, how many of us have paused to consider what we are really playing?

Apparently someone has, and made this video as proof.