Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Monday, October 4, 2010

Turning point. Strive for excellence till Finals.


It's currently 06:32am and I havnt slept for about 18 hours now.

I tried to reduce my duplicate codes, but everytime i tried, it would stuff up my bonus points.

So i'm praying to GOd that nothing happens so that i will get my final PLATE mark which is 60/100.

I just want to pass this subject so i hope it works.

And like i said in my previous points, there's no point regretting and sooking about the stupid mistakes i've done, such as not managing my time and not giving my all in classes. 

Which is why i've decided to try and be better for the rest of the sem, all the way to Finals.

So i'm going to start writing a new timetable so that i manage my time better and balance out uni with my social life. 

I'm going to put write it in my Red Book because that way i will actually be more motivated to even look at it, and plus, my red book is pretty empty at the moment. I miss it. I've been blogging too much :P

I CAN DO THIS! I mean yes, the next assignments are going to be harder than this one, but i have to give my all and anything is possible with Him by our side and He will appreciate the efforts. 

And in the end, I will just feel awesome :)

Saturday, October 2, 2010

At uni on a Sunday. This is normal.

Trying to refactor is a pain.

Java, will you marry me?

Haha not.

But no seriously i just passed PRINTING!!! OMGSH PRAISE GOD!

I still havent actually passed the actual assignment: 42/100

but hopefully its coz i have:

In total, 184 duplicate code atoms were found when its meant to be around 84!

Then i have 120 invocations when its meant to be around 46!

I feel like i'm not so screwed though :P

Printing in progress :)

Friday, October 1, 2010

Java. Okay so you're not that bad.


I still havnt passed PLATE with 33/100, but its a progress.

And apparently it goes up heaps after refactoring. Or so i hope.

I've waited for so long to see this screen. It's finally printing some bits :) Just need to fix it so that the enemies arent moving in the same position at the same time LOL


Thursday, September 30, 2010

I LOVE JAVA. Oh how it makes me look so attractive.

not.





My table filled with crapp


The windows of death that has been torturing me during this sem

Printing sucks







And that is all.






!

Monday, September 27, 2010

Thank God for Social Networking!

Without Facebook and MSN, i think i'd officially be screwed for this assignment :|

Ima help myslef :D



Well at the moment i'm starting all my programming notes from the start. 

That's a start right?

And i know these messages from God arent like seriously given to you because that's what He thinks is most appropriate for you at a specific time, but i know they are still important messages for life in general.

But sometimes it does make sense when i read it at particular times. 

:D

Today's one:

God wants you to know ... that if you ever need a helping hand, you'll find one at the end of your arm.
And a time always comes when you discover that you have two hands: one for helping yourself, the other for helping others.
Praise God !
 

Sunday, September 26, 2010

Help seeked. . .

Just gotta go and get my head around it so i know what i actually dont understand and im not just sitting there like a freak who dosnt get anything.

Which is kinda true.




I feel like trimming my fringe.

It's normal to cry over Programming right!?

:'(


I havent decided yet, but . . .

i'm pretty sure this is worse than Accounting.

At least for Accounting I can kinda work things out for myself, and its not a biggie if i dont get one part. I can move on to the next 50 billion questions or whatevs.

But Programming. No.

Get it right. Or get everything wrong. !

Sometimes i wish i was a dog . . .

at least they get to lounge around and not worry about a dumb assignment.

Hhhmph

Programming Fundamentals . . .


You



are



the 



worst



!




And that is all.

Wednesday, September 1, 2010

Programming, please play nice.

OMGSH I finally got Step one of this Spaceship Game I have to make for programming fundamentals!

And now I actually want to do it and learn more because I wanna see things happen :D

haha it took 6 hours (it's not completely ready though, apparently one of the lines were wrong and i probs repeated a lot of things) to come up with this:

import java.util.Scanner; // Needed for Scanner class


public class SpaceshipGame
{
public static void main(String[] args)
{
String enemy1; //Enemy #1
String enemy2; //Enemy #2
String enemy3; //Enemy #3
String postion; // To hold initial x position
String velocity; // To hold initial velocity

Scanner keyboard = new Scanner(System.in);

//Create a Scanner object to read input
keyboard = new Scanner (System.in);

//Enemy1:
//Get the initial x position
System.out.print("Enemy #1");
enemy1 = keyboard.nextLine();
System.out.print("-Initial x position:");
String position = keyboard.nextLine();

//Get the velocity
System.out.print("-Initial velocity:");
velocity = keyboard.nextLine ();

//Enemy2:
//Get the initial x position
System.out.print("Enemy #2");
enemy2 = keyboard.nextLine();
System.out.print("-Initial x position:");
position = keyboard.nextLine();

//Get the velocity
System.out.print("-Initial velocity:");
velocity = keyboard.nextLine ();

//Enemy3:
//Get the initial x position
System.out.print("Enemy #3");
enemy3 = keyboard.nextLine();
System.out.print("-Initial x position:");
position = keyboard.nextLine();

//Get the velocity
System.out.print("-Initial velocity:");
velocity = keyboard.nextLine ();

//Display Welcome message?

}


}

And Miguel nearly found my blog today. So if he did. Hi :)