Programming

  • Some time back I had posted a simple Git tutorial that introduced you to 10 git commands, to get you started with this wonderful piece of tool. The response that I got for that post was great. I also got comments asking me for how to perform few other tasks. So here it is, the…

  • Part – II of this tutorial is now available here. Git is marvellous piece of tool every programmer must have. Git is a distributed version control system developed by Linus and others. Yes you guessed it, it is used heavily by the Linux (kernel) developers apart from many other projects. How will Git help you…

  • Javascript hides a lot of arsenal beneath its simplicity. In this post I’ve tried to explain normal javascript arrays and associative arrays starting with absolute basics and then presenting the advance concepts that are often overlooked but are simple to understand and are very handy. I’m not a Javascript guru . This post is more…

  • Before I write anything about it, here’s the link to the JPC project http://www-jpc.physics.ox.ac.uk/index.html It’s a nice feat these guys have achieved by creating an emulator for Intel x86 architecture in Java. I’m not sure how useful this project would be, but it’s a cool peice of software . Hats off to the JPC developers.…

  • This is a post I’ve written at my Company blog. Here’s a small excerpt and the link to the complete post. Git and Trac – A Love Story Git and Trac, both got married very recently (at our setup ), and the newlywed couple are quite a charm to work with. It all started with…

  • As all C, C++ and Perl devotees, I too looked upon Python with apprehension. Python? What? I asked. The very idea of white-spaces being part of syntax gave me jitters and I convulsed with disgust. Why Python? Perl can do it. OOP? Perl has it … errm .. Kind of. After reading numerous articles about…

  • Recently I’ve been working on a project which required VMWare as one of the component. As part of this project some sort of communication, albeit simple in nature,was required between the host and the guest machine. Here are two simple commands, one to be run on host and one on the guest, using which you…

  • xstress is a tool developed by me, that allows users to stress test (their) SMTP Mail servers. The tool is pretty straight forward (and very simple too). It creates multiple connections to the mail server and pumps e-mail traffic on those connection. That’s it. The good thing is that you can configure lots of parameter…

  • This is one question that haunts (new) software engineers day after day. We learned from the days of BASIC to Java and .NET that goto is an incarnation of devil itself, but we find goto in code written by the so called ‘elite’ programmers. What does this mean? Was all that computer science we learned…

  • I required this while creating an extension for Firefox that bookmarked the current URL at some site. After some hacking I found that the Address bar object that displays the current tab’s URL has the id set to ‘urlbar’ Following simple Javascript code accomplishes the task var obj = document.getElementById(“urlbar”); returns the reference of the…