askars

Archive for December, 2006

Internal workings of Windows Live Messenger

In IT, Opinion, Technical on December 31, 2006 at 8:01 pm

Take a look at the way the “Messenger Relay” system relays your Windows Live messages from one end to the other. (Click on the image to see the full view)

Here is how the whole thing flies around,

1. The user starts the session by double clicking a contact.
2. The user’s Windows Live ID credentials are sent across to the Windows Live ID Credentials server for further verification
3. The information is passed through a incoming only firewall to the dispatch server. This is the first point of connection for the message being sent.
4. Depending where the user is in the world, a connection will be made to the local notification server. There are main ones in Singapore, Dublin, Redmond and Reading. This keeps the connection between the two users alive, and keeps things updated such as user status, chat requests and email notifications from Windows Live Mail/Hotmail.
5. The message itself doesn’t go near the notification servers – it is passed onto the switchboard server which is the where all the messages and files are exchanged. The user starting the chat can talk to one user, whilst using another switchboard session to talk to someone else, and another switchboard session for someone else still – without even knowing it. Invitations, file transfers and video/voice chat are also sent through here.
6. The information is then relayed back through an outgoing firewall and checks the user is still online. If the user is offline by the time the message is ready to be received, then it’ll bounce back and be saved on the switchboard session until the user logs back on again. If they are online, they will receive the message.

Source: http://www.msblog.org

Microsoft’s Free Ferrari Laptop Giveaway

In News, Opinion, Thoughts, Windows Vista on December 28, 2006 at 8:57 pm

You must have heard this…it’s one of the hot news in the blogosphere. “Microsoft is giving away some of the powerful laptops around, loaded with Vista, to some of the bloggers”. That’s the story.

Lately, the blogosphere was packed with the leaders of the blogosphere talking about whether it’s ethical to accept such an offer, is it okay to keep the gift or just give it away etc.

Robert Scoble thinks that it’s an awesome idea from Microsoft to giveaway the preloaded Vista laptops. Joel at Joel on Software says that Scoble was wrong and Microsoft in essence was bribing the bloggers to write about their product. It’s kind of a war of opinions flying around in the blogosphere.

I think it might not be an awesome idea but at the same time it might not be considered as bribing. Microsoft was not forcing you to write about their product and you are not obliged to write about just because you’ve accepted the gift. They say it would be nice if they review about it but they don’t force you to do so. It’s not a cheap marketing for them as well because the bloggers who’ve got the gift was already blogging about Microsoft products. So it’s not in anyway a cheap marketing campaign.

It might not be an awesome idea because it might trigger a biased blogosphere as bloggers might target that niche to be in line for the next years gift. The reviews might be one sided and might not be true enough. That way it wasn’t a great idea to send a gift preloaded with a specific product (particularly your own).

But I would take it as being a gift from Microsoft for writing all year about their product.

PS: Sorry for not posting to my blog for a while. I wasn’t in a position to post to my blog these days. I hope I should be able to resume my regular posting habit from now on.

Firefox 2.0.0.1 update is available for download

In Breaking News, Browser, News, Tools on December 19, 2006 at 1:48 pm

Mozilla today silently released a patch version of Mozilla Firefox 2.0.0.1. The update is not available yet on the Firefox homepage but you can get this update thru their FTP servers.

This update includes some major bug fixes and some fixes to memory leaks. Here is a complete list of bugs that are fixed in 2.0.0.1.

Firefox team indicates that some of the memory leak issues are because of the Adobe Flash Player issues and they suggest to download the latest Adobe Flash Player (version 9.0.28.0).

Download Firefox 2.0.0.1 (Direct Link – Approx. 5.8 MB)

Best Buy made $43 million profit in unused gift cards in 2006

In Misc, News on December 18, 2006 at 4:02 pm

Yahoo News reports that the leading retailers are making huge profits on unused gift cards. How much?…for example, Best Buy made $43 million in profit in fiscal year 2006 on unused gift cards. That’s amazing.

Read the full story here.

PS: I have 2 of my Best Buy gift cards sitting on my wallet for a while now. My 2 cents!!!

Technorati tags: , ,

