<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7164664</id><updated>2008-07-19T16:19:38.009+05:30</updated><title type='text'>Hethu's Techno Babble</title><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default?start-index=26&amp;max-results=25'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7164664.post-6954436319735667448</id><published>2007-11-23T11:29:00.000+05:30</published><updated>2007-11-23T12:23:16.544+05:30</updated><title type='text'>Mounting ISO disk images on a Virtual CD drive</title><content type='html'>There is no built-in way in Windows XP to mount CD images (ISO, UDF, etc.). But a little known tool from Microsoft does this for you and it's free.&lt;br /&gt;&lt;br /&gt;It's not the greatest CD mounting tool and does not have a sleek looking UI, but does its job pretty well.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.hethu.com/blog/images/vcdcontrolpanel.jpg" alt="Windows XP Virtual CD-ROM Control Panel" width="400"&gt;&lt;br /&gt;&lt;br /&gt;It's an amazingly small download (59K) and is free from bloat. Download the &lt;a href="http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe"&gt;Windows XP Virtual CD Control Panel&lt;/a&gt; from Microsoft. The Readme file tells you what you need to do.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2007/11/mounting-iso-disk-images-on-virtual-cd.html' title='Mounting ISO disk images on a Virtual CD drive'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=6954436319735667448' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/6954436319735667448'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/6954436319735667448'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-7574590068028533183</id><published>2007-09-13T11:06:00.000+05:30</published><updated>2007-09-14T12:57:53.163+05:30</updated><title type='text'>How to add a shortcut to SendTo menu</title><content type='html'>One of the first things I do on a fresh Windows install is to add Notepad to the SendTo context menu.  As a developer, it is sometimes convenient to open a code file, XML file or a config file quickly in Notepad for quick edits without opening it up on Visual Studio or launching its associated program.&lt;br /&gt;&lt;br /&gt;So how do you add Notepad (or any other shortcut, for that matter) to the SendTo context menu?&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;img src="http://www.hethu.com/blog/images/sendto_menu.jpg" alt="SendTo context menu"&gt;&lt;/div&gt;&lt;br /&gt;In Windows XP, by default, the SendTo shortcuts are saved in &lt;code&gt;C:\Documents and Settings\[&lt;em&gt;UserID&lt;/em&gt;]\SendTo&lt;/code&gt; folder.  But this folder is hidden by default, so it was a pain to access this folder if you have &lt;em&gt;Do not show hidden files and folders&lt;/em&gt; option set in Explorer Folder Options.&lt;br /&gt;&lt;br /&gt;In Windows Vista accessing this folder is a much bigger pain. Now this SendTo folder is located at &lt;code&gt;C:\Users\[&lt;em&gt;UserID&lt;/em&gt;]\AppData\Roaming\Microsoft\Windows\SendTo\&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;But wait, you don't need to use Explorer to navigate to this folder. There's a much easier way in &lt;em&gt;&lt;strong&gt;both&lt;/strong&gt;&lt;/em&gt; XP and Vista!&lt;br /&gt;&lt;br /&gt;In XP's Run menu or in Vista's Search menu (hey, I luuv this Vista search!), just type &amp;nbsp; &lt;strong&gt;&lt;code&gt;shell:sendto&lt;/code&gt;&lt;/strong&gt; and hit enter to open the SendTo folder.&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;img src="http://www.hethu.com/blog/images/vista_search.jpg" alt="Accessing SendTo folder from Windows Vista"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Simple. How simpler can it get?</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2007/09/how-to-add-shortcut-to-sendto-menu.html' title='How to add a shortcut to SendTo menu'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=7574590068028533183' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/7574590068028533183'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/7574590068028533183'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-115934914516094176</id><published>2006-09-27T14:19:00.000+05:30</published><updated>2006-09-28T11:56:58.676+05:30</updated><title type='text'>How to repair your broken Windows</title><content type='html'>No, this post is not about repairing your house windows.&lt;br /&gt;&lt;br /&gt;Just the other day I found that some of the Windows command line utilities fails with an error "The NTVDM CPU has encountered an illegal operation".&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/ntvdm_error.jpg" alt="The NTVDM CPU has encountered an illegal operation"&gt;&lt;/p&gt;Something has gone wrong and some Windows files have got corrupted. Not all command line tools generates this error, only some of them. So how do I fix this? Reinstall Windows?  That seemed like a bit too extreme under the circumstances.&lt;br /&gt;&lt;br /&gt;As it turns out, there is a built-in tool to check for corrupted system files and to automatically restore them from the original Windows CD.  The tool is called, quite appropriately, "System File Checker" (SFC).&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/SFC.jpg" alt="System File Checker"&gt;&lt;/p&gt;SFC runs the “Windows File Protection” and restores incorrect versions of protected system files with correct Microsoft versions.&lt;br /&gt;&lt;br /&gt;You can run it from a command prompt as&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;code&gt;SFC /SCANNOW&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Make sure to have your original Windows CD around if any corrupted files needs to be restored.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2006/09/how-to-repair-your-broken-windows.html' title='How to repair your broken Windows'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=115934914516094176' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/115934914516094176'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/115934914516094176'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-115043515917172549</id><published>2006-06-16T10:09:00.000+05:30</published><updated>2006-06-16T12:09:47.043+05:30</updated><title type='text'>Windows Genuine Advantage Notification</title><content type='html'>Windows Update and Automatic Updates would install an update called Windows Genuine Advantage (WGA) Notification in Windows XP based systems.&lt;br /&gt;&lt;br /&gt;After this &lt;a href="http://support.microsoft.com/Default.aspx?kbid=905474" taget="_new"&gt;WGA update&lt;/a&gt;, the next time you try to login to Windows, and if you happen to be running a non-genuine version of Windows you'd be greeted with this screen:&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;img src="/blog/images/WGA_login.jpg" alt "Windows Genuine Advantage Login Alert"&gt;&lt;br&gt;WGA Notification at logon&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;A notification Area  balloon will remind you every so often to get a Genuine Copy of Windows, like this:&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;img src="/blog/images/WGA_balloon.jpg" alt "Windows Genuine Advantage Notification balloon"&gt;&lt;br&gt;WGA notification balloon&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;It doesn't stop there. You'll also see a banner locked onto the desktop until you decide to get a genuine copy.&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;img src="/blog/images/WGA_desktop.jpg" alt "Windows Genuine Advantage Notification desktop banner"&gt;&lt;br&gt;WGA desktop banner&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This sure is a good way to irritate and even embarrass users who have installed pirated Windows XP on their computers. &lt;br /&gt;&lt;br /&gt;From the first time users get this notification, they have 14 days to comply. After 14 days they will not be able to download software upgrades such as IE7 and Windows Defender. Critical security updates will still be available like it is now. &lt;br /&gt;&lt;br /&gt;Microsoft hopes that by notifying users that they are not eligible for all Windows upgrades, it will drive more users to purchase a legal copy of Windows, and also report the counterfeit dealers that sold them their copy. In some cases Microsoft will give a free license to users who are victims of a high quality counterfeiting. &lt;br /&gt;&lt;br /&gt;More on this on &lt;a href="http://support.microsoft.com/Default.aspx?kbid=905474" target="_new"&gt;Microsoft Website&lt;/a&gt;.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2006/06/windows-genuine-advantage-notification.html' title='Windows Genuine Advantage Notification'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=115043515917172549' title='2 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/115043515917172549'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/115043515917172549'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-114889407902227952</id><published>2006-05-29T13:59:00.000+05:30</published><updated>2006-06-22T10:58:49.680+05:30</updated><title type='text'>The future of Windows UIs</title><content type='html'>The latest range of upcoming Microsoft products have given up the conventional "standard" window elements like the menu bar and the toolbar. These are replaced with application specific UI items giving a whole new meaning to menus and toolbars.&lt;br /&gt;&lt;br /&gt;Back in our computer studies courses, we were told to make the UIs look consistent, intuitive and "learn-once-and-apply-it-anywhere", and most of the apps today conform to these guidelines. But these theories no longer hold true for the upcoming Microsoft apps.&lt;br /&gt;&lt;br /&gt;Have a look at Windows Media Player 11:&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/media_player11.jpg"&gt;&lt;img border="0" src="/blog/images/media_player11.jpg" alt="Windows Media Player 11" width="400"&gt;&lt;/a&gt;&lt;br&gt;Windows Media Player 11&lt;/p&gt;What you have is a border-less UI with a fancy skin you have to figure out. What used to be the blue “Title Bar” of a window is nowhere to be seen, and what looks like a skinned version of it now also shows the song play duration and length!&lt;br /&gt;&lt;br /&gt;The 'standard' menus and toolbars are gone. This is replaced with what looks like a tab-pane which has buttons that light up and sub menus of their own when you click the small arrow beneath them.&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/media_player11_menu.jpg"&gt;&lt;img border="0" src="/blog/images/media_player11_menu.jpg" alt="Windows Media Player 11" width="400"&gt;&lt;/a&gt;&lt;br&gt;Windows Media Player 11 with context menu&lt;/p&gt;You still can access the main menu by right-clicking on the title bar, and even turn on the menu you used to have which is now called the “Classic Menu. But once you do, it totally ruins the skinned look.&lt;br /&gt;&lt;br /&gt;Now have a look at Windows Live Messenger 8:&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/live_messenger1.jpg"&gt;&lt;img border="0" src="/blog/images/live_messenger1.jpg" alt="Windows Live Messenger" width="150"&gt;&lt;/a&gt; &amp;nbsp; &lt;a href="/blog/images/live_messenger2.jpg"&gt;&lt;img border="0" src="/blog/images/live_messenger2.jpg" alt="Windows Live Messenger - chat window" width="250"&gt;&lt;/a&gt;&lt;br&gt;Windows Live Messenger 8&lt;/p&gt;No menus and toolbars here either. If you try to access the main menu by right clicking on the title bar, it won’t work here. You got to click the new icon in the title bar (right before the minimize icon) for this. It takes 3 seconds to figure this out, but now you have two Microsoft apps that behave differently and look different.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And now the Microsoft Internet Explorer 7:&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/ie7_full.jpg"&gt;&lt;img border="0" src="/blog/images/ie7_full.jpg" alt="Microsoft Internet Explorer 7" width="400"&gt;&lt;/a&gt;&lt;br&gt;Internet Explorer 7&lt;/p&gt;No menu, and umm… the toolbar is not a toolbar but a bunch of buttons scattered all over the place. And how do you get the menu? Right click on the title bar? Won't work. Is there a tiny icon before the minimize button? Not there. Ok, right-click on the empty tab space. Ah, there you have it - the option to enable the 'Classic Menu'.&lt;br /&gt;&lt;br /&gt;Now you have three Microsoft apps that behave differently and look different.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Have a look at Windows Defender:&lt;br /&gt;&lt;br /&gt;Windows Defender (formally Microsoft Anti-spyware) now runs behind the screens to protect against spyware. It's &lt;a href="http://www.microsoft.com/athome/security/spyware/software/default.mspx" target="_new"&gt;free&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/windows_defender.jpg"&gt;&lt;img border="0" src="/blog/images/windows_defender.jpg" alt="Windows Defender" width="400"&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="/blog/images/windows_defender_tools.jpg"&gt;&lt;img border="0" src="/blog/images/windows_defender_tools.jpg" alt="Windows Defender - tools" width="400"&gt;&lt;/a&gt;&lt;br&gt;Windows Defender&lt;/p&gt;There is simply no main menu in Windows Defender and everything is controlled by the couple of buttons in the tool bar. The "Tools" button is no longer the Tools menu, but a button that changes the UI to show the "tools" available.&lt;br /&gt;&lt;br /&gt;How is that? Now you have four Microsoft apps that behave differently and look completely different.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now the upcoming Microsoft Office 2007:&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/word2007.png"&gt;&lt;img border="0" src="/blog/images/word2007.png" alt="Microsoft Office Word 2007" width="400"&gt;&lt;/a&gt;&lt;br&gt;Word 2007&lt;/p&gt;Great... a whole new UI. What looks like a toolbar/menu bar/tab pane combination, with buttons of all sizes and icons of all sizes, some with text and some without, is the ultimate UI change to follow. This whole new combined UI thing clearly deserves a new name...and the new name given is – Ribbon!&lt;br /&gt;&lt;br /&gt;The Ribbon will come in all the Office applications, dynamically changing the buttons and tabs to show what is relevant to do your current task.&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/excel2007.png"&gt;&lt;img border="0" src="/blog/images/excel2007.png" alt="Microsoft Office Excel 2007" width="400"&gt;&lt;/a&gt;&lt;br&gt;Excel 2007 in a black theme&lt;br&gt;&lt;br&gt;&lt;a href="/blog/images/outlook2007_sendmail.png"&gt;&lt;img border="0" src="/blog/images/outlook2007_sendmail.png" alt="Microsoft Office Outlook 2007 - Send Mail" width="400"&gt;&lt;/a&gt;&lt;br&gt;Office 2007 - New mail&lt;/p&gt;What used to be the Tile Bar now has a big office icon on the left, called the "Office Button", which acts something like the old File menu. As you can see, most common buttons like the save and undo are stashed right on the "Title bar" – or what is left of it.&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/excel2007_officebutton.png"&gt;&lt;img border="0" src="/blog/images/excel2007_officebutton.png" alt="Microsoft Office Excel 2007 - Office Button" width="400"&gt;&lt;/a&gt;&lt;br&gt;&lt;strong&gt;Office Button&lt;/strong&gt; in Office 2007 applications&lt;/p&gt;To conclude, now you have &lt;em&gt;at least&lt;/em&gt; five Microsoft apps that behave differently and look &lt;em&gt;completely&lt;/em&gt; different.&lt;br /&gt;&lt;br /&gt;Where are we heading? When Windows Vista time comes, most Windows applications would be having their own UI implementations and behavior -- and that is going to be the end of consistent UIs. Stay tuned.&lt;br /&gt;&lt;br /&gt;PS: Quick Tip: To quickly show the standard menu bar in all of these apps, you can simply hold down the Alt key!</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2006/05/future-of-windows-uis.html' title='The future of Windows UIs'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=114889407902227952' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/114889407902227952'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/114889407902227952'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-113947396598515852</id><published>2006-02-09T13:18:00.000+06:00</published><updated>2006-02-13T10:03:05.890+06:00</updated><title type='text'>IE7 Preview</title><content type='html'>I've been using &lt;a href="http://www.microsoft.com/ie/ie7" target="_new"&gt;IE7 Preview&lt;/a&gt; for the past week and it's been great! Some of the first things you'll notice is the sleek new UI, integrated search providers, tabbed browsing (yes, everybody asked for it), a cool new Quick Tabs preview pane, a new Favorites Center, RSS feeds, bi-cubic zooming, a new print preview and of course the Phishing Filter!&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/ie7_topmain.jpg" title="IE7 top UI"&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/ie7_quicktabs.jpg" title="IE7 Quick Tabs"&gt;&lt;br&gt;IE7 Quick Tabs&lt;/p&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/ie7_favcenter.jpg" title="IE7 Favorites Center"&gt;&lt;br&gt;IE7 Favorites Center&lt;/p&gt;One of the first things I found strange is that text on IE7 was sort of &lt;br /&gt;blurred than before. It turns out that this is because IE7 enables ClearType &lt;a href="http://blogs.msdn.com/ie/archive/2006/02/03/524367.aspx" target="_new"&gt;by default&lt;/a&gt;. This is a bad default, since most of us are not using LCD monitors, but you can quickly turn this off by going to Tools-&gt;Options-&gt;Advanced and clearing the 'Use ClearType' from the Multimedia section.&lt;br /&gt;&lt;br /&gt;Another surprise you'll see is that if you go to google.com or yahoo.com for the first time, the sites will be providing a dialog to add them as an &lt;a href="http://opensearch.a9.com/" target="_new"&gt;OpenSearch&lt;/a&gt; search provider for IE7.&lt;br /&gt;&lt;br /&gt;Surprisingly Google is&amp;nbsp; the default search provider in IE7 out of the box when I installed it. (?) Even then, this is what I got when I first visited Google.&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/ie7_googlesrch.jpg" title="Adding the Google Search Provider"&gt;&lt;/p&gt;I do get a lot of spam, and my Outlook 2003 spam filter does a decent job of catching 99% of them. But occasionally one or two of them slip into my inbox and today I got one of those famous Citibank phishing emails in my inbox. I don't click on links in such emails, but wanting to try out the new phishing filter in IE7, I went ahead.&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/ie7_phishingfilter.jpg"&gt;&lt;img src="/blog/images/ie7_phishingfilter.jpg" title="IE7 Phishing Filter in Action" border="0" width="400"&gt;&lt;/a&gt;&lt;br&gt;Phishing Filter in Action (click to enlarge)&lt;/p&gt;Cool!... IE7 correctly identified the site as a phishing site. Thumbs up! If you want to try this out, click this &lt;a href="http://citibusinessonline.da-us.citibonka.com/cbusol/signon.do" target="_new"&gt;phishing link&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;Finally, the Feeds feature gives you easy access to view and add your favorite RSS feeds. See how it shows my &lt;a href="http://www.hethu.com/blog/atom.xml"&gt;blog feed&lt;/a&gt;.&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://www.hethu.com/blog/atom.xml"&gt;&lt;img src="/blog/images/ie7_feeds.jpg" title="IE7 RSS Feeds" border="0"&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2006/02/ie7-preview.html' title='IE7 Preview'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=113947396598515852' title='54 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/113947396598515852'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/113947396598515852'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-113108435348595906</id><published>2005-11-04T10:02:00.000+06:00</published><updated>2005-11-07T09:17:57.886+06:00</updated><title type='text'>Battle for the platforms</title><content type='html'>Recently Bill Gates has &lt;a href="http://www.zdnet.com.au/news/software/soa/Gates_We_re_entering_live_era_of_software/0,2000061733,39220359,00.htm"&gt; announced&lt;/a&gt; that Microsoft is planning on Internet versions of Windows and Office. I'm not sure what exacly this means or how they're going to pull this off, but it's quite surprising that Microsoft having their core products relying on the desktop for Windows and Office now moving on to platform independent web versions.&lt;br /&gt;&lt;br /&gt;Yes, it's still vaporware, but a beta site is already up for Windows Live! and it's non other than  &lt;a href="http://www.live.com/" terget="_new"&gt;live.com&lt;/a&gt; !&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://www.live.com/" terget="_new"&gt;&lt;img src="/blog/images/windowslive.gif" alt="Windows Live" border="0"&gt;&lt;/a&gt;&lt;/p&gt;So what is Windows Live?  Well, seems like it's a platform that brings together all your desktop application functionality to a browser. Starting off with Windows Live Mail, Windows Live Messenger, Windows Live Safety, Windows Live Favorites and Windows Live - what not. You can &lt;a href="http://ideas.live.com/"&gt;try these betas&lt;/a&gt; now.&lt;br /&gt;&lt;br /&gt;Windows Live Mail is the next generation of Hotmail which was earlier announced with the codename &lt;a href="http://www.google.com/search?hl=en&amp;q=hotmail+kahuna" target="_new"&gt;Hotmail Kahuna&lt;/a&gt;.  It promises the interface of the desktop version of Office Outlook 2003, with multi-select drag drop and right click context menus all with &lt;a href="http://en.wikipedia.org/wiki/AJAX"&gt;AJAX&lt;/a&gt; (Asynchronous JavaScript and XML) technologies.  Watch out GMail!&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://ideas.live.com/" target="_new"&gt;&lt;img src="/blog/images/livemail1.jpg" alt="Windows Live Mail (Hotmail Kahuna)" border="0"&gt;&lt;br /&gt;&lt;img src="/blog/images/livemail2.jpg" alt="Windows Live Mail (Hotmail Kahuna)" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;While Microsoft is moving onto the web arena, the web frontier Google is moving onto the desktop space. Google released &lt;a href="http://desktop.google.com"&gt;Google Desktop 2&lt;/a&gt; recently, which is a combination of Google Desktop Search and the Google Sidebar all in one. So you get to see your GMail, your News etc all in one place plus the desktop search built on top of it.&lt;br /&gt;&lt;br /&gt;As I have &lt;a href="http://www.hethu.com/blog/2005/03/online-rss-news-reader.html" target="_blank"&gt; blogged&lt;/a&gt; earlier in March, Microsoft introduced their online (RSS) news reader at &lt;a href="http://www.start.com" target="_new"&gt;start.com&lt;/a&gt; with cool drag and drop and AJAX tricks. Google recently joined the game with their own &lt;a href="http://reader.google.com" target="_new"&gt;Google Reader&lt;/a&gt;. Check that out. It's still beta like every other Google thing, but still very impressive. Btw. when is GMail coming out of Beta?  It's been in beta stage since...... forever.  :-/</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/11/battle-for-platforms.html' title='Battle for the platforms'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=113108435348595906' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/113108435348595906'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/113108435348595906'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112962249905525323</id><published>2005-10-18T13:54:00.000+06:00</published><updated>2005-10-19T10:38:44.866+06:00</updated><title type='text'>Side-effects of "con" Console</title><content type='html'>Few days back I got an email which read:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;An Indian discovered that nobody can create a folder anywhere named as "con" &lt;br /&gt;&lt;br /&gt;This is something pretty cool... and unbelievable... At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened! &lt;br /&gt;&lt;br /&gt;Try it out yourself... &lt;/blockquote&gt;&lt;br /&gt;Anyone who is old enough to have used DOS would know better. What a lame and ignorant thing to say that even Microsoft couldn't answer!&lt;br /&gt;&lt;br /&gt;I was even more surprised to hear the same lame story on Yes FM Radio today. The show host has obviously got the same email and thought it was cool enough to share on air and went on saying "can you believe it, even Bill Gates doesn't seem to know why"!!! &lt;br /&gt;&lt;br /&gt;Geeeez... talk about being clueless and ignorant!&lt;br /&gt;&lt;br /&gt;Let me give you a clue.  Almost everyone with a DOS background (I know, I'm one of those few &lt;a href="http://en.wikipedia.org/wiki/Leet" target="_new"&gt;l337s&lt;/a&gt; :) knows that "con" is the named IO device for the primary &lt;strong&gt;con&lt;/strong&gt;sole.&lt;br /&gt;&lt;br /&gt;So if you want to copy the output of a file to the console, you can type at a Command Prompt:&lt;br /&gt;&lt;strong&gt;&lt;code&gt;copy file.txt con&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;And if you want to create a new file with the contents you enter at the console, type:&lt;br /&gt;&lt;strong&gt;&lt;code&gt;copy con file.txt&lt;/code&gt;&lt;/strong&gt;&lt;br /&gt;key in your text content, type Ctrl-Z (or F6) and hit Enter to save the file.&lt;br /&gt;&lt;br /&gt;This is one of my favorite ways to quickly create DOS batch files, and I've been doing this for &lt;em&gt;years&lt;/em&gt;! &lt;br /&gt;&lt;br /&gt;Now, getting back to the original email about not being able to create a folder named "con"; answer this: if you can create such a folder, what on earth would happen to my favorite &lt;strong&gt;&lt;code&gt;copy con file.txt&lt;/code&gt;&lt;/strong&gt; command?&lt;br /&gt;&lt;br /&gt;And oh, while we are at it, "prn" is also such an IO device (for local printer) and you can't create such a named folder either, and I am quite sure Microsoft (and Bill Gates) are quite aware of this unbelievable thing too!  &lt;br /&gt;&lt;br /&gt;This reminds me, another one of my DOS-days favorite is to use &lt;strong&gt;&lt;code&gt;copy con prn&lt;/code&gt;&lt;/strong&gt; and use the locally attached printer as a typewriter. ie. type something on the console and hit Enter to print that line on the printer. Amuse yourself with good ol' DOS tricks!</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/10/side-effects-of-con-console.html' title='Side-effects of &quot;con&quot; Console'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112962249905525323' title='4 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112962249905525323'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112962249905525323'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112961352995031513</id><published>2005-10-18T10:13:00.000+06:00</published><updated>2005-10-18T18:18:50.066+06:00</updated><title type='text'>Me @ Microsoft Tech.Ed 2005</title><content type='html'>I finally went for the &lt;a href="http://www.hethu.com/blog/2005/09/microsoft-teched-2005-in-sri-lanka.html"&gt;much awaited&lt;/a&gt; Tech.Ed 2005 show held at Waters Edge, Battaramulla, Sri Lanka.&lt;br /&gt;&lt;br /&gt;The event started off with a cool thabla and drums musical show with flashy lighting effects and high tech sounds. For a moment, I was stunned and was wondering whether I came in for the right techie event! :)&lt;br /&gt;&lt;br /&gt;After the intro, and after some keynote speakers, it was straight down to techie sessions.&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/teched_srilanka_2005_1.jpg" target="TechEd"&gt;&lt;img src="/blog/images/teched_srilanka_2005_1.jpg" alt="Microsoft Tech.Ed 2005 Sri Lanka" width="400" border="0"&gt;&lt;/a&gt;&lt;/p&gt;There were four &lt;a href="http://www.teched.lk/default.aspx?id=tracks" target="_new"&gt;parallel sessions&lt;/a&gt; going on at one given time; so you got to choose among them and decide which sessions you are most interested in. As a developer and enthusiast in Microsoft technologies, that became quite a difficult choice for me.  For example, I had choices like Visual Studio 2005 Team System, Windows Mobile, SQL Server 2005 and Windows Vista sessions. You go for one, you miss three others!&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/teched_srilanka_2005_2.jpg" target="TechEd"&gt;&lt;img src="/blog/images/teched_srilanka_2005_2.jpg" alt="Microsoft Tech.Ed 2005 Sri Lanka" width="400" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/teched_srilanka_2005_3.jpg" target="TechEd"&gt;&lt;img src="/blog/images/teched_srilanka_2005_3.jpg" alt="Microsoft Tech.Ed 2005 Sri Lanka" width="400" border="0"&gt;&lt;/a&gt;&lt;/p&gt;This was the first time we had such an event in Sri Lanka, and yes, there were some minor glitches especially due to bad coordination and time management in some sessions. At one time, one session went on longer than it was scheduled, and once it was over, the people in that session could not attend the other sessions from the beginning since those were already started on schedule. The organizers should have better coordinated this. Maybe we'd do better next year.&lt;br /&gt;&lt;br /&gt;Overall, it was a great event with loads of techie sessions and fun! &lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/teched_srilanka_2005_5.jpg" target="TechEd"&gt;&lt;img src="/blog/images/teched_srilanka_2005_5.jpg" alt="Microsoft Tech.Ed 2005 Sri Lanka" width="400" border="0"&gt;&lt;/a&gt;&lt;/p&gt;Thats me near the XBox gaming zone.&lt;br /&gt;The last day night was a fun night with loads of Microsoft giveaways, hot dancing and booze!  :)&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="/blog/images/teched_srilanka_2005_4.jpg" target="TechEd"&gt;&lt;img src="/blog/images/teched_srilanka_2005_4.jpg" alt="Microsoft Tech.Ed 2005 Sri Lanka" width="400" border="0"&gt;&lt;/a&gt;&lt;/p&gt;Yea, Microsoft style fun!</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/10/me-microsoft-teched-2005.html' title='Me @ Microsoft Tech.Ed 2005'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112961352995031513' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112961352995031513'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112961352995031513'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112866332812124898</id><published>2005-10-07T11:03:00.000+06:00</published><updated>2005-10-07T11:38:34.563+06:00</updated><title type='text'>Random text in Microsoft Word documents</title><content type='html'>You have obviously heard before that you can type &lt;strong&gt;=rand()&lt;/strong&gt; and hit &amp;lt;enter&amp;gt; in a Word document to auto insert paragraphs with the text: "&lt;em&gt;The quick brown fox jumps over the lazy dog".&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;What is interesting is that this is not a hidden Easter egg. It is a known documented feature, and is described in a Microsoft &lt;a href="http://support.microsoft.com/default.aspx/kb/212251/" target="_new"&gt;Knowledge Base article&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Basically, the idea is to quickly add some sample text to a document. Perhaps to test the print margins, the header/footer behavior or to see how the text looks like when you apply the new Style you just created.&lt;br /&gt;&lt;br /&gt;I found this really handy when I wanted to test the Booklet printing features in Word and wanted at least 5 pages of text.  :)&lt;br /&gt;&lt;br /&gt;Now you don't have to blindly type&lt;br /&gt;&lt;code&gt;&lt;br /&gt;asdf&amp;lt;enter&amp;gt;&lt;br /&gt;fdsaa&amp;lt;enter&amp;gt;&lt;br /&gt;ds&amp;lt;enter&amp;gt;&lt;br /&gt;dsfdsfs&amp;lt;enter&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;repeatedly to fill in a document.&lt;br /&gt;&lt;br /&gt;Use &lt;strong&gt;=rand(p, s)&lt;/strong&gt; and &amp;lt;enter&amp;gt; to insert &lt;em&gt;p&lt;/em&gt; number of paragraphs with &lt;em&gt;s&lt;/em&gt; number of sentences.&lt;br /&gt;&lt;br /&gt;So, =rand(3,5) would insert 3 paragraphs with each having 5 sentences of "The quick brown fox jumps over the lazy dog".&lt;br /&gt;&lt;br /&gt;Go ahead, try something like =rand(100,100)&lt;br /&gt;&lt;br /&gt;&lt;em&gt;(note that the maximum number you can give for a parameter is 200)&lt;/em&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/10/random-text-in-microsoft-word.html' title='Random text in Microsoft Word documents'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112866332812124898' title='6 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112866332812124898'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112866332812124898'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112667822156207054</id><published>2005-09-14T11:55:00.000+06:00</published><updated>2005-09-14T12:18:08.050+06:00</updated><title type='text'>Microsoft Tech.Ed 2005 in Sri Lanka</title><content type='html'>Finally!&lt;br /&gt;&lt;br /&gt;Microsoft is doing something serious here for us in Sri Lanka. The &lt;a href="http://www.teched.lk" target="_new"&gt;Tech.Ed 2005 Sri Lanka&lt;/a&gt; will be held in October 2005.&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/Microsoft_Tech.Ed.gif" alt="Microsoft Tech.Ed 2005 Sri Lanka" border="1"&gt;&lt;/p&gt;Yes, it's going to be BIG! And you can bet, I'll be there!</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/09/microsoft-teched-2005-in-sri-lanka.html' title='Microsoft Tech.Ed 2005 in Sri Lanka'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112667822156207054' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112667822156207054'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112667822156207054'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112555239227484418</id><published>2005-09-01T11:14:00.000+06:00</published><updated>2005-09-01T11:34:08.816+06:00</updated><title type='text'>Playing the Game: Half-Life 2</title><content type='html'>&lt;p&gt;These days, my late nights are exclusively spent fighting my way through the amazing first-person shooting game - Half-Life 2.&lt;/p&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://half-life2.com" target="_new"&gt;&lt;img alt="Half Life 2" src="http://www.hethu.com/blog/images/half-life2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The graphics, AI and surround sound are amazing, giving the best realism ever. Especially the physics of the game environment is unbelievable. Try hitting a wall, a metal post or a wood plank and they all will sound and feel as in the real world. Kick something into the water and it will float depending on its physical properties. The physics engine handles the rules of mass, friction, gravity, and buoyancy amazingly well.&lt;/p&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://half-life2.com" target="_new"&gt;&lt;img alt="Half Life 2" src="http://www.hethu.com/blog/images/half-life.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;What’s more, even Microsoft is &lt;a href="http://msdn.microsoft.com/coding4fun/half-life/default.aspx" target="_new"&gt;interested&lt;/a&gt; in Half Life 2.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/09/playing-game-half-life-2.html' title='Playing the Game: Half-Life 2'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112555239227484418' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112555239227484418'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112555239227484418'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112530575204912870</id><published>2005-08-29T14:00:00.000+06:00</published><updated>2005-08-29T15:19:55.623+06:00</updated><title type='text'>Minimize to Tray (Notification Area) and show Balloon Notifications in C#</title><content type='html'>&lt;p&gt;I have been searching the web for quite a while for a .NET class that can do the minimize to tray animation and show balloon notifications in the notification area.&lt;/p&gt;&lt;p&gt;It is quite easy to make an .NET application show a notification icon in the taskbar notification area with the built in &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboritrayiconctltasks.asp" target="_blank"&gt;NotifyIcon&lt;/a&gt; .NET control. But it is not possible to show a balloon notification message like the one you see when you plug in a USB device, or the one that reminds you of "Files waiting to be written to CD". Also, the built-in &lt;em&gt;NotifyIcon&lt;/em&gt; control doesn't allow you to do the window minimize animation onto the notify icon area as it should. Why have Microsoft not exposed these Win32 functionality to the .NET 1.1 control?&lt;/p&gt;&lt;p&gt;(By the way, there is no such thing called the System Tray, it is officially called the &lt;a href="http://blogs.msdn.com/oldnewthing/archive/2003/09/10/54831.aspx" target="_blank"&gt;Taskbar Notification Area&lt;/a&gt;, but most people still call it the Tray)&lt;/p&gt;&lt;p&gt;If you want to do a minimize to tray, your best bet is to set &lt;code&gt;Form.ShowInTaskbar=false;&lt;/code&gt; and show the &lt;em&gt;NotifyIcon&lt;/em&gt;. But this results in an ugly and a bad minimize animation. The window appears to minimize to the taskbar area and disappears into thin air, and then suddenly the icon appears in the notification area out of the blue. That isn't right.&lt;/p&gt;&lt;p&gt;There are several CodeProject articles giving ways to do this properly. But the best implementation I have found yet is by Matt Griffith in his &lt;a href="http://mattgriffith.net/stories/2002/07/07/mattGriffithsnetUtilitiesClassLibrary.html" target="_blank"&gt;.NET utilities class library&lt;/a&gt;. His &lt;em&gt;NotifyIcon&lt;/em&gt; class can do the following:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Show the notification area icon and tooltip&lt;/li&gt;&lt;li&gt;Minimize to Tray with window animation&lt;/li&gt;&lt;li&gt;Restore from Tray with window animation&lt;/li&gt;&lt;li&gt;Show balloon notifications in the notification area (cool!) until a given timeout&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The class library is very well documented. Unfortunately no code samples are given but it's quite easy to figure it out.&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/08/minimize-to-tray-notification-area-and.html' title='Minimize to Tray (Notification Area) and show Balloon Notifications in C#'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112530575204912870' title='206 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112530575204912870'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112530575204912870'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-112477495407522103</id><published>2005-08-23T11:08:00.000+06:00</published><updated>2005-08-23T11:39:45.356+06:00</updated><title type='text'>Dotted GMails</title><content type='html'>So it seems that GMail addresses can have arbitrary dots in the first part of the email address, and still all the mails sent to those addresses will land on your mailbox properly.&lt;br /&gt;&lt;br /&gt;So for example, all mail sent to &lt;code&gt;hethu.n@gmail.com&lt;/code&gt; or &lt;code&gt;h.e.t.h.u.n@gmail.com&lt;/code&gt; or &lt;code&gt;he..th..un@gmail.com&lt;/code&gt; or whatever the creative dot combination you can come up with is still yours and all the mails will come to the same account.&lt;br /&gt;&lt;br /&gt;Now why would this be useful?  Well, you might want to give a specific &lt;em&gt;dotted email address&lt;/em&gt; freely to the spammers and catch the spam easily with a mail filter and trash them.  So when you are registering for a new website next time with your GMail address, think of giving it a dotted email address.&lt;br /&gt;&lt;br /&gt;But wait, don’t get too exited. Will this neat cool feature create more problems than it solves?  Couldn't the spammers just create arbitrary dotted addresses and spam you even more?  After all, now they have thousands of dotted email aliases instead of one to spam you on!</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/08/dotted-gmails.html' title='Dotted GMails'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=112477495407522103' title='2 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112477495407522103'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/112477495407522103'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-111630783351779573</id><published>2005-05-17T10:57:00.000+06:00</published><updated>2005-05-17T11:38:24.810+06:00</updated><title type='text'>Accessing ADO Constants from ASP pages</title><content type='html'>Here's a tip for old ASP coders. (this is not for the new ASP.NET)&lt;br /&gt;&lt;br /&gt;When using ADO in ASP pages, it is convenient to use the various ADO enumerated constants (eg. adOpenKeyset, adLockReadOnly, etc.) instead of the obscure numeric values that can be used as an alternative. But the only problem with this on ASP pages is that the adovbs.inc file, which declares these constants, must be included with the each ASP page that uses the constants.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;&amp;lt;!-- #INCLUDE FILE="C:\Program Files\Common Files\System\ado\adovbs.inc" --&amp;gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;While this gives more readable code, it increases the size of the ASP pages and adds overhead when the ASP page is compiled and run when it is called.&lt;br /&gt;&lt;br /&gt;If you don't like the idea of including the adovbs.inc file in your ASP pages because of the related overhead that is incurred, but you would like the convenience of not having to use meaningless constants in your code, the option is to load the adovbs.inc file using a &amp;lt;METADATA&amp;gt; tag instead of adding it as an include, using this format:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;&amp;lt;!-- METADATA TYPE="typelib" FILE="c:\program files\common&lt;br /&gt;files\system\ado\msado15.dll" --&amp;gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;To make life even easier, you can have this line in the global.asa file instead of adding it on all the ASP pages. More information on &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/499d9b78-7f7d-436b-a0b1-97833aa1cb3e.asp" target="_new"&gt;MSDN&lt;/a&gt;.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/05/accessing-ado-constants-from-asp-pages.html' title='Accessing ADO Constants from ASP pages'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=111630783351779573' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111630783351779573'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111630783351779573'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-111406574651609938</id><published>2005-04-21T12:28:00.000+06:00</published><updated>2005-04-21T12:50:06.270+06:00</updated><title type='text'>10 Immutable Laws of Security</title><content type='html'>I was browsing the MSDN Blogs and come across this interesting post in the IEBlog about &lt;a href="http://blogs.msdn.com/ie/archive/2005/04/20/410240.aspx" target="_new"&gt;SSL and TLS security&lt;/a&gt;.  Digging through, I ended up with this quite informative Microsoft TechNet article.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The 10 Immutable Laws of Security:&lt;/strong&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;Law #1: If a bad guy can persuade you to run his program on your computer, it's not your computer anymore&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #2: If a bad guy can alter the operating system on your computer, it's not your computer anymore&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #3: If a bad guy has unrestricted physical access to your computer, it's not your computer anymore&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #4: If you allow a bad guy to upload programs to your website, it's not your website any more&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #5: Weak passwords trump strong security&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #6: A computer is only as secure as the administrator is trustworthy&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #7: Encrypted data is only as secure as the decryption key&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #8: An out of date virus scanner is only marginally better than no virus scanner at all &lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #9: Absolute anonymity isn't practical, in real life or on the Web&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Law #10: Technology is not a panacea&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;I highly recommend you read this &lt;a href="http://www.microsoft.com/technet/archive/community/columns/security/essays/10imlaws.mspx" target="_new"&gt;10 Immutable Laws of Security&lt;/a&gt; at Microsoft TechNet.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/04/10-immutable-laws-of-security.html' title='10 Immutable Laws of Security'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=111406574651609938' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111406574651609938'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111406574651609938'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-111397001872742837</id><published>2005-04-15T09:37:00.000+06:00</published><updated>2005-06-06T10:28:16.826+06:00</updated><title type='text'>The Geek Wedding</title><content type='html'>Nothing geeky about it, really.&lt;br /&gt;&lt;br /&gt;My wedding went on as any conventional Sri Lankan Sinhalese wedding. My wife Chãndima wore Kandyan for the wedding on 28th March 2005 and an Indian saree for the home-coming ceremony, on the 2nd of April 2005.&lt;br /&gt;&lt;p align="center"&gt;&lt;img height="226" alt="Hethu and Chãndima - Wedding" src="/blog/images/Hethu-Chandima_Wedding.jpg" /&gt; &amp;nbsp;&amp;nbsp; &lt;img height="226" alt="Hethu and Chãndima - home coming" src="/blog/images/Hethu-Chandima_Homecoming.jpg" /&gt;&lt;/p&gt;Check out more wedding photos as a slideshow in my &lt;a href="http://spaces.msn.com/members/hethu/PersonalSpace.aspx?_c11_PhotoAlbum_spaHandler=TWljcm9zb2Z0LlNwYWNlcy5XZWIuUGFydHMuUGhvdG9BbGJ1bS5GdWxsTW9kZUNvbnRyb2xsZXI%24&amp;_c11_PhotoAlbum_spaFolderID=cns!1p0ZOFiA2KDsPgdAFtaDnn4g!121&amp;amp;_c=PhotoAlbum"&gt;MSN Space&lt;/a&gt;.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/04/geek-wedding.html' title='The Geek Wedding'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=111397001872742837' title='3 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111397001872742837'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111397001872742837'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-111146922352013009</id><published>2005-03-22T11:23:00.000+06:00</published><updated>2005-03-22T11:32:53.996+06:00</updated><title type='text'>Amazing picture</title><content type='html'>Just the other day I received an email which read:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Amazing picutre! Juz press CTRL+A and you will know why is it so!&lt;/blockquote&gt;&lt;p align="center"&gt;&lt;img alt="Amazing picture. Press CTRL+A to see why!" src="/blog/images/amazing_picture.jpg" /&gt;&lt;/p&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/03/amazing-picture.html' title='Amazing picture'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=111146922352013009' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111146922352013009'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111146922352013009'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-111105398631864638</id><published>2005-03-17T15:43:00.000+06:00</published><updated>2005-03-17T16:28:08.923+06:00</updated><title type='text'>Online RSS news reader</title><content type='html'>I was reading through &lt;a href="http://blogs.msdn.com"&gt;MSDN blogs&lt;/a&gt; and came across a not-yet-public &lt;a href="http://www.start.com/1/"&gt;online news reader&lt;/a&gt; from Microsoft.  It still goes as an MSN &lt;a href="http://sandbox.msn.com"&gt;incubation project&lt;/a&gt; but still, works great.&lt;br /&gt;&lt;br /&gt;The online news aggregator is quick, neat and fast with DHTML (think GMail) and I've really gotten to like it. Although it has some quirks and lacks customization as I would like it to have, it gathers news from XML and RSS feeds pretty well and is very easy to use.  Added bonus: MSN Search is integrated.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.start.com/1/"&gt;&lt;img src="/blog/images/news_reader.jpg" border="0"/&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So, if you want to add my Blog to your news feed (where I post very very rarely now!), here's the link. :)&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;pre&gt;http://www.hethu.com/blog/atom.xml&lt;/pre&gt;&lt;/div&gt;And you can also use the orange "xml" image link at the very botom of the page!</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/03/online-rss-news-reader.html' title='Online RSS news reader'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=111105398631864638' title='3 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111105398631864638'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/111105398631864638'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-110595519558458264</id><published>2005-01-17T15:31:00.000+06:00</published><updated>2005-01-17T15:50:16.816+06:00</updated><title type='text'>GMail invitations give away</title><content type='html'>I know, almost everyone has &lt;a href="http://www.gmail.com" target="_new"&gt;GMail&lt;/a&gt; accounts by now, but its surprising that still some GMail &lt;a href="http://search.ebay.com/gmail_W0QQfkrZ1QQfromZR8" target="_new"&gt;invites are sold&lt;/a&gt; at $10 or more on eBay.&lt;br /&gt;&lt;br /&gt;Well, if you are interested in a free 1GB Google mail account, I have plenty to give away - for Free!  :)&lt;br /&gt;&lt;br /&gt;Just drop me an &lt;a href="mailto:hethu.n@gmail.com"&gt;email&lt;/a&gt;.</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2005/01/gmail-invitations-give-away.html' title='GMail invitations give away'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=110595519558458264' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110595519558458264'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110595519558458264'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-110449202449475149</id><published>2004-12-31T17:00:00.000+06:00</published><updated>2005-01-13T10:29:32.216+06:00</updated><title type='text'>Microsoft Certified</title><content type='html'>I am a Microsoft Certified Solutions Developer (MCSD). Now I can proudly use any of these logos in my CV :-)&lt;br /&gt;&lt;p align="center"&gt;&lt;img alt="Microsoft Certified Professional" src="/blog/images/mcp.gif" width="140" /&gt; &lt;img alt="Microsoft Certified Applications Developer" src="/blog/images/mcad.gif" width="140" /&gt; &lt;img alt="Microsoft Certified Solutions Developer" src="/blog/images/mcsd.gif" width="140" /&gt;&lt;/p&gt;When comparing the &lt;a href="http://www.microsoft.com/learning/mcp/mcad/default.asp" title="Microsoft Certified Application Developer" target="_new"&gt;MCAD&lt;/a&gt; to the &lt;a href="http://www.microsoft.com/learning/mcp/mcsd/default.asp" title="Microsoft Certified Solutions Developer" target="_new"&gt;MCSD&lt;/a&gt; Credential based on the Software development life cycle, it comes to something like this:&lt;p align="center"&gt;&lt;img alt="Software development cycle covered in MCP certification" src="/blog/images/mcad_sd_diff.gif" /&gt;&lt;/p&gt;Here is the list of exams I went through to get the MCSD credential.&lt;br /&gt;&lt;small&gt;(I have no idea why there is a huge space below, seems like a Blogger stylesheet bug)&lt;/small&gt;&lt;br /&gt;&lt;br /&gt;&lt;table style="BORDER-COLLAPSE: collapse" bordercolor="#66ccff" cellpadding="2" border="1"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td bgcolor="#d9ecff"&gt;Exam ID&lt;/td&gt;&lt;br /&gt;&lt;td bgcolor="#d9ecff"&gt;Description&lt;/td&gt;&lt;br /&gt;&lt;td bgcolor="#d9ecff"&gt;Date Completed&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;a href="http://www.microsoft.com/learning/exams/70-300.asp" target="_new"&gt;300&lt;/a&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Analyzing Requirements and Defining Microsoft .NET Solution Architectures&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Dec 17, 2004&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;a href="http://www.microsoft.com/learning/exams/70-320.asp" target="_new"&gt;320&lt;/a&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Developing XML Web Services and Server Components with Microsoft Visual C# .NET and the Microsoft .NET Framework&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Aug 18, 2004&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;a href="http://www.microsoft.com/learning/exams/70-229.asp" target="_new"&gt;229&lt;/a&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Designing and Implementing Databases with Microsoft® SQL Server™ 2000 Enterprise Edition&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Jun 29, 2004&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;a href="http://www.microsoft.com/learning/exams/70-316.asp" target="_new"&gt;316&lt;/a&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Developing and Implementing Windows®-based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET &lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;May 26, 2004&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td valign="top"&gt;&lt;a href="http://www.microsoft.com/learning/exams/70-315.asp" target="_new"&gt;315&lt;/a&gt;&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Developing and Implementing Web Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET&lt;/td&gt;&lt;br /&gt;&lt;td valign="top"&gt;Dec 18, 2003&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Now, where do I want to go today?&lt;br /&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2004/12/microsoft-certified.html' title='Microsoft Certified'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=110449202449475149' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110449202449475149'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110449202449475149'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-110308440659486726</id><published>2004-12-15T10:01:00.000+06:00</published><updated>2004-12-17T17:14:36.896+06:00</updated><title type='text'>Where the search begins... and ends</title><content type='html'>Microsoft just launched its latest search tool - &lt;a href="http://beta.toolbar.msn.com/" target="_new"&gt;MSN Toobar Suite&lt;/a&gt;. It tries to unify the searching experience by searching the desktop files, emails and the Internet. The suit installs three toolbars; the clasic MSN Toolbar for IE, another for Outlook, and a one called the &lt;strong&gt;MSN Deskbar&lt;/strong&gt; for the taskbar.&lt;br /&gt;&lt;br /&gt;Even at its beta stage, it sure does a pretty good job. The initial indexing ran in the background for about 40 minutes without interrupting me or taking the system to a crawl. Once done, I fired my first search for "Windows media SDK".  And within milliseconds, I was shown the results then and there. Pretty impressive. It was really really fast!&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/msn_search.png" alt="MSN desktop search"&gt;&lt;/p&gt;&lt;br /&gt;Wait, not too impressive when you see that it eats up a lot of your valuable taskbar space! And when you also have the Windows Media Player minimized, it comes to something like this:&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/msn_searchbar.png" alt="MSN Deskbar"&gt;&lt;/p&gt;&lt;br /&gt;About 50% of my taskbar already gone! Good thing is, you can drag it off the taskbar and stash it anywhere on the desktop or remove it altogether.&lt;br /&gt;&lt;br /&gt;Now why did Microsoft give us a separate MSN toolbar search without integrating the new ultra-fast search engine to Windows Search itself?</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2004/12/where-search-begins-and-ends.html' title='Where the search begins... and ends'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=110308440659486726' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110308440659486726'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110308440659486726'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-110240066263838339</id><published>2004-12-07T13:02:00.000+06:00</published><updated>2004-12-07T12:29:36.080+06:00</updated><title type='text'>Your own space in CyberSpace with MSN Spaces</title><content type='html'>Microsoft is giving all the kids and the grandma's a space on the CyberSpace. &lt;br /&gt;&lt;br /&gt;They call it &lt;a href="http://spaces.msn.com" target="_new"&gt;MSN Spaces&lt;/a&gt;, a place where you can publish all your photos, have your own blog, have your music playlists directly linked to MSN Music, have your favorite links, keep your personal profile, and more... all in one place. Oh yea, think of it as a new alternative to a personal homepage, for every kid, nerd and dog out there.&lt;br /&gt;&lt;br /&gt;The new &lt;a href="http://messenger.msn.com" target="_new"&gt;MSN Messenger&lt;/a&gt; 7 will have direct access to your contacts' "Spaces". And yes, if you do not wish to make your Space public, you can even limit access to only the people on your MSN contact list.&lt;br /&gt;&lt;br /&gt;It's still at its beta, and it has some nifty features using all the cool DHTML magic; with customizable themes, Web Parts, drag and drop layouting, your picture slideshows and whatnot!&lt;br /&gt;&lt;br /&gt;Check it out: &lt;a href="http://spaces.msn.com/members/hethu"&gt;http://spaces.msn.com/members/hethu&lt;/a&gt;&lt;br /&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2004/12/your-own-space-in-cyberspace-with-msn.html' title='Your own space in CyberSpace with MSN Spaces'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=110240066263838339' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110240066263838339'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/110240066263838339'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-109592411959003813</id><published>2004-09-23T13:01:00.000+06:00</published><updated>2004-11-04T17:13:08.840+06:00</updated><title type='text'>Google math problem</title><content type='html'>I saw &lt;a href="http://www.npr.org/features/feature.php?wfId=3916173" target="_new"&gt;this&lt;/a&gt; interesting news article about mysterious billboards showing a mathematical problem.&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="/blog/images/google_billboard.jpg" /&gt;&lt;/p&gt;&lt;br /&gt;The billboard simply says:&lt;br /&gt;&lt;div align="center"&gt;&lt;strong&gt;{ the first 10-digit prime in consecutive digits of &lt;em&gt;e&lt;/em&gt; }.com&lt;/strong&gt; &lt;/div&gt;and it's up to you to figure out the rest.&lt;br /&gt;&lt;br /&gt;Now I'm not a mathematical genius to figure this out, but I was yet interested to find the answer anyways. The obvious and the easiest is to Google for it, and I ended up with this nicely written &lt;a href="http://www.mkaz.com/math/google/" target="_new"&gt;answer by Marcus Kazmierczak.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In case you are too lazy to visit that link, here's a brief explanation:&lt;br /&gt;&lt;em&gt;e&lt;/em&gt; is the base of the natural system of logarithms, having a numerical value of about 2.71828 (though the number goes on forever). Now the prime number that matches the billboard criteria is &lt;strong&gt;7427466391&lt;/strong&gt;.  So following the billboard problem, once you visit &lt;a href="7427466391.com" target="_new"&gt;7427466391.com&lt;/a&gt; you end up with this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Congratulations. You've made it to level 2. Go to www.Linux.org and enter &lt;em&gt;Bobsyouruncle&lt;/em&gt; as the login and the answer to this equation as the password.&lt;br /&gt; &lt;br /&gt;f(1)= 7182818284 &lt;br /&gt;f(2)= 8182845904 &lt;br /&gt;f(3)= 8747135266 &lt;br /&gt;f(4)= 7427466391 &lt;br /&gt;f(5)= __________ &lt;/blockquote&gt;&lt;br /&gt;Woa... another math problem.&lt;br /&gt;&lt;br /&gt;So what’s the reward when you figure this out? It turns out to be a marketting pitch to hire smart engineeres for the &lt;a href="http://www.google.com/labjobs/index.html" target="_new"&gt;Google Labs&lt;/a&gt;. Google doing its tricks again!&lt;br /&gt;&lt;br /&gt;Since you are at it, also check out this hilarious Google's &lt;a href="http://www.google.com/jobs/lunar_job.html" target="_new"&gt;Luna center&lt;/a&gt; jobs!&lt;br /&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2004/09/google-math-problem.html' title='Google math problem'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=109592411959003813' title='4 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/109592411959003813'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/109592411959003813'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-7164664.post-109565652766120818</id><published>2004-09-20T10:20:00.000+06:00</published><updated>2004-09-20T11:13:16.606+06:00</updated><title type='text'>Show Desktop, Minimize All : the difference</title><content type='html'>Have you ever wondered the difference between the two?&lt;br /&gt;&lt;br /&gt;In XP, if you have the QuickLaunch toolbar enabled, you can easily do a &lt;strong&gt;Show Desktop&lt;/strong&gt; by clicking the icon, or by right clicking on the Task Bar and selecting that option, or even easily by doing the keyboard shortcut: WindowsKey + D. (do it again and it will undo the Show Desktop)&lt;br /&gt;&lt;br /&gt;You can also do a &lt;strong&gt;Minimize All&lt;/strong&gt;; by using the keyboard shortcut WindwosKey + M. (undo it by using WindowsKey + Shift + M)&lt;br /&gt;&lt;br /&gt;So what’s the difference?&lt;br /&gt;Well as it turns out, there is a technical difference between the two operations.  &lt;br /&gt;&lt;br /&gt;Minimize All is pretty straightforward and does exactly that; it simply minimizes all the windows that has the Minimize icon (ie. windows supporting the minimize operation).&lt;br /&gt;&lt;br /&gt;Show Desktop goes a bit further. First, it Minimizes all the windows, then it sets the Z-Order of the desktop to make it come to the front. Why? Because some modal dialogs and some special types of windows may not support the Minimize operation.&lt;br /&gt;&lt;br /&gt;So in short, Minimize All simply asks all the open windows to Minimize themselves, while the Show Desktop does the same, plus makes sure that the desktop is not being obstructed by anything that doesn't want to listen to the minimize command.&lt;br /&gt;&lt;br /&gt;Now you may wonder, why isn't the original window order always preserved when you undo a Show Desktop? Here's the &lt;a href="http://weblogs.asp.net/oldnewthing/archive/2004/09/09/227339.aspx" target="_new"&gt;answer&lt;/a&gt; from Raymond Chen of Microsoft:&lt;br /&gt;&lt;blockquote&gt;When the windows are restored when you undo a Show Desktop, Explorer goes through and asks each window that it had minimized to restore itself. If each window is quick to respond, then the windows are restored and the order is preserved. &lt;br /&gt;&lt;br /&gt;However, if there is a window that is slow to respond (or even hung), then it loses its chance and Explorer moves on to the next window in the list. That way, a hung window doesn't cause Explorer to hang.&lt;/blockquote&gt;</content><link rel='alternate' type='text/html' href='http://www.hethu.com/blog/2004/09/show-desktop-minimize-all-difference.html' title='Show Desktop, Minimize All : the difference'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7164664&amp;postID=109565652766120818' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://www.hethu.com/blog/atom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/109565652766120818'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7164664/posts/default/109565652766120818'/><author><name>Hethu Nanayakkara</name><uri>http://www.blogger.com/profile/18377216469526045004</uri><email>noreply@blogger.com</email></author></entry></feed>