When hosting WCF services from Visual Studio you may, as I recently did, come across this error:
Here is my solution to the latest code contest from The Daily WTF Programming Praxis: Josephus’ Circle.
What I like about this solution is that it represents in code, how the problem is actually carried out in real life. The soldiers are counted off one by one.
This recent post on The DailyWTF has brought in many comments with people providing code samples in many different languages. The post, Programming Praxis: Russian Peasant Multiplication, offers a simple coding challenge.
The challenge screams for recursion and many of the answers in the comments went this route. Of course, when we talk recursion we always have to qualify it as saying there is a performance penalty for using recursion.
Using this Russian Multiplication challenge as an example, I’ve done some testing to see how much the penalty is.
This article originally appeared on 4GuysFromRolla.com at www.4guysfromrolla.com/webtech/051601-1.shtml.
When creating ASP pages you can choose to use a number of scripting languages, such as VBScript, JScript, PerlScript, and even Python. While this may seem all fine and good, realize that VBScript, the most popular server-side scripting languages, is a watered-down version of VisualBasic. Think of VBScript as VB-Lite - certain things are missing.