Posts

Showing posts from March, 2012

HOW TO eject USB device with a keyboard shortcut

Image
Source: Flickr/ekosystem Most people will agree with the sentiment that "life is too short to remove USB safely" But did you know,  you can configure a keyboard shortcut to invoke the Safely Remove Hardware Dialog ? The above trick requires you to create a Desktop shortcut. I assigned Ctrl+F12 to this shortcut as it is easy on the fingers. You can also assign an memorable icon as detailed in the comments to the article specified in the link. If you would also like the “official” icon, right-click on your new shortcut and goto “Properties.” In the resulting dialog, goto the “Shortcut” tab and click on the “change icon” button. Browse for the %SystemRoot%\system32\hotplug.dll file (or just copy/ paste) and select one of the icons of your choice.

UX anti-patterns & other avoidable annoyances

Image
The Screenshots of Despair blog collects samples of discouraging messages/goofs in applications. This is interesting because it lets web developers & UX folks learn from other's mistakes/oversight. Here are a couple of such messages I ran into in recent times: I thought Opt Out meant "Don't show any ads at all". The Google Personalized Ads Preferences setting screen above warns you that you will see more less-personalized ads if you opt out. Message in Windows 7: The password for this account has expired. To change the password, click Cancel, click Switch User and then log on - Where's the Cancel button? The WTF Mobile Web blog similarly highlights problems in mobile websites through crowd-sourced screenshots.

Free Pluralsight videos

I'm a fan of Pluralsight & video-tutorial based learning. Pluralsight is doing a great job of getting experts to deliver sessions on Microsoft technologies. My favorite presenters are Scott Allen & Robert Cain. My annual Pluralsight subscription got over recently & considering that they keep adding new videos regularly I plan to get a subscription again in the near future. I recently recommended it to a colleague. I asked him to check out these videos from their collection which are available for free, before purchasing a subscription - Building Applications with ASP.NET MVC 4 Introduction to ASP.NET 4 WebForms   Introduction to ASP.NET MVC 3 Introduction to the ASP.NET Web API Introduction to WebMatrix   Introduction to Visual Studio LightSwitch   Orchard Fundamentals  Facebook Platform Overview Teaching Kids Programming with C# Learning How to Program with Scratch Learning to Build Apps with App Inventor Multiple sections of the following courses (b

Visual Studio and Crystal Reports

Crystal Reports has probably the most complex branding history among software products . Originally created by Crystal Services Inc., it was acquired by Seagate Technology followed by Business Objects and is currently owned by SAP. Microsoft bundled it with Visual Studio versions 2003 through 2008. Although it is not integrated with Visual Studio 2010, it is available as a free download . It is called "SAP Crystal Reports, version for Visual Studio 2010". One of the benefits of "SAP Crystal Reports, version for Visual Studio 2010" listed on the download page is "Simplified royalty-free runtime licensing". Clicking on the "Licensing Explained" under the Additional Resources page opens up a 22-page PDF. The fine-print for the asterix next to the exhortation to "Upgrade Directly to SAP Crystal Reports" reads: SAP Crystal Reports can open and edit files created with SAP Crystal Reports, version for Visual Studio 2010 (and vice-versa)

Web Apps Watch - 1

Image
As a web developer, I like to track interesting features, UI patterns used on popular Web Apps & also related trivia. Here are a few things I noticed this week - * Hotmail can help you organize emails from senders of bulk mail: * I previewed some content from an ASP.NET book on Google Books and noticed their localization for India & acknowledgement of  popularity of Indian online stores - links to Indian online stores from where I can purchase that book: * ChromeCacheView reveals interesting URL of where YouTube videos are coming from when I browse them over Airtel Broadband: * Finding out what browser a visitor to your website is using, their IP address, screen resolution and if cookies are enabled in their browser, is old hat. There are scripts for just any website to find out if a visitor is logged into Gmail , Twitter & Facebook as this Wall Street Journal page shows: * There have been times when I've wanted to add context notes to an email I've rece

Hidden features of ASP.NET