Redesigned Digg.com

In Breaking News, News, Web 2.0 on December 18, 2006 at 3:26 pm

Digg.com just unveiled a revamped Digg.com design which among other things makes uses of the screen real estate to deliver more content. They’ve added 3 major Digg categories, News, Videos and Podcasts (which is still in beta as they’ve unrolled). The overall look and feel of the site looks great..

Digg founder Kevin Rose has blogged about this at his Digg The Blog and has posted a short video that summarizes the new design features.

Visit Digg.

Print your sales receipt for Buy.com "Google Checkout" orders

In Deals, Misc, Tips N Tricks on December 18, 2006 at 12:24 pm

If you are using “Google Checkout” to save some money on your online orders at Buy.com this holiday season you might want to use this link to print your Buy.com sales receipts for you to send in those mail-in rebates. Buy.com offers quite a deal on some of their products if you use their Google Checkout service. With the Google Checkout normally the bottom line price becomes so attractive.

Once you navigate to the Buy.com link page you can search your Google order by one of these ways to print your receipt.

Hope it’s useful.

What is Google Checkout?

Visual Studio 2005 Service Pack 1 (SP1) Released

In .NET, IT, News, Programming, Tools on December 16, 2006 at 10:07 pm

Scott Guthrie announces that, Visual Studio team shipped the final release of Visual Studio 2005 Service Pack 1 yesterday. It is available for immediate download in all 10 languages (English, French, Spanish, German, Italian, Japanese, Korean, Russian, and both traditional and simplified Chinese). 

This SP release is a pretty major service pack release and incorporates a lot of bug-fixes and feedback from customers. Included with the service pack are the support for VS 2005 Web Application Projects (which is also made available as a separate download back in May). It also contains a number of design-time performance optimizations and fixes across the product.

You can download and install it here.

Microsoft launches a redesigned Microsoft.com site

In Breaking News, IT, News on December 16, 2006 at 9:15 pm

Yes, on December 14th Microsoft.com has launched the newly redesigned site.

I think the site deserves a redesign and that was due for a while. The site looks good overall but the page background color is very plain (no patterns) and the Microsoft logo and the page image (the big one) takes up too much space for me to scroll down to see the page content, on a 1280 x 800 screen resolution.

Visit Microsoft.com to see the new design.

For Q&A on the redesign, visit this page.

Google Maps adds multiple destinations

In Breaking News, General, Tips N Tricks, Tools on December 16, 2006 at 6:44 pm

The ever famous Google Maps now allows you to get directions for multiple destinations. That’s pretty cool of a feature that was missing for quite a while from a service like Google Maps and the Google Maps team has just unveiled the feature for your convenience.

To add multiple destinations to your driving directions, just click the Add destination link below the directions and add as many touchpoints as you would want.

Visit Google Maps.

PS: I’m not sure whether they have rolled this out in a hurry or not but Google Maps now complains when I tried to locate my home address. Duh!

Amazon Customers Vote program is back, now with a Special Edition

In Breaking News, Deals, Gadgets on December 16, 2006 at 3:54 pm

You must be remembering the last time Amazon ran the Customers Vote program, it was a big hit and the products disappeared in no time. Now they are back with a Special Edition of the Customers Vote program.

This time the whole gist of it is a bit different. Here is a quote from Amazon on how it works.

Select the item that you want: the Sony PlayStation 3 (20GB), the Nintendo Wii, or the Sony PlayStation 3 (60GB). Then click the “Sign up” button under that item to get a chance to be randomly selected for the opportunity to purchase that item. Note:

  • Your Amazon.com account must have been created no later than 11:59 p.m. (Pacific time) on December 11, 2006.
  • You need an authorized credit card on your account.
  • The claim codes will be distributed only to randomly selected customers.
  • If selected, you are eligible to buy only the deal that you signed up for.

The sign-up process ends on Sunday, December 17, at 11:59 p.m. Pacific time. Come back to this page anytime on Tuesday, December 19 (12:00 a.m. – 11:59 p.m. Pacific time), to find out if you have been randomly selected for the opportunity to purchase the console that you signed up for.

