Tech Support Websites

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 10 June 2012

Dig deeper into jQuery with "jQuery Succinctly"

Posted on 09:59 by Unknown

jQuery Succinctly by Cody Lindley is an ebook that Syncfusion is offering as a free download (requires registration).

I've been working with jQuery on & off for the last four years and this book made me realize there is so much more to my favorite JavaScript library. The book lives up to the title as it covers the practical aspects of jQuery  in a straight-forward manner in just 100 pages with 100 code samples. This is a gem of a book - the best technical book I've read this year (I read about one a month) and one of the best books I've read on jQuery (jQuery in Action and  Learning jQuery are the others I read earlier)

It meets all the expectations I have of a good technical book - author is an expert on the topic, it's written in plain-English with no fluff and it provides a number of take-aways that you can apply at work. I had several 'aha' moments while reading through the facts like these -

The nth-child() filter doesn't have a zero index

The default context used by the jQuery function when selecting DOM elements is the document element (e.g. $('a', document)). This means that if you do not provide the jQuery function (e.g. jQuery()) with a second parameter to be used as the context for the DOM query, the default context used is the document element, more commonly known as <body>. 

One might incorrectly assume that the text() method only returns the text node of the first element in a wrapper set. However, it will actually join the text nodes of all elements contained in a wrapper set and then return the concatenated value as a single string.

Many of the samples are well-commented & display DOM manipulation wizardry. I'm sure I'll run into ocassions where I can put the tricks mentioned in this book to good use.

It would be nitpicking to say there are a few typos here & there. This book is a great resource for intermediate & advanced jQuery developers.

Read More
Posted in jQuery | No comments

Thursday, 7 June 2012

Getting Started with Windows 8

Posted on 12:48 by Unknown

Windows 8 is reportedly due to arrive by this year-end. For those who can't wait to try out Microsoft's newest "reimagined" Windows operating system, there are preview releases - the latest one is called Windows Release Preview.

If you don't have spare hardware to experiment with the new OS, you can try out Windows Release Preview with free Virtual Machine software like VMWare Player or Oracle's VirtualBox. Unlike VirtualBox, VMWare Player requires registration but it is worth the effort as it provides a better experience.

Step-by-step guides for installing Windows 8 Preview in VirtualBox and VMWare Player are available.

So what's new in Windows 8?

  • Start screen - the Start button is no more the focal point.
  • Faster startup - 30 to 70% faster than Windows 7
  • Metro style UI - clean typography and animations, touch-optimized interface, Metro style apps fill entire screen
  • Works on a variety of devices - x86 and x64 PCs, ARM devices
  • IE 10 - touch-first browsing experience, supports HTML5. 2 flavors - Desktop IE, Metro style IE
  • Touch keyboard 
  • Windows Store - screened apps, you can install your purchased apps on up to five Windows 8 PCs.
  • Connected Microsoft account - you can sign in to a Win 8 PC with a local account or use a connected Microsoft account.  When you sign in with your connected Microsoft account to another PC running Windows 8, your Metro style apps and settings go with you. 
  • Windows To Go -  bootable USB storage devices containing a copy of Windows 8, along with their business apps, data, and settings - no need to carry a laptop or tablet
  • Client Hyper-V -  run multiple operating system instances simultaneously on their Windows 8 computer.
  • Native PDF Reader


work in progress...

References -
Windows 8 Guide (PDF)

Read More
Posted in Windows8 | No comments

Tuesday, 29 May 2012

HOW TO visualize approximate radial distance from a fixed point on a map

Posted on 21:36 by Unknown

The Twitter Location Search app utilizes Google Maps to show approximate radial distance from a specified point on a map


If you are an API developer, this tool can be useful to visualize approximate radial distance while dealing with location-specific queries.

The Twitter Search API supports a parameter called geocode that returns tweets by users located within a given radius of the given latitude/longitude for a given search term.

The parameter value is specified by "latitude,longitude,radius", where radius units must be specified as either "mi" (miles) or "km" (kilometers).

The maximum limit for the radius is not specified in the API docs but the Advanced Search feature on Twitter has 1000 as the upper limit.

Read More
Posted in APIs, WebApps | No comments

Sunday, 27 May 2012

Render "cross-domain" content on the client-side with JSONP feeds & jQuery

Posted on 10:48 by Unknown

