Posts

Showing posts from August, 2010

Large sites that run on ASP.NET

ASP.NET powers websites that have millions of page views per day - Tesco   Dell Costco   National Health Service, UK HSN.com Match.com MySpace.com;  details Sites using ASP.NET MVC - StackOverflow.com; details Monster.com Dimecasts.net MarketWatch work in progress.. Also see: How LARGE websites manage performance & scalability

What's new in Visual Studio 2010

Michael Otey's tour of Visual Studio 2010 in the September issue of SQL Server magazine informs about interesting new changes. Excerpts - ...Windows Presentation Foundation–based IDE. .. after you convert a Visual Studio 2008 project to Visual Studio 2010, you’ll no longer be able to open the project with Visual Studio 2008 IntelliSense in Visual Studio 2010 supports two modes: statement completion and the new suggestion mode. Suggestion mode lets you use members before they’re defined. You can toggle between completion mode and suggestion mode using Ctrl+Alt+Spacebar Visual Studio 2010 provides SharePoint 2010–specific project templates that simplify SharePoint application development. Visual Studio 2010 also provides the ability to debug SharePoint projects. In addition, you can now deploy SharePoint projects directly to SharePoint rather than having to use the old command-line Stsadm tool. New options under the Premium and Ultimate Editions’ Visual Studio 2010 Data ...

What is the difference between ccTLD suffixes like "co.in" & just ".in"?

A friend asked me this question & this is my attempt at answering it. A country code top-level domain (ccTLD) is an Internet top-level domain (like .com, .net, .org) generally used or reserved for a country, a sovereign state, or a dependent territory. Internet Assigned Numbers Authority (IANA) is responsible for determining an appropriate trustee for each ccTLD. Each country's trustee may assign registrars to sell domain names with suffixes pertaining to their country as per their policies. A country code second-level domain (ccSLD ) is a second-level domain to a country code top-level domain. Some domain name registries introduce a second-level hierarchy to a TLD that indicates the type of organization intended to register an SLD under it. For example, in the .uk namespace a college or other academic institution would register under the .ac.uk ccSLD, while companies would register under .co.uk. The complete list of suffixes including those for each country are avai...

Some lesser known Google tricks

Image
Crowdsourced answers to questions on "Hidden features of  product/service X" on the StackOverflow family of sites, make for interesting reading. I picked a few tips & trivia I didn't know earlier, from a similar thread on Google Search - 1. The calculator feature in Google understands not just numbers but also words. This query would still return the correct answer - (five plus seven) divided by six 2. Searching for "population germany" will display a chart as the first result - (Note though that Wolfram Alpha can do more complex mathematical calculations & give more detailed answers for search terms like population germany . ) 3. The results for define:camouflage are different from en:en camouflage . The latter returns a dictionary-style definition of camouflage 4. Searching for anagram gives an interesting "did you mean?" suggestion, and a query for ASCII Art also has an unexpected effect. 5. Another poster informs that ...

Display global trends with Heat Map & Slider

Image
I liked the way Google Insights for Search graphically shows country-wise trends for keywords you search on with a Heat Map & Slider. The slider below the heat map neatly provides the interactivity. The below images show the web search interest for the keyword "swine flu" in May-August 2010 & the same period in 2009. Someday I would like to create a generic data visualization control out of the Heat Map-Slider combo (or is there one already?) that can have a easy way to bind to any data source. It would be interesting to see wealth distribution across countries over the years & centuries. I couldn't find this with a cursory search on Gapminder.org , a site that unveils "the beauty of statistical time series by converting boring numbers into enjoyable, animated and interactive graphics"   Also see: Free ASP.NET Charting Tools .

Comparison of Mobile Browsers

