Author Archives: daniel

Cool XML stuff

A bunch of XML Tools from the good people at Got Dot Net. The particular one I needed was XSD Inference, which creates an XSD from an XML document. I needed it to use with some code to validate XML against XSDs in VB6. It seems XSDs created from XML with some tools (I’m looking at you, XMLSpy — though maybe it’s fixed in later versions) won’t work properly using VB6/XML Parser 4 (which is what I’m using, at least for some of my stuff).

Apple iPhone

Apple has announced the iPhone — which at first glance looks like an iPod (with video) combined with a phone combined with an internet browser (a version of Safari).

Of course, most phones now have similar functionality. This looks like it’ll have a bigger screen (with a soft keyboard — byebye click wheel) and of course Apple’s nice design should mean it’s easier than most phones to use.

With past false-starts like WAP, and the constraints of most existing mobile phone internet browsers, and the cost and geekiness of PDAs, perhaps this will be the thing that brings mobile internet into the mainstream.

And if you’re wondering if it’ll work outside North America, well apparently it will be GSM quadband, so my guess is it’s only a matter of time before it’s widely available throughout the western world.

PS.: Apple’s press release mentions availability: iPhone will be available in the US in June 2007, Europe in late 2007, and Asia in 2008 …

Update Friday: Cisco’s Mark Chandler blogs about the trademark infringement suit

Your host for this evening

Ages ago I had meant to post some old articles from 1997/98 that I’d found on a floppy disk. For some reason I only did two, but I’ll resume re-posting, as some of them are mildly interesting and/or entertaining.


The field of computer systems development always involves decision making. To make a decision requires discussion, postulating, debating, and yes, arguing. And there is one issue in the field that is probably subject to this process more than any other. Although it may arise in less than half of the system development projects that run, I suspect that most computer professionals have at one time or another found themselves sitting in heated discussion around a table trying to answer the question:

“What are we going to call the box?”

There is no more thorny issue than this. A new computer has arrived. It’s a server, so practically everybody will need to use it. It has to be installed, and somewhere along the line, it has to be named.

Naming children is easier. Trust me, I’ve been through both experiences. At least when children are concerned, you’re limited by their sex, and generally by social considerations, such as giving the poor kid a name they’re not going to hate, and that people know how to pronounce and spell. Plus there’s usually a maximum of two people who really have a say in the decision.

But naming a computer is much, much harder. Everybody wants to use their favourite cartoon or sci-fi character, or their favourite planet, or their favourite name from some obscure piece of mythology. Apart from four letter words (you know the ones I mean), just anything goes.

Sometimes, just sometimes, it’s easy. This is when some boring corporate standard comes into play, and the project manager decides that he or she is too gutless (or at least, lacks the political clout) to buck the corporate standard, no matter how boring it is.

It’s during these times that new computers end up with boring names like “nus202” and “vax24”. And while they may be lacking in personality (and they are often almost indistinguishable from their siblings in the computer room), at least they’re usually easy to remember and spell.

But if upper-management doesn’t dictate something, what do you do? I’ve been on projects where just about everyone had their opinion, and we ended up having to do a kind of informal vote. It was either that or a pie fight, and a pie fight would’ve left the conference room in a less than ideal state.

Some organisations have a series of machines to name, and so they work out a theme. Planets is popular (though people tend to shy away from Uranus), and I’ve also encountered fish. One place I worked, we used characters from The Simpsons (Homer is common), but we got bored with it after a while, and switched to other cartoons.

In the end it doesn’t matter. But it definitely helps if everyone knows where the name comes from. Once the mail server I used was called “Banjora”. I still don’t know what that one means.

The joys of the Loewe TV service menu

I’ve got a Loewe Profil TV. A few years old now, but going pretty well. Apart, that is, from some scan line thingies appearing at the top of screen when it’s in 4:3 mode. It started happening when the TV (and I) moved house some time ago. I assume it got a bump.

Finally I’ve got into the Service Menu and adjusted it so they don’t appear anymore. Some people give dire warnings about the Service Menu — that you can seriously screw-up your TV if you mess with it too much.

With that warning in mind, I’ll document how to get into the Service Menu so I can remember it for later, as it’s fairly forgettable.

  1. Press the Menu button on the front of the TV (not the remote)
  2. Use it to scroll down to the Service Menu option
  3. Press the Menu button on the remote (not the TV)

