Friday, November 6, 2009

GIT

Branching and Merging

Creating a branch:

git checkout -b branch-name

OR

git branch branch-name
git checkout branch-name

Example:

$ git branch rm123
$ git checkout rm123


Merging a branch:

$ git checkout master
$ git merge rm123


Monday, October 26, 2009

Building GNOME from source code

Reference: http://live.gnome.org/Jhbuild

First download and install Jhbuild as mentioned at:
http://live.gnome.org/Jhbuild

Modify the configuration file like this:

# -*- mode: python -*-

# edit this file to match your settings and copy it to ~/.jhbuildrc

# if you have a GNOME git account, uncomment this line
# repos['git.gnome.org'] = 'ssh://user@git.gnome.org/git/'

modulesets_dir = '/home/tuxnda/work/dev/jhbuild/modulesets/'
# what module set should be used. The default at the moment is 'gnome-2.26',
# but it can be any of the files in the modulesets directory, or even
# the URL of a module set file on a web server.
# moduleset = 'gnome-2.26'
moduleset = 'gnome-2.30'

# A list of the modules to build. Defaults to the Gnome Desktop and
# developer platform.
# modules = [ 'meta-gnome-desktop' ]

# what directory should the source be checked out to?
checkoutroot = os.path.expanduser('~/work/dev/gnome/checkout/gnome2')

# the prefix to configure/install modules to (must have write access)
prefix = os.path.expanduser('~/work/dev/gnome')

# extra arguments to pass to all autogen.sh scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'
# it is also possible to set CFLAGS this way, 'CFLAGS="-g -O2"' for example
#autogenargs=''

# On SMP systems you may use something like this to improve compilation time:
# be aware that not all modules compile correctly with make -j2
#makeargs = '-j2'




Build the basic bootstrap system for building gnome:

$ jhbuild bootstrap -c -a --ignore-system


Now build gnome:

$ jhbuild build


Tuesday, September 29, 2009

Adding DeviceKit-disks to ubuntu

Adding DeviceKit-disks to ubuntu is fairly simple once you reach this page:

http://packages.ubuntu.com/karmic/i386/devicekit-disks/download

Now add the following line to your software sources ( /etc/apt/sources.list ):
deb http://cz.archive.ubuntu.com/ubuntu karmic main


Thats it!

Sunday, July 5, 2009

Building the Nemiver Debugger for GNOME on Ubuntu 9.04

Building the Nemiver Debugger for GNOME on Ubuntu 9.04 - the Jaunty Jackalope : http://projects.gnome.org/nemiver/

Install the libraries

$ sudo aptitude install libglademm-2.4-dev libvte-dev libgtop2-dev libsqlite3-dev libgconf2-dev libgtksourceviewmm-2.0-dev gnome-common libboost-dev

Checkout the code
$ cd ~/work/
$ git clone git://git.gnome.org/nemiver nemiver.git

Now build Nemiver

$ cd nemiver.git
$ ./autogen.sh
$ make

Sunday, May 10, 2009

What will be the future of IT in India?

On one hand there is "Recession in the US" and on the other hand there is a potential Domestic IT market in India in the long run.

Till recently in 2006, the IT exports from India were accounted 60% by the US, 20% by the UK and rest by other countries and India's Domestic IT market. "Recession in the US" has changed this scenario. There have been may job cuts, lay-offs and cost cuttings specially by the companies which work for clients from US. Followed by this many new strategies are emerging like "reduce employees, increase the workload" to counter balance the effect of recession.

The US government is all set with various plans and strategies [2] to recover from the effect of recession. But no one knows about the future. We can only speculate the aftermath of the plans yet to be implemented. We can only work hard and hope for the better, after all it affects the Indian economy as well to a very large extent.

Did you see the point here? Well, the point is that even if the US does not complete recover from the recession right not, it "will" recover slowly. It will take its time to improve but will not atleast worsen the situation assuming that the new US Government policies are implemented and practiced successfully.


For the good news, you might/not be surprised to know that there is a lot of scope in Domestic IT market in India.

"Domestic IT spending is expected to increase further in the coming years due to increase in telecom and internet penetration, higher IT budget allocations by the governments, IT spending by BFSI (banking, financial services and insurance) sector, manufacturing and engineering firms, automobiles and retail sector, and greater focus on maintenance and security infrastructure by vendor firms." [1]

This means that there is a large scope for ventures that can be done with IT in mind.


"According to the Broadband Policy 2004 document published by the Ministry of Communication and Information Technology, Government of India, New Delhi, internet connectivity is expected to increase from 6 millions in 2005 to 40 million in 2010. A denser telephone and internet network along with increased PC ownership will provide the opportunities for increasing the rate of training people for the IT industry." [1]

This meas that there will be an increasing user base for the services/products created using the IT infrastructure.

So overall, we ( as IT workers ) need not worry about our futures. And as the universal rule "survival of the fittest" says that we continuously need to brush up our skills to be on the edge, so we just have to keep the spirit alive.

"Although the domestic IT market is just marginally more than half of the export, it has started growing at a rate of 20% per year or so during the recent years." [1]


You might be temped by now to think of a venture into the Indian Domestic IT Industry. Wait! It is feasible to start your venture if you target only the urban areas ( like metro cities ). But there are some potential problems which might have to be resolved first if you target rural areas:

• What exactly are you trying to correct in the rural areas? ( it applies to urban areas as well )
• How well will the rural people able to use the services you build using IT? ( education, familiarity with the technology etc.)
• How easy will it be to make it accessible to them? ( hardware, software, regualtory issues, communication issues, tarrifs etc. )

This is my effort to understand the future prospects for the IT industry in India. Your comments are welcome.


References:
[1] "Information Technology in India: Present Status and Future Prospects for Economic Development" http://www.iitk.ac.in/directions/may2006/PRINT~SANJAY.pdf

[2] "Larry Summers Speech, Brookings Institution, The Obama Program and the Current Economic Crisis" http://www.clipsandcomment.com/2009/03/13/full-text-larry-summers-speech-brookings-institution-the-obama-program-and-the-current-economic-crisis/

Friday, January 30, 2009

Thoughts

"Any man under 30 who is not a liberal has no heart, and any man over 30 who is not a conservative has no brains."
— Winston Churchill