Category Archives: Random/Personal

Random thoughts and rants

Looking back at 2012

2012 had been a great year and it just ended. I thought of publishing my year end review for 2012 as I have done for the previous years.

Personal Highlights

If you have read my year end review of 2011, then you would have know that I got engaged in 2011 and I got married in 2012. Before marriage, pretty much everyone were saying that my life is going to change completely, but fortunately for me things haven’t changed much except that I have another person in my life who cares for me more than I care for myself 😉

Talking of marriage, I am very happy to know lot of people really liked my wedding invitation and recently a couple contacted me from Indonesia asking if they can use my wedding invitation design for their marriage.

Travel Highlights

Another thing which most people predicted for me is that after marriage I will not get much time to travel, which again proved to be wrong 😉 I continued my tradition of at least one international travel and a couple of domestic travel.


2012 had been a great year for me from the hardware and robotics perspective. I continued working on hardware and Arduino related stuff which I picked up in 2010.

One of the important things regarding hardware that I did in 2012 is that I launched one of my pet projects that is close to me. I created to document my different adventures with hardware and also help other people who also want to learn hardware programming.

Talks and Workshops

Another thing which I improved in 2012 is my public speaking skills. I gave around 15 talks and also conducted my robotics workshop. The following are some of my favorite talks.

You can see the complete list of talks that I have given so far from my talks page.

Blog Stats

The following are stats generated for this blog by my Year End Stats WordPress Plugin.

Number of posts by year Number of comments by year Average length of posts by year Length of all posts by year

The number of posts have increased a bit and I am happy about that, since I am also writing posts in at hardwarefun as well.

I am planning to write more posts in 2013 and hope that with talks, workshop and personal life I get some free time to keep up this word 😉

What’s in for 2013?

So what’s in for 2013?

I am planning to concentrate more on my WordPress Plugins a bit and I already have some pretty good ideas. So stay tuned 😉

Regarding hardware stuff, I am planning expand and write more posts there and also continue working on Arduino and start playing around with Raspberry Pi as well. So it is going to be pretty exciting.

Regarding talks and workshop, I am planning to continue my robotics workshop (the next batch is going to be at the end of this month) and also start giving talks and workshops on other areas as well. Planning for a Hadoop and Pig workshop/talk soon.

From the looks of it, 2013 seems to be an exciting as well as a busy year and I am really looking forward to it.

So how was your 2012?

Posted in Random/Personal | Tagged , , , | 5 Comments

Started tracking time spend on my pet projects

Regular readers of my blog will know that I have lot of pet projects. WordPress Plugins, Android Apps, Arduino projects, jQuery Plugins and a whole variety of other hobbies as well.

Some of them are really popular. For instance my Bulk Delete WordPress Plugin has been downloaded for nearly 100,000 times. The flip side of it is that these pet projects have some additional baggage as well. Support questions, regular updates, feature requests etc can be sometimes very time consuming.

I always wanted to know the projects, which takes up most of my free time, but didn’t had any metrics or logs. So I have started to track the amount of time I am spending on each of these projects.

The advantage of this is that, now I know which project are real time hogs and can have some metrics to decide on whether it is worth spending time on those projects or not. I am also going to add this data to the project readme files, so that people who use it might also know the amount of time and effort I have put it on those projects :)

I have already started this and the recent release of my Bulk Delete WordPress Plugin had this metrics. I have spent close to 11 hours for releasing the update to the Plugin.

Let’s see how this new experiment turns out to be.

BTW do you guys also track your time spent on pet projects? If yes, then share your experiences as well.


Posted in Random/Personal, WordPress | Tagged , , | 3 Comments

Dissecting my wedding program

A couple of people to whom I gave my wedding card, were not able to fully understand the program that I wrote in it and have asked me to explain it. Now that I have kind of settled a bit after my wedding, I thought of dissecting the program and explain it.


Let’s have a look at the code one more time.

My marriage Invitation

You can also get the code from github.


To start of the program was written in JavaScript. Whoever feels that JavaScript is not a *real* programming language, should first read these articles by Douglas Crockford.

Anonymous Function

