The blog moveth

I finally went and did it.

I signed up for hosting from TextDrive and my domain from Active-Domain, as I mentioned previously in my Hosting blog post. ☺

For one thing, this is the end of the long-temporary GeoCities hosting for my website. The website (now with an index page!) is now at http://boredzo.org./. And the blog follows it, to http://boredzo.org/blog/ (and of course the feed moves too).

If you've bookmarked or linked to any of my pages, you should update those bookmarks/links (the pointer tutorial, in particular). The new site has no risk of running into an hourly transfer limit, and also raises the disk quota from 15 MB (GeoCities) to 1 GiB (TextDrive).

Other related things:

  • I have a new email address. The GMail one isn't going away (and I'll continue to use it on the Adium and Growl mailing lists, since it has beefy spam filters and the Adium feedback list gets a lot of spam), but you should use this address whenever you want to send me email directly. It's stated on the front page of my website; I don't need to restate it here.
  • My PGP public key has been updated to include the new email address, and also to change over from my pseudonym to my real name. (The MIT keyserver still shows the pseudonym as well as the real name, I notice.)
  • I might see about setting up public SVN repos for some of the projects I've written.
  • The new blog runs on WordPress, with a custom (extremely minimalist) theme. Ken Ferry solved one of the problems I was having with the CSS in that theme, and I thank him for that.


Amazing Fantasy #15

So I was leafing through tomorrow's Orange County Register and found this:

Amazing Fantasy #15 — the debut issue of Spider-Man.

It's a reprint, of course. Apparently this is some kind of Marvel promotion — each Sunday Register will have a reprint of the next issue of Spider-Man. I suggest looking in your local Sunday paper to see if they have the same promotion.

Technorati tags: , , , , .


Report-an-Apple-bug Friday! 47

This bug is +graphicsContextWithBitmapImageRep: doesn't properly map bitmap format to Quartz. It was filed on 2006-08-17 at 19:07 PDT.


+[NSGraphicsContext graphicsContextWithBitmapImageRep:] always returns a RGBA context, even when the image rep is ARGB.

Steps to Reproduce:

  1. Create an NSBitmapImageRep with an RGB color space and a bitmapFormat that contains the NSAlphaFirstBitmapFormat bit and not the NSFloatingPointSamplesBitmapFormat bit.
  2. Call +[NSGraphicsContext graphicsContextWithBitmapImageRep:] with the image rep created in step 1.
  3. Set the current graphics context to the graphics context created in step 2.
  4. Draw.

Expected Results:

WYD (draw) IWYG.

Actual Results:

The components in each pixel come out of the image rep permuted, since you expect ARGB from the image rep, but the graphics context put RGBA into it instead.


None known.


I did not test with the NSFloatingPointSamplesBitmapFormat bit; therefore, I do not know whether the bug exists with it or only without it.


Reinvent the +graphicsContextWithBitmapImageRep: wheel.

Technorati tags: ,

Apple bug Friday! 46

This bug is CrashReporter dialog has "Close" button. It was filed on 2006-06-02 at 15:17 PDT.


The “unexpectedly quit” dialog has a “Close” button.

Steps to Reproduce:

  1. Crash an application.

Expected Results:

A dialog box comes up, saying that the application has unexpectedly quit, showing the backtrace, and offering me the option to either “Report” the crash or one of:

  • Quit [the application]
  • Cancel [reporting]
  • Don't Report

Actual Results:

A dialog box comes up, saying that the application has unexpectedly quit, showing the backtrace, and offering me the option to either “Report” the crash or “Close” something.


None known.


It is not clear what is being closed. I think the immediate guess is the application; only on further reflection does one realize that if the application has already quit, it must not be available to be “closed”. It could refer to the window, but isn't that what the red widget is for? But there is no red widget, because this is a dialog box.

The button's title should be changed, to one of the three names listed in Expected Results. Of those, my favorite is “Don't Report”.

Technorati tags: ,


A Terminal quickie

I've been reading Jeff Atwood's Coding Horror blog (love the favicon, BTW). I got to the post where he talks about the Consolas font as compared to Lucida Console, and shows it with and without ClearType (anti-aliasing). You can download Consolas (and a few other fonts) from this post on Jeff Milner's blog.

Looks good, so I wanted to try it in Terminal (even though I use xterm — yes, I'm like that). Looks good in Terminal, too, but I was reminded of a problem with Terminal and box-drawing characters:

Terminal, showing a box drawn by a shell script. Each box-drawing character (that is, line segment or corner character) is twice as wide as it needs to be, which is throwing off spacing and causing each of the lines with a box-drawing character on them to overrun the width of the terminal.

That box is supposed to fit within my screen and be centered in its horizon. Not working so well.

The culprit is the “Enable wide glyphs for Japanese/Chinese/etc.” checkbox on the Display pane of the Terminal Inspector. Apparently box-drawing characters count as “etc.”. Turn that off, and sanity is restored:

Terminal, showing the same box drawn by the same shell script, with “Enable wide glyphs for Japanese/Chinese/etc.” turned off. Each box-drawing character is now the same width each of the other (non-box-drawing) characters.

Don't forget to Save Default Settings after you frob the checkbox. Unless you do, the new value will not be applied to future Terminals.

Technorati tags: .


My WWDC 2006 Keynote Bingo cards

My four bingo cards, marked up.

Red circles are things that happened during the keynote. Green question marks might have happened, but I won't know until a video is available. (UPDATE 17:25: I just noticed that the Mac Pro has a Xeon, not a Core 2 Duo, just like the Xserve. So I will be unmarking Core 2 Duo later. UPDATE 19:09: Done.)

Be sure to post your own card. I'd also like it if you bookmarked it on del.icio.us and tagged it “keynotebingo” and “keynotebingowwdc2006”.

Technorati tags: .

It's 3:30…

And my WWDC Keynote Bingo page has received 161 hits in those three and a half hours.

This following 275 hits yesterday, 88 hits Saturday, and 224 hits Friday. Plus the 182 hits on -07-29, the 155 hits on -07-30, and the 69 hits on -07-31, and the 65 hits between then and Friday.

I predict quite a bingo game at the WWDC. ☺

Technorati tags: .