Voila, you’re in. From there you can adjust all sorts of settings. Me, I fiddled the Geometry settings. It’s a bit like all the stuff you can do with a computer monitor.

I bumped up the Vertical Amplitude a bit, and lowered the Vertical Position a tad, and it appears to be gone. (Touch wood). Certainly easier to fiddle with it yourself than have to call Loewe’s support line and organise a technician to come out and do it.

Counting things in WordPress

A couple of MySql queries to count up your 2006 blog stats (as I did on my personal blog).

Count the number of posts since…

select count(*) from wp_posts
where
post_status = ‘publish’
and wp_posts.post_date >= ‘2006-01-01’

Count the post with the most comments since…

select wp_posts.ID, count(*) as wpc, wp_posts.post_title, wp_posts.post_date from wp_comments, wp_posts
where
wp_comments.comment_approved = ‘1’
and wp_comments.comment_post_ID = wp_posts.ID
and wp_posts.post_date >= ‘2006-01-01’
group by comment_post_ID
order by wpc desc

When you run a tech company…

When you run a tech company, say a PC manufacturer, don’t you think you’d be watching out for well-known journos and bloggers and making sure they got exemplary service? Ed Bott rips into Shuttle, whose support for the PC he got was a complete shambles. I reckon if I were running such a company, even if I was evil enough to give everyday plebs crap service, I’d make sure names like his were on the priority list, to avoid my name becoming mud.

But I guess that just underscores how disorganised they are.

Attachment manager

You learn something new every day. Or maybe every week. This week I learnt about Attachment Manager.

Remember how we wailed when, back in 2000, Microsoft patched Outlook to block extensions from dozens of file types that were useful, but dangerous err powerful. Initially the extra security was optional, but it came built into later versions of Outlook.

Some of us resorted to hacks like Attachment Options to tell Outlook to STFU and give us the attachment.

From XP SP2 they’ve replaced it with the Attachment Manager (via David), which provides an extra prompt when you try and open/run the file. The file attribute even survives the file being moved around, provided it’s on NTFS. And it covers numerous applications, including Outlook, IE and MSN IM.

In some cases it simply won’t let you open/extract the file. For those you need to go into the Properties and Unblock it manually. Just another hoop to jump through.

Time Magazine’s pitch of the year

So, Time Magazine decided the person of the year is you. Me. Us. The citizenry. With out digital cameras and our blogs and our mobile phone cameras and our YouTube accounts and our podcasts.

Well, woop-de-doo. So citizen media is having an impact.

Who actually reads Time Magazine anymore? Other than noting the Person Of the Year, does the bulk of the populace pay it any attention these days? Doesn’t Time-Life make more money selling old TV shows on DVD?

As Darren Prowse says, what Time have done is to be the linkbaiter of the year. This is just MSM trying to cash-in on Web 2.0 by pouring praise on it.

What’s gone from Man Of The Year, to Group Of The Year (numerous scientists in 1960, and the entire babyboomer generation in 1966) to Person Of The Year (switched in 1999, so hardly in the forefront of sexual equality, even though Wallis Simpson was awarded Man Of The Year in 1936), to Thing Of The Year (The Computer in 1982) is not a reward or an honour (hello: Adolf Hitler 1938, Ayatollah Khomeini 1979).

It’s not really a prize. It’s just a way of selling more magazines.

Games, games, games!

Version 1.0 (eg the non-beta) of Microsoft’s XNA is out (note, it’s another new MS release that is not supported on Vista) — Ars Technica has an interesting article about it, which ponders the homebrew development it might spawn. No, I don’t really want to do Quest for Windows, though I fully intend to give it a try, if I find the time to learn a little C#.

I like this idea: a handheld Linux-based game machine called the GP2X. It plays media, runs MAME, SNES, Megadrive etc emulation and includes an SDK that makes it sound ripe for development of new games. They’re looking for distributors.

Got a spare Xbox controller? Grab a USB adapter off ebay (search for XBox USB, or build it yourself), grab the drivers and use it on your PC. (Doesn’t mean it’ll be any good for Joust on MAME though, with its frenetic flapping).

Oh, for Lego Mindstorms people (and those hoping to design robots to take over the world), Microsoft has released its first Robotics software, compatible with a number of different vendors’ hardware.

Take today’s kids and sit them down in front of some of the classic games of yesteryear. Note their reactions.
First article / Followup article. Obviously it’s just the funny bits, but MY kids don’t react like that. They’ve both got a healthy interest in old games. (Gee, wonder where they got that from.)