Sunday, January 30, 2011

Thariya's Statistical Data Analyzer Beta Version

I developed a software to enter data and to do a statistical analysis. It generates a report to help you understand the distribution of your data set.

This is the first window you get . In the text box, Enter the number of data you have to analyze. If you have 30 data, enter 30. If you exactly do not know how many data points there are, just enter a number which is greater than the number of data you have to analyze. For example, if you think there can be 40 data points, just enter 50 or something. Anyway I designed this to support only to 100 maximum data. So the number you enter should be in the range  5 <= number <= 100 .

Then press 'Proceed'. You will get the following window.

You can type the data in the text box and by pressing the 'Put Data' button, you can enter it. When entering, if you entered an incorrect data, press 'Delete Last' button to delete it.

'Print Original Data' button will print the data according to the order you entered.
'Sort and Print' button will sort the data according to the ascending order and print them.
'Statistics Analyzer' button will open a new window and you can see the analysis of data. Click on the below image to see what conclusions you can obtain.
By pressing 'Back' button, you can go back to data entering window.

This is the 'About' window. Please send me a feed back so that it will help to correct mistakes if there any.

Click Here to Download the setup (734.75 KB). This needs installation.

Click Here to Download only the Application (373.07 KB). This can be used without installation. 

Once you download the software, you will get a zip file. First extract the files. Then you will get a folder and inside that the setup file is included. Install the software using 'Setup' file. This software requires .NET Frameword 3.5 to run. If you still haven't installed .NET framework, run the 'Windows Installer Package' included in the downloaded folder. It will redirect you to Microsoft's website where you can download the .NET Framework.

P.S - I used Visual Studio 2008 as the IDE and C++ when developing the software. The experiences I got from the ST II assignment helped me to develop this. I referred the 'Probability & Statistics For Engineers & Scientists' book to learn how the calculations are to be done and got the understanding of the domain. Since the domain was well understood and the project was a small one, I used 'Iterative Waterfall Model' when developing. This is the output of 10 hours continuous work in-front of my computer.

Special Thanks to Isuru Madanayake for doing the Beta Testing of the software. I dedicate this to Our P&S lecturer, Madame Chandrika Fernando !!!


-Tharindu Edirisinghe-
-SLIIT 10'-

Friday, January 28, 2011

How in install Fedora on Windows, using Virtual Box

If you have not yet installed Virtual Box, first install it. You can download it from Oracle website free.

Run the virtual box and you will get the above window. Click on 'New'. Then you'll get the following window.
Click 'Next'.

Give a name for your virtual machine and select the operating system type and version. Then press 'Next'. 
Allocate memory according to your RAM. It is best if you can allocate more than 500 MB to support the GUI. Then press 'Next'.
select 'Create new hard disk' and tick 'Boot Hard Disk' Then press 'Next'.
Again press 'Next'.
Select an option according to your requirements. I select 'Dynamically expanding storage' so that if the initial capacity of the virtual hard disk exceeds by the time, it will expand the storage. Then press 'Next'.
Give the the location to be stored and the size of the virtual hard disk. It is best to allocate more than 5 GB. Then press 'Next'. 
Press 'Finish' in the next window.
Press 'Finish' again.

Click on 'Settings' when the virtual machine details window opens. Then you get the following window.
Select 'Storage' and click on the 'CD/DVD' icon. Then in the right hand side, select the CD/DVD drive. If you are installing Fedora using a CD or DVD, select that drive. If you have a .iso image you can mount it to a virtual CD/DVD drive using an image manipulating software like Power ISO . You can also browse and give the path to the Fedora image. Then press 'OK'. 

If you are going to browse and give the path to the Fedora image, you will get the following window. Press 'Add' button.
Browse and give the path. Then press 'Select'.

Then the settings window appears again. Now select the Fedora image in 'CD/DVD Device'. Then press 'OK'.

Now your virtual machine starts.
Now the installation process will begin. Select 'Install system with basic video driver' and press 'Enter'.
Select 'OK' and press 'Enter' in the next window.
Select 'Test' and press Enter.
Then the media checking will begin and verify the installation media.
Select 'OK' and press Enter.
Select 'Continue' and press Enter in the next window.
Then the GUI of Fedora will appear. Press 'Next'.
Select language to be used during the installation process and press 'Next'.
Select the language for the key board and click on 'Next'.
If a warning appears, click on 'Re-initialize drive'.
Give a name for your computer and press 'Next'.
Select your time zone and press 'Next'.
Give the password for root and press 'Next'.
Click on 'Next' again.
If it gives a warning, click on 'Write changes to disk'.
Tick the options as the below image shows and press 'Next'.
Then it will begin installing the packages.
After all the packages are installed, the below window appears. Press 'Reboot'.
Now if it again starts the installation process, that means it is booted using the CD/DVD drive. Turn the virtual machine off and remove the CD/DVD. If you mounted the image, unmount it. If you browsed and gave the path to image, clear the path. Then turn on the virtual machine. Now it will start booting from the virtual hard disk. 

