Welcome to UK Thrash!

The Geek Corner

For all off topic discussion

Moderators: James, Craig, Resilience Records

The Geek Corner

Postby Craig on Mon Apr 23, 2007 10:52 pm

I don't know why, but I felt like starting a thread where I can rant incoherantly about all of my programming assignments and how stupidly, well...stupid they are.

My current one involves the cult classic game Asteroids, but painfully crappily reproduced using Java and AWT. Among my tasks is to replace the Array with ArrayList, convert the AWT GUI to Swing, replace the Enumeration with Iterator and somehow improve the already crap game. I hate Java.

It also turns out that a friend's PC that I built for him in February is now coming up with SMART failures when it boots (basically the hard drive is dying for those of you who don't speak geek). This is after the original hard drive died as soon as we opened the box and we had to send it back and buy another one from another supplier after we didn't have any confidence in the original supplier because between them and ShittyLink, they delayed our order by 3 days. Bastards.

[/rant]

// Edit: The other purpose of this thread before I got going with my rant was that fellow geeks can converse full in the knowledge that nobody understands a thing they're on about :lol:
Last edited by Craig on Mon Apr 23, 2007 10:59 pm, edited 1 time in total.
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Postby Dian Wei on Mon Apr 23, 2007 10:53 pm

Yeah i had smart failure on my other comp the other week. The whole thing got a overhaul so a new hdd was bought.
Gee.... I don't know about the rest of you guys, but lately the only things that truly motivate me are erections and bowel movements.

Thank the Police coming straight from the underground...
Image
Dian Wei
 
Posts: 9132
Joined: Fri Mar 02, 2007 3:24 pm
Location: In the misty morning, on the edge of time.

Postby Metalbrew Stu on Mon Apr 23, 2007 10:58 pm

See Jamie, this is why I'm not really a geek. I don't program in anything but Java really. All real geeks hate java.

It's just so easy to program. Especially when you use Eclipse.
Image

thrashduck wrote:Are you a small boy? :D
Metalbrew Stu
User avatar
 
Posts: 1102
Joined: Thu Jan 18, 2007 6:08 pm
Location: North London

Postby Craig on Mon Apr 23, 2007 11:00 pm

Metalbrew Stu wrote:See Jamie, this is why I'm not really a geek. I don't program in anything but Java really. All real geeks hate java.

It's just so easy to program. Especially when you use Eclipse.


Eclipse is the work of Satan. Why the fuck does it tell me there's an error, but it doesn't tell me why there's an error there. It's like it's mocking me, saying "You can't program, why should I tell you why you're screwing up?" lol
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Postby Dian Wei on Mon Apr 23, 2007 11:02 pm

Java is for gays and men with small cocks. I hate Java.
Gee.... I don't know about the rest of you guys, but lately the only things that truly motivate me are erections and bowel movements.

Thank the Police coming straight from the underground...
Image
Dian Wei
 
Posts: 9132
Joined: Fri Mar 02, 2007 3:24 pm
Location: In the misty morning, on the edge of time.

Re: The Geek Corner

Postby Bane on Mon Apr 23, 2007 11:03 pm

Java is my favourite programming language. I'm not sure how skillful you are at it Craig, but those tasks shouldn't be too difficult. Personally, I don't go near the GUI packages if I can. I perfer my Java to be Web-based. I'm actually just putting the finishing touches on my dissertation project. I coded an online Metal store using J2EE and MySQL entirely in Notepad. 11,000 lines of code. The majority of Java Development Environments I've used over the years are shit.
Bane
User avatar
 
Posts: 198
Joined: Wed Mar 22, 2006 9:02 pm
Location: Ireland

Postby SomeChick on Mon Apr 23, 2007 11:05 pm

Well your project manager, says instead of moaning about Java get on with it!!! hehe :P you know i dont mean it really!!! lol Thankies!!!
Hehe and now ive got a registered account hahahahahahaha!!!
SomeChick
 
