Tuesday, December 22, 2009

Got like this on boot grub> !!! Restoring back to normal

Now a days when we are moving towards open source its common to find the two operating system on the pc or laptop. The one is linux which come with own loader GRUB. Sometimes it may happen due to ignorance or experimental purpose grub is mishandled and the result is a grub prompt at restart ...........
Many of us just get afraid and stuck to old but bad formula of formatting all drives and installing all the stuff again STRANGE!!!!
In this post you will find precise steps to recover your Grub.

First step is to find whether grub can open and read any files on any partition

grub> find /boot/grub/stage1

This will return partition in the form of (hdX,Y). For example (hd0,5)

Next step is to intall the grub.

grub> root(hd0,5)
grub> setup(hd0,5)

Next step is to tell grub about the kernel and initrd img. Assuming its in sda2

grub> kernel /boot/[select your vimlinuz PRESSING TAB] root=/dev/sda2
grub> initrd /boot/[select your initrd image PRESSING TAB]

Make sure you select the same version in both kernel and initrd.

Last step is to boot in to machine

grub> boot

This will return you to command prompt interface. Just do a normal login and type startx to start GUI.


Bingo You are done.

Next step is to restore the menu.lst or make new one. Search for the menu.lst in /boot/grub/.

If its empty you need to add few lines for showing grub menu in while booting. We need to know the various UUID (Universally Unique Identifier) and details of the partition. Run the command

cat /etc/fstab


