Tuesday, December 27, 2005

Top 10 Gizmos of the Past 50 Years


  1. Walkman TPS-L2 (1979)

  2. iPod (2001)

  3. ReplayTV RTV (2001)

  4. TiVo HDR110 (1999)

  5. Palmpilot 1000 (1996)

  6. Sony CDP-101 CD player (1982)

  7. Motorola StarTAC phone (1996)

  8. Atari Computer System (1977)

  9. Polaroid SX-70 Land Camera (1972)

  10. M-Systems Disk-OnKey (2000)


The ratings are based on usefulness, design, innovation, coolness, and influence on subsequent gizmos. [Source: PC World]

Sunday, December 25, 2005

Christmas Babies

Happy birthday to Hoang-Anh, Heather, and Natalie.

Happy Holiday

Have a Good One, Everyone!

Thursday, December 22, 2005

Javascript window.innerWidth vs. document.body.offsetWidth

var winW = parseInt("630"), winH = parseInt("460");
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
winW = window.innerWidth;
winH = window.innerHeight;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
winW = document.body.offsetWidth;
winH = document.body.offsetHeight;
}
}


The above code returns the width and height of the browser window regardless if it's Netscape or IE. If the browser is Netscape, we use innerWidth and innerHeight properties of the window object to return the width and height respectively of the browser window. If the browser is IE we use the offsetWidth and offsetHeight properties of the body object of the document object to return the width and height respectively of the browser window.

Wednesday, December 21, 2005

Javascript document.onmouseover

document.onmouseover=GetCoordinates;
function GetCoordinates(e){
if (navigator.appName=="Netscape") {
xVal = parseInt(e.pageX);
yVal = parseInt(e.pageY);
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
xVal=parseInt(event.x);
yVal=parseInt(event.y);
}
}


This line of code document.onmouseover=GetCoordinates; causes the onmouseover to be fired and calls function GetCoordinates, which is used to keep track of every single mouse movement. Also, the appName property of the javascript navigator object is used to identify the user's browser. If the browser is Netscape, e.pageX and e.pageY return the (X,Y) coordinates of the mouse pointer. Otherwise, event.x and event.y are used to return the (X,Y) coordinates of the mouse pointer in IE.

Tuesday, December 20, 2005

Javascript document.onclick

document.onclick=WindowClickEventExplorer;
function WindowClickEventExplorer(e){
if (navigator.appName=="Netscape") {
popIt=0;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
var WinEvent = window.event.srcElement.tagName;
if (WinEvent =='INPUT' || WinEvent =='IMG' || WinEvent =='A' || WinEvent =='B' || WinEvent =='SELECT') popIt=0;
}
}


The above code captures all the click events within the document inside the current browser and calls function WindowClickEventExplorer at the mouse click. Inside function WindowClickEventExplorer, appName property of javascript navigator object is used to identify the user's browser, which in this case is either Netscape or IE. If the browser is IE, we can use the following line of code window.event.srcElement.tageName to identify the tag name of the source that generates the click event.

Thursday, December 15, 2005

Now I Can Relax

Just finished my last final tonight. Now I can finally relax.

Wednesday, December 14, 2005

Did Someone Say School’s Out?

My second and last final for this semester is less than 24 hours away. Wish me luck.

Tuesday, December 13, 2005

Alexa Web Search Platform Beta

The Alexa Web Search Platform provides public access to the vast web crawl collected by Alexa Internet. Users can search and process billions of documents -- even create their own search engines -- using Alexa's search and publication tools. Alexa provides compute and storage resources that allow users to quickly process and store large amounts of web data. Users can view the results of their processes interactively, transfer the results to their home machine, or publish them as a new web service. Read more. [Source: Alexa.com]

What can you do with the Alexa Web Search Platform Beta?

  • Three online web snapshots of up to 100 terabytes each


  • Powerful tools to sift through the content to create your own data set


  • Upload, compile and run your own programs on a processing cluster across the data set


  • Store your output on a storage cluster


  • Integrate your data into a search index


  • Access your new search via Amazon Web Services

Monday, December 12, 2005

Firefox and Thunderbird


