Posts

Showing posts from March, 2011

Thanks Scott Mitchell, 4GuysFromRolla!

Image
13 years after founding the website 4GuysFromRolla & writing for it for all these years on Classic ASP & ASP.NET, Scott Mitchell is calling it quits. And oh! I got to know just today that the site I've been following since 2000 is pronounced 4GuysFrom Rawl-ah , not 4GuysFrom Roll-ah.  He has made a candid assessment of why the site started failing after he sold it to Internet.com during the dotcom heydays. Scott Mitchell belongs to that rare breed of developers who can also explain things well as they can identify with the audience. Like scores of other web developers, I relied heavily on his tutorial site when I started my career with Classic ASP. He has consistently maintained the quality of articles & they are always educative. His  "An Extensive Examination of" series  of articles covering important .NET topics is excellent material for self-learners. As I mentioned earlie r, I find it is an interesting coincidence that besides sharing the same first

HOW TO study (or copy) code related to JavaScript effects from websites you envy

Image
"The problem with quotes from the internet is you can never quite be sure they are genuine" - Abraham Lincoln To build web apps with a great UI, its ok to draw inspiration from the best sites on the web. Sometimes the good-looking websites with great JavaScript effects may obfuscate their code knowingly or unknowingly or the code may be difficult to understand by just viewing the HTML source.  Visual Events is a nifty bookmarklet that shows the events attached to each of the elements in a webpage. The keyboard & mouse events are represented as icons & when you mouse over any icon the source code related to it is shown. This is helpful because on JavaScript intensive sites you don't have to rummage through the entire source to find a small code block that you need. For instance, when you mouse over a Tag button on the StackOverflow site , it shows a tooltip If you call the Visual Event bookmarklet while this page is loaded, you will see this icon  over the ja

Free: Developer Support Handbook

Pamela Fox's Developer Support Handbook is based on her experiences at Google Developer Relations. Aimed at API providers, it discusses the following topics -     * Documentation     * Forum Support     * Issue Tracking     * Communication     * Top Developers Also see: The Developer Evangelist Handbook

ASP.NET MVC Usage Trends

Image
As per the BuiltWith website , there are 34,183 websites using ASP.NET MVC and among them, 1,840 websites are within the top million most visited sites on the internet. Also see: Large sites that run on ASP.NET

HOW TO track time for multiple time zones in Windows 7 & Vista

Image
In our highly globalized world, we may sometimes have to keep track of not just our time but also the time in other countries due to business reasons or to follow a live sports or event broadcast on TV that is happening in another part of the world. Did you know, you can track the time in up to two countries/time zones besides your own, right from the system tray in Windows 7 & Vista? To configure the extra clocks, click on the time in the system tray & within the dialog box that opens, click on the "Change date & time settings..." link.  In the new dialog box that opens, select the Additional Clocks tab & configure them to show upto 2 new clocks. If just two are not enough for you, pick a gadget from the Windows Live Gallery , that can handle even more. While the additional clocks cannot handle Daylight Saving Time(DST) , the primary clock is intelligent enough to do the conversion for you.

HOW TO display Word, Excel, PowerPoint documents within the browser

Image
If a Word, Excel or PowerPoint document (.doc, .docx, .xls, .xlsx, .ppt, .pptx formats) hosted on the web is accessed through a browser, it typically asks if you want to open or save the file. You can then view it if you have MS Office or the corresponding  Word / Excel / PowerPoint Viewer  (freely downloadable) installed. To increase the reach of the content in those Office documents among non-PC/Mac users, you can use Google Docs Viewer to embed them within a web page. Google Docs Viewer now supports 12 new file formats including Excel & Powerpoint . You can generate the HTML tag for the embedded viewer that you can paste into your own web page from the home page of Google Docs Viewer . You can alternatively use the example below to append the URL of the Office document to the url querystring of the service - <iframe src="http://docs.google.com/viewer?url= http%3A%2F%2Fdocs.google.com%2Fviewer%3Furl%3 Dhttp%253A%252F%252Flabs.google.com%252Fpapers%252F bigtable-os

Head First Design Patterns - C# & VB.NET Code Examples

Books in O'Reilly's Head First series are like "For Dummies" books, covering technical topics in an unconventional way. They contain goofy pictures and their content generates extreme reactions - readers love it or hate it. Going by the reviews on Amazon, Head First Design Patterns , a majority of the readers like it. The code samples in the book are in Java. So if you pick the book, be aware that the same samples have been ported to C# & VB.NET by volunteers - VS 2010 compatible code examples in C# on CodePlex VS 2003 compatible code examples in C# by Mark McFadden (zip) VS 2008 compatible code examples in VB.NET on CodePlex Also see: Learning resources on Design Patterns for .NET Developers Opening Questions For A Design Patterns Study Group

Facebook embarrassment

Image
A Facebook update of an acquaintance who expressed solidarity with the cause of Children dying from Cancer, showed up thus - Also see: See what Google is suggesting See what Google is suggesting - II

The Glorious History of Internet Explorer

Image
Love it or hate it, you will have to appreciate IE’s staying power. Having been around for 16 years, it is still the browser market leader . Here are some interesting facts about Internet Explorer: IE 1.0 IE 1.0, based on Mosaic, was released together with the Windows 95 Plus! Pack in 1995 Used on Windows 95, IE 1.0 was only slightly more than 1 MB in size. IE 2.0 was the very first cross-platform browser that supported both Windows and Mac. Released in 1995, IE 2.0 had support for JavaScript, frames & cookies At the end of the first week of IE 3’s release in 1996, more than 1 million copies of the browser were downloaded. IE4 which came in 1997 introduced Microsoft's Trident layout engine, which is still in use today in Internet Explorer. Released in 1999, IE 5 was the first browser to support bi-directional text. IE 5 introduced XMLHttpRequest which enables building AJAX applications. The XMLHttpRequest object was not completely functional until as late as version

HOW TO cut & paste just the text in a browser, not the formatting

Image
Typically when I have to paste formatted text within a rich text box of a web app, I paste it into the search box of the browser first to remove the formatting & then paste the un-formatted text in a rich text editor. What a pain! I learnt from the WebApps StackExchange forum that in Chrome, you can use the keyboard shortcut Ctrl + Shift + V to paste the unformatted version of the copied text. While monkeying around to see if there is any trick to make this work in browsers other than Chrome, I serendipitously discovered that  Ctrl + Shift +C opens Developer Tools in Chrome & triggers the Inspect element hotkey that shows a tooltip for a webpage element that you hover upon. Also see: Keyboard shortcuts common to Firefox & IE