Home, now.

Home, now.
Bombay. The city I have been in love with as long as I can remember. The city which has eluded me for long till a few weeks ago. And today, I have completed two weeks here.

I take this chance to welcome myself to Mumbai.

PS: If you’re around, I’d love to meet up for some conversation over coffee (or cutting chai maybe). Ping me on @hypnosh

The FizzBuzz Test

While reading Jeff Atwood’s blogpost entitled Why Can’t Programmers Program? I thought of testing whether I can pass the simple FizzBuzz test for programming he mentions. You can read the details of the test on his blogpost.

So I wrote a script in PHP, the language I am currently active in, to do what the test asks us to do.

But then, why stop at just solving the problem when you can optimize code for timepass?

I began with a 24 line-long (without counting empty lines) chunk of indented code, using a simple for loop and a bunch of if statements. But then I wanted to reduce the size of the code, so I decided to use the shorthand for if, and get rid of variable assignments that don’t “do” anything really. Now I am down to 5 lines of code, including the two lines of the for loop.

Turns out I am a programmer (though not formally educated as a programmer), and a good one at that – I passed the FizzBuzz Test!! :) Do I get a job as a programmer now? :P

Here is the output of the script (yes, the script ran when you loaded this page):

for ($j = 1; $j<=100; $j++) {
$fizz = ( $j % 3 == 0 ? 1 : 0 );
$buzz = ( $j % 5 == 0 ? 1 : 0 );
echo ($fizz + $buzz == 0 ? "$j
” : ($fizz == 1 ? “Fizz” : “”).($buzz == 1 ? “Buzz” : “”).”
“);
}
?>

Recaptured's Magazine Interview

Bucket lists make for interesting reads. They give an insight into the character and personality of the person who wrote it.

A middle class Indian boy like yours truly who grew up on a staple diet of books and magazines more than cable television has a particular kind of bucket list. So far two items had been crossed off it: getting published and lighting the lamp at a government institution’s festival. The former was a happy moment, the latter an embarrassing one. But that’s a story for another time. It’s time to tell you about the third item that has been ticked off the list.

3. Interview in a major national magazine

Pool is one of India’s leading creative arts & design magazines. And owing to the fact that it has been started by Sudhir Sharma himself, it’s immensely popular in the professional design community.

They have been kind enough to feature my interview in the March 2012 issue. You can contact them for purchasing a copy, or simply read the issue online here – the interview appears on page 12 onwards in the print magazine, which corresponds to page 14 onwards online.

Please read, comment and share :)

Getty, Finally!

When I started photography 4 years ago, I had a wishlist of achievements. One of those got ticked off some time last month.

Getty has been a company I’ve dreamt of contributing to so often. When Flickr started their partnership with Getty, I signed up eagerly. I kept submitting my images for consideration for over 2 years, only to not receive any communication from them. Till January 2012.

It is such an amazing feeling to see my photographs with the GettyImages watermark as part of the Getty collection!

You can check out & licence my images by clicking this link:

I'm a Getty Images Artist

Recaptured on Facebook

Yes friends, I have finally succumbed to the lure of Facebook.

If you are on Facebook and like my photography, please Like my photography page on Facebook here, and also recommend me to your friends.

The blog will continue to be updated as it has been (hopefully more frequently now), while I will be updating one photograph, either brand new or from the archives, on the Facebook page every day.

Long Due Update

I’m sorry I’ve not been writing for quite some time now. But I hope you enjoy the pictures and the wallpapers :-)

In the past few months, life has changed. A bit.

I’m working for myself now. And I’m happier doing it.

You’d have seen the post about the Big Wheels Motoring website design. Apart from that I’ve worked with a design agency in Pune run by very dear friends of mine, on a website for a NGO. And the most exciting thing right now is another project with the same agency, this time for another friend. You shall see the result in a couple of weeks.

And, I am hell-bent on getting another personal web project out this time. Wish me luck!

Day 6: The Day it Ended

Apologies for not updating the blog live after Day 2.

I have notes for every day after that till the time my ride ended, but could not post anything, owing mainly to the lack of network access, and also to the fact that we were tired and slightly upset about the progress at the end of each day, and needed to catch up on sleep.

I plan to share the memoirs of those days soon. But today it’s about the one incident that cut short my trip by half, gave me my first fracture, and got me to my first ever proper operation.

Day 6 began early for me. I woke up at 3 AM as we had planned. We wanted to hit the road at the earliest possible, and wanted to cover the 250 odd kilometres to Leh by sundown. The planned take off had to be delayed because there still wasn’t enough light outside. So we started riding at around 7. After having scaled up the Gata Loops, we took a short break at Lachulung La. I sped off from there after clicking a few pictures, leaving the others behind.

We reached Pang at around 10 after passing through some intimidating, gigantic and impressive rock formations. We had thukpas for breakfast at Pang, played with the local kid who wanted to drink Slice from our glasses but his mother would not let us feed him, and met our friends from Bangalore once again. Having left Pang at around 11, we took another 25 minutes to reach the cold desert: More Plains.

