-
Continue reading →: Failure is the condiment that gives success its flavor
There are very few people in this world that can talk about the failures in their lives with confidence. They are the people who have tasted success. They are the people who have learnt from their mistakes. Reading “Arrrrr! Cap’n Eric be learnin’ about threadin’ the harrrrd way” can explain…
-
Continue reading →: Confusing Closures made Simple
JavaScript Closure is one of the trickiest concept of functional programming and all languages that have “first-class functions” support closures. Closure by literal definition is “The act of closing” or “The state of being closed” Have a look at function below: Now when we make a call to returnFunctions(‘bing’); output…
-
Continue reading →: Reblogging: My First BillG Review
Nice read from Joel Spolsky if you are a Microsoft Enthusiast. http://www.joelonsoftware.com/items/2006/06/16.html In those days we used to have these things called BillG reviews. Basically every major important feature got reviewed by Bill Gates. I was told to send a copy of my spec to his office in preparation for…
-
Continue reading →: Floating Point Calculation Error
In a blog post I read somewhere that if you give alert(9.2*100); in JavaScript then the alert box will show 919.999999999999 instead of 920. Many people wonder, “Why is it so?”, “Is it a bug?” Answer to question “Is it a Bug?” is Yes and No. Yes, because you are…
-
Continue reading →: Still Using Hungarian Notation?
While going through a blog post written by Eric Lippert “What’s Up With Hungarian Notation?” I got really confused as he had religiously lawyered the use of Hungarian notation and kind of ridiculed those who were not in favor of using it. It took me long time and some getting…
-
Continue reading →: Julie & Julia
On 31st Dec 2012 I made a New Year resolution that I’ll be doing One new thing every Month that will be a new challenge in itself. For first two months I’ve followed it religiously and with end of second month around the corner I was thinking about the task…
-
Continue reading →: Creating a Simple FAQ page fetching from Sharepoint 2013 List
There was a question asked in stackoverflow regarding “Dynamically Showing/Hiding Panels using JQuery” http://stackoverflow.com/questions/15076494/dynamic-show-hide-panels-using-jquery Here the author had a scenario where he wanted to create a FAQ page fetching data from a Sharepoint List and toggle Response visibility by clicking on Question. So here is the code for that (thanks…
-
Continue reading →: Customizing SharePoint 2013 Search Display Template
In this post we’ll see how to configure SharePoint 2013 Search Display Template. Here we’ll add “Rating” column to the Search results. As of now we have a document library “DocumentSearchLibrary” with some pptx files and rating. When we use SharePoint search We get out of box results in given…
-
Continue reading →: Display Template and Page Layouts not available
Symptom: While trying to modify Display template in SharePoint site you go to Site Settings -> Master Page – > Display Template , And open a folder to edit .html file to edit existing display template and all you see is lots of Javascript files but no HTML file. Reason:…
-
Continue reading →: New In Visual Studio 2012
Other than the new Look and feel of Visual Studio 2012 which some may like and some may not there have been various other changes. Many changes like search bars, quick launch etc… are readily visible to the end user others for the performance improvement standpoint are not on UI…