Posts: 2
Joined: Mon Apr 23, 2007 11:01 pm

Re: The Geek Corner

Postby Craig on Mon Apr 23, 2007 11:07 pm

Bane wrote:Java is my favourite programming language. I'm not sure how skillful you are at it Craig, but those tasks shouldn't be too difficult. Personally, I don't go near the GUI packages if I can. I perfer my Java to be Web-based. I'm actually just putting the finishing touches on my dissertation project. I coded an online Metal store using J2EE and MySQL entirely in Notepad. 11,000 lines of code. The majority of Java Development Environments I've used over the years are shit.


Well it's my first year at uni. Java itself isn't too bad. I just don't like it when it doesn't work :P

Another part of the assignment is JUnit testing, which I have no clue how to do. I guess I'll figure it out eventually, but apparantly I've now been told by the "project manager" that I should be coding. Bollocks.
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Postby Metalbrew Stu on Mon Apr 23, 2007 11:09 pm

I love eclipse. It even corrects spelling mistakes. I take forever debugging without an IDE, so even knowing where the error is is good for me. Never had a problem with eclipse really. I'm doing my dissertation with it, and it's working a charm.

Also just found a plug in to reverse engineer UML class diagrams. That's a bloody bonus.
Image

thrashduck wrote:Are you a small boy? :D
Metalbrew Stu
User avatar
 
Posts: 1102
Joined: Thu Jan 18, 2007 6:08 pm
Location: North London

Postby Craig on Mon Apr 23, 2007 11:11 pm

Metalbrew Stu wrote:Also just found a plug in to reverse engineer UML class diagrams. That's a bloody bonus.


Haha, we were actually taught about that in our first year. Wrong move. Now everbody is just coding it all first, then handing in class diagrams produced in Eclipse. The plug in is Omondo?
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Postby SomeChick on Mon Apr 23, 2007 11:12 pm

Project manager is only acting in your best interests! She is the best project manager, and this is proven Dudlian fact! but your the bestist coder!, and project manager has secret chocolate biscuits, for when the going gets tough this week!! hehe :D
SomeChick
 
Posts: 2
Joined: Mon Apr 23, 2007 11:01 pm

Postby Metalbrew Stu on Mon Apr 23, 2007 11:13 pm

AgileJ is the one I found.

I fucking hate UML. I made a crappy one to show my supervisor ages ago, but my code is totally different now. On my original class diagram there were 15 classes, I've got 40 now!
Image

thrashduck wrote:Are you a small boy? :D
Metalbrew Stu
User avatar
 
Posts: 1102
Joined: Thu Jan 18, 2007 6:08 pm
Location: North London

Postby Resilience Records on Mon Apr 23, 2007 11:18 pm

Metalbrew Stu wrote:AgileJ is the one I found.

I fucking hate UML. I made a crappy one to show my supervisor ages ago, but my code is totally different now. On my original class diagram there were 15 classes, I've got 40 now!


40 classes you n00b, i have 3 yeah. its well bum.
Heavy Metal is the Law.
Resilience Records
User avatar
 
Posts: 2125
Joined: Wed Jul 12, 2006 2:17 pm
Location: North London

Postby Craig on Mon Apr 23, 2007 11:20 pm

Ouch :?

The problem with this assignment is that it throws randomly placed ArrayIndexOutOfBounds exceptions. I've tracked the error down to the iterator, where it moves to the next element in the ArrayList.

The game was supposed to be modified so that every time an Asteroid is moved to an area out of the screen it's deleted from the array, to free up memory and free up spaces in the ArrayList.

My guess is that the code to remove an Asteroid is being called by multiple threads at the same time, therefore fucking everything up. I can't think of any way to stop it, so I'm stuck. I hate Java.
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Postby Bane on Tue Apr 24, 2007 5:55 pm

There are 10 types of people.

Those who understand binary, and those who don't.
Bane
User avatar
 
Posts: 198
Joined: Wed Mar 22, 2006 9:02 pm
Location: Ireland