Peter-Paul Koch, better known as  PPK, has helped web developers worldwide with his browser compatibility tables on QuirksMode.org. He has since been researching on mobile browsers. If you are interested in mobile web development, his articles can be of great utility. He has rated  the following 21 browsers - Safari Android WebKit Dolfin Opera Mobile Palm WebKit Iris BlackBerry WebKit MicroB Symbian WebKit Firefox Ozone BlackBerry old IE Mobile NetFront Blazer Obigo Brew browser Opera Mini Bolt Skyfire UCWeb He now plans to focus on the following ten smartphone OSs - Android, bada, BlackBerry, iOS, LiMo, MeeGo, Phone 7, Symbian, webOS, Windows Mobile, and is now seeking feedback & validation on data related to them. Also see: Free Windows Phone 7 Learning Resources

My web pages work in browser X but fail in browser Y. What to do next?

It doesn't take long for rookie Web developers to realize that the browser world is as unfair as the world we live in as browsers do not all comply with standards to the same degree. As a result, they are aghast when they find that their painstakingly-built web pages fail in some browsers that they test on towards the end. Being aware of HTML, CSS & JavaScript standards is a pre-condition to building cross-browser web pages but what if you skipped that step & now have to get a project out of the door? Almost all of the new browsers come with developer tools to help locate & debug issues that could be preventing a web page from running as intended in that browser. A good first line of action would be review & resolve the errors & warnings displayed in the Console that is generally part of the browser's native developer tools. In Firefox, there is an Error Console in the Tools menu. IE 8 has a Script Console under the Script tab in Developer Tools which...

Bing + Wolfram|Alpha = Cool

Image
Google may have been the first to do maths calculations, currency conversions & the like which are impressive but what Bing & Wolfram Alpha are doing is astounding! You get more precise answers quickly . Sample the results for these search queries - What is the population of India compared to China?   What is the area of India compared to China?   Also see: Search Engine Wars .

HOW TO add hashtags while auto-publishing posts to Twitter

Image
Hashtags are a community-driven convention for adding additional context and metadata to your tweets. They're like tags on Flickr, only added inline to your post. You create a hashtag simply by prefixing a word with a hash symbol: #hashtag. So if you are interested in listening to what the twitterati is saying about jQuery, you can search with the #jQuery hashtag on Twitter Search or hashtags.org I've been looking for a simple way to convert the keywords within the headings of my blog posts that I auto-publish to Twitter to hashtags that are already used on Twitter. There are multiple tools that can take your  feed &  auto-publish it to Twitter. I found two methods to convert keywords to hashtags - 1. The FeedBurner Socialize service makes it easy to publicize your articles by auto-publishing their feed to Twitter. To automatically add hashtags while publishing your feed items to Twitter, sign-in to FeedB...

Popular JavaScript apps dissected

Image
A good way to be a better programmer is by studying & analyzing source code of others. Here is a work-in-progress compilation of popular JavaScript apps or libraries dissected by generous folks - Google Suggest Google Analytics script ; also see Steve Souders analysis from a performance perspective Google Adsense Digg widget jQuery ; code run-through by Paul Irish   Prototype Google Instant Preview Meebo (updated: 20/Jan/2011) Seen anymore articles dissecting popular JavaScript apps? Please share that by posting a comment & I will update this list. ( image by Sebastian Bergmann ) .

Google Font API offers free custom fonts

Image
Did you know, Google's new Font API lets you display text on your web page with custom fonts served from their server farm? ( Thanks Chris ) There are currently 19 fonts, some with multiple variations, in the Google Font Directory . Their site informs that all fonts in the directory are available for use on your website under an open source license and are served by Google servers. You can use CSS or JavaScript to embed them . There is a Font previewing tool to fine tune how the letters should look. This program is in beta & it is supported mostly on newer versions of popular browsers .

Free Learning Resources on WPF, WCF, WF, XAML, Sharepoint 2010

