Sunday, December 13, 2009

MatrixManipulator 1.0 is released....

I have released Open extension MatrixManipulator 1.0 today, 13/12/2009.

You can download it from following link:

It still in the implementation phase and I hope to release improved versions soon.

Please put a comment on that extension, on the extension page, because it will immensely help me to improve this.

Hope you get a Graphical User Interface solution for Matlab, up to some extent in the area of matrices.

Saturday, December 12, 2009

MatrixManipulator 1.0 is going to be released.......

Here is the overview of the project:

Project Overview

Code Base:

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 Calc & 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.

m={2..10}, n={2..10}

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

Increase the Import File Size limit in phpmyadmin

  • 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

Too bad!!!

My desktop computer again gave an error!!! er...... This time it's my VGA!!! This makes me to stay in SMART lab till 8.30 pm :(

GOD !!! When will I be able to get rid of this???

Sunday, September 20, 2009

Third year has started......

First semester of the third year of my degree course started on 14.9.2009, it's a beginning of another hard working 16-weeks.

In this semester we are learning lot of interesting CS subjects such as Software Engineering, Computer Networks, Database Management, Intelligent Systems & of course Programming Project.

Hope to dedicate this semester to my studies!!!

Tuesday, September 1, 2009

CSE-Programming Competetion-2009

After many tiresome days of coding & debugging the day of "CSE
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

Have you ever wanted your Form(java.swing) to be displayed on the center of your screen?????

In java there's no straight forward property to get displayed your FORM on the center of the screen.

Here's a method to do so...

First you have to import two packages ....

import java.awt.Dimension;
import java.awt.Toolkit;

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

Convert java applications to .exe

Recently I needed a software(ofcourse an Open Source software) which converts my java applications to .exe file. I have searched Google & find out a software called "jarToexe"(It was mentioned as FREE). But after I was installed it I came across that it's valid only for 30 days. :P So I asked one of my friends. He told a software called "j2e". After installed it & having a look I realise that it's pretty primary software & I can't find a way to answer the questions they raised too. :P

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.

Click Here
(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
Press NEXT.

For the simplicity just select No splash screen
If you select exe4j splash screen, you have to give an image file(.GIF image etc.)
Press NEXT.

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 !!

Hiii All......

I was out of blogging for months.... So, I decided to start blogging again... :P
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

Google Summer of Code-2009

Yaaaa........finally managed to upload a project proposal to GSoC 2009....and hoping to get accepted.....

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.