Select 'Forward' in the next two windows.
Create the user profile and press 'Forward'.
 Set the date and time and press 'Forward'.
 Then it will show the hardware profile. Select 'Do not send profile' and press 'Finish'.
 If a message box appears, click on 'No, do not send'.
 Login using your user profile password. 
Now you have successfully installed Fedora.
Use Right 'Ctrl' button to take the mouse pointer out of the virtual machine when you want to. 

-Tharindu Edirisinghe-
-SLIIT 10'-

Monday, January 24, 2011

How to install Fedora on VMWare Workstation 6

Click Here to download the PDF file of this post (1.46 MB).

You need to have VMWare Workstation installed on your PC. Run the VMWare workstation and then you get the following window.
Before installing Fedora, we need to create a virtual machine and then only we will be able to install Fedora on it.
Click on the ‘New Virtual Machine’ icon. Then you get the following window. Click ‘Next’.
 Select the option ‘Typical’ and press ‘Next’.
 In the next window, select ‘Linux’. For the version, select ‘Other Linux 2.6.x kernel’ if ‘Fedora’ is not available among the options. Press ‘Next’.
 In the next window, give a name for your virtual machine and Browse for a location where you want to create the virtual machine.
In the next window, you need to select the ‘Network connection’. If you have connected a router to your PC, by selecting ‘Use network address translation’ option, you can connect to internet from your virtual machine also where it uses the same configuration in your main OS .
If you do not need to connect to internet from the virtual machine just select the option ‘Do not use a network connection’. Press ‘Next’.
In the next window, give the capacity of the virtual hard disk you want to create. It’s recommended to give more than 5GB. Tick ‘Allocate all disk space now’ and press ‘Finish’.
 Then it will create the disk.
Now you have successfully created the virtual machine. Press the button ‘Close’.
Then the settings of your virtual machine will appear.
 Double click on the ‘Memory’ and you will get the following window.
Allocate the memory according to your RAM. It is better to allocate more than 400 MB to support the GUI of Fedora. Then press ‘OK’.
In the virtual machine settings, double click on ‘CD-ROM’
Then you get the following window. If you have a CD or DVD of fedora or if you have mounted an ‘iso’ image to a virtual CD/DVD drive, select the option ‘Use physical drive’.
If you have an ‘iso’ image, without mounting it, you can also select the option ‘Use ISO image’, browse and give the path to the image. Then press ‘OK’.
Then click on ‘Start this virtual machine’ from the virtual machine settings window.
Then you will get the following window. Select ‘Install system with basic video driver’ and press ‘Enter’.
Then the following window will appear. Press ‘OK’ .
In the next window, press ‘Test’.
Then it will check the image of Fedora.
Then it will prompt that the image was successfully verified. Press ‘OK’.
In the Next window, press ‘Continue’.
Then the Graphical User Interface will appear. Press ‘Next’.
Select the language for the installation process and press ‘Next’.
Then in the next window, select the language for the keyboard and press ‘Next’.
Then it will give a warning. Select ‘Re-initialize drive’.
In the next window, give a name for your host and press ‘Next’.
In the next window, select the city and press ‘Next’.
Give a password for ‘Root’ and press ‘Next’.
 Then it will give a warning. Press ‘Write changes to disk’.
 Then the file system will be created.
 In the next window, tick the options as appearing the below image and press ‘Next’.
 Then it will start the installation process and the required packages will be installed.
 After the installation of packages, you will get the following window. Press the button, ‘Reboot’.
 Then it will start loading Fedora.
 In the Welcome and License Information screens, press ‘Forward’.
 Then create the user profile and press ‘Forward’.
 Set the date and time and press ‘Forward’.
 In the next window, press ‘Finish’.
 Then you will get a message box and press ‘No. do not send’.
 Now you need to enter the password of the user account and press ‘Log In’.
 Now you have successfully installed Fedora on VMWare workstation as a virtual machine.
 Press left ‘Alt’+ ‘Ctrl’ buttons to bring the mouse pointer out of the virtual machine. By pressing ‘Alt’ + ‘Ctrl’ + ‘Enter’, you can maximize the screen of the virtual machine.

-Tharindu Edirisinghe-
-SLIIT 10'-