Sunday, December 13, 2009
Saturday, December 12, 2009
Here is the overview of the project:
Code Base: OpenOffice.org
Type: Extension for Calc & Math
Name: MatrixManipulator 1.0
The MatrixManipulator 1.0 is addressed to anyone who is following Advanced Mathematics. This can be used as an extension for both OpenOffice.org Calc & OpenOffice.org Math. It's really useful to have a way to check your solutions for the problems on Matrices, that encourages me to develop such thing.
Constraints of the MatrixManipulator 1.0: Since this has a Graphical User Interface there is a limit to the dimensions of matrices. The maximum dimension that MatrixManipulator 1.0 can take is 10x10.
MatrixManipulator can determine :
Addition & Subtraction of two m x n matrices
Scalar Multiplication of a m x n matrix
Multiplication of m x n matrix with n x m matrix
Transpose of a m x n matrix
Whether the given m x n matrix symmetric or skew symmetric
Inverse of a 2 x 2 matrix if it is invertible
Whether the given two matrices are inverse of each other
Determinant of a square matrix
Await for the link that you can download the MatrixManipulator 1.0, in my next post.
Saturday, November 21, 2009
- Find the php.ini file, it's in the "\wamp\bin\apache\apache2.2.8\bin\php.ini " location.
- Open it with WordPad.
- Find (ctrl+f) the upload_max_filesize variable and change its default size of 2MB to any size you need.
- Then restart the wampserver.
Thursday, October 29, 2009
Monday, September 21, 2009
Sunday, September 20, 2009
Tuesday, September 1, 2009
Programming Competetion-2009" has arosed yesterday (31st of August). Many attractive clients were competed in order to hunt treasures as quickly as possible.
There were some eye-catching GUIs. One was Nisansa's GUI, it was simply amazing work done by him.
Here's a screen shot of my client.
Briefing about the Client:
- Its main objective is to grab many treasures as possible which were send by the Server, before they dissappear or before other players take them.
- Client plays without any user interaction. It was done by an artificial intelligence(AI) which coded by us. We used the A-star algorithm as our main algorithm with some modifications. In this game players are not allowing to move diagonally.
- There're obstacles & pitfalls which are not change after game started, player get a penalty if it hits an obstacle & player will die if it has fallen into a pitfall.
Saturday, August 22, 2009
Here's a method to do so...
First you have to import two packages ....
Next go to the design view of your form & click on the form. In the properties of the form see what's the prefferedSize is.
say, prefferedSize = [426,473]
here 426 is the width of your form, & 473 is the length of the form.
Next initiate following variables,
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
//this will get screen dimensions
int X = (screen.width / 2) - (426 / 2); // Center horizontally.
int Y = (screen.height / 2) - (700/ 2); // Center vertically.
here 426 is the width of your form & 700 is a value which makes your form vertically centered.
But you can change this 700 according to the vertical position you want.
Next again go to the properties of your form & go to bounds.
There select Custom Code & enter the following line.
here 426 is the width & 473 is the length of your form.
Then press ok & check again whether the code line you entered is there.
Now run your form & see.
Tuesday, August 18, 2009
So I decided to have a go in Google Search again. Accidently I have found a software that works userfriendly. :P So I thought of sharing that. It was named as "exe4j".
here's the link to download.
(Please note that this is an evaluation copy)
Here's the way......
1. Extract the ZIP file.
2. Goto 'bin' folder inside the 'exe4j' folder.
3. Next double click on 'exe4j.exe' file inside the 'bin' folder.
4. Follow the steps!!!
In this welcome screen jus press NEXT
here just select the Regular Mode & press NEXT
here give a name to your project, select a path to a folder where you need to place your .exe file, just leave other field blank & press NEXT
If your application is a GUI select 'GUI application'.Give the name that you want. (if you give 'sun', you get a 'sun.exe' file)
If you want to add an icon image(.icon) to your final .exe file select 'Icon file' & choose an icon.
Then press NEXT
First provide the class path by clicking on '+' mark at your right hand center. Then a dialog box will pop up. In the archieve field give the path of your '.jar' file. Press ok. Then in Main Class field give the path of your 'main class'. Then press NEXT.
In Minimum Version field just put 1.3
For the simplicity just select No splash screen
If you select exe4j splash screen, you have to give an image file(.GIF image etc.)
Just click on NEXT in stage 8.
After that in stage 9 it will create the .exe file.
Finally we have done with it!!!! To start application immediately press 'Click here to start application' or else go into the folder that you gave earlier.
It is very user friendly!!! Have a GO!!! Hope you too enjoy it !!
All this time I had my Level 2 semester 2 exams + Preparation for the Programming Competetion + My Personal Projects + many more.....
I was really happy until I receive my Acoustics results(Don't ask me the result(I have passed it anyway)). Do you beleive at the start of the semester it was the easiest subject :P . I have applied for a recorrection... & hoping against hope that it will change(Oh God help me!!!).
So, I wish that I will continue blogging without any pauses!!!
Friday, April 3, 2009
I have chosen the project Survey Application under the XWiki Organization.
You can find it by clicking here. I expect valuable comments of you all.