When websites provide Feeds of their content, they not only allow that content to be read through Feed readers like Google Reader but also let other sites consume that content programmatically. These feeds can be in various formats like RSS, Atom, JSON, JSONP.

Instead of scraping content from sites they don't own, developers can use RSS, Atom & JSON feeds with server-side programming languages to display that content on their own sites.

JSON stands for JavaScript Object Notation. The advantage with JSON for developers is that it can be directly translated into a JavaScript object. No parsing is necessary to get at the data.

A client-side programming language like JavaScript can however not be used to load a feed if the domain from which the feed is originating is not the same as the site where it is going to be consumed programmatically. That's were JSONP comes in.

The P in JSONP stands for "padding". A JSONP feed is same as a JSON feed except that the feed provider pads the results with a bit more information. JSONP wraps the JSON-formatted response in a function call named by the developer. It allows "cross-domain" feed content to be used via a callback function.

A JSONP feed can be consumed easily using the jQuery ajax() & getJSON() methods.

There is a great explanation of JSONP in the freely downloadable book jQuery Succinctly -

JSON with Padding (JSONP) is a technique that allows the sender of an HTTP request, where JSON is returned, to provide a name for a function that is invoked with the JSON object as a parameter of the function. This technique does not use XHR. It uses the script element so data can be pulled into any site, from any site. The purpose is to circumvent the same-source policy limitations of XMLHttpRequest. 

Using the getJSON() jQuery function, you can load JSON data from another domain when a JSONP callback function is added to the URL. As an example, here is what a URL request would look like using the Flickr API. 
http://api.flickr.com/services/feeds/photos_public.gne?tags=resig&tagmode=all&format=json
&jsoncallback=?  

The ? value is used as a shortcut that tells jQuery to call the function that is passed as a parameter of the getJSON() function. You could replace the ? with the name of another function if you do not want to use this shortcut. 

According to the ProgrammableWeb website, which has been doing a great job of cataloging web-based APIs, there are currently 360 services that offer JSONP feeds. This is good news for jQuery developers.

Related:

  • Create a dead simple Twitter feed with jQuery
  • Simple PHP Proxy: JavaScript finally "gets" cross-domain!

Read More
Posted in | No comments

Wednesday, 23 May 2012

Free Online To-Do List apps

Posted on 12:53 by Unknown



A global LinkedIn survey of 6580 professionals revealed that 71% of women & 60% of men keep to-do lists

..LinkedIn found professionals working in agriculture claim to be most productive: 83 percent stated that they regularly fulfill most of all of their planned tasks. The regularity of routine (due to sunlight, seasons and the fact that if you don’t feed the pig, the grass, the chickens… well, they die) is real motivation to get your to-do’s done and something those of us outside of agriculture can learn from.


