Blog

Archive for the ‘Computer stuff’ Category

17 May, 2009

Intel X25-M rules on Ubuntu 9.04

Posted by: admin In: Hardware| Linux

I finally got tired of waiting for the prices to drop further so I bought me a little from-me-to-me present, the Intel X25-M SSD. Ubuntu 9.04 already boots pretty fast, but with this drive it’s amazing! As you can read from the chart belove it takes around 10 seconds to get to the login screen. [...]

Jeg hadde heller ikke bekymret meg stort om penger hvis alle i landet med en tv var tvunget til å betale meg nesten tre tusen kroner i året!
http://e24.no/medier-og-reklame/article3079677.ece

Tags: ,

I was astonished to find out that Mercurial was unable to represent empty folders. The most obvious workaround is to create an empty file in each of those folders. But hey, you don’t want to do that by hand do you? Well luckily we’re all using a Linux based OS with an extremely powerful command [...]

I’m so sick and tired of Subversion! A couple of days ago our repository server was down which caused the f… stupid svn client to hang. Not even pressing Ctrl-C would stop it. In the end I had to kill it the hard way. This obviously messed up the svn locks. You should think that [...]

08 May, 2009

NetBeans 6.7 is looking good!

Posted by: admin In: Programming| Uncategorized

I’ve been trying out the beta build of NetBeans version 6.7 and it’s looking very good. The PHP support is becoming very good.
Even Grails support is coming along with support for Grails 1.1. Rumors has it that even debugging is supported now! Nice work!

Tags:

Bah, can’t believe that it took me that long to figure it out. Apparently you need to have the Grails application context up and running in order to use convertes (as XML / JSON) in your unit tests. After moving my test from the unit test folder over into the integration test folder it worked [...]

02 Apr, 2009

Embedded Java LDAP server for unit testing

Posted by: admin In: Programming

I’ve just spent about a day trying different embeddable Java LDAP servers. To save you from all the trouble I came across I’m going to share some of my experiences.
Basically you have three choices when it comes to  embeddable Java LDAP servers (at least open source). First of you have Sun’s OpenDS, they have a [...]

17 Feb, 2009

The OCZ SSD syndrome

Posted by: admin In: Hardware

It’s a shame that all the OCZ disks are haunted by what I like to call the “OCZ SSD syndrome” which is a ridiculous low number of write operations per second. The first disk to be plagued by this problem was the OCZ Core disk. Today I read a review of their Apex model and [...]

Tags: , , ,

29 Jan, 2009

A w3.org standard for smileys?!

Posted by: admin In: Programming

You better be kidding me!!
http://www.w3.org/2005/Incubator/emotion/XGR-emotionml-20081120/

23 Jan, 2009

Unit testing private methods in Java

Posted by: admin In: Programming

Want to unit test a private method in Java?
You could obviously change your methods access modifier from private. By making it public you’re breaking encapsulation and by making it protected you’re making your API less intuitive. Don’t do that.
Another way to go about this is to create a new class that’s extending the one with [...]