Jan 18

Human beings have different kinds of memory; they remember things in different ways. Three common classes of memory are spatial memory, visual memory and verbal memory. (There’s also chronological memory, but that’s not relevant to my point here.)

I have excellent spatial memory. It’s what I rely on most. For example, if I start to think about how to get to a given place in town, I literally find 3D visualizations of my route flashing into my consciousness. I also have pretty good visual memory; when I make the journey, I verify that I’m going the right way by comparing the visual appearance of buildings and landscape that I pass with the scenes I remember.

My linguistic memory is terrible. If you asked me to name the actual streets on the route, I’d have a hard time remembering them. My mental map of London, for example, only has 6 street names. This makes me a really bad person to get directions from. “You take the narrow road that heads off at a thirty degree angle, right at the place with the green copper roof, over the light colored bridge…”

There’s an upside to my condition. If you rely on verbal memory to navigate, as soon as you step outside your known area you are pretty much lost until you can find a familiar street name. In contrast, I have a pretty good chance of navigating between two known points, even if the area in between is totally new to me.

This hierarchy of types of memory also applies in my interaction with computers. When I want to find my password manager, I don’t remember its name. Instead, I remember that it’s in the bottom hierarchical menu of my KDE menu, positioned near the top, and has a green icon.

I know this experimentally, incidentally: back in the System 6 days there was a joke Mac INIT that removed all the text from the menus. I tried it, and was quite startled to discover that I could still use most of my favorite applications.

With that background out of the way, I would like to talk about why for me, the new KDE 4 application launcher is a user interface disaster of epic proportions.

Continue reading »

Feb 28

At the weekend I decided to give in and get a USB keyboard. I went to Fry’s, hoping to find something suitable, but fearing that all they’d have would be Microsoft keyboards.

I know Microsoft’s hardware quality is better than their software quality, and their keyboards are definitely much better than the trash you typically get with a new PC. They are also to be commended for providing a reasonable ergonomic layout at an affordable price. However, I just don’t like the key mechanism; there’s too much resistance, and it feels cheap.

The keyboard isle at Fry’s had a pretty good selection, including exotic gaming keyboards, glowing l337 h4×0r keyboards, and the extremely overpriced Logitech diNovo Edge.

After some hands-on testing, I settled on a Kensington SlimType keyboard. It’s basically the same mechanism as an IBM ThinkPad laptop, but as an external keyboard. It also manages to provide a full keyboard, with number pad, in a lot less space than my IBM Model M. I was frankly gobstruck to note that it was only $30. I may end up getting the Mac version for the other half of my desk.

My Linux keyboard problems went away immediately with the new device. No more unexpected screenshots or X locking up. I even managed to get all the fancy extra keys working; I can type Euro characters with the Windows key, and accented letters with the menu key, thanks to KDE. Getting the multimedia keys working was a bit harder, and required a ~/.Xmodmap file:

keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 223 = F14
keycode 161 = F13

These keycodes seem to be fairly standard for multimedia keyboards (they match what someone reports for a Dell keyboard), so they may be useful to other people. I made the moon key (161/F13) turn the laptop display on and off. The rightmost multimedia key is presumably supposed to be for firing up your MP3 player, as the icon looks like something rectangular with buttons. I decided to make it fire up Nonpareil, an HP calculator emulator, in HP-16C mode.

So far the new keyboard is working out well, apart from my hands having to get used to a new layout. So if you need a compact keyboard, the Kensington is recommended.

Aug 07

Someone should write a KDE game called ku that gives you Japanese number puzzles.

That way you could run it by typing sudo ku.

Thanks, I’ll be here all week.

I actually got into sudoku a bit recently. I’d tried it on paper and been unable to grasp how it worked, but I got Brain Age for the DS Lite and it includes 100 sudoku puzzles and an interactive training mode.

May 24

One feature the Unix shell offers is customizing prompts. Most ‘power users’ make use of the feature, and it is indeed very handy. However, it’s easy to go completely overboard and end up with a prompt like this:

[21:52:15] [fred@webhost:/var/log/apache] $

The problem with a long prompt is that you quickly hit the right hand edge of the screen and your command starts wrapping. If you use KDE, however, there’s a better way.

Konsole

The xterm program introduced an escape sequence to set the window title. That can help a bit, because now you can put some of the boring info up in the window title, and reserve the prompt for path information.

I use KDE, and the Konsole terminal program in KDE goes further than xterm. As well as letting you change the window title, you can also have multiple terminal sessions in tabs (like Firefox web page tabs), and chance their titles too. The purpose of this posting is to explain the extra functionality in Konsole, and how to make use of it with the bash shell (default in Linux).

Continue reading »