Forcing Javascript to Wait For AJAX

A common problem I ran into as I learned AJAX was that the javascript wouldn’t wait for the AJAX to return the content I asked for. That is because of the “A” in AJAX. AJAX is asynchronous. This means that it will send the request out and will get a response back in an indeterminate amount of time. The frustrating part is that the javascript will not wait for the response from AJAX. This in turn produced very inconsistent results depending on what ran faster. To resolve this one must find out if the AJAX is done executing before continuing …

Continue Reading

Creating Pinned Websites

Creating a High Resolution Favicon Favicons have come a long way since the inception of them , but times have changed. Before they were a 16 X16 ugly little icon that appeared next to the URL in the browser to give your website that little bit of extra flair and autheticity. Modern browsers now let you cram an entire 64 X64 icon in that same space. Thats 4096 pixels as opposed to the previous 256 in the exact same space, or 16 times the detail. Also look at all the great places that logo will be used. It is used …

Continue Reading

Debugging in Visual Studio

One important skill as a developing professional is debugging. I came across this article from a tweet by the visual studio team, and it is superb. I usually prefer to write my own guides, but I really can’t put it any more simple or clear than Abhijit Jana already did. Jana is a tech evangelist and former Microsoft MVP. I find it important to follow these individuals especially early in your career. Their knowledge is invaluable, and they themselves are very well networked. Twitter has made it easy to follow these individuals, and they constantly tweet interesting topics which I …

Continue Reading

Reverse Polish Notation

What is it Reverse polish notation is a post fix notation created in you guessed it Poland by a logician named Jan Łukasiewicz. The reason for this form of notation is that it allows for math to be expressed in the most concise manner and leave absolutely no ambiguity to what the formula’s author is trying to express. When you think of mathematical equations you usually think in terms of infix notation. Let’s look at the following example: 1 + 6 * 4 = 25 This formula is solved using the order of operations which most people learn when they …

Continue Reading