3,220 reputation
717
bio website
location
age
visits member for 2 years, 10 months
seen yesterday

Mar
30
revised Trouble understanding the COCOMO model
added 989 characters in body
Mar
19
comment Programmer Timeliness vs Effort
Find out the motivating reason behind why core business hours are being implemented. This is too chatty to be an answer, so hence a comment. My experience, multiple instances of each: (1) An inept manager has been promoted to his or her level of incompetence (Peter Principle), and (2) Management needs a documented rationale for firing somebody (EEOC rules).
Mar
2
comment MIT License: Why isn't it considered viral?
As a public service to those, like me, who can't read ALL-CAPS TEXT, here is that "as-is" part of the license in human-readable form: The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
Feb
28
answered Trouble understanding the COCOMO model
Feb
25
comment I want to experience the early days of computing
Cheap and fun: Buy some dominos. youtube.com/watch?v=SudixyugiX4&feature=player_embedded .
Feb
8
awarded  Nice Answer
Jan
22
comment Exception handling in a program that needs to run 24/7
If the application needs to run 24/7 there's an infinite loop somewhere and this infinite loop had better be wrapped around some construct that catches all unhandled exceptions. If that's not the case, an unhandled exception will percolate to the already existing catch-all handler that's outside of main, and kaboom! the 24/7 application terminates.
Jan
21
answered When do rounding problems become a real problem? Is the least significant digit being one off really a big deal?
Jan
19
answered What is dispatch? Does it imply dynamic resolution?
Jan
19
comment What is dispatch? Does it imply dynamic resolution?
@miraculixx - C++ does not have multiple dispatch. You have to fake it with some design pattern such as the Visitor Pattern.
Jan
17
comment Extracting data from log files
Why are you worrying about performance first? The first thing to worry about is solving the problem. Only then should you worry about performance, and only if needed. You didn't give us near enough info to help you solve the problem. As far as Python not being parallelizable, see wiki.python.org/moin/ParallelProcessing .
Oct
14
comment What should and what shouldn't be in a header file?
A bit belated, but +1 for documentation. Why does this class exist? The code does not speak for itself. What does this function do? RTFC (read the fine .cpp file) is an obscene four letter acronym. One should never have to RTFC for understanding. The prototype in the header should summarize, in some extractable comment (e.g., doxygen), what the arguments are and what the function does. Why does this data member exist, what does it contain, and is the value in meters, feet, or furlongs? That too is another subject for (extractable) comments exist.
Oct
7
comment What code lays behind C++ exception?
-1. There are a number of things wrong with this answer. The biggest is that very few (if any!) implementations use the execution stack for exception handling. Exceptions are supposed to be exceptional -- i.e., they are presumably rare. Adding all that exception handling baggage to the stack would slow down every call, every return, and for very little gain. Most implementations use a completely distinct area than the stack for throwing and catching exceptions.
Oct
5
answered What code lays behind C++ exception?
Oct
4
comment Why doesn't Python just establish a format for declaring tab widths?
Set up your editor / IDE so it accepts your tabs as input but immediately converts them to the right number of spaces.
Oct
1
comment Can compilers check whether certain axioms hold for a user defined type?
@ScarletAmaranth - Re is it possible to perform such checks in all scenarios? No. It's an undecidable problem, the en.wikipedia.org/wiki/Entscheidungsproblem .
Sep
27
answered Can compilers check whether certain axioms hold for a user defined type?
Sep
9
comment Interview question “What is virtual function”
@ThiagoSilva - I would call what you are doing an "error", not "overriding". It is an illegal error in my world. Code that doesn't compile clean with a boatload of warnings options enabled needs a project waiver. Overriding a non-virtual function gets a compiler warning for hiding the parent class method, and that warning is not going to get a waiver any time soon.
May
31
awarded  Yearling
May
17
answered Ensuring that headers are explicitly included in CPP file