BigDecimal and JDBC since Java 5.0

In one of my projects I came across an interesting problem with BigDecimal values. The project uses a persistence framework to persist Java objects into an Oracle 9i database with the Oracle JDBC driver 10.2.0.3.0. I could also reproduce this problem with Hibernate on a Microsoft SQL Express 2005 database using the Microsoft JDBC driver 1.2. The problem was that sometimes when I tried to store objects containing BigDecimal values the following exception was thrown and the object could not be persisted: Read more →

Get rid of useless Windows restrictions

Sometimes you have to accomplish work on a windows PC where you do not have administrator privileges. This can be quite frustrating if you are a power user and you are used to your shortcuts and tools. Here are some tips to get rid of useless limitations some system administrators may have configured to your workstation. To adapt the system to your needs you have to use two tools: The group policy editor. Read more →

Disabling RAID autodetection in Ubuntu

Last week I removed two mirrored hard disks from my old home server running Ubunut 6.06 LTS and put them into my new VDR. After that I was not able to boot the server again. It always stopped saying something about “… RAID autodetection …” So RAID autodetection is a nice feature when you want to have your RAID devices available after booting the system but what if you want to get rid of it? Read more →

Debian Troubles with fake start-stop-daemon

Today I experienced a problem with my VDR linux system I never had in the last years on any linux system. I switched on my system and wondered why I could not connect with ssh. Then I realized that no service was running - no samba, no http, no vdr … I had to connect the PC to a monitor and start it again to see that every time a service should be started the following message was printed: Read more →

Fonts for Code

I did never really bother about what fonts to use for programming. The default of the the IDE was fine for me. Then I came across this article of Coding Horror about a month ago. One sentence in the conclusion of it made me think: Please don’t use the default Courier New typeface. Be kind to your eyes. So I took a closer look on what ClearType really means. This wikipedia article and the Microsoft page about ClearType helped a lot. Read more →

Setting up subversion on Debian etch

Yesterday I installed subversion on a Debian server again and I had too look for some guidance in the web again. This time I decided to write it down for myself. I installed the following packages with aptitude: sudo aptitude install libapache2-svn subversion subversion-tools Afterwards the needed modules were already enabled in my apache2 configuration - I looked in /etc/apache2/mods-enabled/ and saw dav.load, dav_svn.conf and dav_svn.load linked. All I had to do was to create a repository by using svnadmin: Read more →

Finally WLAN bridge with WPA

Ten days ago I installed my new Linksys Router WRT45G router and set up a wireless bridge for my home network. I had some problems with getting everything working like I wanted it to - see my post. Today I took another attempt and was successful. Now I got a secure wireless connection in bridge mode. I wanted WPA because it is much more secure than WEP and in bridge mode it is easier to reach all my devices. Read more →

Setting up a wireless bridge

Two weeks ago I moved to a new flat. This means a lot of work - one of my tasks was to set up the home network (while my wife’s task was to think about the color of the curtains 😉 I had to connect five devices: workstation, notebook, XBOX, VDR and a Linux server. While the workstation and the notebook are situated in my workroom the others are placed in the living room. Read more →

Blue screen win32k.sys fixed

Within the last two weeks I had to experience the following BSOD (blue screen of death) several times a day: The error always came from the win32k.sys file: *** STOP: 0x0000008E (0xc0000005,...)`` *** win32k.sys - Address BF8E270C base at BF800000, DateStamp ... I did a lot of web searches and found many users writing about similar problems. Upgrading the video driver as many sites suggested did not improve the situation but finally I found this Microsoft feedback entry. Read more →

Debian update troubles

Today I had some problems with updating my Debian system because some of the updates had unresolved dependencies. I found out that my provider made a small mistake inside /etc/apt/sources.list- can you find it? #deb ftp://ftp.debian.org/debian stable main contrib non-free deb http://security.debian.org stable/updates main contrib non-free #Local server: deb ftp://83.137.232.178/mirror/ftp.debian.org/debian/ sarge main contrib non-free Hint: On April 8th Debian etch was released. In my sources.list the security updates are loaded from the stable repository and the other packages from the sarge repository. Read more →