Archive for February, 2006

DoT forces UK motorists to use Child restraints.

2006-02-28

The Department for Transport might have said something about their
intent a little sooner, I just disposed of ours.

I imagine a number of teenagers will be hoping that the
following bit from the DoTs
car
seats FAQ
is not upheld by the law: “ booster seats – for children 15 kgs to 25 yrs”… 🙂

Stace

Gnome accessibility

2006-02-28

Today I got to the office to find that the SunRay server I had been
using had been upgraded to build 34 of Nevada. Meaning that I had
been logged out. So rather then start fvwm I thought that I
would give JDS another go. Further more, as no one took me up on my
JDS
/ Gnome / Metacity
challenge I thought I’d have another go
myself. To re-cap I want to assign a single key, say ‹F5› to move the
next window to the forefront and give it keyboard focus.

Starting from the ‘Keyboard Shortcuts’ preferences
(gnome-keybinding-properties) I found that I could assign a different
<a href="http://www.gnome.org/learn/access-guide/2.10/ch03s10.html
combination. So far so good, on CDE I had to edit a file manually.
From the actions listed the only one which seems appropriate is ‘Move
between windows immediately’ which by default is bound to shortcut
‘‹Alt›Escape’. However changing this binding to ‘‹F5›’ key does not
quite provide the affect wanted.

The problem is this, when you hold down ‘Alt’ and press ‘Escape’ and
don’t release the ‘Alt’ key the next window is brought to the top and
given keyboard focus. If you now press the ‘Escape’ key again you will
be taken to the next window, press ‘Escape’ again and you will go to
next, and so on in the circular fashion as required. If however you
release the ‘Alt’ key in between each raise-and-focus then the focus
is moved between the next and previous windows. Now Personally I like
this feature. But once assigned to a single key the ‘move between
windows immediately’ simply swaps your focus back and forth between
two windows.

I spent some time searching google and looking at some man pages for
alternative actions to use but have failed to find an alternative.
Thus at this time I have raised an internal Request For Enhancement
(RFE). I’m hoping that I have simply missed the option some where,
but the manner in which wikipedia presents metacity I am not so sure.

Stace

Give Cyclists Room

2006-02-27

Following on from
Chris’
post I must agree that www.givecyclistsroom.co.uk is an
excellent idea and is provided for in the
highway code. Specifically, “
139: Overtake only when it is
safe to do so
” and “give motorcyclists, cyclists and horse riders at least as much room as
you would a car when overtaking
”.

On the subject of the highway code I’d like remind fellow motorists
that at road junctions
pedestrians crossing a road
into which you are turning. If they have started to cross they have
priority, so give way
.” If you are in doubt that motorists ignore this directive, go and cross roads that intersect
round-abouts and see how often cars stop. I’d do it on a dry day,
because on wet days you’ll just get very wet!

One final word, specially for folks traveling north to Scotland,
If another driver flashes his
headlights never assume that it is a signal to go.
. Down here in
the south a flash is often used as a means of saying “you go”, while
in Scotland the flash is used, and one might argue correctly, to say
I’m coming through.

Stace

Shopping around

2006-02-26

Sun UK is this year offering employees the oppertunity to make use of two
goverment backed schemes,
Cycle
To Work
and
Home
Computing initiatives
. With the cycle to work scheme it seems I
could buy a new bicycle with what amounts to a 40% saving. While the
PC scheme saves me about 30% off a PC from PC World. But both of these schemes are really
‘rentals’ which may provide an option at the end to purchase. This
last fact I have difficulties with as I don’t normally buy with hire-purchase or
gamble.

Still, as I like a good bargain I have been looking around virtual and physical shops
and even bought some magazines to help me decide if I want to buy into
these schemes or not. Of course I already cycle to work and thus have
a bicycle and I also own a few PCs. But I’d like to get an off-road
bike with disc-brakes and a new fast PC to play
DOOM 3 :-D.

While searching for PCs and bikes I came across
rectifi search which not only
strives to offer you relevant results and to help you find what you
are looking for, it also shares ideas on how to reduce pollution and
help the lives of those in the developing world. Further more they
donate 92% of their advertising revenue to charity.

Right, on with the perusal…

Stace

XEmacs auto completion

2006-02-24

Just a quick blog to mention auto-completion in XEmacs.

Auto Completion is a very helpful feature when entering the same name
over and over again. Such as complicated variable names or
identifying numbers. Though it can be used for any word (alpha
numeric string),

Firstly, to use completion enable it by adding the following to your
.emacs file and evaluate it (C-x C-e):

(require 'completion)

After you type a few characters, pressing the “complete” (meta-return)
key inserts the rest of the word you are likely to type. Consecutive
presses rotate through all possibilities. If you like the completion
then just continue typing, it is as if you entered the text by hand.
If you want the inserted extra characters to go away, type control-w or delete.

The guesses are made in the order of the most recently “used”. Typing
in a word and then typing a separator character (such as a space) “uses”
the word. So does moving a cursor over the word. If no words are found,
it uses an extended version of the dabbrev style completion.

For further information refer to the text at the beginning of
/opt/sfw/lib/xemacs/xemacs-packages/lisp/edit-utils/completion.el

Stace

Why Write w³

2006-02-01

It’s the silly things in life that are so aggravating. Like why some
Internet registers don’t provide canonical names for their web services.

What I’m saying is that when Tim Berners-Lee first coined the phrase
World-Wide Web in the 1990s I do not believe he meant us to make an initialism
‘www’ out of it and prefix it on to every machine name that provides
http services. After all ‘http’ servers listening on
default http port 80 do not need the ‘www.’ prefix. Its only use is
to distinguish the server from other servers in the same domain. But
then most commonly listed InterNIC servers are world-wide web service
providers. Yes I know that their are other services such as ftp, news and mail.

Mainly all the ‘www.’ prefix does is cause us a linguistic headache
due to the
Pronunciation of “www”.

My browser ‘firefox’ has a half backed notion that if I press
control+enter after entering the URI it will prepend ‘www.’ and append
‘.com’. But that simply leaves me wanting when I wanted a UK domain!

Still some Internet registrations insist that you provide the ‘www.’
portion as they have not registered the ‘www’ as a canonical-name
(cname) to their company name

In short, its not http://www.sun.com, its sun.com. But if you really like
typing the extra characters then why not try http://www.sun.com:80/

😉

Stace