ls -al /dev/disk/by-uuid/*

menu.lst normally looks like

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 63451d1e-eba4-487e-ba98-eee9e58e3101
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=63451d1e-eba4-487e-ba98-eee9e58e3101 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 63451d1e-eba4-487e-ba98-eee9e58e3101
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=63451d1e-eba4-487e-ba98-eee9e58e3101 ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 63451d1e-eba4-487e-ba98-eee9e58e3101
kernel /boot/memtest86+.bin

title Microsoft Windows XP Professional
rootnoverify (hd0,0)
chainloader +1

title : shows as in Grub Menu option
UUID : For disks
kernel : for loading os
initrd image

Make your ones with the appropriate enttries and UUID and done. Save file and reboot the system.

Sunday, November 22, 2009

go : Part 1

go : a new language by google. Best is its OPEN SOURCE. As it says its fast, simple, fast, secure, c0ncurrent, fun, opensource!

This article covers the
Step 1 : Installation
Step 2 : Hello World program

Step 1 : Installation

Best way is to look in go site

  1. Create two directories in your home namely go and bin. (you can set any path). For simple understanding i have created the directory in home folder. If you choose different path than in place of $HOME write your path like /home/abc/golang/go ...
  2. Open .bashrc file. Normally its at your home. Open $HOME/.bashrc in editor.
  3. Add following lines (assuming u have 32 bit computer).

    export GOROOT=$HOME/go
    export GOARCH=386
    export GOOS=linux
    export GOBIN=$HOME/bin

  4. Open Terminal

    programmer@programmer-laptop:~$ sudo easy_install mercurial
    [sudo] password for programmer:
    Searching for mercurial
    Best match: mercurial 1.3.1
    Processing mercurial-1.3.1-py2.6-linux-i686.egg
    mercurial 1.3.1 is already the active version in easy-install.pth
    Installing hg script to /usr/local/bin

    Using /usr/local/lib/python2.6/dist-packages/mercurial-1.3.1-py2.6-linux-i686.egg
    Processing dependencies for mercurial
    Finished processing dependencies for mercurial

    programmer@programmer-laptop:~$ hg clone -r release https://go.googlecode.com/hg/ $GOROOT
    programmer@programmer-laptop:~$ sudo apt-get install bison gcc libc6-dev ed make

    programmer@programmer-laptop:~$ cd $GOROOT/src
    programmer@programmer-laptop:~$ ./all.bash
    --- cd ../test N known bugs; 0 unexpected bugs

We are done now ..... We have successfully installed go :)

Lets see what is there in bin directory. There are many executable files. We should see 8g (Compiling), 8l (linking).

The file have an extension .go. So lets create hello.go with following lines

package main
//Says its main package
import "fmt" // import

func main() //Entry Point
fmt.Print("Hello, World\n"); //Printf /cout/

Open Terminal
programmer@programmer-laptop:~$ cat hello.go

package main
import "fmt"

func main()
fmt.Print("Hello, World\n");

programmer@programmer-laptop:~$ 8g hello.go
programmer@programmer-laptop:~$ 8l hello.8
programmer@programmer-laptop:~$ 8.out
Hello, World

Simple isn't it !!

8g is go compiler and will create a file with extension .8. To link the file 8l is used and the output goes in to 8.out.

If i want to import more packages with fmt we can do like

package main
import (

To make a variable s of type string

var s string = "" // With Datatype


var s = "" // No Type needed Compiler will decide


s := "" // Initializing and Declaring

// Single Line comment


Lets try out another program. This will read command line arguments and displays the same. Like echo command

Open text editor and add following lines

package main

import (
"flag"; // command line option parser

var omitNewline = flag.Bool("n", false, "don't print final newline")

const (
Space = " ";
Newline = "\n";
We could have done like

const Space = " "
const NewLine = "\n"

(No need of semi colon here)

func main()
flag.Parse(); // Scans the arg list and sets up flags
var s string = "";

for i := 0; i <> 0 {
s += Space
s += flag.Arg(i);
if !*omitNewline {
s += Newline

Carefully see the if condition and for loop, its bit syntactically different from what we have seen in c, c++, Java. No need to add condition or for loop parameter in (). But the body should be enclosed in {}.

See the usage of i:=0. No forward declaration is required as := will initialize and assign the value to i and compiler will know what to do with i.

Seems Simple.. But still this is the very very basic things rather not basic also there are lot many features to be seen.

Keep looking will publish the next post with more information and what more in go.

Saturday, September 5, 2009


Recently i was reading something and come across the term My-crow-shaft. If you are open source user or in any ways like Linux, you will get what it is all about. And if you are using My-crow-shaft products that needs regular reboot and formatting you will know the type of products they come with. Crushing the competition is good but its not always desirable. You just cannot flex muscles and come with the dumb products.

I was using a search engine Bing : a copy kind of stuff and some odd things happens; guess what. A patrolling on the search you do, just to show that they care for us they says that this search is not ok!!!! In few tweaks on the same search it shows off its dumbness. So this is what expected isn't it? . Bing - Bingo. So a simple smart guy can beat it. So did it means that they cannot make something of their own !! Try on it and see how google is far better!!.

Free Software vs Open Source

RMS !!! What comes in to your mind ? Yes if you are a person who hates windows you may have rightly guessed. Richard M Stallman : The father of Free Software movement.

Please Note : The two answers below taken from the article published in the mazine Linux for you in Feb 2009 issue. The intention is to make it readable and reachable to more audience and no other hidden purpose.

Richard Matthew Stallman is a software developer and software freedom activist. In 1983 he announced the project to develop the GNU operating system, a Unix-like operating system meant to be entirely free software, and has been the project's leader ever since. With that announcement Stallman also launched the Free Software Movement. In October 1985 he started the Free Software Foundation.

The GNU/Linux system, which is a variant of GNU that also uses the kernel Linux developed by Linus Torvalds, are used in tens or hundreds of millions of computers, and are now preinstalled in computers available in retail stores. However, the distributors of these systems often disregard the ideas of freedom which make free software important.

That is why, since the mid-1990s, Stallman has spent most of his time in political advocacy for free software, and spreading the ethical ideas of the movement, as well as campaigning against both software patents and dangerous extension of copyright laws. Before that, Stallman developed a number of widely used software components of the GNU system, including the original Emacs, the GNU Compiler Collection, the GNU symbolic debugger (gdb), GNU Emacs, and various other programs for the GNU operating system.

Stallman pioneered the concept of copyleft, and is the main author of the GNU General Public License, the most widely used free software license.

Stallman gives speeches frequently about free software and related topics. Common speech titles include "The GNU Operating System and the Free Software movement", "The Dangers of Software Patents", and "Copyright and Community in the Age of the Computer Networks". A fourth common topic consists of explaining the changes in version 3 of the GNU General Public License, which was released in June 2007.

In 1999, Stallman called for development of a free on-line encyclopedia through the means of inviting the public to contribute articles.

After personal meetings, Stallman has obtained positive statements about free software from the then-President of India, Dr. A.P.J. Abdul Kalam, from French 2007 presidential candidate Ségolène Royal, and from the president of Ecuador Rafael Correa. In Venezuela, Stallman has promoted the adoption of free software in the state's oil company (PDVSA), in municipal government, and in the nation's military.

Lets see the talks published in the Linux for you.

Answer to question what is free software all about the response is :
Free software means software that respects the user's freedom abd teg user community.Properitary software (we all know) traps the user's freedom and divides the user, leaving him helpless. They are divided because they are forbidden to share the source code. Helpless because they don't get the source code; hence they can't change the program and they can't even verify what it is doing to them.

Free Software respects that and there ae four essential freedoms that a user must have.(See the numbering :) starts from 0 ! )
0 - Freedom to run the program as you wish.
1 - Freedom to study the source code of the program and then change it to make the program what you wish.
2 - Freedom to help you neighbours, which means to make exact copies of the program and distribute it to others whne you wish.
3 - Freedom to contribute your community, ditribute modified versions when you wish.

Now, this has nothing to do woth the details of what the program does and how. It's about wht you are allowed to do with the program. So, one of the freedom is missing, or partially missing then the social system of a distribution is unethical, and tha makes it porperitory software. So, that software should not exist, because every time someone uses it, it becomes a social problem.


To the question ordinary public uses word open source .... Stallman says : Don't simply assume that , and don't declare the software movement, because that is not true. You must not made a statement that is not true. The reason is that the supporters of the open source asre more in number and this the companies who are involved with software mostly say "open source". And the reason is that most ofthe companies who are involved with properitary software. They don't want to educate the public to reject the properitory software on moral grounds, thus avoiding mentioning the free software movement and never mention our ethical ideas. They can win certain amount of favourable public opinion by connecting themselves with open source, and yeat avoid teaching users to reject properitory software.They misunderstand the term `free` and interpret it as gratis copies of properitory software telling its free. He adds on saying that english language has flaw that other language dont have - that is, there is no word that means free as in freedom with only that meaning.

There are many other questions and answers with the likes and dislikes of Stallman. You can get all in Feb 2009 issue of Linux For you.

I thanks Linux for you to bring this to us. I personally feel very delighted and enlightened on many issues.

Tuesday, August 25, 2009

Surprise : Microsoft releases code for open source

In a move Microsoft releases the 20,000 lines of codes to the Linux community. The code will allow th Linux kernel to run with enhanced permissions and device access when used with Hyper-V virutalization technology. The aim is clear that it want to adapt the Hyper-V. But any ways its big step by Microsoft that it gives its code to Linux Community.

Saturday, August 1, 2009

Fire Fox cross 1 Billion Download

Open http://www.onebillionplusyou.com/ 1,000,000,000 + you. It says fire fox download counter has crossed 1 billion downloads in the five years. It shows that how much people care for better things and how they get fit in to the all OS and ensures smooth and fast browsing.

It have some facts saying what one billion means. We can post it to twitter or create our one liner.

Saturday, July 25, 2009


Twitter a word now known by many net savvy people. A site simple but known by all and one can think that its heading towards the 1 billion target. Using twitter is very easy and simple no complicities their. Its like keep it simple.

Moving further it join hand with the bing so that when ever you search on the bing you get all the tweets regarding that search. It allows to see the tweets on bing !!! Its in beta but still very cool.

Open bingtweets search the topic and see the tweets having the word. Once you do searching you can tweet or share too. It also displays current trends. Overall a good experience to use and again its simple.

Thursday, July 23, 2009

Google Chrome : Incognito mode (private browsing)

Today i think many people are using the Google Chrome as web browser. It not only gives a new interface but also fast browsing.

It have auto speed dial to remember the pages you visit, so that next time you simply click to move their. It have so many of features one is Incognito mode.

Incognito Mode also knows as private browsing. It allows you to browse without leaving the trace in history, cookies, on your computer after you close this.

To activate press Ctrl + Shift + . The new window will appear with the spy kind of icon on left corner. Rest everything remains same in interface.

Change locale in ubuntu

Sometimes we need to change the locale for some testing purpose or general shift to new. To change the locale in Windows is accomplished by Control Panel -> Regional Settings.

To change the same in the Ubuntu there are set of commands available.

To see current locale open terminal and run command 'locale'

If you know the locale you want to change to you should do following steps

1.add the locale in /var/lib/locales/supported.d/local
Eg : en_US.UTF-8

2. Regenerate the locale
dpkg-reconfigure locales

3. update locale using
update-locale LANG=en_US.UTF-8

Reboot the machine and again check the locale. It will be changed.

If you want to see the lost of supported locale
open /usr/share/i18n/SUPPORTED

We can make all the locales. Open terminal and run following commands

xyz@local: sudo su
root@local: cat /usr/share/i18n/SUPPORTED > /var/lib/locales/supported.d/local
root@local: dpkg-reconfigure locales
root@local: update-locale LANG=en_US.UTF-8

Reboot the machine and we are done.

Note : It will change the language of the PC so be careful Don't use this unless you are sure what you are about to do. In any case you can again set your locale to default and reboot.

Sunday, July 19, 2009

Web Application Development : Google Apps

What is Google App Engine ?

It lets you run your web application on Google Infrastructure. For more Detail move to google.

What make it out stand :

1. The best part is that it support Java and Python both.
2. You pay for for what you use.
3. No setup costs and no recurring fees.

Lets try our hand and built a very simple page.

Move to Google APP. You need to have a google (gmail) account.

Here come the first screen showing the button Create Application as shown.

Click on Create Application. And the follwing screen will come which will ask for the mobile number for confirmation.

The next screen will be asking for the application details.

Fill the application identifier (must be unique).

Give it a title. So that its easily understood. Press Save. A new screen saying application registration sucessfully will come.

So now all set. Download GoogleApp Engine toolkit. You have two option to go for java or python based on all type of machines.

I did with python as i have python installed :) . A zip file will be thr. Extract it.

If you are on linux make sure you have right permission for the folder.

Now create a directory with some suitable name.

Add three files
1. app.yaml
2. main.py
3. index.html

Add following lines to main.py

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext.webapp import template
from google.appengine.ext import db
import cgi
import os
class Table (db.Model):
element = db.StringProperty()
class Index(webapp.RequestHandler):
def get(self):
template_values = {}
path = os.path.join(os.path.dirname(__file__), 'index.html')
self.response.out.write(template.render(path, template_values))
application = webapp.WSGIApplication([('/', Index)],
def main():
if __name__ == "__main__":

Add following code to app.yaml

application: [your folder]
version: 1
runtime: python
api_version: 1
- url: /.*
script: main.py

Add some content in the index.html. Put text like
"My First Page using Google App Engine"

Now time to test the application on browser

Move to yourGoogle App Engine (SDK) folder that you extracted earlier (Using Terminal, cmd)

Run following command and replace [your app] by your folder name.
./dev_appserver.py [your app]

Open the browser type http://localhost:8080

BINGO !! You made the application using Google Apps :)

For more details visit :

Worth watching : Give it a look

The 40th anniversary of the first human landing on the moon : 20 July. There are many websites writing on this.

WeChooseTheMun.org the site worth watching. It will create the event minute by minute.

To viw the refurbished video by Nasa visit here.

Very Impressive one :)

Saturday, July 18, 2009

ZFS - A new approach new system

A file system used by OpenSolaris provides simple adminstration, transactional semantics, end-to-end data integrity, and immense scalability.

ZFS Features:
  • Pooled Storage Model
  • Always consistent state
  • Protection from data corruption
  • Live data scrubbing
  • Instantaneous snapshots and clones
  • Fast native back up and restore
  • Higly scalable
  • Buit in compression
  • Simplified adminstration model
Lets see what it means

ZFS presents a pooled storage model that completely eliminates the concept of volumes and the associated problems of partitions, provisioning, wasted bandwidth and stranded storage. Thousands of file systems can draw from a common storage pool, each one consuming only as much space as it actually needs. The combined I/O bandwidth of all devices in the pool is available to all filesystems at all times.

All operations are copy-on-write transactions, so the on-disk state is always valid. There is no need to fsck(1M) a ZFS file system, ever. Every block is checksummed to prevent silent data corruption, and the data is self-healing in replicated (mirrored or RAID) configurations. If one copy is damaged, ZFS detects it and uses another copy to repair it.

ZFS introduces a new data replication model called RAID-Z. It is similar to RAID-5 but uses variable stripe width to eliminate the RAID-5 write hole (stripe corruption due to loss of power between data and parity updates). All RAID-Z writes are full-stripe writes. There's no read-modify-write tax, no write hole, and — the best part — no need for NVRAM in hardware. ZFS loves cheap disks.

ZFS provides unlimited constant-time snapshots and clones. A snapshot is a read-only point-in-time copy of a filesystem, while a clone is a writable copy of a snapshot. Clones provide an extremely space-efficient way to store many copies of mostly-shared data such as workspaces, software installations, and diskless clients.

ZFS backup and restore are powered by snapshots. Any snapshot can generate a full backup, and any pair of snapshots can generate an incremental backup. Incremental backups are so efficient that they can be used for remote replication — e.g. to transmit an incremental update every 10 seconds.

There are in ZFS. You can have as many files as you want; full 64-bit file offsets; unlimited links, directory entries, snapshots, and so on.

ZFS provides built-in compression. In addition to reducing space usage by 2-3x, compression also reduces the amount of I/O by 2-3x. For this reason, enabling compression actually makes some workloads go faster.

In addition to file systems, ZFS storage pools can provide volumes for applications that need raw-device semantics. ZFS volumes can be used as swap devices, for example. And if you enable compression on a swap volume, you now have compressed virtual memory.

New Os : Opensolaris

When we talk about os the first thing come to mind is windows unless and untill you are open source geek. For such geek the fist answer is Linux (Red Hat, Ubuntu, Fedora , Centos etc...).

When some one say about Solaris we feel not for the normal user. But thats not the fact now. Opensolaris 2009.06 is very user friendly with some nice features beating other very hard.

It has a simple graphical interface like gnome as its to built on Unix. It is also available on Live CD which means you can simply use it without installing (like ubuntu).

The main fetaures or points that make it ousstanding are :
1. Aguided Code base
2. ZFS
3. DTrace
4. Stability and backward comaptibility
5. Software Support
6. Image

It comes with firefox , thunder bird , Net beans and many other.

To download click here.

To view screenshots jst google in images with opensolaris.

For more details log in to opensolaris.org

Playing music and video on your PC with Mobile Phone

Bluetooth is now a days very common in mobile phones. All laptops now a days are equipped with the bluetooth.

We normally used bluetooth as a medium to transfer the files between two devices. Mobile phone can also be use as remote control of the pc/laptop when connected with the bluetooth device.

Remote Control feature is inbuilt in many mobile phones through which one can play music , videos, slideshow presentation.

Connect your mobile with pc/laptop using bluetooth and check for the remote control in your mobile (normaly under entertaintment section). Open powerpoint presentation on pc and run (f5) n now you can control it using mobile phone. Amazing !!!

Creating own social network site

Now a days we can see the internet is flooding with the social network site. They have community blog and many more .

If you want to have a such site - a social networking site what will you do ? Will think of PHP and all. No need the ning.com come with a solution 2 mins and you are ready with your own social networking site. Isn't it amazing !!!!

Lets Start here Open the ning.com

Enter the name you wish to have for your network and the web address that will be suffix by ning. And click create and the next screen (below) will be thr for few details of yours

Fill and click the next. A mail will be send for the verification so give correct id ;)

Adjust the look and go on with next

Select the appearance and you are done .. BINGO !!! You have your own social networking site.

To see what i have made click http://kittyabad.ning.com/

New OS Google Chrome OS

After the launch and success of chrome browser google announced the new os Google Chrome OS.
Google says the chrome was designed for people who live on the web. The operating system that vrowser runs on were designed when their is no web. And hence they are coming with new os which will be extension to the google chrome.

The new Os will be open source , light weight and will be using Linux kernel. Its seems to be promising many new things a major is fast access to every thing .

Ref : Google Blog

Tuesday, July 7, 2009

Drop Down terminal for Linux

The power of terminal is known to one who use Linux and know the real power of commands. So for such geek people who often have to move to terminal again and again Tilda is the right option.

Tilda is the drop down console that appears on the top of the screen. Just press a key and console is thr.

Installing tilda

1. Using Synaptic Package Manager (Ubuntu)
2. In terminal run command sudo apt-get install tilda

Once install Press F1 key and u will see a hanging terminal use it and press F1 again to hide. Isn't very simple.

Changing the preferences can be done at the right click of the console (Pressing F1).

Ease a life to great extent.

Enjoy tilda.

Tuesday, June 23, 2009

Arrival of Andriod based Phones

Late but we have it in India too - Android based phone.

To put in simple words Android is the Open Handset Alliance's mobile software platform. Android platform opens up the opportunity for customers to customize their device with multiple mobile applications. Thats sounds good.

Airtel will be coming with HTC magic phone which will be Andriod based. Though its very late but still welcomed by many mobile lovers and developers.

Friday, June 12, 2009

Add-ons collection get new look

Mozilla Foundation add-ons offical page has received a makeover and it looks cool. New design new graphics a total new look. Now it shows number of items in each categories. On right top it shows add-ons download and add-ons in use.

A new feature or utiltiy called collection is rolled out. Collections a way to categorize ,mix ,match and mingle add-ons.

Creating a own collection is also easy. Giving name like "Ashish Web Collection" by selecting what add-ons i would like to put. It will thn be shown in directory and can be send to the freinds or a link in blog. The more people add it as favorite, the higer it will be ranked.

So what you r waiting for lets create our collections. :)

Wednesday, June 10, 2009

Fedora 11: Reign Out

Fedora is a Linux-based operating system that showcases the latest in free and open source software. Fedora 11 continues the Fedora Project's tradition of the Four Foundation: Freedom, Friends, Features, First. Freedom represents dedication to free software and content.

Fedora as we all know is always free for anyone to use, modify, and distribute. It is built by people across the globe who work together as a community: the Fedora Project.

Whats new in the Fedora 11

1. Default ext4 filesystem.

2. 20 Second Startup

3. Latest Gnome, KDE and XFCE

4. Presto : A yum plugin that reduces bandwidth consumption drastically by downloading only binary differences between updates

5. Openchange for interoperability with Microsoft Exchange

6. Firefox 3.5 and Thunderbird 3 latest pre-releases are available

7. Python 2.6

8. Window Cross Compiler : Build and test full-featured Windows programs, from the comfort of the Fedora system, without needing to use Windows.

Helpful links

Download Fedora 11

Screenshot Fedora 11

Screencast Fedroa 11

Monday, June 8, 2009

FireFox 3.5 Beta Shiretoko

Shiretoko can u guess what it is. No but seems like some japnese name isnt'it . Yes its actually the name of Japanese National Park.

But firefox use it for code name. Firefox came with new version 3.5. The beta was relaesd for testing purpose the stable is yet to come. It is claimed as fastes firefox i.e twice as fast as firefox 3.0 and 10 time faster thn firefox 2.0. Amzing isn't it. Its named Shiretoko.

Download beta and test it your self its available in all flavours.

It was build on Mozilla Gecko 1.9.1 layout engine. It come with html 5 video support.

As far as the logo is converned it will be same with some changes in the look and feel like Shape of the tail will no longer be 2D. Some of the textures will be modified: soft fox, glossy earth etc..

So a tough competition betwreen chrome and firefox.

Friday, June 5, 2009

Google Chrome(ium) on Linux

Finally a much awaited browser chrome has been released for the linux and mac platforms too. Not the stable one but for the developer so that the feed back can be received. The name is chromium a open source project behind the google chrome. Being an open source full code with v8 is available for download.

There are many things that are missing in this early version rather the version for the developer. Like you tube video , privacy setting and some other features are missing in this developer unstable edition. But the point is that they have come with suah a nice look and feel for linux and mac also.

If you are not scared of the incomplete, unpredictable, and potentially crashing software go on and click one of following to run chromium on linux

1. 32 bit chromium
2. 64 bit chromium

The first look on ubuntu 9.04

Click on image for bigger and clear image

It looks pretty cool and much faster. All most all the things are working ok. I posted this blog using the chrome. Thanks google for a nice and much stable.

"Installing Google Chrome will add the Google repository so your system will automatically keep Chrome up to date. " So it seems to be well planned so the user have not to bother about downloading and installing the new build.

So my experience .. its awesome cool and much stable too. Happy to see the google chrome on my ubuntu.

Firefox 3 and fonts issue in ubuntu

Sometimes Firefox does not display fonts properly and when the element was inspected it may have the style for fonts that say it to be rendered in arial or some other font. Its very annoying but it's the fact. The fact is we spend much of time on web reading the text so its the most important part of the web.

The best way is to install Microsoft fonts from synaptic or run this sudo apt-get install msttcorefonts in terminal.

Restart the browser. Now the output will be as desired

If you still have the problem in viewing the page and specific to the fonts the reason could be the permissions to the fonts files and directories. Check the permission in your .fonts folder in home directory. May be the read rights missing. Change it accordingly and bingo you fix the problem.

Enjoy the best browser :)

Wednesday, June 3, 2009

IBM developerworks Forum Live Abad

Today IBM developerworks organized a LIVE session at Hotel Pride, Abad. The topic or main agenda is "Leaverage power of web2.0".

The whole day session started at 10:00 in morning and ended at 5:30pm. As the name says the main agenda is on Web2.0 and how IBM does that. Of course the main highlight is to show the IBM Lotus Quickr and connections, websphere mashup. But still the session is very informative , interactive and effective.

Krunal Dureja, Depaak , Nilkanth Tripathi were the key note speakers in this session. They make the session more pleasing by their presentation and interaction skills.

Topics covered are Web 2.0, SOA , REST , WehSphere Mashups, Lotous Quickr, Lotous Connection with many live examples.

Project Zero for WebSphere sMashup : A development community for the smashup making it open developement rather we can say community development.

http://www.ibm.com/developerworks a place to search for technical queries. As the name suggests its for the developers. Registration is free and my developerwork is a great added feature to it allowing to create ones profile.

Crowd mostly the developers seems to be much interested and come up with many questions for making this forum , event a success.

Yes the goodies were distributed for the questions, quiz and un-conference. Unfortunately JAM could not be done due to shortage of time.

Overall a nice , knowledge sharing experience.

Thanks for organizing such events hope to see many more events.

Monday, June 1, 2009

Google Wave New way

Google wave is new tool for communication and collaboration on the web, coming later this year.

Google wave will provide the google documents, gmail in one window.

For more details visit http://wave.google.com/

A new search engine Bing

Microsoft too have fully jumped in search engine business with the launch of Bing. Still its beta as it logo contains Beta. But we can use all it features to use the this page and set English - United States as your default region. This will bring the new look rather full featured bing.

For instance the image of mountain and man which seems to be static in beta is interactive in full featured.

With Bing, you can save your search history on to a local folder inside Bing or to your Windows Skydrive account. Alternatively, you may send your search queries to a friend via email or publish them on your Facebook wall via Bing. You’ll need Silverlight to share queries in Bing.

Bing offers RSS feeds for their web search results that you can subscribe to inside any feed reader. Your browser should be able to auto-detect the RSS feed of Bing pages or you can append &format=rss to any Bing search URL and convert it into a feed.

Bing (and Live Search) supports a unique "contains" search operator that lets you find web pages that contain links to particular file types. For eg. To search document file or any other
type say statistical information contains:d0c. This will show all the pages with statistical information that have link to doc file.

Its said that it is decision engine!. It will help in finding thing on the basis of the previous searches. Adding of farecast feature that will tell whether the price will rise or fall. Ability to hover over a search result to see more information, without having to open a new link.

Try all this open Bing. Search anything you like. This will show the search results. Hover on the result a horizontal line with orange ball will appear on right side. Take mouse on that orange ball. It will load the data about the link with many option at the bottom of it.

Wednesday, May 20, 2009

gOS a new look and feel for your pc/book

gOs is the new Linux-based platform that builds on top of Ubuntu and comes with built in Google apps like GMail, Google Maps, Google Docs, Youtube, Facebook, Wikipedia, Google Mail, Google Maps, Open Office 2.3, Rhythmbox, Xine player, Gimp, Firefox, Pidgin, Skype etc.

The Enlightenment theme and widget like feature on the sidebar make it more user friendly. It also includes Open office, gimp and thunderbird.

So may be due to this they have added g for google or may be for green as this OS is green.

Ubuntu has changed the way user look at linux. They have made it more user friendly but still when it come to user interface they had done nothing good. They have added the orange and different colors to the gnome default lookn nothing more. Look at LinuxMint a good user experience. Now the gOS with very rich user experience. It look more like MAC but still it pleased the end users. It shows almost all the new features of the Ubuntu with new finish looks.

One must give a try to this for a good interface

Go to gOS or direct to download page. One can also view the screen shot and features.

Tuesday, February 10, 2009

Understanding Cloud Computing

Now a days a cloud computing can be hear every where. But actually what is the cloud computing. Why such name ?

If we open any book and find the diagram depicting the Internet its always a cloud so the term cloud is used as a metaphor for the Internet. It is abstraction of the complex infrastructure of the Internet. But we don't care much about what that cloud contains or what it have. We know its used for sending and receiving data. So cloud is internet.

Now a days we use web application for almost all the tasks. Take an example of gmail,yahoo or any other web mail . What we do their ? We open the page give our login information. Data is retrieved from the server. So the client part is doing almost nothing in this case. A simple but powerful example of Cloud Computing. In this case we can say, We open web mail enter credential details and the cloud takes care of the rest. So a great workload shift from client.

Cloud is nothing but various computers, servers , data storage etc... In general term anything that involves delivering hosted service over the internet is cloud computing. These services can be divided in three categories:
1. IaaS - Infrastructure-as-a-service
2. PaaS - Platform-as-a-service
3. SaaS - Software-as-as-service

Infrastructure-as-a-Service like Amazon Web Services provides virtual server instances with unique IP addresses and blocks of storage on demand.

Platform-as-a-service in the cloud is defined as a set of software and product development tools hosted on the provider's infrastructure. Developers create applications on the provider's platform over the Internet. PaaS providers may use APIs, website portals or gateway software installed on the customer's computer. GoogleApps are examples of PaaS. Developers need to know that currently, there are not standards for interoperability or data portability in the cloud. Some providers will not allow software created by their customers to be moved off the provider's platform.

In the software-as-a-service cloud model, the vendor supplies the hardware infrastructure, the software product and interacts with the user through a front-end portal. SaaS is a very broad market. Services can be anything from Web-based email to inventory control and database processing. Because the service provider hosts both the application and the data, the end user is free to use the service from anywhere.

Again a cloud can be public, private or hybrid. Eg: Public Cloud - Amazon Web Service. So public clouds sells a service to everyone on the internet. Private coluds is a proprietary network that supplies hosted services. Hybrid cloud consist of many internal / external providers.

So main goal of cloud computing is to provide easy, scalable access to computing resources.

Key Features as described on wiki are :
- Agility
- Device and location independence
- Multi - tenancy
- Reliability
- Scalability
- Security
- Sustainability

Why cloud computing ?

- Cost cutting on client hardware side
- Clients can access data anytime anywhere.(In n/w)
- No need to buy for each user/employee.
- Storng data on someone else PC no client storage
- Less hardware issues at client side

Useful links
1. http://en.wikipedia.org/wiki/Cloud_computing

Friday, January 23, 2009

Configuring bzr for windows

Bazaar is distributed version control system. Launchpad is a place for hosting bazaar code. Bazaar and launchpad need ssh key pair to work on with. The use of ssh key pair that is private/public key pair safeguards against any kind of brute force attack.

Bazaar runs on Windows, GNU/Linux, UNIX and Mac OS, and requires only Python 2.4.

Generating key pair on windows :

1. Download bazaar from http://bazaar-vcs.org/Download

2. Download PuttyGen and Pageant

3. Run PuttyGen it will show :

4. Click on generate and move mouse to generate randomness

5. Enter the keyphrase and save both key

So the pair of keys generated. This can be used on launchpad to register your key.

Generating key pair in linux

1. Open terminal

2. Run ssh-keygen -t rsa

3. When asked enter the file name for keys to be saved.

4. Enter password to protect you keys

5. File normally get saved in ~/.ssh/id_rsa.pub

This can be used as public key.

Registering key on Launchpad

Ii your ssh key page paste the public key and import and hence your pc is ready for launchpad work :)

In windows we need to run the pageant to load the key.

There was an error in this gadget