Tuesday, 10 April 2007

HDD issues

During the last three weeks I have had several HDD;s failing. What it might be that makes HDD;s cause DMA errors, I do not know. R/W on specific sectors on one of my workstation disks caused a core dump. The same thing happened to my old reliable Pentium 3 last Wednesday. I have lost some minor data, but recovering it is tedious. And now a pretty old 8.1Gb drive in another computer has begun to cause DMA errors. Nothing serious yet but taking last weeks errors into account I am worried. I am running dangerously low on HDD;s and I have promised to set up a CVS server for a bunch of students. *sigh* I might have to purchase a new one, less food, more hardware.

And this is what happens to HDD;s that don't behave...

Friday, 6 April 2007

Highpoint RocketRaid 2210 under FreeBSD 6.2-RELEASE

Today I have fiddled with raid, it has been a pleasant ride. Highpoint has supplied good documentation and most problems has been related to my old hardware. When you get hardware for free, there is bound to be trouble. Only one minor flaw from Highpoint's side, you have to change the configuration file for the raid management tools in order for it to even detect the raid controller. This is mentioned once in the FreeBSD specific installation guide for the driver but not in the CLI-tool guide. The configuration file should look like this.

/etc/hptcfg
rr2210
hptmv.status

rr2210 should be replaced with your driver name. I named my driver rr2210.ko as you can see. After doing this, simply start or restart the daemon using.

/usr/local/etc/rc.d/hptdaemon.sh

And you should now detect your controller.

One last thing, why did Highpoint comment out

echo "The daemon is running. Please stop it first."

In the rc-script? I enabled it again anyhow, things like that can lead to headaches just being given exit 1.

Now, back to using that lovely raid card.

Monday, 2 April 2007

A wonderful "Swedish" thing?

I was in town today and bought some things. One of the things I bought was this.

Now, ask yourself. What is it?

The answer is hidden here: It's a multi-purpose pump from France! And YES, I did think twice before purchasing it. cjg pointed out that the designer must have had previous work experience elsewhere, I have no idea what he is implying.

Friday, 30 March 2007

Transform into infinity

I guess eight has a secret identity...


I thought about this some time ago and bet I am not the first one to think of this. Yesterday my lecturer made a similar joke on turning 8 into infinity by twisting it. Inspired by xkcd's (http://www.xkcd.com/c184.html), great comic.

Nominated

Last September I began my "career" as a teachers assistant. I have had a lot of fun teaching, preparing for lessons, doing overtime since some students won't finish their Python labs on time (in particular I remember a 2 1/2 h session of debugging and explaining, but in the end she got that program working as it should and hopefully she learned a lot) and answering odd questions by e-mail and IRC during weekends. If my memory doesn't fail me, I have mentioned that I love this. But some things are worth mentioning twice.

Recently CSC announced this years winner of the Gerd Eriksson price for best teachers assistant of the year. I didn't win, but that doesn't matter. What does matter to me was that I was nominated, someone or some persons took the time to write a letter about what I did well. That brings you warm feeling and once again it makes me want to become even better. I got some blackboard chalk from Gerd herself (she is a teacher at CSC), I believe that my handwriting might improve using a thick kind of chalk and I think my handwriting is terrible. Perhaps I should also practice on blackboard disposition? *ponders* It's a bit like being on stage but I am less nervous about it. What should I do to become a better teacher?

Why does seeing their smiling faces when they reach understanding make me smile? Am I gifted? I just can't believe that I am. Practice makes perfect I hope, both for teachers and students. For now, I will enjoy the moment and be truly happy about it.

"Charming"? I must say that no one has ever called me charming before *continues to ponder*.

Wednesday, 21 March 2007

New "cleaner" njorak version

I made a few minor adjustments, this one is not quite as forgiving as the last version. Since you still need to use Shift + Mode_switch + key in order to get capital letters I figured that I could just clean it up a little. Also, I removed the option to use App on EZ-Reach 2030 since... well... I did mention that it was less forgiving.

! njorak, not-quite-dvorak. Version 1.1
! By Pontus Stenetorp
! Derived from us dvorak, accesses Swedish characters through
! altgr combos.
! Apply it to an ordinary dvorak keymap using xmodmap.
! EZ-Reach 2030 version
! dedicated to spatrik

keycode 43 = d D aring
keycode 44 = h H adiaeresis
keycode 45 = t T odiaeresis

! Start button on EZ-reach 2030
keycode 115 = Mode_switch

Wednesday, 21 February 2007

New chair

I have spent some of the money I have earned, I usually save money since I don't know what to spend it on. But a chair, I did need a new one. My old chair was a chair from IKEA which cost about 500 SEK and was more than broken. It made noises and the seat had stopping pouring out. Since I spend a lot of time in front of my computer I decided that this time I would get a decent chair.

A good chair costs money, a lot of money. In Sweden we have a company called Kinnarps, they make chairs for large companies and they make good chairs. Very good chairs. The problem is that they are expensive, about 5'000 SEK and more. Especially if you want one with seat and back moving independently and many other neat features that makes your back go "AHHH!". After trying out a few chairs at their store in Stockholm I ordered one and today I received it. It cost a lot, but it was worth it, well worth it. My back hasn't felt this good for quite some time and I hope for it to last for at least ten years. I recommend Kinnarps, although I think that it was a little bit of trouble ordering, since I don't own a company. If you are looking for money well spent so that your back will survive all that coding, you do want a decent chair.

Now, I have to get back to studying. I have a lot to do, but at least now my back won't hurt after 8h sessions.

An image of it:
http://www.d.kth.se/~ninjin/images/chair.jpg