Dates to remember:

  • Your Amazon.com account must have been created no later than 11:59 p.m. (Pacific time) on December 11, 2006.
  • The sign-up process ends on Sunday, December 17, at 11:59 p.m. Pacific time.
  • You have to visit this page anytime on Tuesday, December 19 (12:00 a.m. – 11:59 p.m. Pacific time).

I’ve signed-up for the “incredibly hard to find” Nintendo Wii console. Last time when I tried for an XBox 360 console the site was slow enough to let me loose my bid. I hope this time there won’t be any competition for traffic.

Here is the link to the page.

Good luck and please leave your comments.

Google lets you register your domain for $10 per year with "Google Apps For Your Domain" feature

In Breaking News, Deals, News, Tools on December 15, 2006 at 11:57 pm

Last August Google announced the availability of “Google Apps for your domain”. Here is a quote from Google of what the “Google Apps for your domain” feature is.

Google Apps for Your Domain lets you offer private-labeled email, IM and calendar accounts to all of your users, so they can share ideas and work more effectively. These services are all unified by the start page, a new addition to this service, a unique, dynamic page where your users can preview their inboxes and calendars, browse content and links that you choose, search the web, and further customize the page to their liking. You can also design and publish web pages for your domain.

Until now the feature was only available to the people who already own a domain, who wanted to add Google Apps to their domains.

Now surprisingly Google added a new cool feature to it that lets people who don’t yet have their own domain to register new domains for $10 per year. Google has partnered with GoDaddy.com and eNom, two leading domain registration services, to offer domains for $10 per year. And what’s further cool is that it includes “private registration”. Private registrations helps protect your personal information by not publishing your private information to the Whois database.  

Make use of the service here.

Download Adobe Photoshop CS3 Beta

In Breaking News, IT, Tools on December 15, 2006 at 7:51 pm

Adobe Labs now offers the new beta version of Photoshop CS3 for public download. The beta is available as a Universal Binary for the Macintosh platform as well for Microsoft Windows XP and Windows Vista computers, with the final shipping release of Adobe Photoshop CS3 planned for spring 2007.

The Photoshop CS3 beta is available in English only but to Photoshop CS2 users worldwide. It is available to licensed users of either the Photoshop CS2 (full, upgrade, and education), Adobe Creative Suite 2 Standard or Premium (full, upgrade, and education), Adobe Production Studio Standard and Premium (full, upgrade, and education), Adobe Video Bundle (full, upgrade, and education) or Adobe Web Bundle (full, upgrade, and education). You will need to provide your Photoshop CS2, Creative Suite, Production Studio or Bundle serial number in order to get a Photoshop CS3 beta serial number, enabling you to activate the Photoshop beta and use it beyond the two-day grace period.

DownloadSquad reports that even if you don’t own CS2 you can still try the CS3 beta for free for 30 days.

Download the Adobe Photoshop CS3 Beta from here.

9 most important requirements to make your pages XHTML compliant

In Programming, Technical, Tips N Tricks, Web Standards on December 14, 2006 at 8:24 pm

These days we all talk about web standards and pretty much of every web developer knows about XHTML (at least what that means, duh, if you are not). I’m a big fan of Web Standards and the benefits it bring towards the manageability of the code base and the cross browser issues that any web developer has to deal with.