My favorite browser and email programs at the moment are Mozilla Firefox (v. 1.5) and Thunderbird (v. 1.0.7). Both of them are free and very compact in size, so you won't have any problem downloading them at all. Now I can use my Gmail email account with Thunderbird. Pretty cool!One of the coolest extensions for Firefox is the Web Developer Toolbar. It adds a menu and a toolbar to the browser with various web developer tools. It is designed for Firefox, Flock and Mozilla, and will run on any platform that these browsers support including Windows, Mac OS X and Linux. If you are a web developer like myself, you should definitely get it.

Friday, December 9, 2005

Got Visual Studio 2005 Installed


I attended a Microsoft Road Show on December 1, 2005 to learn about the new Visual Studio and MS SQL 2005. I also got myself a free copy of the standard edition for both of these products. The Road Show was in Abingdon, Maryland, and it was the very first Microsoft Road Show that I had ever attended. Really cool presentations! I am really looking forward to go to more of these events in the future.

Thursday, December 8, 2005

Local.Live.Com From Microsoft

Microsoft started offering a beta of one of its services called Windows Live Local. It combines elements of Microsoft's Virtual Earth technology, MapPoint driving directions and local classified and business searching. You can check it out at local.live.com. It is one of the coolest things I have ever seen. Try putting in your address and see if the Bird's Eye images are availabe. It's awesome!

Wednesday, December 7, 2005

MS in E-Commerce Program

The degree program requires 36 credits be completed. All students complete an E- commerce core, the breadth requirement, comprised of six courses from four interdisciplinary foundation disciplines totaling 18 credits.
Following completion of these core courses, students take specialized application courses, for a total of 15 credits, in one of six chosen fields of concentration: Information Technology, Management, Health Systems, Public Policy, Enterprise Management, and Law. Students from all concentrations will deepen their theoretical and practical knowledge through courses in the concentration, the depth requirement, building upon a common core of knowledge.

One of the unique features of the degree program is an electronic commerce capstone project course (3 credits), taken by all students at the completion of all their coursework. The capstone project is an interdisciplinary course that reinforces and integrates material covered in core and concentration courses. It allows students to pursue a mixed team- based, practical project related to E-commerce in an identified area of opportunity. This capstone project serves to give students an integrative experience in response to digital age challenges and opportunities. It also allows them to work with other students from a diverse set of backgrounds.

The core is compose of eighteen credits comprising the following three-credit courses:
EC 511 E-commerce Basic IT Infrastructure
EC 512 E-commerce Software Services
EC 521/MBA 603 Managerial Economics and Decisions of the Firm [Completed]
EC 522/MBA 613 Financial Reporting and Decision Making [Next]
EC 531/PUBP 726 Law and Public Policy in E-commerce
EC 541 Integrative Case Studies in Electronic Commerce or MBA 734 Electronic Commerce

Specialization courses:
CS650 Database Engineering or INFS 614 Database Management [Completed]
CS 656 Computer Communications and Networking or ECE 542 Computer Network Architectures and Protocols [Completed, Summer 2005]
ISA 662 Information System Security [Next]

In addition to these three courses, students must take at least one course from Information Technology list and at most one course from the Business, Law and Public Policy, and Health Care and Services Industry lists to complete the five courses required for the Information Technology concentration.

Information Technology Courses
CS 571 Operating Systems (3:3:0).
CS 671 Advanced Operating Systems (3:3:0).
CS 672 Computer System Performance Evaluation (3:3:0).
CS 673 Multimedia Computing and Systems (3:3:0).
CS 707 Distributed Software Systems (3:3:0).
CS 750/INFT 750 Theory and Applications of Data Mining (3:3:0).
CS 755 Advanced Computer Networks (3:3:0).
ECE 646 Cryptography and Computer Network Security (3:3:0).
ECE 741 Wireless Networks (3:3:0).
INFS 601 Operating Systems Theory and Practice (3:3:0).
INFS 623 Information Retrieval (3:3:0).
INFS 755 Decision Support Database Systems (3:3:0).
INFS 760 Advanced Database Management (3:3:0).
INFS 770 Knowledge Management for E-Business (3:3:0).
ISA 765 Database and Distributed Systems Security (3:3:0).
ISA 766 Internet Security Protocols (3:3:0).
ISA 767 Secure Electronic Commerce (3:3:0).
INFT 809 Scaling Technologies for E-Business (3:3:0).
OR 635 Discrete System Simulation (3:3:0).
SWSE 619/CS 619 Software Construction (3:3:0). [Next]
SWSE 620/CS 620 Software Requirements and Prototyping (3:3:0).
SWSE 621/CS 621 Software Design (3:3:0).
SWSE 632/CS 632 User Interface Design and Development (3:3:0).
SWE 642 Software Engineering for the World Wide Web (3:3:0)
SYST 781/INFS 781/STAT 781: Data Mining and Knowledge Discovery (3:3:0).
Note: CS 571 and INFS 601 are mutually exclusive. Only one of them can be used for the MS in E- commerce program.

