Bela Lugosi's Dead, Jim Below are the 20 most recent journal entries recorded in the "Richard Kettlewell" journal:

[<< Previous 20 entries]

June 18th, 2009
02:22 pm

[Link]

More Python character encoding braindamage
rjk@rackheath:~$ python -c 'print "møøse"'
møøse
rjk@rackheath:~$ python -c 'print u"møøse"'
møøse
rjk@rackheath:~$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
rjk@rackheath:~$ python -V
Python 2.5.2

(...but it's the same in 2.6.x.)

I think it's interpreting each byte in the (actually UTF-81) input string as a Unicode code point in its own right, though another (philosophically different but pragmatically essentially identical) possibility is that it thinks all input strings are encoded using ISO-8859-1.

1 and don't give me the nonsense someone came up with last time about Python having no way to know how the input is encoded. It does have a way, that's what LC_CTYPE is for.

Tags: , ,

(5 comments | Leave a comment)

November 20th, 2008
11:41 am

[Link]

Early Christmas present

Tags: , ,

(6 comments | Leave a comment)

December 21st, 2005
05:30 pm

[Link]

Grammar pick-and-mix

Apropos this and this:

Poll #638007
Open to: All, detailed results viewable to: All, participants: 40

Data point?

View Answers

Less data
31 (77.5%)

Fewer data
9 (22.5%)

Tags: , ,

(32 comments | Leave a comment)

03:09 pm

[Link]

This is turning into a tradition

Same sort of idea as last year:

Poll #637933
Open to: All, detailed results viewable to: All, participants: 26

What do you want for Christmas?

Who do you want for Christmas?

And for the benefit of the shy:

Poll #637934
Open to: All, detailed results viewable to: None, participants: 13

Who do you really want for Christmas?

Tags: , ,

(21 comments | Leave a comment)

December 20th, 2005
05:49 pm

[Link]

Pushing Ice

[info]naath bought me Pushing Ice for my birthday, which I have now read.

There's some familiar Reynolds ideas - human characters encountering technology far beyond their own culture; powerful aliens with questionable motives; important off-stage action; intense personal and societal politics within the human communities.

The book opens with a chase of a moon-sized quest object, with a definite hint of Rendezvous with Rama. Success in this, however, turns out to be a highly mixed blessing, with consequences that give the story a more claustrophobic in feel than the Revelation Space series in the medium and longer terms.

There's a couple of points where I wasn't quite convinced by the actions of some of the characters. In the first example this could reasonably be put down to the viewpoint we get; in the second there is simply not enough suspicion from someone who ought to know better by that point in the story.

That aside, I stayed up far too late reading it last night, which is generally a good sign l-)

Tags: , ,

(5 comments | Leave a comment)

December 17th, 2005
10:50 am

[Link]

Sunset

Tags: ,

(3 comments | Leave a comment)

12:04 am

[Link]

I'm glad it stays up.
Moon )

Tags: ,

(7 comments | Leave a comment)

December 16th, 2005
09:43 pm

[Link]

Followup to previous entries

I found the problem with my rear tire; an ad-hoc repair got me to the bike shop and back and now i have a freshly installed pair of Schwalbe Marathon tires.

I played a game of Lords of Midnight. I lost Xajorkith, having only sent an under-powered collection of second-rank lords to defend it, but captured Ushgarak using most of the top row and a scattering of minor fey and some heroes. Took about 60 game days, could probably have done it a bit quicker in retrospect.

Tags: ,

(Leave a comment)

12:40 am

[Link]

There might have been a Roman agent involved somewhere
00:32 < ewx> do you speak entirely in green?
00:32 < ceb> Non sequiteur, 30-15.
00:32 < ewx> you CANNOT be serious

I've always wanted to be John McEnroe in question tennis.

Tags: ,

(Leave a comment)

December 15th, 2005
05:15 pm

[Link]

It is dawn and Luxor is utterly invigorated. The Ice Fear is quite cold.
Java version of The Lords Of Midnight

Tags: ,

(5 comments | Leave a comment)

03:08 pm

[Link]

Close-ups

Extra points for guessing what kind of CPU it is.

Look closely )

Tags: ,

(12 comments | Leave a comment)

01:41 pm

[Link]

What's this?
What's this? )

Tags: ,

(16 comments | Leave a comment)

December 14th, 2005
11:57 pm

[Link]

And FURTHERMORE

...my back tyre burst on the way to IWJ's for dinner, and I forgot to video Rome.

Fortunately both dinner and the associated company were excellent, and I repaired my bike before heading home; and I can watch Rome on repeat on Sunday, if I remember. But still, I am getting rather bored of bike repairs. Time to find some kevlar-belted tyres.

Tags: ,

(8 comments | Leave a comment)

07:02 pm

[Link]

One step forward, one step backwards

On the good side, I've got no more work to do this year.

On the bad side, I fell off my bike on the way home (just in front of one of the large numbers of police cars who seem to be sculling around hereabouts right now for some reason; they made sure I was OK before heading off). I appear to be building up a collection of jeans with ripped left knees...

Tags: ,

(3 comments | Leave a comment)

04:29 pm

[Link]

The best you can say about him
Top story in "Also in this section". (screenshot in case they fix it.).

Tags: ,

(1 comment | Leave a comment)

December 11th, 2005
08:20 pm

[Link]

Sunday

I now have a brown belt, as does [info]beckyc.

The rest of the day was filled with frustration. Yesterday I'd repaired two holes in my rear tire; this morning the same wheel was flat again, one of the repairs having failed. I replaced the inner tube instead of trying again.

I upgraded my laptop to Tiger, but this didn't work very well; in the end I gave up and did a fresh install and copied a lot of files across from the old install to the new. I'm still working on getting things back the way they were.

I only have three more days at work this year. Hooray.

Tags: , ,

(15 comments | Leave a comment)

01:17 pm

[Link]

Cam wandering

I had a wander round near the Cam on Saturday afternoon )

Tags: ,

(3 comments | Leave a comment)

December 10th, 2005
11:31 am

[Link]

The Lion, The Witch and the ... Angry Flower?
Aslan? Ha!

Tags: ,

(2 comments | Leave a comment)

December 9th, 2005
03:20 pm

[Link]

Chain

Gears ) Cranes again )

Tags: ,

(13 comments | Leave a comment)

December 8th, 2005
10:33 am

[Link]

What were they thinking?
UPS's automated pickup telephone line asks you to speak your telephone number. (And then doesn't recognize it and passes you on to a human who asks for your telephone number again, but that's another story.)

Tags: ,

(9 comments | Leave a comment)

[<< Previous 20 entries]

I deny everything Powered by LiveJournal.com