“Right before the tinderboxen go up in flames”

Best Quote I’ve read in the Mozilla community for some time:

Famous Last Words
OK, I have landed one half of the Aviary Branch. (the browser half). This may cause some difficulty and problems with the build/nightly build machines. I swear it all built on my machine. I am going to proceed with merging the other half tomorrow. Please bear with me.
– Ben Goodger, right before the tinderboxen go up in flames

Hendikins

I got a good chuckle out of reading that.

School is a pain in the butt

School treating me like it's bride

The picture here represents how school is treating me lately, and the reason I’m so behind on stuff I’ve been wanting to do. As you can see, I’m represented in the picture, so is school, and you, my faithful reader are also shown, merely watching on as school treats me to some “learning”.

School is a pain in the butt.

Enough here, move along…

it will be over soon enough, and I can get some sleep.

The semester has to end eventually.

Picture from AFP via Yahoo

Edit: And for some reason IE is messing up the rendering of this post. No other browsers seem to be effected. I’m not suprised.

w.bloggar 4.0, now with Gecko

w.bloggar 4.0 RC2 is out, my favorite Windows blogging tool. So much simpler than using the web interfaces for small posts. Some great new things:

WordPress support
Multiple Categories Support
XHTML friendly tags (option)
Edit Templates
“More” Feature has it’s own Tab

The sweetest feature is using Adam Lock’s Mozilla ActiveX Control… still to come. But I can’t wait to check it out.

Microsoft Supports Firefox

Microsoft provided Firefox ScreenshotThe Associated Press just plain rocks. The image from Yahoo (link will brake over time as usual) has this great text under it:

This photo provided by Microsoft shows Their search tool and the preference rankings that can be defined by the user. (AP Photo/HO/Microsoft)

[Source: Yahoo! @ 11/192004 5:20PM EST]

Just wonderful to see that Firefox has spread as far as Microsoft. Even Microsoft uses Firefox a bit.

Thunderbird Address Book 2.0

I’ve discussed this a bit before, but I thought I’d take a deeper look into what the Address Book needs to “kick ass”.

  • More than just 2 Email fields. 2 initially appear on the form, but a button to add more. I’ve got a few people who I have a work, and more than 1 personal address. Additionally the ability to specify the preferred message format per address. Work uses Eudora, but home uses Thunderbird. Different prefs for each.
  • “Internet Names”, this should succeed the “Screen Name” field. The user is presented with 1 pull down menu containing a list of services, 1 text field, and a button to “Add More”. The user can select a service, enter the screenname/username/id. “Add More” adds another field (similar to how a filter is displayed). The last option in the service pull down is “Edit Services”. This should bring a window allowing the user to specify a new service, or modify an existing one. Do things like select an icon to show next to it (URL, or file), URL to link to (use text like %n to represent name), and the name of the Service.
  • Photos. The simple ability to drag/drop a photo onto the address card, and have it appear as the photo for the user. Store the photo in a directory within the profile.
  • View All Books. Many people simply use “Address Books” as a way to categorize addresses, for example “Work”, “Friends”, “Family”, etc. There should be a view option in to view them combined. So you just get a list of all of them. Would make it easier to sort/sift. This way, I can view them all easily, but still keep them orgamized.

This would make substantial strides from being an “Email Client” to a “Personal Information Manager”. Address Book is good, but it could be great.

Write File

Can anyone tell me why this code doesn’t work in Thunderbird 0.9 (I haven’t tried Firefox 1.0).

Note: There is a slash in the directory path C:, for some reason wordpress is fudging it up. MovableType did this crud too. So it’s not showing, but it’s there in the code.

function sync()
{
testFileOutputStream("C:\foo.txt", "la la la \n robert");
}
 
function testFileOutputStream(path, buffer) {
  // file is nsIFile, data is a string
  var stream = Components.classes["@mozilla.org/network/file-output-stream;1"]
    .createInstance(Components.interfaces.nsIFileOutputStream);
 
  // use 0x02 | 0x10 to open file for appending.
  stream.init(nsLocalFile(path), 0x02 | 0x08 | 0x20, 0664, 0); // write, create, truncate
  stream.write(buffer, buffer.length);
  stream.close();
}
 
function nsLocalFile(path)
{
    const LOCALFILE_CTRID = "@mozilla.org/file/local;1";
    const nsILocalFile = Components.interfaces.nsILocalFile;
 
    var localFile =
        Components.classes[LOCALFILE_CTRID].createInstance(nsILocalFile);
    localFile.initWithPath(path);
    return localFile;
}

Keep getting this error:

Error: uncaught exception: [Exception… “Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFileOutputStream.init]” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://extension/content/extension.js :: testFileOutputStream :: line 12” data: no]

Simply want to be able to write to C: (or any place on my HD that I specify). Prefer not to use JSlib, simply because I don’t want dependencies. It’s really borderline insane to think you can’t do something as simple as write out to a file without depending on other lib’s.

Thanks in advance.

Comments/Email as usual.

Quick Stats

Just thought this would be interesting to some… here are some quick stats on this blog:

  • 534 Posts
  • 1126 Comments
  • 561 Comment Posters
  • 9 Links
  • 80,248 Words

Not quite 2 years… but it’s pretty cool to see so many people reading!

I’ve got some big things coming up soon. I’ve been working hard for a long time, and I’ll be making some announcements here in coming months. Of course any beta program I do for any upcoming project I have will be announced here first (should I do a public beta). And I’ve got a few other things in mind 😉

Yes… it will be a very interesting next couple of months. Keep your eyes on this blog. I won’t give out any more details than I have so far (so don’t bother trying). But trust me. I’ve been a busy bee the past few months.

Got my iPod

Got my 40GB iPod today… very cool. I <3 the Apple store 😀 I could spend days weeks there and not get bored.

I’ve got some geeky ideas on making it even cooler… you’ll hopefully see soon 😉 Very cool. I’m psyched to get going, I just have some other things to take care of first.