Well, if you are put that “W3C XHTML 1.0″ compliant stamp on to your page you have to validate your page against the W3C Markup Validation Service. There is a huge laundry list of items that you should have to take care of to get your pages stamped but at least you should have to make sure you comply with these 9 of the most important requirements,

  1. The page must include a valid XHTML DOCTYPE.
  2. A valid XHTML page must include an XHTML DOCTYPE before any of its content. When you create a new ASP.NET page in Visual Studio 2005 or Microsoft Visual Web Developer, the correct DOCTYPE for XHTML 1.0 Transitional is automatically included in the page. Here are the four standard XHTML DOCTYPES:

    XHTML 1.0 Transitional

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    XHTML 1.0 Strict

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    XHTML 1.0 Frameset

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

    XHTML 1.1

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    Adding a DOCTYPE to a page has an impact on how the page is rendered in a browser. See the section below entitled XHTML and DOCTYPE Switching.

  3. The root element must refer to the XHTML namespace
  4. The opening <html> tag of an XHTML page must specify a default namespace of http://www.w3.org/1999/xhtml. Here’s a sample of a valid opening <html> tag for an XHTML 1.0 Transitional page.

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

     

  5. All element and attribute names must be lowercase.
  6. XML is case-sensitive. Therefore, there is a difference between the <p> tag and the <P> tag. Only the former is a valid XHTML paragraph tag.

  7. Attribute values must always be quoted.
  8. Always wrap attribute values in either double or single quotation marks. For example, the following is invalid XHTML.

    <a href=SomePage.aspx>Next</a> 

    In this case, the href attribute is missing quotation marks. The following is valid XHTML.

    <a href="SomePage.aspx">Next</a> 

    You can configure Visual Studio 2005 and Visual Web Developer to automatically quote attribute values, by selecting the menu option Tools, Options, Format.

  9. All non-empty elements that have an opening tag must have a matching closing tag.
  10. If you have an opening <p> tag, then you must include a closing </p> tag to mark the end of the paragraph. In the case of tags that never contain any content, such as the <br> tag, you can either supply a both an opening and closing <br></br> tag, or you can use the empty element shorthand <br />.

    In order to make your XHTML pages backward-compatible with existing HTML browsers, you need to be careful about how you open and close your tags. For example, existing HTML browsers tend to misinterpret an opening and closing <br></br> tag as two <br> elements. For that reason, you should use the empty element shorthand <br />.

    Furthermore, existing HTML browsers have problems with the empty element shorthand <br /> unless you are careful to add a space before the closing slash. So, you should add a <br> element to a page using <br [space] /> and not <br/>.

  11. There must be no overlapping tags.
  12. You can nest tags, but you are not allowed to overlap tags. For example, the following XHTML is valid.

    <b><i>This is bold and italic</i></b>

    However, the following XHTML is invalid.

    <i><b>This is bold and italic</i></b>

     

  13. There must be no attribute minimization.
  14. All attributes must have a value, even when it looks a little strange. For example, the tag <input type=”checkbox” checked /> is invalid XHTML, because the checked attribute does not have a value. The tag should be written <input type=”checkbox” checked=”checked” />.

  15. The id attribute must be used instead of the name attribute.
  16. In HTML, you use the name attribute to identify <a>, <applet>, <form>, <frame>, <iframe>, <img>, and <map> elements. While you can use the name attribute when building XHTML 1.0 Transitional pages, the name attribute has been removed from the XHTML 1.0 Strict and XHTML 1.1 standards. You should use the id attribute to identify these elements instead.

  17. The contents of <script> and <style> elements must be wrapped in CDATA sections.
  18. If you use special characters such as < or &, or entity references such as &lt; or &amp; in a script or style sheet, then you’ll need to mark the contents of your script or style sheet as a CDATA (character data) section, as follows.

    <script type="text/javascript">
    <![CDATA[
    
    function isLess(a, b) {
      if (a < b)
        return true;
    }
    
    ]]>
    </script>

    Notice that the JavaScript function contained in the script includes a < character. If you do not wrap the script in a CDATA section, then the < character would be interpreted as marking the start of an XHTML tag.

    Using a CDATA section will not work with all browsers. For example, Internet Explorer considers a CDATA section in a <script> tag a syntax error. You can avoid this problem by adding JavaScript comments, as follows.

    <script type="text/javascript">
    /* <![CDATA[ */
    
    function isLess(a, b) {
      if (a < b)
        return true;
    }
    
    /* ]]> */
    </script>

    JavaScript uses /* and */ to mark the beginning and end of a comment. Therefore, the CDATA section is hidden from the JavaScript, but not from the browser that parses the page. In general, it is a better idea to place your style rules and scripts in external files and reference the files from your XHTML pages. Using external style sheets and scripts enables you to avoid all of these issues.

After making sure these requirements are met then you can head towards the W3C Markup Validation Service to get your pages stamped as XHTML compliant.

Hope it helps.

Amazon To Sell Wii and PS3 Soon

