Skip to main content


Showing posts from May, 2011

My Bookmarks fly to the Cloud

Updated: 15-Mar-2012

With latest version of Google Chrome (I'm using 17.x), you can now directly sign into Chrome from Options->Peronsal and access your bookmarks across computers. You no longer would need to export the bookmarks to Firefox using the Google Toolbar for Firefox, which is no longer supported by Google. The Google Toolbar is now available only for IE.

Original (dated) article below ...
I have a queer problem of too many! I surf a lot, I subscribe to a lot and I bookmark a lot. Some numbers: 1 laptop and 1 netbook at home, 1 laptop and 1 desktop at office, sometimes its my Kindle and definitely my N900 when I'm on the move. So 6 devices out there and usually 2 browsers on most of them (yes Kindle only as one webkit based experimental implementation).

So my bookmarks are all over the place, scattered over at least 10 different places. And each time I'm working on one box, I wish I had access to the bookmark I made a few hours ago on the other box. A…

A Custom Blog and 404 errors!

I struggled for over a day with 404 errors and domain mapping issues and finally figured out the simple steps to set up my Google blog mapped to my custom domain. I also managed to add an alias to this blog site. Just jotting down the steps here for future reference ...

You would've created your blog under the name say:

Now you want to move it to your custom domain which you just purchased say:

Also you might want to map and to land the user on your blog page directly. The latter is called a "naked" domain and has to be handled as this is not mapped by default.

Steps to create custom blog at

1. Go to your blog Dashboard (link is on the top right of your screen)
2. Select the Settings tab
3. Select the Publishing tab
4. Click on the Custom Domain link and switch to Advanced Settings
5. Enter your domain name here
6. Check the "Redirect to

Falsy JavaScript

In continuation of my previous blog on the basic JavaScript expressions, this blog is about Falsy and Truthy values in JavaScript.

When presented with a non boolean expression instead of a boolean value, JavaScript uses Truthy or Falsy values instead to determine the result. At first glance, this could be confusing and could lead to errors while scripting.

var a = "someval";
var b;
if (a) { // this is a truthy
 // Block is executed
if (b) { // b is undefined and so a falsy
// Block is not executed

The Falsy Values
All expressions, objects and values are Truthy by default. There are exceptions and they are called the Falsy values and are listed below:
  # The empty string; ""
  # null
  # undefined
  # The number 0
  # NaN
  # The boolean false

It gets tricky
If you see the below table, you will note that it gets tricky or rather one should be a little extra careful while dealing with Falsy values.

ExpressionValueFalsy ValuesfalsefalseNaNfalseundefinedfalse0fa…

JavaScript - Undefined Infinity or Not a Number?

Had a heated discussion with a friend about a particular expression and so this blog with ready references for some basic JavaScript expressions.

ExpressionValueInfinityAnything beyond +/-1.7976931348623157e+308typeof Infinity"number"typeof NaN"number"typeof undefined"undefined"typeof null"object"Infinity + InfinityInfinityInfinity - InfinityNaN-Infinity + InfinityNaNInfinity / InfinityNaNInfinity * InfinityInfinityInfinity * 1InfinityInfinity / 1InfinityInfinity / 0InfinityInfinity * 0NaNInfinity - 1e308InfinityInfinity - 1e309NaN-Infinity + 1e308-Infinity-Infinity + 1e309NaNInfinity / 1e308Infinity1 * "a"NaN1 + NaNNaN1 * NaNNaNundefined + 1NaNundefined * 1NaNundefined + InfinityNaNundefined * InfinityNaNundefined + NaNNaNundefined * NaNNaNundefined + nullNaNundefined * nullNaN1 + null11 * null0null + null0null * null0Infinity + nullInfinityInfinity * nullNaNNaN + nullNaNNaN * nullNaN"" + Infinity"Infinity""&q…

India's first KDE conference

This article was published in Qt Blogs here. Thanks to Alexandra and Qt Community for the same!

I recently attended at the RV College of Engineering in Bangalore. It was the first KDE conference ever held in India, and it was followed up with two days of code sprints attended by over 300+ people. I’m pretty late with this write up, but better now than never.

KDE-India is a growing group of volunteers totally committed to contributing to and popularizing FOSS in India. The event was primarily focussed on introducing KDE and Qt to young developers still studying engineering butof course there were also a fair number of professionals like me.

In short, above all else, it was tons of fun. I networked with people, shared knowledge, promoted the Qt DevNet India group and even had the chance to watch live break dancing on stage – not once but twice! That’s Knut Yrvin for you, a great speaker with some special gifts needed for a Community Manager.

There were great sessions held over 3…