How to install DrRacket in Ubuntu 12.04

Image

 

In this article I will show you how to install DrRacket, a popular Scheme editor and compiler, on Ubuntu 12.04.

The generic steps are: add the PPA, update the system, install DrRacket.

DrRacket is a very  popular Development IDE, mostly used for Functional Programming.

Add the PPA:

$ sudo su


# echo "deb http://ppa.launchpad.net/plt/racket/ubuntu precise main" >> /etc/apt/sources.list


# echo "deb-src http://ppa.launchpad.net/plt/racket/ubuntu precise main" >> /etc/apt/sources.list

Update:

# apt-get update

Install DrRacket:

# apt-get install racket

Then goto dash home you will get a icon of DrRacket click it to open

you will get a window as shown below

Image

Now, the firs step is to choose Language

Menu –> Language –>  Choose Language –>  Select the Racket Language –> click ‘OK’

Image

That’s all start scratching your head to learn Scheme.

 

 

What is Quality, it’s different perspectives and Software quality?


What is Quality?
            According to dictionary meaning quality is a property or characteristic of a thing. In engineering word quality is used in the same manner to show the perfection level of a device. Wiki gives a definition as “non-inferiority or superiorityof something”. According to ISO standards quality is “the totality of features and characteristics of a product or service that bears its ability to satisfy stated or implied needs.”
            After so many definitions in general we can say that Quality is a measure of excellence, perfection or a state of being free from defects, deficiencies and significant variations. It is brought about by strict and consistent commitment to certain standards that achieve uniformity of a product in order to satisfy specific customer or user requirements
Let us see Quality from different perspectives.
            Quality is a perceptual, conditional and somewhat subjective attribute and may be understood differently by different people. Consumers may focus on the specification quality of a product/service, or how it compares to competitors in the marketplace. Producers might measure the conformance quality, or degree to which the product/service was produced correctly. Support personnel may measure quality in the degree that a product is reliable, maintainable, or sustainable.
            The user perspective is concerned with the appropriateness of the product for a given context of use. Whereas the transcendental view is ethereal, the user view is more concrete, grounded in the product characteristics that meet user’s needs. The developer / manufacturer perspective represents quality as conformance to requirements. This aspect of quality is stressed by standards, which defines quality as “the degree to which a set of inherent characteristics fulfils requirements”.
What is Software Quality?
            Software quality can be referred to two different definitions; Software functional quality reflects how well it complies with or conforms to a given design, based on functional requirements or specifications. That attribute can also be described as the fitness for purpose of a piece of software or how it compares to competitors in the marketplace as a worthwhile product.
            Software structural quality refers to how it meets non-functional requirements that support the delivery of the functional requirements, such as robustness or maintainability, the degree to which the software was produced correctly.

What is Engineering and Role of an Engineer ?


What is Engineering?
            As per wiki engineering is a knowledge used to design, build, maintain structures, machines and other several processes. You will get several definitions for engineering but the common thing in all definitions is “Designing, Building, Maintaining”. The engineering process is mainly concentrated to solve some problem, find some solution which improves the world around us.
What an Engineer do / Role of an Engineer?
            Engineer important role is to study problem related information and gain knowledge about it. Then inter relate the scientific, economic, social, and practical knowledge to design and build a solution for the problem.
            As it is not a task of one person the engineer should work in a team. Communicate with all the members of team and share knowledge and ideas among each other this helps to understand the problem better and also to find some key issues in the problem.
Engineer(ing) !!! from My perspective.
            “Engineering is not only doing thing, but doing the thing very efficiently”.
According to me engineering is not only building and designing some machines which perform some work. But doing the thing more efficiently in all areas like cost efficient, performance, usability, security, safety and much more.
Engineers are problem solvers, organisers, communicators, calculators and designers. They are capable of clearly defining a problem and its relevant constraints (such as time, cost, etc.) and providing a simple solution.
What is Software Engineer(ing)?
            One of the field in engineering where the solutions are build in software. This can be explained in simple words as “A software engineer is a practitioner of software engineering. Software engineers apply the principles of engineering to the design, development, maintenance, testing, and evaluation of the software and systems that make computers or anything containing software work.”

How to Install WEKA a Data Mining Tool on Windows 7

To learn how to install WEKA a text mining tool then download the below document file.

   https://docs.google.com/file/d/0BxNl7GbwZiZhVTJEbUswZTlUVnM/edit?usp=sharing


This is the GUI you get when started. You have 4 options Explorer, Experimenter, KnowledgeFlow and Simple CLI. Detail on each module is in my next post. Comment if you have any doubts.

Enjoy and Happy Learning.

HOW TO INSTALL PL/SQL DEVELOPER IN WINDOWS 7 64 bit


                                           HOW TO INSTALL PL/SQL DEVELOPER IN WINDOWS 7 64 bit