In Gadgets, News on December 14, 2006 at 7:29 pm

TechCrunch reports that Amazon will soon be selling the frenzy Nintendo Wii and Sony PlayStation 3 consoles. Amazon sold out Wii consoles on the first day of its release in less than one minute and has not been able to keep PS3 in stock consistently at all. Even though its not clear when Amazon will take the orders again for Wii and PS3, as per TechCrunch it would be soon.

Read the source of the report here.

Google releases Google Toolbar 3 Beta

In Browser, Gadgets, IT, News, Tools, Windows XP on December 14, 2006 at 2:07 pm

Google announced on Tuesday the availability of it’s new Google Toolbar 3 Beta version. The new beta version is packed with handy features that makes downloading Google Toolbar 3 Beta a smart thing to do. Here are the new features at a glance.

  • Custom buttons
  • Send To
  • Google Docs & Spreadsheets
  • Bookmarks
  • Google Account Sign-in
  • Enhanced Search Box
  • Google Safe Browsing
  • AutoFill
  • WordTranslator
  • Subscribe to Feed
  • Send with Gmail
  • Custom Layouts
  • AutoLink
  • SpellCheck
  • PageRank Display
  • Highlight Search Terms
  • Word Find Buttons
  • Auto Update

Here is the full list of the new features.

for Firefox 1.5+ versions.

For Internet Explorer 6.0+ versions please use this link to download the toolbar.

The JibJab "Year in Review" Video

In Humor on December 13, 2006 at 8:12 pm

You’ve got to watch this “Nuckin’ Futs” video from Jib-Jab. Quite funny.

Watch it here.

20 Smart Companies to Start Now

In Breaking News, General, Thoughts, Tips N Tricks on December 13, 2006 at 4:08 pm

Howard Schultz, Steve Case, Vinod Khosla…these are the major venture capitalists whom have backed many of the mega hits in the business world. CNN Money and Business 2.0 Magazine have a list of smart business ideas that these and other major venture capitalists will back to give the entrepreneurs a total of $100 million if they can make these ideas happen.

Some of them are pretty interesting concept, like, iDrive, a better Energizer, Patient Monitoring to Go, GPS Guided Coupons and the Social Marketplace.

Read the full list here.

Noticeable slow streaming at YouTube lately

In Misc, Opinion, Web 2.0 on December 12, 2006 at 2:36 pm

Did you notice lately that, after Google has grabbed YouTube, it has become a bit slow? I’ve noticed lately that when it comes to streaming it’s taking more time than before to stream-ahead (buffer) the bytes. It has become annoying to a level that it interferes with the user experience.

Mighty Google…can you hear me?

Technorati tags: ,

Full RSS Feeds vs Partial RSS Feeds

In General on December 8, 2006 at 11:27 pm

Amit Agarwal at Digital Inspirations has switched from partial RSS feeds to full RSS feeds and for the better has written about what’s better. He leans towards the full RSS feed side of the story, which I agree.

Partial RSS feeds are good when you have to just skim thru the content (read - skip some of the feed items that you are interested of). Partial feeds are easy to load particularly when you have days (loads) of feeds to read. To me these are the only 2 benefits that I can see with the partial feeds.

I’m a big fan of full RSS feeds. It makes sense to have the full content to be read after the content has reached the reader. Also it gives the flexibility to the reader to read the full content at any time even disconnected depending on the capability of the RSS reader. Since these days we have gazillions of feed items to read it makes sense to read all the items in a single place rather than to jump sites to read the items. Full RSS feeds makes more sense and has all the benefits except one.

As Amit points out, one is to loose the advertising revenue as readers will mostly be sticking with the reader itself and won’t hit the site. But, hey, is it the revenue that really matters here or is it the user experience? Revenue can be generated in many different ways (even including, feedvertising). But, to me, the user experience should be the prime factor here. Full RSS feed’s benefits certainly outweighs its disadvantages.

