Monthly Archives: September 2012

The 25 cent sale on Google Play

It’s the fourth day of Google Play’s 25 cent promotion, celebrating the milestone of 25 billion downloads of apps from Play. The selection of apps for today is not very exciting though. There’s Cut the Rope, Cogs, and Where’s My Perry, among others.

First day had the best deals. Second day wasn’t much bad either. Didn’t hesitate to buy World of Goo and doubleTwist Alarm Clock, both of which I had kept an eye on. Tomorrow’s the final day of the sale and let’s just hope there’d be some good picks worth buying. Anyawy it’s just $0.25 and nobody can complain.

IFTTT removes all Twitter triggers

The IFTTT blog announced a few days back that they will be removing all Twitter triggers, and they have done so today. The reason is Twitter’s bullshit policy changes. Please note that only the triggers are gone; all the actions remain as they were. But still. Twitter triggers paved way earlier to do cool stuff like archiving all your tweets. Not anymore.

More reasons to hate Twitter.

Linus Torvalds on Linux and Git

Typical programmer has had an interview with Linus on Linux and Git.

Git has taken over where Linux left off separating the geeks into know-nothings and know-it-alls. I didn’t really expect anyone to use it because it’s so hard to use, but that turns out to be its big appeal.

Of course the interview is imaginary, but it’s worth a read 🙂

SCID in Ubuntu [Chess]

About one and half years back, I wrote about installing SCID in Ubuntu. (SCID is a free chess database application). For those who abhor building from source, Duncan Rosales has left a comment on that post saying that SCID is now available in the Ubuntu Software Center. Good news indeed! Just install by going to the Software Center and searching for SCID, or simply by typing in the terminal:

sudo apt-get install scid

On cherry-picking [Git]

This friend asked me on twitter to write about cherry-picking. In essence, cherry-picking a basic git concept which lets you create a copy of any commit and apply it on top of your current HEAD.

For example, say your repository has branches for different versions of the app. If you make a bug fix on one branch v2.0 and you want to apply that bug fix to v3.0 as well, you can cherry-pick the commit with the fix in v2.0 to v3.0. Checkout v3.0 and type

git cherry-pick <SHA-of-bug-fix-commit>

If you’re lucky there will be no merge conflicts and you’re done. If you get any conflicts, resolve them and type git cherry-pick –continue. You can also cherry-pick several commits at once as well. Some useful options to cherry-pick command include -e (edit – which lets you edit the commit message prior to committing) and -n (no commit, which applies the changes but does not make a commit). You can also use the merge strategies you use in git merge.

That’s just cherry-pick in a few words. Do checkout the man pages. Think-like-a-git has a good visual explanation of the concept.

Finding the commit a file was introduced in [Git]

Was going through the git log man page and noticed that there is a –reverse option. Guess what cool thing this could be used for? To find the commit in which a certain file was introduced in!

git log --reverse -- somefile.c

The commit on top is the first commit in which somefile.c appeared.

Ignoring the right way [Git]

Do you commit your .gitignore files? (Do you even use a .gitignore file? (Do you even use git? (Do you even write code?))) IMO, the best practice is to add a set of commonly ignored files to .gitignore and commit it. Saves time for everyone. If anyone using the repo needs his private list of ignores, he can use the .git/info/exclude file, which won’t affect even those who fetch straight from your local repository.

Gentlemen don’t have untracked files in their repos. Find some tips about ignoring files in git here.

Doing it tomorrow

As far as to-do lists go, Do It (Tomorrow) is one of the simplest and effectivest (just made up that word). And the interface is eye candy. You can add to-dos for today and if you don’t feel like or it’s not possible to do them today, you just put it off for tomorrow. In fact, one of the main concepts about the app is putting stuff off for tomorrow. Procrastinators’ heaven.

How this works is that once you get tired of putting it off you eventually get it done. I’m currently using the web app and the android app. There are iPhone and iPad versions available as well.

Evernote on Linux

Evernote doesn’t have an official client for Linux. It isn’t likely Linux will get any in the near future either. NixNote (formerly NeverNote) is the popular alternative available. But I just don’t like the interface and all.

I installed Ubuntu 12.04 yesterday and found out about this Everpad which seems to be pretty neat. Not a feature-full client, but it has Unity integration, so you can search notes from the Unity dash etc. There’s an icon in the gnome panel which gives you the latest notes, lets you create new notes and such. At the moment I’m using Everpad and have an Evernote Web tab opened in Chrome as well. Sadly, this seems to be focused on Ubuntu only (at least that’s my guess, not likely it’d run on other distros without major changes).

Find reviews, screenshots and installation instructions in WebUpd8 and Omg!Ubuntu.

bacon number priyanka chopra

I’m considering setting Google as the default search engine again. They have added the bacon number game to Just type in

bacon number <em>movie-star-name-here</em>

to Google and it’ll calculate the Bacon number for you.

Both Priyanka Chopra and Jim Parsons have a Bacon number of 2, while it’s 1 for Ellen Page!