Craig Box's journeys, stories and notes...


Archive for the ‘Technical’ Category

Craig's Way

Thursday, July 6th, 2006

Open letters seem to be all the rage these days. How about we just go with "Craig, as benevolent dictator, says How It Is":

Microsoft are hereby instructed to publish Open Office XML as a royalty and patent free open standard. Everyone else is hereby instructed to change to use it (they can call it OpenDocument 2.0 if required), and then people won't have to care about OpenOffice.org if they don't want, because the standard is standard.

Microsoft will then be forced to operate exactly to the published standard, publishing changes under the same license and arrangement if they wish to extend the standard (well before the release of their product), and maintaining backwards compatibility.

There, everyone wins. Why does it always take me deciding how it has to be, to get results like this?

Vote Quimby.

IE7 and WGA

Monday, July 3rd, 2006

Such beautiful praise from Paul Thurrott:

Internet Explorer 7.0 Beta 3 is a solid, feature-packed browser that all IE users should flock to immediately. While it's not enough to make me switch from Firefox yet--I still love certain Firefox features such as inline search--it's no longer an object of ridicule either.

What I do dislike, however:

validate.jpg

Is this happening with everything? Will WGA ever stop? (Well, yes, in that case. But you know they want to do it.)

The copy of Windows XP I'm using is the one that came preloaded with my laptop, but we deal a lot also in volume license versions for our customers (more Office than Windows, as there's little point in buying Windows twice, and we can't exactly buy PCs without it now, can we?) I don't appreciate being made to feel like a criminal every time I want to do anything.

Windows utilities you didn't know about: subinacl.exe

Friday, June 30th, 2006

subinacl is "a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain."

The magic thing that you can do with subinacl that you can't do with the GUI, is change ownership of files. It was a deliberate decision to only allow taking ownership from the GUI, so that if you are an admin, and someone locks you out of their files, and you have to take ownership to see them, the owner will know. Bugger having a paper trail for a laugh - use subinacl.

I have found a good example (with pics) at Windows Server Hacks. There is a reference page at ss64, which is a great reference for command line Windows tools. (What, Windows has a command line?)

If you're the sort of person who already knew about subinacl, can tell me tales of other useful tools like it, and want an IT job in Hamilton, we want to hear from you.

Rosebud

Wednesday, June 28th, 2006

SUSE Linux Enterprise Desktop (previously Novell Linux Desktop, now "SLED") has released a public preview of version 10. Along with this are some preview videos.

I like what they've done with the main application starter menu, but I also like what Gimmie is doing in this area. Check out Alex Graveley's Gimmie GUADEC slides for some idea of the direction that launch panels might be going. If it gets combined with MacSlow's Cairo dock, we could see some excellent GNOME app launch/management lovin'.

Also, Ubuntu fits snugly on one CD. Why does SLED need five? Can I make do with just one?

More random unfixed bugs: Big gray box on Java websites

Monday, June 26th, 2006

One of the reasons I wanted to start blogging was to draw attention to random bugs that I've found and either only worked around or not fixed.

Today's bug-that-I-hoped-was-fixed: in the Sun JVM on Windows XP, 1.5.0.06 (Update 6) or higher, if you try and go to a website that embeds Java, and get a big gray box instead of usefulness.

It is not fixed in 1.5.0.07. In fact, it is marked WONTFIX. It would be fixed if Java was open source software, or if Microsoft and Sun were still friendly, co-operating companies. Unfortunately, neither of these things are currently true. Apparently Microsoft will address it in a cumulative update, sometime, if they feel like it. (Maybe it will be fixed in WinFS? *sting*)

Resolution: downgrade to 1.5.0.05. And cry a little.

Plea to ICANN

Monday, June 26th, 2006

Something that the .NZ registry does, but I don't think that ICANN does, is take expired domain names and put them into a holding pool. That way, for a period after their expiry, they don't work, but they are marked "pending release", and only the original owner can pay to get it back - everyone else has to wait. This is excellent if you forgot to pay for your domain and it lapsed - the lack of DNS records will point it out, and you won't find someone has bought it out from underneath you.

In 2001, Neil Finn put up an ambitious multimedia website at nilfun.net; with a one year contract on his designer, it seems he also only got a one year registration on the name; it expired, someone else bought it, and now it's never going back to him at all. Neil moved to nilfun.com and (probably unrelated) lost interest in the project.

