66% chance of new car

carsandgoatsDo you remember, or have you at least heard of the old game show “Let’s Make a Deal”? This was the show where a contestant had to opportunity to win a car. All they had to do was guess which door the new car was behind. Two of the doors had a farm animal but there was a trick to it. After choosing a door, the contestant was shown one of the farm animals and then had to decide to stick with their first choice or switch their guess to the door they didn’t choose. What do you think the chances are of winning when keeping the first choice versus switching guesses?

You can find out here. This little javascript simulator uses one or two fancy new javascript tricks so you  need a modern browser. If it isn’t working for you then switch to Chrome or Firefox.

enjoy.

Interactive Search Builder for Javascript now on NuGet

isbjsiconInteractive Search Builder for javascript has been released in NuGet. ISBjs is a configurable javascript “widget” that empowers your users to build their own search queries, significantly reducing the complexity for you, the developer from providing many search options.
Read more about how it works, how to make it pretty, etc. on the github page HERE.

Continue reading

Printable Reports Using only CSS and HTML

As a .Net developer, I have naturally gravitated toward Asp.Net for building web applications. However, the past few years I have eschewed web forms for the modern ajax style of development, especially the SPA. One reason I do still create .aspx pages is to build reports with tools like Telerik reporting or Microsoft .rdlc. I couldn’t find a good way to make reports without a server-side technology and The Google lead me down many sub-optimal paths. Finally, I have figured it out, and it was easy. I am embarrassed to announce that I didn’t know this before, but maybe some of you are as dumb as I am and this blog post could help.

Continue reading