Archive for April, 2005

One year at DreamHost for $0.77/mo

Saturday, April 30th, 2005

Update Aug 9, 2005: DreamHost's "777" promotion ended in July. At the same time, DreamHost is now allowing me to share my referral bonus with you. If you enter the promotion code squarefree when signing up for any one-year or two-year plan, you'll get $77 off (and I'll only get $20 for referring you). To use the promotion code, enter squarefree into the promotion code box on step 5. (This is the step after you enter your personal information but before you enter your credit card number.) End of update

Last night, Grey was looking to switch to a new web host because he was close to exceeding his bandwidth limit on TotalChoice Hosting. He knew about DreamHost because MightyMu, Mike Connor, and I use it. Grey was turned off by DreamHost's requirement that he either pay a $50 setup fee or pay for an entire year of hosting in advance. I remembered hearing about a "777" promotion code several months ago, so I suggested that he try it. The promotion code worked and Grey used it to switch to DreamHost today.

This promotion code allows new DreamHost customers to sign up for Crazy Domain Insane at $0.77/mo for the first year. After the first year, you will pay the normal price of $9.95/mo with one-year prepayment or $7.95/mo with two-year prepayment, unless you change to another plan or payment schedule.

Crazy Domain Insane includes 120 GB/mo bandwidth and 2.4 GB disk space (at least if you sign up before August 29, 2005), one free domain registration (.com, .net, .org, or .info), and hosting for up to 3 domains. All DreamHost plans include MySQL, PHP/Perl/Python, SSH login, mail, webmail, mailing lists, the ability to control your DNS records, and access to raw Apache logs.

For more information about DreamHost, see my earlier post Why I love DreamHost.

User script for rearranging your 43 Things

Friday, April 29th, 2005

Drag 43 Things lets you rearrange your 43 Things by dragging instead of by giving a new array index for each item. The script is based on Javascript drag-and-drop ordered lists by Simon Cozens.

To install a user script into Firefox, install Greasemonkey, restart Firefox, open the user script, and select "Install User Script..." from the Tools menu.

Fifty million Firefox downloads

Friday, April 29th, 2005

Firefox 1.0.x reached approximately 50,000,000 downloads today. That's an average of almost 300,000 downloads per day since Firefox was released on November 9, 2004. Spread Firefox is celebrating with a photo contest, which already has several winners. It's great to be involved in such a successful project.

I don't have anything against the convention of celebrating numbers that have a lot of zeros at the end when written in base 10, but I'd like to make fun of it by pointing out that Firefox is likely to reach 0x3000000 (50,331,648) downloads within a week.

User script for DreamHost rewards page

Wednesday, April 27th, 2005

I wrote DreamHost Rewards Reorganizer, which puts the block containing "You currently have $X.XX of Rewards payments built up!" at the top of the page. Now I don't have to scroll down to see if I've earned another $97 for referring someone to DreamHost. My script does not conflict with JenMad's script, which acts on the rewards report page rather than the rewards overview page.

JavaScript Shell 1.2.1

Saturday, April 23rd, 2005

Entering a single-line comment on the last line no longer causes a syntax error. Updated shell, updated bookmarklet.

Tontie

Friday, April 22nd, 2005

Tontie is one of the most addicting games I have ever played. In this game, you whack aliens by pressing digit keys on the number pad corresponding to their positions. The aliens become more diverse and the game gets faster as you progress through the levels. It took me a week of gradually improving my skill to be able to reach and later beat level 20.

Some remaining Tontie challenges for myself:

  • Using the second code (start at level 11 with winged silver hammer and 5 hearts), get all upgrades and reach level 20. Right now I have a much easier time if I start on level 1 (without a code), because I can usually get a golden hammer by the time I reach level 11. But levels 1-3 are boring, so it would be nice if I could skip the first 10 levels.
  • Get from level 11 to level 20 without using any continues, starting with no code or the first or second code.

JavaScript Shell 1.2

Wednesday, April 20th, 2005

New features and bug fixes in JavaScript Shell 1.2:

  • Multiline input. You can now insert line breaks using Shift+Enter and paste multiline scripts. Edward Lee ("Mardak" on irc.mozilla.org) added this feature.
  • Fixed the bookmarklet version to work in Firefox 1.0.3 (it was broken due to the fix for bug 289074). Edward Lee was the first to point out this problem and helped me fix it.
  • Fixed print() to not bring up the File > Print dialog.
  • Fixed blink() to work in IE (using border instead of outline) and Opera.
  • Made the feature that lets you click anywhere to focus the input box work in Opera. It still doesn't work in IE.
  • Fixed multiline output in Opera. It still appears all on one line in IE.
  • Fixed the bookmarklet version to have a vertical scrollbar when needed on Firefox trunk. (I might be working around a bug in Firefox trunk.)

I'm aware of several new problems introduced by the multiline input feature:

  • In Opera, Enter inserts a line break and *then* submits.
  • In IE, multiline output isn't broken over lines.
  • In Firefox 1.0.x, but not on trunk, a scrollbar appears if you have a few dozen lines of input.

JavaScript Shell 1.1 is still available.

BugSort user script

Monday, April 18th, 2005

My second user script, BugSort, lets you sort Bugzilla bug lists (example) without contacting the server. I have tested it with Greasemonkey 0.2.6 on Firefox 1.0.3 and with a prerelease version of Greasemonkey 0.3 on Firefox trunk.