On the StackOverflow forum, you'll find questions like  "Hidden features of" technology X to be popular with a lot of up-votes. Such questions are sometimes closed as they are too subjective & do not fit into the expected Q&A format of the site. They however contain insightful answers. Here is a list of "hidden" gems in ASP.NET that I've discovered (work in progress) and wanted to highlight them as the don't easily show up in the top results while googling - Tag property for server controls - Just like the rel HTML attribute can be added to an element to store extra  info  when it is required in a client-side programming scenario, the Tag property can be used with server controls to store some extra info that may not fit into regular properties. RepeatLayout Property of  CheckBoxList server control - this property used to allow 2 possible values "Table" and "Flow" till ASP.NET 3.5, but from version 4 onwards it suppo

Online, SMS-based services to get distance, approximate autorickshaw fare

It's common knowledge that most auto-rickshaw drivers in Indian cities fleece their customers at every chance they get. Here is a list of online and SMS-based services to get distance, approximate autorickshaw fare and other location-related info (currently for South-Indian cities - Bangalore, Hyderabad, Chennai): + LatLong.in - Helps you locate places, get directions & find places near you. This service is accessible directly from their site, over SMS & their mobile site . To know where a particular place is, send <place name> to 90088 90088 To get help to go to a particular place, send <place name> FROM <starting point> to 90088 90088 send <place name> TO <starting point> to 90088 90088 + Suruk - provides autorickshaw fare and helps with routes via SMS via textWeb 's platform. To use their service, send SMS/text in the following format to 9243342000 - @autofare <city>, <source>, <destination>  Suruk also

"Had to scramble to get dressed when someone wanted video on a call."

Image
Inspired by Chris Shipton who illustrates tweets , I drew this when I found this funny thought - When someone says Skype call, you dont know whether it is audio/video. Had to scramble to get dressed when someone wanted video on a call. — Sriram Krishnan (@sriramk) March 1, 2012 Related: Doodling for Dollars

What is SPDY?

SPDY, pronounced “SPeeDY”,  is an experimental application-layer protocol from Google developed as part of its "Let's make the web faster" initiative to help reduce the latency of web pages.   This new protocol transports the existing HTTP protocol more efficiently (up to 50% faster).  It is NOT a replacement for HTTP. It replaces some parts of HTTP, but mostly augments it. At the highest level of the application layer, the request-response protocol remains the same. SPDY still uses HTTP methods, headers, and other semantics. But SPDY overrides other parts of the protocol, such as connection management and data transfer formats. SPDY is supported by Chrome web browser & Firefox 11 (disabled by default) Amazon has baked SPDY support into its Silk browser for the Kindle. Chrome SPDY indicator is a Chrome extension to visualize SPDY support in your address bar. Twitter joins Google Search, Gmail in serving webpages over the SPDY protocol when available SPDY may b

HOW TO quickly capture screenshots/frames from a parallely running video in MS Word

Image
This tip applies to MS Word 2010 MS Word lets you add an image from any application running on your PC. If you are watching a instructional video and would like to jot down notes, this feature comes handy. The Screenshot option is in the Illustrations section of the Insert tab. After selecting that option you can also choose the Screen Clipping feature to grab only a part of a frame of a video running in a different window. If you use this feature a lot, juggling with the mouse to walk through the steps may get cumbersome. Instead, you can create a custom shortcut. Right click the the Screenshot option & select the Add to Quick Access Toolbar option. Now, the next time you want to add a frame from a video, just press Alt, then the number key corresponding to the number tooltip that shows up under the Screenshot icon in the Quick Access Toolbar (it's 7 in my copy of Word) and "C" key. So Alt + 7 + C keyboard shortcut inserts a slide from a running video int

The trouble with Kindle is...

Image
Also see: The trouble with going early to work is...

Brace matching for JavaScript/jQuery in Visual Studio 2010

With jQuery you will need to write lesser code than you would with JavaScript but it will probably use more braces, brackets & parentheses. While programming with jQuery, it's easy to miss an ending brace, bracket or parenthesis. Although Automatic Delimiter Highlighting is available with  C# code, it's sorely missed while you're working with JavaScript or jQuery. Thankfully there is a time-saving open-source VS Extension in the Visual Studio Gallery that bridges this gap - JScript Editor Extension . Besides other features, this nifty add-on automatically highlights the matching opening or closing brace to the one currently at the cursor. It supports matching parenthesis: (), square brackets: [], and curly braces: {} I like  Notepad2 's Ctrl+Shft+B keyboard shortcut that highlights the entire area between matching brace, bracket or parenthesis.Ctrl+B is an easy to remember shortcut to find matching brace in that editor.