Hi all
It seems that the RSS Error has been fixed and http://feeds.feedburner.com/Dev102feed is working again.
If you have subscribed to the old feed (during the past couple of hours) please resubscribe to the Feedburner one.
Thanks and sorry again
Amit
Continue Reading...
Hi all
We are having some RSS Feed errors our feed is OK but it seems that FeedBurner can’t find it. If anyone knows how to solve this, help will be welcomed.
This is the error we are getting
Bang! Kapowww! Krakkk!
(FeedBurner encountered an error while trying to bring you this feed and is now keeping its head [...]
Continue Reading...
The eleventh post of the series of programming job interview challenge is out. 75 readers provided answers to job interview challenge #10 and most of them had the correct solution. The correct answer as Alex, the first one to provide a detailed solution, wrote:
Hereās an O(N) solution:
Have one variable that stores the sum of all the values. Iterate through the list to add all numbers to the variable, which for simplicity I will call ālistSumā.
Now, take the theoretical sum of all numbers between 1ā¦n+1: This can be computed in O(1), as the sum of numbers up to N is n(n+1)/2: So for numbers up to n+1, itād be (n+1)(n+2)/2 (for instance, if the array is of size 9, weād do 10*(11)/2, or a theoretical sum of 55). Call this sum āallSumā.
The missing number will be the result of computing āallSum - listSumā.
O(N)complexity, with only two tracking variables.
Continue Reading...
Another month has come to an end and an interesting month it was!
The high light of the month was getting one of our articles on the front page of stumbleupon which drove almost 30000 visitors to dev102!!! That article was not a programming article but in fact a humorous one about company logos. That definitely gave a boost to our Page Views and Visits Stats but damaged the Page Views/Visits, Bounce Rate and Time on page. During that time dev102 crashed several times so we decided to install the WP-SuperCache plugin which removes allot of load from the server.
Read more about caching you WebSite here.
We are also taking part in the blogging Idol contest Arraigned by Daniel from DailyBlogTips
The winner of the contest is the one who manages to add as many Subscribers as possible to his RSS feed over one month.
So get your friends in and help us Win it!
Continue Reading...
The other day I wan in the need of a sorted collection. I found that there are 2 sorted collections available. SortedDictionary and SortedList. Now let me ask you, what do you think is the difference? Well, my first though was that they are the same except for the keys, which in SortedDictionary have to [...]
Continue Reading...
It is very common to use resource files in .Net applications when you need to store some data in a XML file. I usually use .resx files as string tables in order to avoid hard coded strings in my code. Two months ago, we published a post about a free tool which helps to extract hard coded strings to resource files. Notice that when you add a resource file, there is an automatically generated class with properties issued from the resources elements, so you can call this class properties instead of using the ResourceManager. The only problem with this class is that its properties are marked as internal and thus can’t be accessed externally (from other assemblies).
Continue Reading...
Hey all!
Its time for a new Challenge. But before that, last weeks answer. Well the answer could have been summed up by saying just traverse in reverse and return the second node . There were a few interesting answers among them Jonathan Gilbert’s whoĀ was the first to answer correctly:
This seems pretty simple to me. An [...]
Continue Reading...
I used to love using Digg, reading, submitting and digging. But no more! From now on I HATE them. I know Hate is a strong word, but hear me out and understand why I used this strong word.
On Friday the 13th of June I tried to submit one of my articles to Digg and I got the following error message:
This URL has been widely reported by users as being regularly used to spam Digg’s submission process and cannot be submitted at this time.
Weird I though to my self, probably just a glitch and right away I wrote an E-Mail to the Digg Support, here it is:
Continue Reading...
This is a guest post written by John Daniel-Trask from Mindscape.
Mindscape have released a major upgrade to their LightSpeed domain modelling / ORM tool. Version 2.0 includes a visual model designer integrated into Visual Studio, LINQ support, and the ability to access multiple databases concurrently. LightSpeed is a small, fast domain modeling tool which uses convention over configuration to perform object-relational mapping without the need for complex mapping files.
In the past it’s been necessary to code LightSpeed models explicitly in C# or Visual Basic, but the new Visual Studio-hosted designer enables a more data-centric approach: developers can drag tables from Server Explorer and LightSpeed automatically creates the models for them. Developers can also add validations and tune performance parameters such as caching and lazy/eager loading through the designer. The designer also supports a “round-tripping” approach whereby changes to the database can be applied incrementally to the…
Continue Reading...

During the Job Interview Challenge Series we are running here at Dev102.com, we usually get some comments from readers who think that the quality of a specific question is not good. Here are some of those comments:
-
“I hate interview questions like this, as itās just a race to see who gets the a-ha moment first“.
- “This is not a good interview question. What does it tell you about someoneās engineering ability? Little. Itās a brain-teaser; either you get it or you donāt”.
- “Really enjoying the problems so far but Iām a little disappointed with this one. I prefer āthinkingā problems to āresearchā ones“.
- “Isnāt this an awfully language-specific question?“.
- “If you presented this problem in an interview and made me an offer, Iād turn you down“.
On the other hand, many readers provided answers to the questions and enjoyed participating in those challenges. Some thought that the questions are very good:
Continue Reading...