Peter Maydell Below are the 20 most recent journal entries recorded in the "Peter Maydell" journal:

[<< Previous 20 entries]

July 6th, 2009
08:27 pm

[Link]

what a palaver

I'd forgotten how much of a pain it was to replace the front inner tube on the Twenty; I'd much rather have rear punctures than front ones...

(The culprit was that classic, the wet fragment of glass.)

(Leave a comment)

July 5th, 2009
09:09 pm

[Link]

cycling: northern villages

I went out on a bike ride this evening, something I haven't done for ages (apart from commuting). When I was in Reading and anime night was out in Tadley I had a weekly 12-miles-each-way ride; these days I find that without the incentive to do at least one reasonable length ride a week (regardless of weather, tiredness, mood, etc) I don't actually get round to it very often...

Anyway, tonight's ride was a circle round some of the villages north of Cambridge: out to Fen Ditton-Waterbeach-Landbeach-Cottenham-Oakington-Girton and back in again, for just over 19 miles in total. The sun was still out but the temperature had dropped off nicely and there was a bit of a breeze; really nice cycling weather. Not too much traffic either.

(2 comments | Leave a comment)

02:20 pm

[Link]

summer anime

So, summer season of anime's started, and hashihime has the usual roundup/summaries. What better way to spend the summer weekends than skulking indoors in the shade watching anime until the temperature drops back to a more habitable range?

These are the ones I thought looked interesting (ie where I've seen one episode and liked it enough to want to watch more):

  • Aoi Hana: from the director of Honey & Clover; "school-life comedy-drama", says hashihime; ep1 was more drama than comedy.
  • Taishou Yakyuu Musume: 1920s Japanese schoolgirls start to play baseball. Think Princess Nine in the Taishou era. Yeah, it's a sports anime, but on the other hand, 1920s Japan. I'm trusting the initial burst-into-song bit will not turn out to be a permanent feature...
  • Spice & Wolf: hurrah, a second series of the wolf-goddess-and-mediaeval-merchant anime. I watch it for the economics.
  • Saki: OK, this one's from Spring; "yuri moe sports anime about mah jong". I'm watching it for the fantastically cheesy CGI mah-jong game sequences, honest. (They don't go easy on viewers who don't know the rules, incidentally.)

(Speaking of the Taishou era, I just stumbled across news of ABe's latest project Despera, which if we're lucky might turn out to be a sort of steampunk Lain.)

(4 comments | Leave a comment)

June 21st, 2009
05:42 pm

[Link]

Hmph

Apparently there's some new Azumanga Daioh manga out in Japan... One blogger reckoned it was sort of Azu Daioh in the style of Yotsuba; hmm. Also for some reason half the blogs I've read remark that the new stuff has punctuation characters in the dialogue text...

Annoyingly, it looks like the only way to get the new strips is to buy the whole series again in its new reissue which has all the old stuff, in some cases redrawn (rehashed? :-)). The "pay us all over again!" effect is rather like a "director's cut" DVD...

Couple of sample new strips in this blog post, which (like most of the other links) will be of most interest to the 2.5 readers who read Japanese.

update: couple of old-vs-new comparison frames here.

(Leave a comment)

May 4th, 2009
04:43 pm

[Link]

anybody want some car-related stuff?

I have some bits and pieces still lurking around the house from having sold the car, which I obviously don't need any more; anybody interested in any of them?

The main thing is a battery charger (Halfords "fully automatic"). This is 38 quid new and is only six months old or so. Any offers?

I also have:

  • a full or nearly-full bottle of tesco's conc. screenwash
  • a half bottle of 15W40 oil
  • a bit less than half a litre of antifreeze

If anybody wants these they are welcome to them as it saves me having to work out how to dispose of them properly...

(1 comment | Leave a comment)

April 28th, 2009
11:25 pm

[Link]

should have built up an immunity
From the Yomiuri Shimbun:
MITO--A senior police officer at Mito Police Station who fell asleep after drinking tea laced with sleeping pills, allowing a suspect to escape Friday, reportedly accepted a request from the suspect during questioning to exchange tea cups and drink at the same time, it was learned Monday.

Naoto Tsuge, 24, who had been arrested on suspicion of an attempted theft, asked the 30-year-old officer for the two of them to drink their tea in one gulp, according to sources.

Bet you thought that old switch-the-cups routine never worked!

(1 comment | Leave a comment)

April 10th, 2009
07:11 pm

[Link]

Cambridge -> Capel

