Ville Witts blog

Recent blogs

The Dvorak swich

2007-09-15 19:16:29

I now fully use the simplified keyboard, a. k. a. "dvorak" layout - and I won't go back, it's simply a pleasure to use. It took me approximately one month and I now type "10-finger/no-cheating/no-looking-at-keys" style. Back on QWERTY, I tried to do the same, however happened to "cheat" because I was "used to it".

If you can read Danish, I suggest you visit DanskDvorak.dk ("DanishDvorak"), it has a lot of well explained general info about the layout, the history, good/bad side of switch, help how to switch, etc.

Ville Witt

Unspoiled newbies use CLI?

2007-01-30 05:22:21

I have been reading both In the Beginning was the Command Line by Neal Stephenson and The Command Line - The Best Newbie Interface? by Richard Wareham. I do accept CLI and think it is better than most think however, I don't think it is the best interface for everyone.

Ville Witt

New 19" monitor and udev probs

2006-12-23 00:57:31

Yesterday I got a brand new 19" TFT monitor, nice! While having two monitors on a single desktop computer is nice, it's annoying that I haven't yet figured out how to make X windows use both monitors. My kernel corretly recognizes the Nvidia GeForce 4 and Matrox Millenium II cards, and they are useable in console. I will return when news appear.

I have a bttv878 based and well supported TV card, AverMediaTV, which I messed around with today. What are the dear Gentoo developpers up to?! Either the udev configuration lacks backward compability for video cards or my TV viewer is to old for udev support! My kernel recognizes drivers and the video grabber correct, but /dev/video0 don't seem to "emerge" as most of the documentation out there states it should do. Writing udev rules by Daniel Drake, explains both how to write udev rules, but also some background stuff which I lacked. I beleave I am able to solve this problem now - if that is the case, I'll very soon publish my findings.

BTW, I realized today that I almost 10 years ago registered my first linuxbox, more precisly in February 1997. Sigh!

Ville Witt

First course passed.

2006-12-22 00:19:55

On December the 21st. I passed the course Discrete Mathematics and Databases at institute of Informatics and Mathmetical Modelling. Working with the math, the foundation, of all relation databases has been very enlightning and I will work more with it in the future.

Meanwhile in the course "introduction to object oriented programming" (aka OOP) two of my fellow students from DTU has developped a poker engine. Some time ago, I have been programming in an object oriented enviroment - in fact villewitt.net is implemented using classes in PHP 5 - but I have never before coded such a large project with others in java. This gave me a little idea of what it is like to develop in teams and via CVS, which I value alot.

Last saturday, on december the 16th. I had an examn in math 1, one more to come tho. Math 1 is the first level of math that most of all engineers in Denmark needs to pass. BTW, engeineer in Denmark is a "Master of Science".

Ville Witt

Proc interface - /proc/loadavg

2006-11-03 01:56:34

In the last couple of days, I have played around with Linux. Gentoo was installed, then it was removed in favour of Ubuntu 6.06. Now I only have Gentoo again.

Playing around with the /proc/ kernel subsystem I found out that the 5 coloms in /proc/loadavg is(in correct order):

Avg. load in minutesTasksPID
1515running/totalPID
cat /proc/loadavg1.00 1.010.962/609964
cat /proc/loadavg1.001.010.962/609965
ls -R / | grep ...
cat /proc/loadavg1.841.371.122/6010363
cat /proc/loadavg1.171.271.102/6010403
cat /proc/loadavg1.051.211.092/6010419
cat /proc/loadavg1.001.041.052/6010504

I found out that the first three fields are relative to the user - how much CPU a user uses. It doesn't mean how much the CPU is actually in use, only how "busy" a USER is. BTW the kernel accounts for users logged in multiple times. It is clear after the command "ls -R / | grep somethingthatisntonthissystem" (Get all files'N'folders on system and then sort in these. This is just for some workload.) that the average load rise.

The Forth field contains the amount of running and total tasks. Sleeping tasks are equal total minus running.

The fifth and last field is the parent PID.

Ville Witt

Im complex!

2006-10-03 23:11:26

We will study complex numbers in private for two weeks. I'm happy to dive into the wonderfull world of complex numbers.

Ville Witt

Matrix and java

2006-09-19 08:20:58

The past two weeks we have worked with guass-elimination - A very effective algorithm to simplify matrixes. In the near future we shall learn about the complex numbers.

In java we are still down at the really basics - nothing new there.

Ville Witt

Technical University Rocks!

2006-09-05 07:26:25

Yesterday the fourth of September, was my first day as Civilengineer student on the campus, btw I have a funny title now: stud.ing. Today will be my first real day at DTU - we will be learning Java.

Ville Witt

Copyright Ville Witt 2005-2006