The program starts with an anonymous function. This is not strictly needed by JavaScript syntax, but it is always considered a good practise to do and I generally do it in all JavaScript code that I write.

Object variables

Next, I create two instances of the Person object. This is similar to creating objects in any object oriented programming language.

Information about wedding

As you might have guessed, gettingMarried function is that one which prints the information about the marriage. I am passing a JSON object to the function as an argument with the required information.

Checking the responsibility

This is the main crux of the invitation. I am verifying the responsibility before the marriage and after the marriage.

If you look closely at the isResponsible function, you will note that it has a special condition, which will always return false for me, irrespective of my marital status. The hidden message is that, I will never change after marriage. It’s going to be month since I am married and I can say that I haven’t changed yet. Hoping that it continues for the rest of my life 😉

Posted in Random/Personal | Tagged , , | 3 Comments

How I designed my wedding invitation

Well, as most of you know, I am getting married in a couple of weeks. One of the important things which I needed to do for my marriage was to print the wedding invitation card.

I am not that good at writing stuff that needs to be put on the invitation card, so instead I did what I do best. I wrote code 😉 Yes both figuratively and literally :) Need proof? check the photographs.

My marriage Invitation


After deciding that I wanted to write code, I had to decide the language. Initially I thought of writing an HTML document with tags. But somehow I was not convinced that HTML is a real programming language (okay, I am not here for a language war 😉 ).

After giving some more thought on it, I decided to do it in JavaScript. It was also fitting that I do it in JavaScript, since I had been mostly a web developer through out my career.

After a few minutes I had the basic version. After a couple of revisions, I finally came up with this version.

Update: I have also posted an explanation of this code, if in case JavaScript is not your cup of tea.


After completing the program (which I nicknamed as the “program that changed my life”), I had to decide how to print it on the card. Navneet Nair, who works with me, suggested me to put a screenshot of my IDE with the code inside.

Even I liked the idea and that’s how I decided to take a screenshot of my IDE and have it printed as the card.


This was a pretty easy decision to make. I was typing the code in vim (macVim to be exact) and after trying out a couple of color schemes, I finally settled on the desert color scheme


The next step was to design the envelope. I did a basic version in Photoshop, by picking up some quotes from the programmer Ryan Gosling meme and placing them in comic sans font :) I then asked Navneet if he would like to change anything. He looked at it and said that he would like to change everything 😉 He then did a quick design in Illustrator with the quotes and it came out very well.


I wanted to increase the geeky quotient of my wedding invitation a little more and that’s when I thought of embedding NFC chips in the card.

I first heard about NFC in Google’s IO last year and first saw it in action at DroidCon organized by HasGeek a couple of months before. I got hold of the person who had a stall at DroidCon and bought NFC stickers from him. They were a little costly but added a lot of geekness to the invitation 😉

I then used the NFC Tag Writer Android app, to write a url on these NFC chips. If you tap an NFC enabled phone on my invitation, it will automatically open up a url which has information about my marriage, address and map to the marriage hall etc.

QR code

After doing the NFC stuff, I realized that most may not have a NFC enabled phone. That’s when I remembered about QR codes and generated one.

If I had time, I could have loved to customize the QR code a bit, but I didn’t have much time, so settled with the default one. You can find it at the back of the envelope.


After designing both the card and the envelope, I worked with a person from a print shop called PrintWorks who helped me get it printed. They were very helpful and delivered stuff on time and I highly recommend them.


All my design files including the JavaScript source file are available at github. Feel free to use them for your own wedding (if you are not married yet 😉 )


There are couple of people who helped me to get this card designed and printed. A huge thanks to all of them.

  • Navneet Nair, who works with me at Yahoo.
  • Swamy from PrintWorks
  • Kiran from hasgeek

Ohh, btw don’t forget to be present for my wedding 😉

Update:  The following are some of the words which people said after seeing my invitation :)

  • Amazing..
  • The geeket card ever..
  • Collector’s piece..
  • I am gonna frame it ..

Posted in Random/Personal | Tagged , , , , | 54 Comments

Looking back at 2011

2011 had been a great year and it just ended. I thought of publishing my year end review for 2011 as I did for the previous years.

