JavaScript Shell 0.8

January 20th, 2004

I uploaded a new version of the JavaScript Shell today, along with a new version of the shell bookmarklet. In the new version, print() no longer returns its input. I added a new function, pr(), that acts like print() used to.

Dog on the Moon MP3

January 14th, 2004

Garry Novikoff's amazing "Dog on the Moon" is available for free as an MP3 until the end of Wednesday: http://www.prometheus-music.com/bush/onthemoon.mp3.

"Dog on the Moon" is from the CD To Touch the Stars: A Musical Celebration of Space Exploration, produced by Kristoph Klover and Eli Goldberg. You can download 6 more MP3s from the CD from that site.

What should be fixed in Firebird 0.8

January 10th, 2004

Update Jan 30: see also What's new in Firebird 0.8.

alanjstr listed 11 bugs he thinks should be fixed before Firebird 0.8 is released. I agree with him on 3 bugs:

  • 229600 - Installing 2 extensions without restarting re-launches extension-installer for previous installed extensions. (regression)
  • 228988 - XPInstall - "Installation complete / restart" message always shown. (regression)
  • 230271 - Form autocomplete only works in the first tab. (regression)

I have 2 more bugs that I think should be fixed before 0.8:

  • 217410 - bump skin version. (This would prevent "no scrollbars after upgrade" problem.)
  • 228672 - Installer deletes unrelated folders. (Dataloss. New because Firebird 0.7 didn't have an installer.)

The installer bug is particularly scary because of the potential PR impact. The Firebird installer deletes all files in the installation directory if you check the "Safe Upgrade" box. A few users who installed nightlies into "C:\Program Files" lost that entire directory. I don't know if any users have lost data since the Dec 23 change to make the "Safe Upgrade" box unchecked by default, but if Firebird 0.8 is released with the bug, I'd expect at least a few users who install to weird directories to check the box.

A bug in the iTunes installer that wiped hard disks earned a Slashdot story. If Firebird 0.8 is released with this bug, I would expect it to lead to an even bigger backlash on Slashdot because:

  • The iTunes installer tried to delete iTunes.app (a specific application folder), while the Firebird installer tries to delete whatever directory you were installing to. "Nuke from orbit" upgrades are inherently dangerous, but they're even more dangerous when the user gets to choose the target directory.
  • The iTunes installer deleted more than it intended because of what is arguably a misfeature of the Bash shell: if you don't use quotes carefully, a script's behavior can change unexpectedly when a parameter contains a space. The Firebird installer deletes more than it intends because its developers didn't anticipate users installing Firebird directly to "C:\Program Files". Firebird has nobody else to share the blame.
  • Firebird's development process is open enough that anyone can see that we knew about the problem since at least December 30.
  • "Safe Upgrade" is the worst possible name for a misbehaving nuke-from-orbit feature.

My preferred solution for 0.8 is to relabel the checkbox from "Safe Upgrade" to "Delete all files in [installation directory]". (cf bug 197274, which changed "Enable Automatic Image Resizing" to "Resize large images to fit in the browser window".) I looked at some code but couldn't tell how hard it would be to change the checkbox label to include the installation directory.

I'm not sure what the installer "should" do. It would be nice if installing on top of an old build didn't cause random-seeming problems. Then nuking the installation directory from orbit would not be necessary. If fixing those problems is not feasible, maybe the installer should have a list of files or subfolders to delete, and only delete those.

Flag queries: blocking0.8+ (blocking), blocking0.8? (nominated), blocking0.8- (not blocking). Anyone may nominate bugs, but only a few people may plus or minus. Bugs that are plussed are usually recent regressions or newly discovered security holes. Don't renominate a minused bug unless you're sure you've added something the minuser didn't know.

The Devil’s Dictionary of the Internet

January 10th, 2004

From Greg Knauss' Devil's Dictionary (via Simon Willison):

command line, noun
The most efficient method available for accidentally deleting data.
journalism, noun
A form of information distribution widely acknowledge to be unethical, corrupt and amoral; also, what blogging is, God dammit!
p2p, noun
A class of computer network, designed to allow people to remain safely anonymous while they trade public domain documents and songs to which they own the copyright.
Semantic Web, proper noun
An attempt to apply the Dewey Decimal system to an orgy.

The original Devil's Dictionary (1911) by Ambrose Bierce is also available online.

What month is “JN”?

January 9th, 2004

My Crest toothpaste tube says "LOT318412EXPJN05". Is JN January or June? (This guy has another Procter & Gamble product and wonders the same thing.)

Netscape.com e-mail addresses for sale

January 9th, 2004

"Netscape" (the new ISP) is auctioning off 200 netscape.com e-mail addresses. I found out by clicking on this ad. The ISP is auctioning jess@netscape.com, jessica@netscape.com, and jessie@netscape.com, but not my old address, jesse@netscape.com.

I searched eBay to find out what names have the highest bids. So far, "john" ($112.50) is beating "michael" ($105.50) and "mark" ($102.50). Most of the names are still at the opening bid of $9.95.

1) Report bug. 2) ??? 3) Profit!

January 7th, 2004

Track the popularity of the Busniess Plan meme over time by searching for Mozilla bug reports that say "3. Profit".

So far, 27 bugs have been reported with the phrase. The first report was in December 2001, and the meme's popularity seems to have peaked around March 2003. Its popularity is now declining slowly.

Spellcheck and strife

January 5th, 2004

Asa, it looks like your spell-checker replaced all instances of the word "gonna" with "gonad".

-- Joe's comment on Asa's blog.

(Microsoft Word corrects "gonna" to "going to". ispell corrects it to "Donna". I don't know what spell-checker Asa uses.)