What's the alternative? Register names for 10 years? Thats obviously what Network Solutions wants you to do.

I'm not sure how to fix the problem; if the price of domain names was hitched up substantially (you can register a .com for a third to half the price of a .nz, so I'm thinking at least ten times), it would mean that anyone with just a joke or an idea wanting to make a name for itself would have to think twice, but the speculators wouldn't be quite so interested either. And because anyone can buy a domain name, everyone does, forcing people with unique names to register them just so no one else does. Just think; if Angelina hadn't snapped up all simple derivatives of Shiloh Jolie-Pitt's domain name, she might have had to resort to jolie-piloh-shitt.com.

I wish the internet had a benevolent dictator who could point at a domain name and say "you are not using that in the spirit of the Internet; I'm taking it away from you".

Software Freedom Day 2006

Saturday, June 24th, 2006

Sfd-logo-06

WLUG have had two installfests in the last two years; between them and the Saturday Workshops that run once a month, it seems we need to do a bit of advertising before we'll have any new people that need Linux installation help in the Waikato. (That, and Linux has become substantially easier to install recently!)

With the growth of international Software Freedom Day, it seemed about time that WLUG ran an SFD event in Hamilton to drum up interest both in F/OSS and the group itself.

So, if you're in Hamilton, or will be on September 16, mark the day in your calendar, and if you're interested in helping out, sign your name on the planning page.

This is a new area for us, so any advice from people who have done it before is welcomed.

Falcon repository builder

Wednesday, June 21st, 2006

While Matt has built a repository system based on reprepro, thanks to Seveas (beware, that link is in Dutch), I've got Falcon working as a Debian/Ubuntu package repository. And in the process, increased the number of bugs fourfold!

The great thing is that he's fixed two of them already and there will probably be a update released today based on that. What great service.

(Is your blog staying at the top of the Planet longer than it should? Is your feed showing the time in the correct time zone? If not, you're posting from 12 hours in the future!)

For the people who want to make HIGification a word

Tuesday, June 20th, 2006

A Firefox bug I haven't raised yet:

File menu should be renamed Page menu

Applications traditionally have a File menu, as the far left menu in their menu bar. Applications also traditionally act on "files" of some sort, be it documents, images, locally on your disk.Most of the things in the File menu in Firefox are actions that can be performed on the web page or image you are currently viewing (save, print, send, etc). While these technically are files, perhaps it might be worthwhile considering renaming the menu "Page".

I can't see Windows human interface guidelines without buying a book from 1998, which is made redundant by every new Windows (and also by every new Office, even if they come at the same time!). The GNOME HIG suggests that if you're a game, you should use a Game menu, not a File menu, and the Apple HIG says you don't have to have a File menu, just an Apple menu and an application menu. So why not give it a go?

I haven't raised this bug, but I'm interested in doing so if it seems like a good idea (This suggestion bought to you in part by IE7. It's Page menu isn't even on a menu bar any more).

By the way, I didn't know we were Planet Poetry Wink

Asshat space (or wordpress c2 a0, for search-fu)

Sunday, June 18th, 2006

Somehow, WordPress is inserting C2 A0 characters in my feed, which means that Planet NZTech can't parse them, so my posts don't show up until I find them manually and fix them.

C2 A0 is a unicode non-breaking space. It could be because of my habit of hitting Space twice after a sentence, that it realiases one of them has to be non-breaking. Whatever it is, it's irritating.

It doesn't happen in the output under ISO-8859-1. It's only on Windows, doing a diff of the feed as downloaded on my UTF-8 Linux server, that I actually see the problem.

Badly configured UTF-8 systems often end up with the symbol A-with-circumflex (Â) before the character. In #wlug, we lovingly call this character "the asshat". I had thought that putting it in would stop this post from being picked up, but seems there's an â in HTML just for my asshat character.

I've also found I can see them with LANG=iso-8859-1 less index.html. This explains why I couldn't find them to start with - less runs in UTF-8 by default, which draws it as a space!

Unfortunately, it works fine on Planet WLUG, so it's fixed in newer planetplanet, which doesn't work for Follower at the moment ?

Not much can really be fixed at this point, so this writeup can act as a "this is the problem" in case anyone Googles for "wordpress c2 a0".