Here's a list of web-based free To Do List apps that you choose from -
  1. Gmail Tasks (mobile version) 
  2. Simplenote 
  3. ToBeeDo 
  4. Ta-da List 
  5. Todoist 
  6. voo2do
  7. Remember the Milk 
  8. Toodledo (see Toodledo's comparison of popular TO DO list apps)
  9. Producteev 
  10. TodoListMe 
  11. Todo.ly 
  12. Workflowy 
  13. Task Resolver 
  14. GQueues 
  15. Focuth 
  16. Organisr




Read More
Posted in | No comments

Monday, 14 May 2012

An overview of ACS, ADFS, WIF

Posted on 10:53 by Unknown

Notes from the TechNet Windows Azure AppFabric Access Control Service (ACS) Academy video series -
  • ACS or Access Control Service is a cloud service that abstracts authentication & lets you focus on app development rather than on plumbing
  • ACS is part of Windows Azure Platform - a service within AppFabric 
  • ACS offers federation with Internet identity providers (like Windows Live ID, Facebook, Yahoo, Google) & corporate identity providers (via ADFS v2.0) 
  • Federation means you can outsource authentication to industry mature identity management systems
  • ACS implements federation and trust for web apps using industry standards protocols.
  • ACS can use WS-Federation, WS-Trust, OpenID, OAuth 2.0, OAuth WRAP and SAML 1.1 and 2.0, SWT token formats
  • ACS works for Web and Web services architectures
  • The core functionality of Access Control Service (ACS) & Active Directory Federation Services or ADFS is STS or Security Token Service
  • Both Access Control Service (ACS) & Active Directory Federation Services (ADFS) can be used to implement SSO or single sign-on
  • ADFS is an on-premises STS & is part of the AD in Windows Server.
  • ADFS is both an on-premises Identity & Federation provider. ACS does not manage identities 
  • ADFS relies on Active Directory for identity management but it can federate with non-MS enterprise identity providers like Oracle Identity Federation, CA Federation Manager & more
  • ACS & ADFS integrate seamlessly
  • ACS can serve Private Cloud, PaaS Cloud (not just limited to Windows Azure Platform due to its implementation on open standards) and SaaS Cloud needs
  • ACS is not limited to consumption by Windows Azure deployed apps; any modern app platform hosted on PaaS cloud providers can consume ACS
  • ACS can serve cloud deployed apps, on-premises apps, mobile device apps
  • WIF or Windows Identity Foundation is a .NET runtime that runs as part of your web application or service.
  • WIF is available as a free download
  • ACS & WIF perform protocol & token heavy lifting so that you can focus on your authorization logic
  • ACS does heavy lifting for handling protocols like WS-Federation, WS-Trust, OpenID, OAuth 2.0, OAuth WRAP, Facebook Graph
  • ACS can issue normalized SAML & SWT tokens 
  • You can control authorization access via the ACS Rules Engine & WIF
  • WIF parses incoming tokens & exposes a convenient .NET API
  • WIF provides design time tooling via FedUtil wizard tool
  • WIF offers extensibility through configuration sections, custom toke handlers
  • Using Rules Engine, you can control what claims get into the token & which Identity providers can provide authorization
  • Windows Identity Foundation (WIF) offers Role-based access control (RBAC) & Claims-based authorization
  • 2 ways to Administer ACS - via Management Portal & Management Service
  • Management Portal - accessed through Windows Azure portal
  • Management Service is a service that exposes OData endpoint & offers additional functionality not available via Management Portal
  • ACS can be managed manually and programmatically
  • 4 Key components of ACS:
    • Security Token Service (STS) - it issues tokens for clients that they use to present to the application in order to be authenticated
    • Management Portal - UI for administering ACS
    • Management Service - API/endpoint that is used for management automation. Everything you can do with the Management Portal, you can automate via the Management Service
    • Token Transformation Rule Engine - allows configuration based token transformation 

Read More
Posted in Azure, Cloud | No comments

Saturday, 12 May 2012

Vent your anger drawing your own "rage comics"

Posted on 06:57 by Unknown
NY Times has a nice article on Rage Comics -

When you get angry, you can lash out or seethe inside. 
Or you can head to the Web to assemble and publish a cartoon to share some of that rage. Many people with little to no artistic ability — but with some pretty funny tales — do that in something called rage comics. 
...
They have created a genre of Internet humor that, unlike the Keyboard Cat or Rickrolling, two famous Internet memes, continues to grow nearly five years after its obscure beginnings. Today, thousands of rage comics are posted daily. Most are the creations of anonymous people seeking not fame, but an audience with whom they can air their dark wit. Popular themes are public embarrassment, private shame in the bedroom or bathroom, and most of all, the unbearable burden of dealing with other people’s stupidity. 

RageMaker is a popular browser-based rage comic editing and publishing tool that you can use once you have dialogues for you cartoon characters ready.

Here's my first attempt at creating a rage comic -

Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • 10 ways to make laptop battery last longer
    Paraphrased from a Right Choice magazine article with my own opinions: Keep the brightness of the screen as low as possible. If portability ...
  • Words that leave Google Instant speechless
    2600 Magazine has compiled a list of objectionable words that Google Instant has blacklisted. Several volunteers have submitted blackliste...
  • A new JavaScript Reference to bookmark
    For years, the JavaScript section at W3Schools.com has been a indispensable source of reference for me . It will now not be my only source. ...
  • Free JavaScript & jQuery learning resources
    There is a nice compilation of JavaScript & jQuery learning resources in this community wiki on StackOverflow.com . I picked those which...
  • Manipulate PDF files for free with PDFRider
    PDFRider (currently in version 0.5) is an open source project on Codeplex. This utility provides a GUI for the command-line program  Pdftk ...
  • Look what Google Goggles visual search can do
    Google Goggles is a visual search application available currently for Android powered phones. It may possibly be available for phones of oth...
  • HOW TO read long text messages on the Samsung Omnia 652
    Samsung Omnia 652 clumps text messages from a single recepient together. Scrolling through a message doesn't reveal the entire message ...
  • What is the difference between Browser Mode & Document Mode in IE
    If you're a web developer and your job actively involves building web pages that work the same in all browsers including the last three ...
  • Web Applications - Tips & Tricks
    Did you know, you can append +any-word to a GMail address & use that word to filter emails or distinctly identify where the mail has co...
  • Dig deeper into jQuery with "jQuery Succinctly"
    jQuery Succinctly by Cody Lindley is an ebook that Syncfusion is offering as a free download (requires registration). I've been working ...

Categories

  • AJAX
  • Android
  • APIs
  • App
  • ASP
  • ASP.NET
  • ASP.NET-MVC
  • Azure
  • Azure SQL Database
  • AzureInPictures
  • Bing
  • Book Review
  • Bookmarklet
  • Browsers
  • C#
  • chart
  • Chrome
  • Cloud
  • CSS
  • CSS3
  • DidYouKnow
  • E-Commerce
  • Excel
  • FB
  • Fiddler
  • Firefox
  • Gadgets
  • GeoLocation
  • GMail
  • Google
  • Google Docs
  • Google Reader
  • Health
  • Hotmail
  • HOWTO
  • HTML
  • HTML/CSS
  • HTML5
  • Humor
  • Hyderabad
  • IE
  • IIS
  • India
  • Internet
  • IT
  • Javascript
  • jQuery
  • JSON
  • JSONP
  • Laptop
  • Learning Resources
  • Lists
  • Map
  • Metrics
  • Microsoft
  • miscellaneous
  • Mobile
  • NAPA
  • Office365
  • Opera
  • PDF
  • Performance
  • Personal
  • PHP
  • PM
  • PowerShell
  • Privacy
  • Programming
  • Rant
  • Safari
  • Science
  • Search Engines
  • SearchEngines
  • Security
  • SEO
  • Sharepoint
  • SharePoint2013
  • Silverlight
  • Software Engineering
  • Solutions
  • SQL Azure
  • SQL Server
  • TFS
  • Tip
  • Tips
  • Tools
  • Tools/Utilities
  • Trivia
  • TWIL
  • Twitter
  • UX
  • VM
  • VS.NET
  • VS2010
  • VS2012
  • WCF
  • WebApps
  • Websites
  • WF
  • Windows Phone
  • Windows7
  • Windows8
  • Word
  • WP7
  • WPF

Blog Archive

  • ▼  2013 (112)
    • ▼  October (16)
      • 10 ways to make laptop battery last longer
      • Learnings in S/W Engineering from the HealthCare.g...
      • TWIL - Week #29
      • MS currently has 21 apps on Google Play, incl. Wor...
      • Review: uCertify PMI PMP v-5 Online PrepKit
      • TWIL - Week #28
      • HOW TO highlight a Province within a Country with ...
      • My first impressions of Nexus 7 tablet
      • Free APIs, online services to generate screenshots...
      • TWIL - Week #27
      • HOW TO prevent mixed content warning in web pages
      • What's common between Kovid Goyal & Antony Lewis?
      • TWIL - Week #26
      • FB & Twitter spam me with similar subject line
      • Book Review: PMP Rapid Review by Sean Whitaker; MS...
      • Windows Azure Mobile Services - Error: Table 'some...
    • ►  September (14)
    • ►  August (8)
    • ►  July (8)
    • ►  June (13)
    • ►  May (12)
    • ►  April (12)
    • ►  March (8)
    • ►  February (15)
    • ►  January (6)
  • ►  2012 (127)
    • ►  December (11)
    • ►  November (14)
    • ►  October (13)
    • ►  September (14)
    • ►  August (16)
    • ►  July (16)
    • ►  June (6)
    • ►  May (5)
    • ►  April (11)
    • ►  March (12)
    • ►  February (7)
    • ►  January (2)
  • ►  2011 (98)
    • ►  December (5)
    • ►  November (2)
    • ►  October (5)
    • ►  September (7)
    • ►  August (7)
    • ►  July (15)
    • ►  June (10)
    • ►  May (7)
    • ►  April (8)
    • ►  March (10)
    • ►  February (11)
    • ►  January (11)
  • ►  2010 (163)
    • ►  December (14)
    • ►  November (19)
    • ►  October (19)
    • ►  September (15)
    • ►  August (18)
    • ►  July (17)
    • ►  June (20)
    • ►  May (17)
    • ►  April (19)
    • ►  March (5)
Powered by Blogger.

About Me

Unknown
View my complete profile