Monthly Archives: May 2007

Internet Explorer IMG Element & Empty Width/Height Attribute Error

Recently found an error, bug or omission within the Internet Explorer rendering engine which I haven’t personally encountered before. The error involves the familiar <img> element and the use of the width and height attributes.

The following <img> element definitions will render as expected within Mozilla and Opera:

  • <img src="/path/to/image.jpg" />
  • <img src="/path/to/image.jpg" width="" />
  • <img src="/path/to/image.jpg" height="" />
  • <img src="/path/to/image.jpg" width="" height="" />

When a web browser encounters an img element without width or height attributes, the browser is required to render the image in its default aspect ratio. When either of the width or height attributes are provided, the browser is required to resize the image when rendered to meet the requested size.

Unfortunately, when Internet Explorer encounters items two, three and four listed above an error occurs where the browser does not render the image at all. Instead of disregarding the img elements empty width and height attributes, it considers the empty value to equate to zero (0) and the image is rendered appropriately.

Channel Nine CEO Eddie McGuire Resigns

On Friday 18th May, Eddie McGuire announced that he will resign as the Chief Executive Officer for the Channel Nine television network. There hasn’t been a lot of coverage as to why he has resigned as the Channel Nine CEO, however he has confirmed that he wasn’t pushed out the door.

In February 2006, I couldn’t believe that Eddie McGuire was appointed as the chief executive office for the Channel Nine TV network in Australia. Soon after the appointment, the Channel Nine CEO dropped his existing television commitments to take care of the business. However, it wasn’t long before he couldn’t resist the pull of being on the television once more and started hosting the 1 vs 100 game show.

Statements released by Channel Nine and Eddie McGuire state that he has signed another five year contract with the Nine network and that he will be involved with program and development for the network in some sort of a creative capacity which apparently suits Eddie McGuire down to the ground. I wonder if he is going to regain the Eddie Everywhere title once more now that he doesn’t have to focus on the the less exciting aspects of running a television network.

Google Search Revolutionised Through Vertical Integration

Google have announced a revolutionary change to their famed search engine and its called universal search. The millions of people that use Google Search every day of the week would have probably considered it fairly ‘universal’ before, however that hasn’t got a drop on what they’re releasing to the market now!

Google universal search is going to allow you to search, as you did before with the familiar single search box; however many additional sources will be used to formulate the search results. As most people are aware, Google houses many different indexes of information:

  • web sites
  • news
  • books
  • local
  • images

which have been available to internet users through different search locations such as http://www.google.com or http://news.google.com. While separating out various types of search information into different web sites might have made sense from a development and technical level initially, Google were not leveraging their various indexes to their potential. Even with the initial release of the universal search service, I’m sure there will be significant improvements to come in the near future.

The key to the Google universal search is that their disparate search indexes have been vertically integrated. For those that aren’t aware, vertical integration typically refers to taking totally separate sets, be it a business, process or data and combining them into a single unified service. By removing the barriers between their various search indexes, Google have knocked down the information silos they helped build during development.

To the average user, this will mean they are more likely to find the information they are looking for on the Google home page. When a user searches, results will be returned from various sources and combined based on relevance. It will now be common place to see:

  • web sites
  • news
  • books
  • local
  • images
  • video

all within a single search results page. Of course, it is unlikely that a search would return results from all indexes at the same time. After all, the algorithms are looking to return the most relevant content to the user – not the most sources. As such, if the algorithms deem it appropriate then you may only see web and image results with no video or book content.

This is an exciting space and it is going to be interesting watching how the search engine optimisation landscape changes now that Google universal search has been released into the wild!

Signs

It’s a sign you need either:

  1. more sleep; or
  2. more coffee

when you find code committed into a source code repository that you don’t remember writing and realise when you find it that it was really handy that you wrote that code at some obscure hour of the morning a week ago.

Learning How To Scale An ASP.NET Application

For the last nine months, the development team at Stella Hospitality Group have been working on integrating a new piece of software into the enterprise. Throughout that process, we’ve come up against various stumbling blocks and subsequently learned how to climb over them.

One of the interesting parts of this project involved learning how to scale an ASP.NET web application. Unlike most other pieces of development we’ve previously worked on, we didn’t have access to hardware and services that were capable of delivering smoking performance (read: Oracle 10g clustered using RAC). As a by product of the constraints which were placed on us, scaling the new web application proved a little harder than it first looked.

Over the course of the next few weeks, I’ll be posting about various steps which we’ve taken to scale our ASP.NET application. Some of the points are hinged in the physical world, others operational and of course technical as well. Items which come to mind immediately include:

  • load balancers
  • clustering physical servers
  • clustering web servers
  • web gardens
  • user interface process control
  • session handling
  • web services & XML
  • spike testing