Archives / 2007 / June
  • ScriptDoc 1.0 available

    ScriptDoc is a tool that extracts documentation from JavaScript files and packages it into XML files that can be consumed by documentation building tools such as Sandcastle. The 1.0 version is now able to extract documentation from doc comments as well as from the structure of the code itself. It generates a documentation file that uses the same format as C# doc comment files and a reflection file that describes the structure of the object model and that follows the same schema that Sandcastle is using.

  • Outlook pst file repair tool

    Yesterday, I was doing some mailbox cleaning after a week away from the office taking care of my family (that now counts one more little girl), and I suddenly got unable to move e-mail from the inbox into folders (a message was telling me the message was already gone even though I was staring at it). Restarting Outlook or even rebooting didn't help. Despite the sleep deprivation, I immediately suspected .pst or .ost file corruption.

  • Why Safari for Windows looks like a Mac application

    One thing that really stands out in the Windows version of Safari is that it's exactly identical to the Mac version, almost down to the pixel level. That must have been quite a pain to achieve, and it would probably have been way easier to use the OS for many things. Does Apple really think PC users will go "gee, that Mac UI is really sweet, I think I now have an uncontrollable urge to buy a Mac"? Probably not.

  • Is Safari on Windows a good thing or a bad thing?

    The first thing most web developers probably thought this morning when they learned about Safari for Windows was "oh man, yet another browser to test in". And yes, for the moment, that's what it amounts to. Coincidentally, I have spent a good part of last week making the history management in Microsoft Ajax work in Safari 2.0.4. I got it to work fine (after much Apple cursing), so the first thing I tried after I downloaded Safari 3 beta was my history tests. And sure enough, it breaks in new, unexpected ways. History management is pretty much a big hack that is different on about all browsers (Firefox and Opera are the nicest ones here, with predictible, similar behaviors). And sure enough, Safari 3 brings a totally unheard of model. I didn't find a way yet to create a new entry in history from script that doesn't navigate away from the page. None of the old Safari tricks work anymore (they were probably and rightfully considered bugs and were fixed). They weren't replaced by the more rational things that work in Firefox and Opera. Even the iFrame trick that we use on IE doesn't work because Safari now crashes if you try to dynamically add a frame to the DOM. If anybody here found a way to do that, I'd love to hear about it.

  • Photo Album works on Windows Home Server

    I was super-excited to learn that Andrew Grant was able to run the Photo Handler unmodified on Windows Home Server. This is actually one more reason for me to put Home Server on my to-buy list. I shoot thousands of pictures a year and only upload the very best on Flickr. But the reason why I enhanced Dmitry's handler to make it my own was that I wanted photo publishing to be as simple and as fast as possible, and a natural part of my workflow. Today I'm using a small web server that I built and that sits in my basement so that I can just dump photos on the server using a simple share but using Home Server for that would just rock. Anyway, if you have a Home Server and want a lightweight way to publish your photos, this is for you:

  • Semicolon expected?

    If you're seeing a lot of JavaScript errors on web sites today, more accurately on pages that have Google AdSense, well, you're not the only one: