ActiveState Blog

  • Exploring Firefox Event Objects without Debugging

    For such a powerful tool, Firefox/Mozilla's event objects aren't very well documented. I still haven't found one definitive, concise source of all the docs I need. Mozilla is so huge, "definitive and concise" is most likely a contradiction in terms. So when I need to get to the bottom of how something like this works, given a choice between consulting half a dozen animal books, googling, lxr'ing the source, or exploring a live object, I often opt for that last choice.

  • XULRunner + PyXPCOM

    I wrote this to the PyXPCOM list, but then thought I'd blog it for those who don't read that list:

    A while back we open sourced the bulk of Komodo Edit, which includes our build system for Mozilla, which builds and handles lots of edge cases with PyXPCOM, including a series of patches we have to build, fix or add functionality.  Komodo uses this build system and these patches, and has proven to be stable with PyXPCOM over a long period.

  • Call to Firefox extension developers

    Mark Finkle has been making a call out to extension developers to update their extensions for Firefox 3.  His call, and some recent extensions that have been made to work on Komodo made me realize I should do the same call for Komodo.  There are a lot of developer related extensions for Firefox that could be made to work with Komodo as well.  In fact, for some of them, it may well make more sense for them to be plugged into a development environment like Komodo rather than directly

  • The Future of Software and Social Networks

    My last few blogs have been pretty techie.  I've even been wondering if I should write about some messing around I've been doing on weekends with geometrical algorithms and the Google API. But I'm going to talk about the business side instead.  Not that I'm an expert, but paying attention to the dollar side of the industry lets you know when it's time to ditch that job writing Pascal debuggers or graphical gopher clients, for example.

  • Improving Ajax Performance by Being Selective

    I spent a few days over the holidays messing around with Rails 2.0 and the Google Maps API.  Sure, these technologies aren't the newest.  GMaps will be out of the terrible twos this February (2008, in case you're reading this in an archive), and while Rails 2.0 shipped in December 2007, most of the features that are new for me are related to resources, which shipped in 1.2, and DHH talked about in his keynote at RailsConf 2006.  That's not a typo -- it was time I caught up.  We do plenty of JavaScript in Komodo, but I don't get out in

  • XML+CSS+Komodo==Cool Document Preview

    A number of times recently I've had the idea of preview-ability for different XML formats come up.  Komodo has a simple browser preview built into it, and can show the preview in a split pane.  It occurred to me that CSS could be used to do something interesting with the preview, so I wrote up an article about it on our community site.  I think one

  • Supressing the Windows Error Report MessageBox with Subprocess and Ctypes

    Hands up, anyone who's written a Python script that was supposed to run for a long period of time unattended on a Windows box, only to come in the next morning to see this kind of dialog box on their screen 5% of the way through?

  • Adding New Languages to Komodo with UDL

    Kid: Adding a New Language to Komodo with UDL

    -1. This Tutorial doesn't work with Komodo 4.2

    The API changed slightly when 4.2 was released, but wasn't quite correct.  We're working on getting it operational again.  Apologies for any inconvenience.

    0. Accompanying Files

  • Ok, time to do this blogging thing seriously again...

    For a few months, I really dropped off the blogging wagon. Too much real-world stuff to do. But now that that's calming down a bit, I feel it's about right to get back into it. And boy, is it hard. First, reading. I'm hoping that NetNewsWire, which I'm evaluating, will allow me to deal with the mountain of feeds better than BlogLines. Right now it's saying "5556", which I fear is the number of posts I need to triage.

  • ActivePerl

    I'm happy to announce that we released ActivePerl today. The main highlights over are:

    • Based on Perl 5.8.8, plus bug fixes and module updates
    • Mac OS X version runs natively on both PowerPC and Intel Macs
    • 64 bit beta versions available for Windows, Linux and Solaris

    As usual, you can download it via the main ActivePerl page:

    Note that there is a separate link for downloading the 64 bit Beta versions.