Reputation
17,854
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 37 74
Newest
 Yearling
Impact
~462k people reached

Jun
4
comment Algorithm for comparing hundreds of similar, but not identical documents
+1 In this case why would a day, (or week or a month) to get a reliable result be a problem? In the 1960's computers were billed based on CPU time used and a day of CPU time might have been more expensive than doing it by hand, we have moved on from that era, CPU time is cheaper, developer time not.....
May
17
comment What defines robust code?
@kiwiron: Would a better solution not be to use a enumeration type, "Male", "Female", "Did Not Ask". Enumerations are better - can be extended when the need arises ( in your e.g. Asexual, Hermaphrodite, "Refused to Answer" come to mind).
Apr
28
awarded  Yearling
Apr
21
comment Does using the Telegram API mandate releasing the source code under a GPL license?
What are the terms of use of the API?
Apr
21
answered provability of while loop vs for loop
Mar
15
comment best way to export binary data with additional text attributes to a stream
Unless you have a performance problem do yourself and everyone else a favor use Binary to Text encoding before spitting stuff to STDOUT. - You say it would "greatly increase..." - Have you measured it? Sounds like premature optimization.
Mar
1
comment Why aren't “fat binaries” more widely used for cross-platform applications?
@Robert Harvey - Make this an answer, because it is 'the answer' - the rest is just noise - if we did not have VM's and Byte code, those issues would be addressed.
Mar
1
comment Single method with many parameters vs many methods that must be called in order
The biggest problem is not 'not calling them in order', its 'not knowing' that you (or more precisely, a future programmer) must call them in order. Make sure any maintenance programmer knows the details (This will largely depend on how you document requirements, design and specifications). Use Unit tests, comments and provide helper functions which take all the parameters and call the others
Feb
27
comment The recommended Way to exit a Loop
The Single Responsibility Principle would invalidate this solution. In most case I expect "CalculateTrajectoryAndIsLaucnhWindow" would in reality be named "IsLaucnhWindow" and then go on to calculate rocket the launch trajectory - returning a boolean indicating if the rocket is in its launch window.
Feb
26
comment Reducing the complexity of over-designed code
Someone will link you to this, might as well be me... Michael Feathers, Working Effectively with Legacy Code. Does not matter if this code was written yesterday - it is legacy code - make this book your bible.
Feb
26
comment What is Quality Assurance's role in a company that practices Continuous Delivery?
My point is if you are using QA to test, your not doing QA, you are doing test. Ensuring the tests are done, (after determining if they need to be done) is a QA role, but actually doing them, and/or doing nothing else, is not QA, its Test.
Feb
25
comment What is Quality Assurance's role in a company that practices Continuous Delivery?
Maintaining tests is a validation and verification teams role. QA is responsible for making sure the business goals are achieved.
Feb
25
comment What is Quality Assurance's role in a company that practices Continuous Delivery?
By QA do you mean quality or test? QA has a big part to play in CI as they monitor and refine the processes that ensure quality. Test also has a part to play but do more work further upstream of where they traditionally work
Feb
25
comment Pesky bugs - nonexistant?
+1: Increasing SLOC (for the same complexity) often decreases insidious defects. extreme e.g. "if (a+b-c > Epslon || b-d+a < PI || z==a & b==z)" is almost always better rewritten in 10-20 lines - Adding braces would not help this case....
Feb
25
comment Pesky bugs - nonexistant?
Scale that trivial 20*200 program to 1000 files*5000SLOC each, make it poorly written and 20+ years old, and all those things that you read about as best practice make more sense than saving a couple of thumps on the keyboard. (BTW - reusing variables a common problem). Most of the pesky bugs are introduced by later enhancements where the original author did something 'dodgy' and the second author did not notice it.
Feb
25
comment Is it reasonable to assume that any physical quantity can be represented by a 64-bit integer without overflow or underflow?
“Those who fail to learn from history are doomed to repeat it”. The short history of computing is already littered with far too many incorrect presumptions about how 'big' things needed to be. We doubles 8 bits and got 16, we did it a couple more times and have got to 64. Will it last, absolutely not, how long before we repeat history - who knows.
Feb
12
comment Software cost estimation
Exactly my point - you negotiated how he was going to do it and (presumably) accepted his estimate for that. You did not negotiate the estimate.
Nov
28
comment What are the key areas to evaluate software (codebase) on?
My guess is none of the above. Stop thinking like a Programmer and think more like a CTO. He is interested in things like Cost/benefit, Security, Can I hire prorammers/contractor with the skills to maintain it, do I have key person vulnerability. Is the code Maintainable, how hard/expensive is to change (compared to a "new" system), will it run on new hardware and updated OS's... If he is thinking at the level you have described, he is a programmer, not a CTO.
Nov
27
answered Some tips on creating programs in C?
Nov
27
answered What rights do I have if a closed source non-distributed in-home application was stolen?