Ubuntus new window buttons

Okay, so Ubuntu has moved the close, minimize and maximise buttons to the left. I know there’s been a huge controversy around this since one of the early alphas. Well, I don’t care so much about that. You get used to it after a while, the only problem I see is that there’s a lot going on around the close button, like the file menu, and if the window is maximized, the gnome-menu, so you might easily close a window accidentally.

Printer setup

We got a new Xerox network printer at work a few months back. I haven’t had that much use for it, so I never bothered setting it up on my computer. People around me, using Macs and Windows, were complaining that it was hard getting it to work, and some never managed to get it to work. Knowing that Macs use the same printing system as Ubuntu, I assumed that this would be complicated as well, so I had postponed it for some time.

ubuntu-user at Narvesen

When I’m travelling, I often visit the kiosks at the airport, to see what they have of intresting magazines, specially Linux and Digital Photography magazines. I was visiting Trondheim last weekend, and on the way back, while I were waiting for my plane back to Bergen, I was looking on the shelves at Narvesen at Trondheim airport, Værnes. There were actually a quite good choice of Linux magazines, and one specially catched my eye.

Great news in the software world

During the last week there has been a couple of great releases in the software I use every day. First out was Python 3.1. It was released June 27th and features An ordered dictionary type Various optimizations to the int type New unittest features including test skipping and new assert methods. A much faster io module Tile support for Tkinter A pure Python reference implementation of the import statement New syntax for nested with statements Next out was Mozilla Firefox 3.


Ok. It has been a while since my last post, and quite a few things have happened since then, some of which I will get back to in some later posts. One of the things that have happened is that I attended the “Skolelinux developer summit” or Debian Edu developer summit here in Bergen, with the goal to do some real contribution to free software. I didn’t end up contributing any code at that event.



hvit søle


Merging two lists

Lets say you have two lists, one of them containing the values [1,2,3] and the other one containing the values [4,5,6], and you want to combine these two lists into one list, like this one: [1,2,3,4,5,6]. Let’s see how this can be done in different (high level) programming (or scripting or templating) languages. Java Java has multiple list implementations, lets start with the most basic one, the builtin array.