Software errors, are so prevalent and so harmful that they cost the U.S. economy an estimated $59.5 billion annually. There are many examples of very serious and detrimental software errors such as:

softwareErrors Obviously, we would like to deliver a “bug free product” to our customers, but unfortunately, this is an un achievable goal. While some errors can be very easily eliminated, other are very evasive. What are the measures taken into consideration when we decide if an error is evasive or not? Lets create a list of software error parade and talk about it:


Continue Reading...

The eighth post of the series of programming job interview challenge is out. 68 readers provided answers to job interview challenge #7 and most of them had the correct solution. As rvh mentioned, the trick here was to understand that the round table has a symmetric shape and: Actually this algorithm isn’t limited to just a round table. It will work with any shape that is symmetric with respect to both x and y axes. I couldn’t describe the correct answer better than Yoav Zobel, as he was the first one who also formally proved his algorithm:

The Correct answer (as provided by Yoav Zobel):


Continue Reading...

That’s it, Times up on the sixth in the series of job interview questions. There were 39 people who answered and the first one to give a correct answer was leppie from the IronScheme project.

The correct answer is that both will return false.

You could sum up the answer by saying Boxing.

An ArrayList hold objects, so when you insert a ValueType into it, it will be boxed and become an object. When you compare List[0] to List[1] you are comparing references, and they will never be the same because they are pointing to different objects. This is the reason for getting the false in both comparison. It is true that in the second comparison you are comparing a double and an int ( 2.0 and 2), but that is not why you get false, it is due to the Boxing.


Continue Reading...

In this post I do not intend to make a list of the best programmers web sites, but to share with you some you might not know:

CodeFetch – Search for source code in programming books. Their mission is to connect programmers with authors and is uses and support open source. If we are talking about code search I am sure you are familiar with Koders – top search engine for code.

FreeTechBooks – Free Online Computer Science and Programming Books, Textbooks, and Lecture Notes.

QuickRef – interactive programming documentation, allows you to keep many docs and remember them.


Continue Reading...

Last evening we have experienced our first ever crash due to traffic, it was quite annoying, but I guess it is a good sign :). Our current hosting program supports 150 concurrent users (shared hosting). The article that caused the trouble was When a Company Logo Doesn’t Come Out So Good. We are using a WordPress plugin to track online activity in the site called Wassup, which we recommend and here is the traffic graph of just before the crash:

Traffic


Continue Reading...

Today we are taking a comic break from code and from programming. I received some pictures of unsuccessful logos, you will be the judges…

Computer Doctors


Continue Reading...

charts May is gone and now is the time to check out the stats. I am so happy to see that we have managed to make all parameters grow substantially, although i must say it is getting harder and harder.

We have tweaked our theme several times this month due too some test we were running, the conclusion of those test will be published in the following week.

Just before the stats we would like to announce that from now on we will be accepting guest posts.


Continue Reading...
imageXHTML sitemap validation tool allows you to XHTML validate your entire sitemap in one click, unlike the W3C markup validation service that let you validate one page at a time. This tool is also needed because XHTML validation is very important in the manner of SEO.
 
After releasing it a few days ago, Rob White from http://www.jacquelinewhite.co.uk/ wrote us that he had problems validating his site. Checking that issue, we found out that the default namespace on Robs sitemap is different than what we expected. During this bug fix, some other issues came up and we decided to release version 1.1 of our tool. The update includes:

Continue Reading...

The ServiceContainer, implementing the IServiceContainer Interface is used to store and retrieve services. it is used for Dependency Injection, a very important concept that allows separating independent components, and is widely discussed over the web. However, one drawback of this implementation is it does not work with .net  remoting…


Continue Reading...

I am currently working on a project with a pluggable application (load plugins at runtime and execute them) that loads assemblies at runtime, using the Assembly.LoadFile() method. I wanted to test it using NUnit (feel free to read our 3 Ways to Run NUnit from Visual Studio post). Although, the code was functioning very well it always failed during the NUnit tests, always! It took me several days to understand what went wrong and I want to share you with my findings.


Continue Reading...