Posts Tagged ‘Software Engineering’

Practice

| 1 Comment »

warming up my skills, i got some work to do, i edited the Thisaway (Green) template and made it purple because purple is my favorite color. Graphical It looks ok but the code behind it is a mess. I’ll say its 85% complete.

testing testing

| No Comments »

editing my blogger template 70% complete i think

Models[1]

| No Comments »

this little project has ended, i won’t be posting any more pictures, this is why. Basically I wanted to find a what to find a way to create an RSS feed that is compatibly with my psp, and yesterday I did. It works on my psp, i can now make media available for my psp via an RSS feed. I’ll add a few more pics to the feed but not my blog.

Now that I know how to create an RSS feed, watch this space.

Link
http://www.jworksuk.com/old/blog/model.xml

Game Collection XML[1]

| No Comments »

Yes, I just had an idea of how to update this project. I’ve been wanting to create a post called Games Of 2008, but instead Of doing that i could include the list of games in the current project.

I will add another tag called ‘status’ which will be either “Owned”, “Want”. I will then create an XHTML page which will use the XML file as an data island(i think thats what its called). The page will contain a combo box which will allow you to choose from status.

While making this blog post i realized i could use AJAX scripting, in the project just for the hell of it.

GREAT!!!!

Daily Routine XHTML

| No Comments »

Well I got a new one XHTML, my “Game Collection XML” project is on hold until i figure out how to display images in the .xsl file. XHTML is meant to be the new HTML, i created a XHTML file showing my dream-like daily routine. I got it validated here. Heres the link to the page

Game Collection XML[0]

| No Comments »

updated with an xsl style sheet

Interesting Click Here

Game Collection XML

| No Comments »

I little project i started to help me out with XML i will be storing my games collection in an XML format. Heres the link i will update it as time goes on. Click Here

Ubuntu Linux

| No Comments »

Ubuntu

Finally got Ubuntu 7.10 working on my laptop(Dell Inspiron E1505).
Got my wireless working using this tutorial: Click Click

Once i was connected to the internet i was asked if i wanted to install Restricted for my ATI card –

ATI binary X.Org driver

I also got hold of GLUT which was a headache heres the command:

sudo apt-get install freeglut3-dev

Here is a picture of my desktop
Free Image Hosting at www.ImageShack.us

Coursework

| No Comments »

yup i’m busy got coursework to do, 3 assignments

3SFE517 – Internet Application Programming
Deadline: 15/11/2007
Marks – 25/100

A web company have asked you to add a login/registration facility to their website. They want the following:
1.New visitors to the site to only be able to register (information to include their name, preferred username, password, and date of birth)
2.Returning visitors, who have previously registered, to only see the login facility (so you will need to remember that they have previously registered)
3.If the registration or login process goes wrong, then an error page to be produced (that links back to the registration/login page)
4.If the registration or login process goes well, then the user is presented with the front page of the website.
5.Lastly, if the user is a returning user, there should be a facility for them to ask (perhaps through a checkbox) for their login to be remembered for one hour, so if they quit their browser but then start it again and visit the website within the same hour, the website remembers them and allows them in without asking them to re-login. This is quite an advanced requirement, so the company consider it optional.

The registration/login page needs to be generated by the same Perl/CGI program. Cookies will be needed to remember the various bits of state required by the registration/login CGI. If the last requirement is to be implemented, then you will need to find out how to do automatic redirects.

3SFE550 – Object-oriented Programming
Deadline: 15/11/2007
Marks – 15/100

This coursework involves creating a couple of Java classes; the first is the class Account that models a bank account, while the second class is Transaction that models typical operations (transaction processes) that customers can perform on bank accounts such as depositing money, withdrawing money and closing an account. Interest is also added to the account regularly for those with a positive balance (“in the black”). The desired properties and behaviours of an Account are described below:

* Each bank account is characterised by a customer name, a unique account number (an eight digit number), a balance, and an overdraft limit (which can be one of the three values £0, £250 or £500)
* An account can be “closed” if it has a non-negative balance, in which case, all funds are removed and the account cannot take part in any further transaction processing
* An account that is in the red, in other words has a negative balance (regardless of the overdraft limit), cannot be closed unless the customer first pays off the deficit (so bringing the balance up to zero)
* Withdrawals can be made provided the balance of an account does not go below the overdraft (credit) limit – for example for a customer with a balance of £250 and an overdraft limit of zero, the maximum amount that can be withdrawn in a single transaction is £250. On the other hand if the same customer has an overdraft limit of £100, then the maxim mum amount that can be withdrawn is £350
* Any customer who exceeds their overdraft limit as a result of an attempted withdrawal will incur a one-off bank charge of £25 (e.g. a customer with a balance of £50 and a credit limit of £250 will incur this charge if they attempt to withdraw £301 or more – furthermore the withdrawal will be refused)
* Assume the current rate of interest for accounts with a positive balance is 1% while any account that is in the red (i.e. overdrawn) will also pay interest on the overdraft amount at a rate of 8%

3SFE508 – Computer Graphics
Deadline – 22/11/2007
Marks – 20/100

Write an OpenGL program to meet the following specification.

The program should produce an initial display similar to that shown on Page 3. The bat should be drawn via a horizontal yellow line with a width (thickness) of 2 pixels, and the ball should consist of a white dot of 4 pixels in size at the centre of the display window.

The game starts when the user presses the left mouse button. When this happens the ball should start to move in a straight line path. (see Appendix 1 for background information on movement of the ball). As explained in Appendix 1 the initial angle of the ball’s motion relative to the vertical position should be a random angle between -45 and +45 degrees. If the ball hits the top, left or right edge of the display window then it should bounce off the edges in the normal way (see Appendix 2 for background information on how rebounds can be achieved). If the ball hits the bottom edge of the display window then the game ends (the program should terminate).

The user can move the bat horizontally to cause the ball to bounce off the bat (hence stopping the ball from hitting the bottom edge of the display window). Pressing the key `r’ causes the bat to move horizontally to the right and pressing the key `l’ causes the bat to move horizontally to the left.

Your program should use double buffering, and the display window should be re-sizable in the normal way.

wish me luck