Dariusz on Software Quality

12/11/2011

Bug vs Feature

Filed under: en — Tags: , — dariusz.cieslak @

How often do you (I assume a developer) trying to make a suit for this small creature? Aren’t such “features” just a mistake in software specification? If it’s something that is visible just after product is deployed and it’s OK from specification point of view:

  • Someone has not predicted errant situation during specification phase
  • OR: your waterfall (yes, it’s a linear analysis-project-implementation-test flow!) process is basically not working now

I believe without formal methods you are not able to predict all possible specification inconsistencies before implementation. Even very accurate review process might leave some holes in specification that lead to obvious bugs as a result.

(more…)

09/11/2011

Building packages from sources using Debian/Ubuntu

Filed under: en — Tags: , — dariusz.cieslak @

Sometimes you want to install latest version of selected software package while keeping base system stable. Then installing from source is a safe option to proceed.

First, you have to include sources from fresh system version, below is example taken from Ubuntu, I selected natty (/etc/apt/sources.list):

deb-src http://pl.archive.ubuntu.com/ubuntu/ natty main restricted

Then you should refresh package list:

sudo apt-get update

and install dependencies:

sudo apt-get build-dep ccache

and finally build the new version of a package (note that no root account is needed for that step):

apt-get -b source ccache

As a result there’s a *.deb package, install it:

sudo dpkg -i ccache*.deb

That’s all!

Powered by WordPress