Life of the IT-Drummer

A web log from Tobias Rusås Olsen.

Cool trick in Eclipse IDE -> Go into.

I’ve been using Eclipse for some time now, but just recently discovered this trick by accident.
This trick concerns views like Navigator or Package Explorer. If you have lots of projects, it might be annyoing to have open projects over and under the package you’re working in. You can of course use the “close all unrelated [...]

Read the rest of Cool trick in Eclipse IDE -> Go into.

Spring Tutorial,Java Spring Tutorials,Spring 2.5 Beginners Tutorial

Truben linked to a great page for Spring. Check it out!
http://truben.no/journal/spring-tutorialjava-spring-tutorialsspring-25-beginners-tutorial/

Read the rest of Spring Tutorial,Java Spring Tutorials,Spring 2.5 Beginners Tutorial

Some new programming projects.

Recently, I’ve been involved with some projects that have been put out on google code. To be more precise, there’s two of them. Since it’s on google code, everyone can check out the source code and play with it. If you want in on one of the projects, please take contact with me in some [...]

Read the rest of Some new programming projects.

Explanations of Exceptions in Java

Came across a great page explaining the different Exceptions which can occour in Java.
Example:

IllegalAccessException
You are a burgler that are running a Java program during a burglery. Please finish stealing the computer, leave the premises and try again.

The rest are found her: http://rymden.nu/exceptions.html

Read the rest of Explanations of Exceptions in Java

Software Development Cycles

Forget everything you’ve learned, this is how it’s done in the real world.
Software Development Cycles

Programmer produces code he believes is bug-free.
Product is tested. 20 bugs are found.
Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs.
Testing department finds that five of the fixes [...]

Read the rest of Software Development Cycles

JSF: Make your own error messages.

Today we had trouble with changing the default error messages in JSF, they were pretty confusing. After surfing the net, we found an easy solution:

Make a file called messages.properties and put it somewhere in your source folder (for example in a resource folder).
Go to the faces-context.xml, and add the following inside the faces-context tag:
<application>
<message-bundle>resource.messages</message-bundle>
</application>
Open the [...]

Read the rest of JSF: Make your own error messages.

GWT, Java and Josh Bloch at Google.

I came over a great talk at youtube the other day, which I really enjoyed. It’s from Joshua Bloch, currently Chief Java Architect at Google, who has worked with Google Web Toolkit (which is like a ajax and javascript written with the Java-language), and also was part of the Java.util.Collection and java.math libraries among others. [...]

Read the rest of GWT, Java and Josh Bloch at Google.

I’m on Youtube (again)!

I recently installed this amazing program “CamStudio”, where you can record things happening at your screen, and record sound at the same time. Since it was functioning rather well, I decided to take it a step further, and record a video of me doing something useful (I guess). So I made a video about SQL-injection [...]

Read the rest of I’m on Youtube (again)!

Mitt første ruby-program!

Så, endelig har jeg tatt steget inn i rubyverdenen på ordentlig, og laget meg et lite script. Jeg fikk mye hjelp fra Bjørn, som også har bearbeidet koden min litt i etterkant (takk for det!).
Det scriptet gjør, er at det henter ut og lagrer alle tegneseriestripene fra den flotte siden Saturday Morning Breakfast Cereal på [...]

Read the rest of Mitt første ruby-program!

Fancy liten flash-sak.

I dag stumblet Gisle over en side med linker til ti andre sider, og på den ene siden fant vi en liten artig flashsak, og kildekoden lå tilgjengelig, så dette måtte prøves. Her er den:

Håper det funker.
Nytt: Pga enorme mengder trafikk fra tyske myspacelignende sider har jeg måttet fjerne denne flashdingsen. Bu!
Karen bak: [...]

Read the rest of Fancy liten flash-sak.