Properties of System Used
                                           Operating System: Windows 7 Home Premium
                                           Hardware: 64 bit CPU
Pre Requirements
                                           Oracle database installed in system. It can be any 10g or 11g any versions.
                                           Go to http://rajnadaf.blogspot.in/2013/04/how-to-install-oracle-10g-11g-in.html 

                                                                      to learn hot install Oracle 10g in Windows 7 64 bit System.

The following document give you step wise instruction how to install 


 https://docs.google.com/file/d/0BxNl7GbwZiZhbTM1Z1VubGFra1E/edit?usp=sharing  

Enjoy programming in PL/Sql               Happy Learning


HOW TO INSTALL ORACLE 10g / 11G IN WINDOWS 7 64 BIT

HOW TO INSTALL ORACLE 10g / 11G IN WINDOWS 7 64 BIT
Properties of System Used
               Operating System: Windows 7 Home Premium
               Hardware: 64 bit CPU

1. Download the Oracle 10g from the following oracle delivery link https://edelivery.oracle.com/ register there and sign in, then search for Oracle 10g and platform as windows 7 64 bit as shown below. File size will be approximately 280 MB.

Download the file and save in C:\ drive or any your desired location. Then double click on the file.

2. Double click on the downloaded file and click the “NEXT”.


 3. Enter the desired password and confirm it. The username will be “SYSTEM” by default, you can change it after once you installed.

4. Click on “INSTALL” to finish the installation.

Once the Oracle 10g is installed go to the shortcut created on desktop and then change the user name if you want.


Finally click the START –> All Programs –> Oracle 10g –> Run SQL Command Line and connect
to the database.

Hope it Helped you. If u have any doubts or correction please comment.
Thank You and HAPPY LEARNING

Installing NS-2.35 in Ubuntu 11.04

INSTALLING ns-2.35 IN UBUNTU 11.04

 Step 1:

Download ns-allinone-2.34 package from NS2 official site. At present the latest version was 2.35    (http://www.isi.edu/nsnam/dist/ns-src-2.xx.tar.gz)

Step 2:

Copy the ns-allinone-2.34.tar.gz file in your home folder(/home/raj/Desktop in my case).

I have copied it on my desktop.

Extract the contents of the folder using command.

tar -xzvf ns-allinone-2.34.tar.gz                (it will create a file name ns-allinone-2.34)

Step 3:

Open terminal (ctrl+alt+t) and change directory to the ns folder.

$ cd /home/raj/Desktop/ns-allinone-2.34

Step 4:

Install the dependencies

$ sudo apt-get install build-essential autoconf automake libxmu-dev

$ sudo apt-get install gcc-4.4 g++-4.4

Edit Makefile.in which is found at this location ns-allinone-2.34/otcl-1.14/Makefile.in

as follows:

the line number 270 that says:
“CC= @CC@” and make it “CC=@CC@ -V 4.4″                       note : it is caps V not v.

Step 5:

Edit the file ns-2.34/tools/ranvar.cc and change the line 219 :

return GammaRandomVariable::GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_);
to
return GammaRandomVariable(1.0 + alpha_, beta_).value() * pow (u, 1.0 / alpha_);

Similarly, change the lines 183 and 185 in file ns-2.34/mobile/nakagami.cc  to following lines respectively.
resultPower = ErlangRandomVariable(Pr/m, int_m).value();
and
resultPower = GammaRandomVariable(m, Pr/m).value();

open the file ns-2.34/otcl-1.13/configure and change the line number 6304 toSHLIB_LD=”gcc -shared” instead of SHLIB_LD=”ld -shared”

Step 6:

Begin ns2.34 installation

$ ./install

The installation runs for a couple of minutes. Don’t get freaked out on seeing the varieties of warnings and messages over there. . Its normal. Don’t close this terminal. We got some important information in the last section of the installation.

Step 6 :
Add the path information to the file ~/.bashrc

$ gedit ~/.bashrc

Append the following lines to the file ~/.bashrc

export PATH=$PATH:/home/raj/Desktop/ns-allinone-2.34-RC7/bin:/home/raj/Desktop/ns-allinone-2.34-RC7/tcl8.5.8/unix:/home/raj/Desktop/ns-allinone-2.34-RC7/tk8.5.8/unix

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/raj/Desktop/ns-allinone-2.34-RC7/otcl-1.14:/home/raj/Desktop/ns-allinone-2.34-RC7/lib

export TCL_LIBRARY=$TCL_LIBRARY:/home/raj/Desktop/ns-allinone-2.34-RC7/tcl8.5.8/library

Here replace /home/raj/Desktop with the path to your home folder.

Step 7 : For immediate effect, enter the following command in the terminal.

$ source ~/.bashrc

Thats it, folks!! Now type ns in terminal. A ‘%’ symbol will be displayed denoting that interpreter is working. Installation Success!!