Since it didn't look like it was going to rain, and I'd more or less shaken off the cold that's been dogging me this week, I decided to cycle to my parents for the weekend rather than taking the train as I usually do (route, except Bikely has been flaky this week and you might well get a blank page; try shift-reload).

  • Distance: 53.26 miles (as the cycle computer flies)
  • Time door-to-door: 6 hours
  • Time spent actually moving: 4hrs30
  • Average speed when moving: 11.7mph
  • Hills walked up: 1 (Polstead)
  • Malt loaves consumed: 1

This is one of those rare routes where the main road (the A14) curves well away from the straight line route, resulting in a route which can stick to quiet rural roads without having to take huge detours to do so. The worst bit is actually the section climbing from Fulbourn at 5 miles out to Balsham at 10 miles: once you've got up there the rest is broadly downhill. The section from Acton to Boxford was also quite tough because I was getting a bit tired and it was more into the prevailing wind.

PS: I will be taking the train back on Friday :-)

(Leave a comment)

April 4th, 2009
11:08 pm

[Link]

Tesco ontology
All breakfast cereals can be divided into two categories:
  • Healthy cereals
  • Kids cereals
Also, muesli is not a cereal.

(2 comments | Leave a comment)

March 29th, 2009
04:04 pm

[Link]

Today's cycle ride was a loop round some of the villages east of Cambridge; about 27 miles as the cycle computer flies. Total time door-to-door just under 2.5 hours. The bit from Fulbourn up to Balsham is hillier than I think Cambridgeshire has any right to be :-)

(3 comments | Leave a comment)

March 22nd, 2009
04:33 pm

[Link]

horse's head in the (flower) bed

Since it was such a nice day today I went for a cycle ride. Not a very long one (bit less than 20 miles total) but then I haven't done much cycling except the commute since Christmas, really. Out via Fulbourn, the Wilbrahams and Swaffham Bulbeck before stopping at Anglesey Abbey near Lode for a wander round the gardens (they have a reduced price entry fee for people who came by bike :-)). The gardens turned out to be rather crowded (no doubt due to the date and the fact it was a sunny spring weekend) but were pleasant nonetheless. The short leg home was rather less so because I was fighting a headwind all the way...

(1 comment | Leave a comment)

February 14th, 2009
11:51 am

[Link]

[Guide dog owner Kimura] quoted Aso as saying he was confident about being liked by dogs. Sadly for Aso, dogs don't vote in the Japanese elections, and nobody else seems to agree with the dog...

(Leave a comment)

February 10th, 2009
08:44 am

[Link]

hmm, doesn't sound like good news...
Shipments of mobile phones in Japan dropped by nearly a fifth in 2008...

(1 comment | Leave a comment)

January 22nd, 2009
08:12 am

[Link]

Just under a year ago I made a post talking about a kanji learning website called Reviewing the Kanji and said I thought I'd have a go at working through it.

I have now finished the RTK1 set of 2042 kanji. I'm quite pleased with this because it's been a fair old slog. The site tells me that in the process I've reviewed 16672 flashcards...

Caveats: this means that given one of 2042 English keywords I have a ~90% chance of being able to correctly write the associated kanji. It doesn't necessarily mean that on seeing the kanji I remember the keyword (or 'meaning', to the extent that it makes sense to talk about 'meanings of kanji'). It's more like knowing a very big alphabet than knowing any words.

(1 comment | Leave a comment)

January 17th, 2009
07:31 pm

[Link]

directory enquiries service recommendations?