It’s a stretch of land some 50km long, which is surprisingly flat, considering that it is between the Himalayan peaks. It’s mighty, it’s scary and it’s beautiful. Most of the beginning of it is covered with juniper shrubs. One track with a signboard marked “Diversion” goes amongst the shrubs, where we took our bikes for around half a kilometer, stopped, posed and took pictures. Then we decided to turn back and take advantage of the immaculate tar road that evidently was not a ‘Diversion’. Getting such a road after the kind of ride we had done for the last 3 days, all four of us felt like kids in a candy store! We started riding at 80-90 kmph like there was no tomorrow! And the road did not seem to end. Except that it ended. We came across a heap of rubble, around which there were a few people working on the construction of the road. That was the last we saw of the tar road. After this spot, it was either a shadow of the road covered in stone chips and rubble, or dirt, or (god forbid) sand for as far as the eye could see.

We rode for an hour or so on the plains, trying to keep each other in our distant vision. At times I would see a SUV going parallel to us in the dirt at quite a distance. At times I would see some makeshift cabins near the foothills, presumably there for the road construction work. And at times I would see my friends approaching me.

Our riding skills were being tested, and we were having fun.

I don’t remember what happened after this.

No, seriously.

My entire bank of memories of what I think were the next 20 minutes consists of a frame, a vision of a splitsecond, where I am falling on the ground, and I can see the bike fall from under my feet.

The next moment I remember, I was being woken up by my friends. I felt dizzy. I felt needles all over my body, my brain, and my eyes. I presumably was dreaming while unconscious. Of another ride. Somewhere else. On being awaken, I felt like I was suddenly transported to somewhere unknown. I asked Siddhu who he was, and where we were. Everyone who had stopped to see and help were shocked. I wanted Siddhu to drop Anish a message, not realising that we hadn’t seen what a network signal on the phone looks like for 3 days now. I thought we were in Panchgani, though I kept saying Mahabaleshwar.

After about 10-15 minutes, my memories started coming back to me and I realised that I was in the middle of my long awaited Ladakh trip, but I still was baffled about how I fell. Somebody rode ahead and got Anish back with him.

Anish started questioning me about where we are going, where we started from in the morning, what we ate for lunch (trick question!), presumably to check for any damage to the brain. I took off my jacket to relax, and felt a searing pain in my left wrist. When I saw the wrist I was taken aback! The palm had twisted, and the bones were bulging, making it look weird and scary.

I would have gone under a panic attack, had it not been for Anish and his first aid training. Promptly he covered my entire arm, from the palm to beyond my elbow, with his sweater, used one of our knee-guards as the splint, covered it with crepe bandage, and warned me not to try and move my hand. To make sure, he made a sling with his scarf and hung my arm in it. Then he asked me to press his fingers with mine as hard as I could, just to make sure the fingers were alright.

I kept asking him what the date was, and how I would reach Leh, and he kept assuring me that they will get me to Leh, no matter what.

Lucky for us, a mini-truck was not far behind. This was part of the convoy of the foreigners riding Bullets who had started from Manali, and whom we kept meeting on our way so far. The driver, Sunil, let me sit in the shotgun seat and took me to Leh, all the while conversing with me, giving me things to eat and drink, and in the end dropped me at the Snow View hotel, where I waited for the rest of the gang.

We were so far thinking that it’s a displaced wrist, and that after setting the bones right, I could go to Khardung La and Pangong Tso with a cast on the wrist, sitting behind Anish on his bike. But that night, after seeing the doctor at the SNM Hospital and getting the X-Ray done, we were told that my wrist has fractured.

We met the orthopedic doctor the next day, and he confirmed it was a fracture, though a unique one, and advised surgery within 10 days. I decided then to drop the trip, Khardung La, Pangong Tso, the Hemis festival, Kargill, Drass, Srinagar, and returned to Pune the next day.

It’s been a month since the surgery and I am well on my way to recovery, what with snapping fingers and playing open chords on the guitar, but I shudder to think of what would have happened to me if Anish or anyone with knowledge of first aid wasn’t around to take matters in his hand and immobilize my wrist – which, even according to the doctors at SNM Hospital, was the absolutely right thing to do.

Adventure! Pang Skies Look a camera! Plains The Mighty More Plains My Love

Day 0

Amit should be sleeping now, because he has to reach the station at 8.30 in order to get the two wheels packed and loaded in the train, but he isn’t.

He can’t. He’s psyched. The countdown has ended. Tomorrow he will board the train that will take him closer to his dreamland.

He’s just done with the packing. A saddlebag pair, a camera bag, a bottle bags pair, and a sleeping bag – that’s all that he’s going to carry, but this will be his entire world for the next 15 days. Oh, and he’s sad that he couldn’t fix his camera’s intervalometer – bye bye stop motion animation and/or star trails :( Well, it can be done the hard way if he exerts himself enough.

But then all that is to be seen once he reaches the destination: Ladakh.

Maybe he will go to sleep now. Let’s see.