Personal Highlight


Well do I have to explain anything more? 😉

For those who are still staring at the picture, yes I am “formally” engaged now :) My marriage is going to be on Feb 6th 2012 (Just another 21 days to go)

Other highlights in 2011

Apart from the big personal update the following are some of the other highlights of 2011.

I started of the year by changing the permalink of my blog, had a most memorable day on top of a hill, released my first Arduino library, met my idol Doug for the first time in person, went to a couple of HackU events, released my gist-it WordPress Plugin, bought an interesting toy, created my pet bot Asimi, gave a couple of talks and finally experienced snowfall for the first time in my life.

Travel highlights

On the travel front I had a pretty good year. Following are some of my travel highlights

Blog Stats

The following are my blog stats generated by my Year End stats WordPress Plugin.

no-of-posts-2011 no-of-comments-2011

avg-length-of-posts-2011 total-no-chars

At the starting of 2011, I wanted to increase the average size of the blog post that I write and I have succeeded in that.

But, when compared with the previous years, I have written fewer posts. Getting committed, travelling places and what else you can expect 😉

With me getting married in 2012 I am not sure how much free time I will get, but I will definitely try my best to increase the count in 2012.

What’s in the card for 2012?

I am planning to spend more time on Android and Arduino stuff and also planning to enhance my pet bot Asimi. So expect some news about some cool projects. 😉

Well, from the personal front, I am going to get married in 2012. Not sure what to expect out of it, but I am eagerly waiting for it. It’s kind of really exciting to realize that you have finally found someone with whom you are going to spend the rest of your life. :)

So how was 2011 for you?

Posted in Random/Personal | Tagged , , , , , | 4 Comments

My plan for December

Regular readers of my blog would now that I generally will be busy in December travelling. But this year, it’s crazy 😉

Here is an outline of my plan for December. You yourself can figure out whether it is crazy or not :)

I am leaving to Goa on 1st of December for team outing with my teammates and will be back to Bangalore on 3rd night. Then the next day (4th Dec) I am leaving to US on a Business trip. After spending two weeks there, I will be back to Bangalore on 21st Morning. That evening I have a party at office. And after that, my office is closed for forced year-end vacation in which I will be travelling again (even though I haven’t finalized the place yet).

Ohh, by the way, did I mention that I have two weekends in US and I am planning to go Las Vegas in one weekend and to New York in the other.

And did I mention that I am missing two other outings from office because I don’t have enough days in December 😉

Is it crazy enough :)

So if you sent me an email and if I haven’t responded back, then you know why :)

Meet you all in 2012 guys.

Posted in Random/Personal, Travel/Trek | Tagged , | 4 Comments

Looking back at 2010

2011 started off as a busy year for me and so I was not able to publish my year end review post for 2010 on time. Finally I have got some free time and without much delay, here is my year end stats and review post for 2010, which just ended.

Highlights of 2010

2010 has been an eventful year. I started giving talks regularly in local meetup groups, started having crush on CouchDB and then on Arduino, learned a lot of stuff about Android and even released my first app to the Android market, released a couple of WordPress Plugins and themes, together with a couple of RoloPress releases, created my first jQuery Plugin, consolidated all my code to github, bought a new bike and travelled a lot.

Time for some stats now :)

Number of Posts


When compared with 2009, the total number of posts has gone. One important reason for this is that, I have been spending more time on stuff like Android and Arduino rather than writing posts. Hopefully this year, I will get some free time so that I can start writing more posts like 2009.

Number of Comments


Like the number of posts, the number of comments has also gone a little low. Hopefully this year as I start to write more posts, the number of comments should go up.

Average number of characters per post


The average length of posts as stayed the same when compared with 2009. I am planning to maintain the same for this year too.


Again, because of the less number of posts, the total characters that I have written in 2010 has gone down. :( Hopefully this should go up in 2011

What’s in for this year

This year I am planning to concentrate more on Scala, Android and physical computing using Arduino. So expect some cool and fun projects this year. :) Also I am planning to travel a lot this year, so keep a watch on my Flickr stream as well.