A month or so back I had cause to use a directory-enquiries service (a rare thing, but I had my mobile and I didn't have any kind of internet access :-)). Not having prepared for this, I wound up using the service whose adverts had done the best job of sticking their number into my brain. For the future, I'd like to stick a number in my mobile selected on some more rational criteria like cost or competence. Anybody got any suggestions?

(1 comment | Leave a comment)

January 16th, 2009
09:48 pm

[Link]

now available in stereo

I can now hear through both ears again. This is a tremendous improvement.

(1 comment | Leave a comment)

January 2nd, 2009
07:56 pm

[Link]

hours of fun

One of this year's Christmas presents was an iPod Shuffle. Now obviously Apple would like me to use iTunes, but since that's Windows and Mac only it's not much good to me. So I wrote a Python script called reshuffle instead. The idea is that I can just put the Shuffle in the USB cradle every so often, and the script will remove tracks I've heard and new add tracks from the PC. It keeps track of what's been played so I won't hear anything twice until it's been all the way through my entire music collection.

This is my second Python script, and I find that I really quite like it. It's easy to write without constantly going 'what was the syntax for that again?', the standard libraries are extensive, and language features like list comprehensions and 'with' mean it's not too hopelessly verbose. The language syntax reference documentation is not very helpful, but that's a minor nit.

Tags:

(3 comments | Leave a comment)

December 25th, 2008
10:03 pm

[Link]

Basic Chemistry through Moe

The Mainichi Shinbun alerts us to the publication of 'The Periodic Table: Learning Basic Chemistry through Moe', featuring cute-anime-girl personifications of the elements. A quick google dug up a couple of sample pages:

  • Potassium ("I don't wanna be used like that")
  • Chromium ("My acid-resistant blade is invincible")
  • Xenon ("A maverick, huh? Well, that's not so bad...")
PS: I don't think the Mainichi's "Learning through Moe" quite captures the feel of "萌えて覚える"...

Tags:

(3 comments | Leave a comment)

December 23rd, 2008
10:09 pm

[Link]

Two steps forwards, one step back

The idea of reverse debugging seems to have been gaining ground recently. Reverse debugging is where, as well as being able to step or run forwards through your program in the traditional way, you can go in the other direction. Like most forms of time travel, this would obviously be phenomenally useful if were only possible.

One way to achieve this is to simply record all the details of the execution run of a program, and then do your debugging on the resulting data file (in which case as it's all post-mortem going backwards is as easy as going forwards). This is the approach Robert O'Callahan took with Chronicle, which is a plugin to valgrind. Chronicle's actually been kicking around for over a year now without much development effort as far as I can see -- it just suddenly appeared fully formed and then sat there in that state.

Robert did an Eclipse-based front end to Chronicle traces, and there's certainly a lot to be said for the idea of dumping the traditional debugger UI in favour of something more directly suited to analysis of execution traces. But somehow I couldn't really get to grips with it (partly this is my dislike of GUIs, I suspect).

The other piece of the puzzle is that the gdb folks have been doing some work on reverse debugging too. The necessary UI, innards and remote protocol support code all landed in the gdb CVS repository relatively recently.

So in fact it's possible to get gdb to talk to chronicle traces (including reverse debugging) just by writing a gdbserver which talks gdb remote protocol on one end and talks to the chronicle query engine on the other. The fact that Andrew Sutherland has helpfully written some Python bindings and utility code for querying chronicle traces makes this easy, even.

Over the last few weekends I've been fiddling about with this idea, and I've now got to a point where it seems worth making available (in an 'alpha' kind of way):

pm215@canth:~/chronicle/chronicle-gdbserver$ chronicle-gdb tests/00_simple
/usr/lib/python2.5/site-packages/zope/__init__.py:19: 
UserWarning: Module simplejson was already imported from
/var/lib/python-support/python2.5/simplejson/__init__.py, but
/var/lib/python-support/python2.5 is being added to sys.path
  import pkg_resources
GNU gdb (GDB) 6.8.50.20081216
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
main () at tests/00_simple.c:2
2       int main(void) {
(gdb) s
main () at tests/00_simple.c:3
3         printf("Hello\n");
(gdb) s
4         printf("world\n");
(gdb) rs
3         printf("Hello\n");
(It does reverse continue and watchpoint and breakpoint too.)

For further waffle, tarball, installation instructions, etc, see the web page.

Hopefully I'll be able to fix some of the things on the TODO list and maybe try it out in anger. Longer term, perhaps I'll throw it away in favour of some completely non-gdb based interface to traces. I'm thinking perhaps something that let you easily plug in code to identify 'events' specific to your program (eg "loaded HTML page", to pick a browser example) so you didn't have to do all your debugging at the very lowest level all the time. OTOH recent gdb lets you embed a Python interpreter so perhaps you could move in that direction without abandoning a familiar UI...

(6 comments | Leave a comment)

December 13th, 2008
11:35 pm

[Link]

better just to avoid using them at all...
I've always had a slight nervousness about pronoun use in Japanese -- I don't have enough practice at casual speech to feel confident -- so I thought this article in the Asahi about 'omae' was interesting (not that I'd use it anyway).

Tags:

(4 comments | Leave a comment)

December 1st, 2008
11:00 pm

[Link]

uncaged

I finally got rid of the car this morning (although the scrapyard tried to prevent it by first not turning up on Saturday and then being 45 minutes late today).

Now all I need to do is get the bicycle fixed (and maybe buy a nicer one and turn the Twenty into the spare... I'm fishing for ideas on uk.rec.cycling about that [that's <l7s*pgrts@news.chiark.greenend.org.uk> for the usenet-enabled].)

(Leave a comment)

[<< Previous 20 entries]

My Website Powered by LiveJournal.com

Advertisement