in

ASP.NET Weblogs

The DreamLand Express - Charles Oppermann's Software Blog

Commentary on software design, development and management

April 2005 - Posts

  • Good mailing list for Active Directory Programming

    Carlos Magalhaes has been quietly running a fine mailing list for developers working with Active Directory and related technologies.  ADSI or the .NET System.DirectoryServices libraries are covered and there is excellent response time and good discussion.

    Join here:
    http://groups.yahoo.com/group/ADSIANDDirectoryServices/

  • Microsoft Windows Internals Review

    I’ve always been a bit twiddler – whether it’s doing machine code on an 8-bit RCA COSMAC microprocessor or writing 16-bit drivers for Windows 3.1 or doing Windows Server 2003 storage related development, I’ve never shied away from getting into the meat of the system.

    In 1992, I got “Inside Windows NT” by Helen Custer to discover how Windows NT was structured.  I purchased at least one of the other editions as well, authored by David Solomon and Mark Russinovich.  The fourth edition has a new name, “Windows Internals, fourth edition”

    Solomon and Russinovich are well known for their knowledge of how Windows works deep under the covers.  Russinovich produces a number of very cool tools, many of them free at his Sysinternals web site.

    http://www.sysinternals.com/

    This book does not cover the Win32 API or the .NET Framework.  It does cover the kernel, memory management, I/O sub-system including ACPI and Plug and Play, and storage.  The fourth edition covers low-level changes in Windows XP and Windows Server 2003.

    This is not a book with coding examples.  However, its best feature is the great number of sidebars with various “experiments” you can do, often featuring unique ways of using the Sysinternals tools.  While I normally I do not care about memory management, it was fascinating to read how sophisticated the Windows kernel is.

    While obviously system level developers will gain the most benefit from this book, there is a ton of information for IT professionals as well – particularly for system performance tuning.  I was able to use the information regarding Event Tracing for Windows (ETW) in my current project.  Sadly, the final chapter, on Crash Dump analysis, seems incomplete and ends rather abruptly.  Being a Microsoft Press author myself, I wonder if schedule pressures were involved.

    The book published by Microsoft Press (ISBN 0735619174) and is available from Amazon.com at:
    http://www.amazon.com/exec/obidos/tg/detail/-/0735619174/

     

  • Twisted Podcasting?

    Arik Korman, director for my buddy Bob's radio show has started a Podcasting blog.  Arik is a fascinating person, and he infuses his podcast with the same production skills that has helped make the Bob Rivers Show top-rated in the Seattle market.

    The first 'cast is nearly 17 minutes long, and I haven't finished listening to it yet, but it's got my interest.  Check it out at:

  • Firefox Prefetching Google Search Results

    Google is taking advantage of a feature of the Mozilla open-source to prefetch the top search result.  So, if you search on something, the pages referenced in the first result will be loaded in the background.

    Details at Google, GoogleBlog and Slashdot with an FAQ on the feature here.

    When I found out about this feature, I had several reactions.  The first was "Cool!" Google has always done a lot to take advantage of client-side, user agent features, such as the keyboard support I helped build into Internet Explorer 3.0 and 4.0/4.01.

    Another reaction was "Uh oh!"  I was worried that Google's implementation would be specific to Firefox and Mozilla browsers.  I'm a veteran of the original browser wars and remember Netscape trying to push the LAYER tag in the W3C HTML working group instead of using CSS positioning.  I worried that Mozilla might have created some PREFETCH tag or attribute.  In actuality, a few years ago, the Mozilla project added the Prefetch relation type to the LINK tag.  Google gives the following example if searching on "Standford" and the first result is Standford University.  In the results page, the following text would be located in the HTML source code:

    <link rel="prefetch" href="http://www.stanford.edu/">

    The purpose of the the REL attribute of the LINK element is to specify a relationship from the current page, to the linked page.  There are several link types defined.  The classic example is to give hints to navigation, such as specifying the next and previous pages in sequence.  I'll leave it to the HTML purists to debate whether or not prefetching is an acceptable use of the LINK element.  Personally, I think it's better to use a link type than to define a new element, or adding an PREFETCH attribute to the A element.

    Finally, what I find amusing is the double-standard with regard to Mozilla vs. Microsoft.  Imagine the reaction of the Slashdot crowd if Microsoft had implemented this feature and got MSN Search to take advantage of it.  Oh, there would cries of colusion, and new calls for an anti-trust investigation.  I wonder if the next version of IE will support this feature.

    Interestingly enough, Google apparently does not serve up the PREFETCH link type when using Internet Explorer.  It's possible that that Google is looking at the user agent string and serving up customized HTML to the browser.  This is unfortunate in this case because it'll require Google to change it's logic when other browsers support the feature.  Once again, imagine if MSN Search only provided this feature to Internet Explorer.

    While I think of prefetching as a generally good idea, it's not without it's problems.  The prefetch page will be obtained regardless if you actually view it or not.  It may leave cookies and temporary files on your machine.  Your internet service provider (or IT department at work) will record that your computer accessed this page.  Imagine if you are doing research on sensitive subjects and the search result is objectionable to you, or your employer, then you'll might have to explain that you didn't actually visit the site in question.

    Mozilla will add X-moz:prefetch as a header to the HTTP request, so the web server knows that it's a prefetch, but the ISP and web server logs don't currently record this.

    This feature isn't enough to move me to Firefox (which I have tried before), and if the feature proves useful, I'm sure that the next major version of Internet Explorer will support it.  Anyone got an opinion about this?

    Posted Apr 01 2005, 08:53 AM by ChuckOp with 5 comment(s)
    Filed under:
More Posts