1,099 reputation
168
bio website
location Germany
age
visits member for 3 years
seen Dec 11 at 20:06

Mar
23
comment Implementing the Interface Segregation Principle
@svick I think the question is very clearly formulated in the very first sentence: does the interface violate the interface segregation principle?
Sep
19
comment I have to use Visual Studio 2005. What are good alternatives to using LINQ?
Moving from VS2008 or earlier to VS2012 can be a quite a pain in the *** (and expensive!), esp if you have C++ projects in your solution.
Jul
26
comment Sharing dlls in a software deployment
Since you are using VS, you may be using .Net. In this case, with your plans, you need to understand how .Net assemblies are found by the .Net framework. This is explained, for example, on this page: msdn.microsoft.com/en-us/library/yx7xezcf%28v=vs.100%29.aspx
May
23
comment Third party libraries in an open-source C# project
What kind of libraries are you talking about? .Net assemblies?
May
4
comment Given a situation, and some conditions, verify is that situation is possible
The input is only the number of games played by each team? No info about the opponent? Is there any condition about the teams having to play all at a certain time simultaneously (like on Saturdays)?
Apr
29
comment I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
I'd define an interface publishing the API, and then reuse the existing method by having a factory creating a wrapper around your old code and new ones by having the factory creating corresponding instances of classes implementing the interface.
Apr
29
comment How to port cli c++ program with GNU libraries from windows to Linux
If this is a pure command line tool you still need to understand the difference between managed and unmanaged code. If your original windows program relies heavily on managed code (search for gcnew) then it will be rather tedious to migrate.
Apr
28
comment Coding style (do more, then simplify)
If you use that method to solve small to medium tasks, then, as others told you in their answwers, I'd say there is nothing wrong with it, preferrably with some unit tests as additional quality measure. If you intend to create the architecture of some big solution this way I'd recommend to rethink the approach.
Apr
26
comment Why does Donald Knuth write TAOCP using assembly language?
Jerry Coffin succeeded in doing what I wanted to do, he looked it up in the source ;-). I looked in the chapters where MIX and MIXAL are introduced, where I did not find such statements...maybe I should get an electronic copy some day. Anyway, I think the answer tag would be more appropriate for Jerry's reply in this case.
Apr
26
comment Why does Donald Knuth write TAOCP using assembly language?
@KilianFoth yes I know. But I'd expect artificial programming languages to be used in such a book. Probably targetting an MMIX (the second M is not a typo :-) based computer. And ETA of vol. 5 is 2020....
Apr
21
comment How to use lists in equivalence partitioning?
(ctd) you talk about testing -- what is it you want to test? And which is the requirement involving those colors you are talking about? And how are the developers you are mentioning are involved in all this?
Apr
21
comment How to use lists in equivalence partitioning?
I've difficulties to understand what you are asking. However, an equivalence class is simply the set of all elements which are equivalent wrt some eq. relation ~ on a larger set Y. For a relation to be an eq. relation 3 properties have to hold: a~a for each a in Y, a~b => b~a and (a~b and b~c) => a~c. Taking all lines in the plane it is easy to see that being parallel is an eq. relation. A theorem in elementary set theory says that if you have an eq. rel on Y, then Y is the disjoint union of the corresponding eq. classes. If these are finite, they can of course be represented by a lists, but
Apr
19
comment What is the best approach for overriding fields in a database?
Assuming I understood your question correctly I'd have a threshhold field at the sample and provide a default value (the project threshold) for that field. You will need to provide a means to provide that value on the sample granularity anyway, and with a default value you avoid additional logic at runtime.
Apr
19
comment Is there any difference between interfaces and abstract classes that have abstract methods only?
Yes, I was thinking about something like that, but don't have any experience with it, so could not judge. Thanks for the input.
Apr
16
comment Is there such a thing as truly random?
Even though the question was closed I'd like to add the following link in a comment: spectrum.ieee.org/computing/hardware/…
Apr
15
comment How to determine most challenging test-cases to test any algorithm?
@AndresF. Thanks, but have a look at my edit. How do you ensure the random approach finds cases which are (statistically) extremely rare? I implemented the algorithm for division for bigints and tested it with random data for two days. No failure. Then I added support for the exceptional case, and it failed immediately...
Apr
13
comment algorithm to create all possible column vectors of size N containing only ones and zeroes
Just noticed you only need N=14 -- for that you won't even need big ints.
Apr
9
comment In plain English, what is a database index most similar to?
And here: stackoverflow.com/questions/1108/…
Apr
9
comment In plain English, what is a database index most similar to?
What are you missing when you look at en.wikipedia.org/wiki/Database_index? (This is not meant as a rethorical question, it's meant literallly).
Apr
5
comment Banking Applications need Auto save?
What kind of application are you talking about? If you are talking about 'auto save' a UI with user input comes to my mind. But then I wonder where the 'huge data' is supposed to come from. I'd say you should be a bit more explicit here.