That doesn’t make me feel better as I always prefer that the final decision should be given to the end user. I would prefer if I decide to choose whether I need full RSS feed or partial RSS feed from a site. The user should be given a choice. For example, it doesn’t make too much sense to subscribe to full RSS feeds to frequently mass updated sites like Digg, Reddit etc. But where as it makes sense to subscribe to full RSS feeds to sites like Bold-Italic-Underline, Digital Inspirations etc which are a bit less frequently updated that Digg.

So, my verdict on this discussion is that even though I prefer full RSS feeds for life I would rather prefer if I’m given a choice on what to decide.

Read Amit’s post here.

Utility function to convert Type to SqlDbType

In .NET on December 8, 2006 at 11:15 pm

Here is a nice utility function that helps you convert a System.Type to it’s corresponding System.Data.SqlDbType. Hope it’s useful.

private SqlDbType GetDBType(System.Type theType)
{
    SqlParameter param;
    System.ComponentModel.TypeConverter tc;
    param = new SqlParameter();
    tc = System.ComponentModel.TypeDescriptor.GetConverter(param.DbType);
    if (tc.CanConvertFrom(theType))
    {
        param.DbType = (DbType)tc.ConvertFrom(theType.Name);
    }
    else
    {
        // try to forcefully convert
        try
        {
            param.DbType = (DbType)tc.ConvertFrom(theType.Name);
        }
        catch(Exception e)
        {
            // ignore the exception
        }
    }
    return param.SqlDbType;
}

Interesting trivia about Digg

In General, IT on December 7, 2006 at 11:38 pm

TechCrunch has some interesting trivia about Digg on Digg’s 2 year anniversary. Here is the trivia,

* First story to hit the home page after officially releasing: http://digg.com/tech_news/Google_Cheat_Sheet

* # of users who registered in the first week: 578
* # of registered users today: 707,593

* First 10 users who registered and are still actively Digging:

http://digg.com/users/Waldoze
http://digg.com/users/drinet
http://digg.com/users/mkirk
http://digg.com/users/jkenzer
http://digg.com/users/nickster
http://digg.com/users/Anthony
http://digg.com/users/dkurfurst
http://digg.com/users/bnitro
http://digg.com/users/CUBApete
http://digg.com/users/martinhuard

* # of servers Digg had at launch: 1 (rented)
* # of servers Digg has today: 103

* # of stories submitted the first week: 923
* # of stories submitted last week: 15,412
* # of stories submitted (all-time): 1,001,865

Mike even have put forward a complete coverage about Digg. Take a look at here for the complete coverage.

Congratulations Digg Team on the 2nd year anniversary!!!

FICO Scores – Explained

In Misc, Personal, Tips N Tricks on December 7, 2006 at 9:29 pm

You’ve been there and I’ve been there. We all watch our credit history as much as we watch our bank accounts. True? One of the main components of the credit history is the FICO score, you know that.

FICO stands for Fair Isaac Corporation. The credit scores are calculated based on the FICO algorithm/formula. The exact formulae is a top secret and is not available to the public. But the Fair Isaac company has disclosed how much percent they give weightage to the influential factors. Here are they,

  • 35% – Punctuality of payment in the past (only includes payments later than 30 days past due)
  • 30% - The amount of debt, expressed as the ratio of current revolving debt (credit card balances, etc.) to total available revolving credit (credit limits)
  • 15% – Length of credit history
  • 10% – Types of credit used (installment, revolving, consumer finance)
  • 10% – Recent search for credit and/or amount of credit obtained recently

Well, that gives us an idea of what to watch for if you are to maintain a good credit score.

My post-surgery update

In Personal on December 7, 2006 at 9:02 pm

Hello Friends –

You might be just wondering what happened to my blog and why is it not getting updated that frequently. May be you must have read my previous post on my accident. I just wanted to update you on my status.

Thank God the surgery went fine. My post surgery recovery is unexpectedly taking more time than what doctors have anticipated as I got more swelling around the eye and have got a balloon effect around my eye that’s making the recovery a bit hard and long. I’m at discomfort when I look at the monitor for a prolonged period of time and so I wouldn’t promise you at this time that I’ll be posting that much to my blog. Rest assured…I’ll try my best to keep my blog updated as much as possible. Hope you understand my situation.

Thanks for your understanding.

- Askar