EC 600 Group Project in Electronic Commerce (3-6:3-6:0). Prerequisite: Completion of all core courses and at least nine of the credits in the specialization area of the MS in E- commerce program. Group projects in electronic commerce (EC) selected to illustrate special problems and solutions in development, design, and implementation of EC systems. Groups will be inter-disciplinary involving students with background in information technology, business, public policy, law, and health information systems. Faculty from these various specialties will be involved in teaching the course. The final project will be exhibited to a panel of judges composed of faculty members and experts from private and government organizations.

Program description:
The Master of Science in E-Commerce (MS in E-Commerce) is a comprehensive program designed to prepare students for careers in the digital economy. This inter-disciplinary program draws from knowledge areas such as business and management, public policy, legal issues and intellectual property, and information technology. Students will be able to integrate the concepts, tools and techniques learned in their coursework to analyze, design and deploy Internet- and Web-based solutions in areas such e-commerce, management, banking, health care, government, and education. In addition, they will respond to the demand for professionals - in Northern Virginia and beyond - with skills and knowledge to create new business processes, architectures and systems for the emerging digital economy.

The MS in E-Commerce is a University-wide program, managed jointly by the School of Information Technology and Engineering, the School of Management, the School of Public Policy, the School of Law, the College of Arts and Sciences, and the College of Nursing and Health Science. It is housed in the School of Information Technology and Engineering.

Program Director: Prof. Larry Kerschberg, School of Information Technology and Engineering.

Steering Commitee:

Prof. Andres Fortino, School of Management
Prof. Peggy J. Maddox, College of Nursing and Health Science
Prof. Jeff Parker, School of Law
Prof. Pris Regan, College of Arts and Science
Prof. Steve Ruth, School of Public Policy

Peter Jackson’s remake of King Kong

Peter Jackson's remake of King Kong is coming out next Wednesday. Can it possibly top 1997's "Titanic" as the highest-grossing movie of all time? We just have to wait and see. This movie is definitely a must-see.

All-Time Worldwide Boxoffice: [Source: www.imdb.com]

  1. Titanic (1997) $1,835,300,000


  2. The Lord of the Rings: The Return of the King (2003) $1,129,219,252


  3. Harry Potter and the Sorcerer's Stone (2001) $968,600,000


  4. Star Wars: Episode I - The Phantom Menace (1999) $922,379,000


  5. The Lord of the Rings: The Two Towers (2002) $921,600,000


  6. Jurassic Park (1993) $919,700,000


  7. Shrek 2 (2004) $880,871,036


  8. Harry Potter and the Chamber of Secrets (2002) $866,300,000


  9. Finding Nemo (2003) $865,000,000


  10. The Lord of the Rings: The Fellowship of the Ring (2001) $860,700,000

Tuesday, December 6, 2005

Hot Links

Software Development Web Sites

Google: Ten Golden Rules

Check out this article on msnbc.msn.com to see how Google has become so successful in what it does.

Google's Ten Golden Rules:

  • Hire by committee


  • Cater to their every need


  • Pack them in


  • Make coordination easy


  • Eat your own dog food


  • Encourage creativity


  • Strive to reach consensus


  • Don't be evil


  • Data drive decisions


  • Communicate effectively

Monday, December 5, 2005

First Big Snow Storm of Winter 2006


This picture was taken in New Kent, Richmond on 12/05/2005.
Photographed by Hoang-Anh.

Javascript Location Object

The Javascript location object has 3 important properties: href, host, and protocol and 2 methods: replace() and reload()

location.href - returns the current URL
location.host - returns the current Host
location.protocol - returns the protocol used
window.location.href = "http://www.newurl.com" - sends user to "http://www.newurl.com"
window.location.replace("http://www.newurl.com") - sends user to "http://www.newurl.com"
setTimeout("location.reload()",100000) - refreshes the current page every 100 seconds

Sunday, December 4, 2005

string-length()

<xsl :if test="string-length($variable)=0">

You can use the above XSLT IF statement to check whether the length of the $variable is equal to 0.