The following material is available for free on Microsoft eLearning - 1. Collection 6261: Developing Rich Experiences using Microsoft .NET Framework 3.5 & Visual Studio 2008 consists of 3 2-hour premium clinics - Clinic 6262: Introducing Windows Workflow Foundation using .Net Framework 3.5 & Visual Studio 2008 Clinic 6263: Introducing Windows Presentation Foundation using .Net Framework 3.5 & Visual Studio 2008 Clinic 6264: Introducing Windows Communication Foundation using .Net Framework 3.5 & Visual Studio 2008 2. Clinic 6375AE: Introduction to XAML   3. Two introductory clinics on Sharepoint 2010 - Clinic 10277: What's New in Microsoft SharePoint 2010 for Developers Clinic 10279: What's New in Microsoft SharePoint 2010 for IT Professionals   Related: Free Sharepoint 2007 goodies on Microsoft e-Learning mvark

How they develop software at Microsoft

Some Microsoft bloggers ocassionally share their group's software development practices & they make for interesting reading - Ivo Manolov's (Test Manager of the Windows Presentation Foundation team) notes on the techniques used to manage development of the WPF 4 and Visual Studio 2010 products Back in 2004, Scott Guthrie described how development of ASP.NET 2.0 and Visual Web Developer was coming along. He also discussed his team's testing strategy . I'll keep updating this list as I find more such articles. Dear reader, you can post links that you may come across in the comments section. Related: Some Software Engineering Myths Busted Book Review - I. M. Wright's Hard Code .

Wolfram Alpha can probably finish your homework

Image
Does it take you more than a few minutes to precisely calculate your age exactly to the month & day? There are a number of online tools to find your precise age to the nearest day but Wolfram Alpha the “computational knowledge engine” not only calculates this when you just enter the date but also presents fun facts about that date. Try it out. Wolfram Alpha is also an excellent research tool for students of all ages. For school kids, it may even finish their homework . Also see: View math calculation results directly in Firefox Search bar .

HOW TO make your website mobile-friendly

Gartner research predicts that by 2013, mobile phones will overtake PCs as the most common Web access device worldwide . Bruce Lawson offers 3 strategies in a Dev Opera article to "mobilise" a web site to work across all devices i.e. not just mobiles but also alternative browsing devices like games consoles (Nintendo Wii, DSi), web-enabled TVs, in-car browsers etc - Strategy #1: Code well and do nothing special for mobile - The current crop of advanced mobile browsers are very good at rearranging content without being told how to by a developer...Making a good semi-liquid layout that has a min-width and max-width set in your CSS and em-based typography will work very well across a range of different devices and screen sizes. Strategy #2: Make a separate mobile site - .. (although) it results in having two sites to user-test, maintain, etc Strategy #3: Build mobile-aware adaptive sites - hardest to pull-off methodology... (but) future-proof as it tests features rather ...

Free Windows Phone 7 Learning Resources

Now that Windows Phone 7 has hit the technical preview milestone, there are even more resources for developers to learn from. Here's a compilation of free learning material on WP7 Development - Books - Programming Windows Phone 7 - Microsoft Press has announced that Charles Petzold’s upcoming book Programming Windows Phone 7 will be available for free download by October end. The second draft preview of the ebook (PDF link)   contains 11 of the total 22 chapters planned. Learning Windows Phone Programming -  a free sampler of 2 preview chapters from the book by Yochay Kiriaty and Jaime Rodriguez is available for download. Videos - Channel 9 videos on developing with WP7 Windows Phone 7 Jump Start sessions  .

Fun facts about domain names

The right-most label in a domain name is referred to as its "top-level domain" (TLD). For example, in the domain name www.example.com, the top-level domain is com While wiki surfing this Sunday, I came across some fun facts about domain names - Most TLDs with three or more characters are referred to as "generic" TLDs, or "gTLDs". Currently there are 20 gTLDs out of which 6 (.biz, .com, .info, .name, .net, .org) are open TLDs i.e. any person or entity is permitted to register Country-code top-level domains (ccTLD) are two letter domains established for countries or territories or their internationalized domain names (IDN ccTLD). With some historical exceptions, the code for any territory is the same as its two-letter ISO 3166 code. A number of the world's smallest countries have licensed their TLDs for worldwide commercial use. For example, Tuvalu and the Federated States of Micronesia, small island-states in the Pacific, have partnered with...