« December 2006 | Main | February 2007 »

January 2007 Archives

January 21, 2007

Mysterious JavaScript function call failure and loading optimization

Optimize Your Scripts in DHTML Using the DEFER Attribute

When, for example, a perfect JavaScript function call foo() with the correct syntax is always mysteriously ignored, watch out for the side effect of script loading optimization. The root cause turned out to be that the script that contains the foo() function is loaded like the the following with "defer":

<script src="foo.js" type="text/javascript" defer> </script>

//foo.js
function foo() {
    document.write("hello");
}

Optimization never comes for free. Watch out for the side effects it may brings.

January 25, 2007

The new askx.com beta site

The new beta site http://www.askx.com/ is pretty impressive overall.  Fast results, AJAX'y UI, thumbnail preview, facade search, vertical search, etc.  Just the "Save to MyStuff" is a bit confusing at the beginning.  After adding a few items to mystuff, I'm expecting to be able to see all my stuff by clicking some tab.  But it turns out I have to click one of the item that I added into MyStuff.  Not very intuitive.  The space utilization is not very efficient.  The main search result column in the middle is narrow and often times the 2 side columns are half empty.

January 29, 2007

Windows Vista and Office 2007 launch

Live at the Windows Vista launch event - Engadget

One day earlier than promised, the long waited Vista was launched today in NYC. When the kids pushed the big button, all big screens on the Time Square are displaying Vista. Thousands of balloons fell at the same time on the MS campus celebration party. Congratulations! It's not a easy release.

The new version does improved in lots of areas. No need to repeat. You can see them here 100 reasons. The usability is basicly amazing. For example, in Outlook or Windows, type in a search term. The result come back almost at the same time when you are done typing. If you type multiple terms, it rolls out results on the fly while you are typing. This is the best part I like. Go vista!

About January 2007

This page contains all entries posted to Stanley Yao's Blog in January 2007. They are listed from oldest to newest.

December 2006 is the previous archive.

February 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33