<shameless self promotion>I have created these wonderful graphs using my year end stats WordPress Plugin. If you run a WordPress blog then you can also generate these graphs by downloading my year end stats WordPress Plugin.</shameless self promotion>

Posted in Random/Personal | Tagged , , | 2 Comments

Smart ways to rule the streets ;)

I have been pretty quiet on this blog for quite some time. It’s mainly because of my new addictions. First addiction is physical computing (more about it later). The other one is that, I have started roaming around the city with my new bike :)

New Bike

Ever since I moved to Bangalore, I was planning to get a new bike, instead of bringing my old bike from Chennai. As with anything I buy, I started my research and finally settled on two. Bajaj Pulsar 220 and Yamaha FZ-S. I test drive both and both were pretty good, but in the end Yamaha FZ-S won on the basics of exclusivity.

If you go to any parking lot, you can see hundreds of Pulsars, but only a few FZ-S and I liked my bike to be unique. :)

Yamaha FZ-S


You can check out the full specs of the bike from the manufactures site.

From my experiences so far


  • The bike is designed for being exclusive and to attract people – and it does it very well.
  • Complete digital display
  • Awesome road grip
  • Has an excellent self-starter. I have not faced any problem with it in the last 20+ days.


  • Mileage – If you want a bike which gives good mileage, then this bike is not for you. I am hardly getting around 35 Km/Litre of petrol. :(
  • Because of the shape of the tank, if you try to push the bike forward while sitting on it with your legs, you might hurt yourself.

Apart from it, I really like the bike and it has so far held up to its tagline – Smart way to rule the streets :)

Posted in Gadgets, Random/Personal | Tagged , , , | 16 Comments

One year at Yahoo

On June 15th I completed one year at Yahoo and Bangalore.

I sat around to write about my life in the past one year and then I read about Derek’s experience.

Now, all you need to do is to replace *Sunnyvale* with *Bangalore, *Yahoo Hack Day 2008* with *Yahoo Hack Day 2009* and *Kansas City* with *Chennai* in this post and you will get my story 😉

Thanks to everyone at Yahoo for making this past one year as one of my best years and also for Derek for saving a couple of keystrokes for me. :)

Posted in Google/Yahoo, Random/Personal | Tagged , , | 4 Comments

Consolidated all my code in github

I got introduced to Git and Gitbub by Yuvi and ever since I have been hooked up. I have started using it for all my pet projects. I even convinced Steve Bruner so that I can use Github for RoloPress. :)

Over the years I have released lot of code out in the wild and I thought of consolidating all of them in Github, so that it can be of use to someone who might need them. At last I found some time and uploaded most of them to my Gitbub account.

Below is the description of some of those projects which are currently there in my Github account.

Bright Light

Bright Light is the WordPress theme, which is powering up my blog. I have released it out hoping that it might be useful for someone.

Android Samples

I created this project to share my homework and the sample code used in the “Developing Android Applications in Java” online class, which I am currently following.

RoloPress core and RoloPress Default

These projects contain my contribution to RoloPress, a WordPress based contact manager. You can read more about WordPress from its homepage.

FeedBurner – stats

FeedBurner-stats is a Google Gadget which allows you to keep track of your Feedburner subscriber count. It uses Google Chart API and Google Gadget API.

Bloglines Notifier

Bloglines Notifier is a Google Gadget which will notify you the count of unread items in your Bloglines account. (Hope someone is still using Bloglines 😉 )


It is a fork of John Resig’s retweet script which I am using in my Easy Reweet WordPress Plugin. I have added a new feature to this script which allows you to associate the list of urls created to your account.

Count Words

It’s a small Ruby script which prints the number of words (with their count) present in a given text file

Bulk unrar

It is a small Ruby script which unrars all files found in all the subdirectories of a director given in the command line.

I am still undecided about porting my WordPress Plugins from the official WordPress Plugin repository to Github. I guess it is better to have my Plugins in the Plugin repository for now.

Update (Feb-2013): I have now started to use github for my WordPress Plugins as well.

BTW feel free to fork any of these projects and I would be happy to pull in your changes if you have added some enhancements to them. :)

Posted in Random/Personal | Tagged , , , | 2 Comments