It's 50th post on this blog. I am happy with my contribution. Learning is a continuous process and I am an active participant. Today's post will talk of something that I had never imagined to do in my development career: Testing.
Testing of the product is an interesting job, especially when you are a new user. Past two weeks, I am testing the product I'd be developing.
I'm sharing my experience here:
- Don't test just for sake of doing it; Understand the ecosystem in which your product would be working.
- Take generous logs of your testing.
- Keep an eye on what you can improve: Be it a process or a feature.
- Try to automate processes if possible.
- Try feeding weird input to your product.
- Testing is learning. You become a very good user of your product.
Saturday, July 31, 2010
Friday, June 18, 2010
Bash Command fo you
Once again, I am sharing a few good commands with you.
a) Run command in a subshell
$(cd /tmp && ls)
# You will see the contents of /tmp but will stay in PWD only.
b) Reusing cscope database
$cscope -d
c) If you default shell is csh, and you want to move to bash as soon as you login
- Create a file .cshrc in your home directory.
- Edit and add "bash"
- Save and exit.
d) vi can help you see a split screen with two or more files. Try :vsplit.
a) Run command in a subshell
$(cd /tmp && ls)
# You will see the contents of /tmp but will stay in PWD only.
b) Reusing cscope database
$cscope -d
c) If you default shell is csh, and you want to move to bash as soon as you login
- Create a file .cshrc in your home directory.
- Edit and add "bash"
- Save and exit.
d) vi can help you see a split screen with two or more files. Try :vsplit.
Wednesday, May 19, 2010
Ubuntu 9.10 on Windows XP: Virtual Box
My office laptop has Windows XP installed and I need Windows for sake of Outlook and Communicator. So I started to look out for alternative for having Linux on my laptop. There were three options suggested by different people:
- Get Ubuntu installed and run Windows XP as a guest on VirtualBox.
Now my workplace's IT guys do not install Windows on a VM, so they asked me to create an image of the Windows installed on my laptop. I searched for software to accomplish this and tried a few in vain. I tried a software called WinDD to copy Windows image to my portable HDD and since I did not checked thoroughly where it was copying, I got my portable HDD corrupted. It caused me a lot of pain, my important docs and many pics just got shredded.
Well that was it. I dropped this option.
- Get the Ubuntu on a pen-drive(PD) and make your PD boot-able.
It had a problem that Ubuntu installation was not persistent. Many of my setting could not be saved. Though I got a way to create a persistent image, still it can't save a few things like system time. Verdict: Dropped
- Get the Ubuntu running as a guest on host Windows.
After installing the guest additions, I am very happy with the screen resolution. I got few glitches with network setting and shared folders help. I got over them and will post the details in the next post.
So I am a happy man now, seeing my Ubuntu running on XP. All happy and gay!
PS: I am a fan of VirtualBox and so far have not used any other VM software.
- Get Ubuntu installed and run Windows XP as a guest on VirtualBox.
Now my workplace's IT guys do not install Windows on a VM, so they asked me to create an image of the Windows installed on my laptop. I searched for software to accomplish this and tried a few in vain. I tried a software called WinDD to copy Windows image to my portable HDD and since I did not checked thoroughly where it was copying, I got my portable HDD corrupted. It caused me a lot of pain, my important docs and many pics just got shredded.
Well that was it. I dropped this option.
- Get the Ubuntu on a pen-drive(PD) and make your PD boot-able.
It had a problem that Ubuntu installation was not persistent. Many of my setting could not be saved. Though I got a way to create a persistent image, still it can't save a few things like system time. Verdict: Dropped
- Get the Ubuntu running as a guest on host Windows.
After installing the guest additions, I am very happy with the screen resolution. I got few glitches with network setting and shared folders help. I got over them and will post the details in the next post.
So I am a happy man now, seeing my Ubuntu running on XP. All happy and gay!
PS: I am a fan of VirtualBox and so far have not used any other VM software.
Monday, April 26, 2010
Torrent: Demystified
What is a torrent?
A torrent is like a broker between a customer and a seller. It works in a peer-to-peer setup that means a true democracy; all are equal, no master-no slave.
So you need to download a classic movie, which may be on a computer(s), located anywhere across the globe.
How would you know where is it?
Torrent comes to help you here. You google for a torrent of this movie. Download the torrent and voila!.
Torrent has three primary components:
a) Seeders: People that have a copy of the movie you want
b) Leechers: That's you!
c) Torrent file : It has information about seeders and leechers.
While you are downloading your movie, torrent share the downloaded part with anyone else interested in downloading the same movie. So effectively every leecher becomes a seeder. Now you are even! Hail Democracy!!
A torrent is like a broker between a customer and a seller. It works in a peer-to-peer setup that means a true democracy; all are equal, no master-no slave.
So you need to download a classic movie, which may be on a computer(s), located anywhere across the globe.
How would you know where is it?
Torrent comes to help you here. You google for a torrent of this movie. Download the torrent and voila!.
Torrent has three primary components:
a) Seeders: People that have a copy of the movie you want
b) Leechers: That's you!
c) Torrent file : It has information about seeders and leechers.
While you are downloading your movie, torrent share the downloaded part with anyone else interested in downloading the same movie. So effectively every leecher becomes a seeder. Now you are even! Hail Democracy!!
Sunday, April 11, 2010
Ubuntu 9.10: Wireless network problem with Broadcom Corporation BCM4312
Many laptops with Broadcom Corporation BCM4312 802.11b/g hardware shows no response to wireless network with Ubuntu 9.10 Casper.
I could solve this problem with the following method:
a) Go to System-> Administration->Hardware Drivers
Keep your system on Internet(wired ethernet) while doing this.
Install Broadcom 43 and Broadcom STA driver, activate them then.
b) Reboot and see if it work for you.
c) If not, then do the following:
sudo apt-get --purge remove bcmwl-kernel-source
sudo apt-get install patch
sudo apt-get install bcmwl-kernel-source
This should solve the matter. At least it worked for me :)
Ref: Ubuntu Forum
http://ubuntuforums.org/showthread.php?t=1347483
http://ubuntuforums.org/showthread.php?t=1043168
I could solve this problem with the following method:
a) Go to System-> Administration->Hardware Drivers
Keep your system on Internet(wired ethernet) while doing this.
Install Broadcom 43 and Broadcom STA driver, activate them then.
b) Reboot and see if it work for you.
c) If not, then do the following:
sudo apt-get --purge remove bcmwl-kernel-source
sudo apt-get install patch
sudo apt-get install bcmwl-kernel-source
This should solve the matter. At least it worked for me :)
Ref: Ubuntu Forum
http://ubuntuforums.org/showthread.php?t=1347483
http://ubuntuforums.org/showthread.php?t=1043168
Subscribe to:
Posts (Atom)