27,087 reputation
25496
bio website thehungersite.com
location United Kingdom
age 46
visits member for 4 years, 1 month
seen 52 mins ago
experienced software engineer with many years in the industry, mostly c++ for large-scale, high-reliability systems.

10h
comment A new name for unit tests
@PeteKirkham the corollary of that is that you need to write a large number of unit tests and then also write the integration tests to make sure the unit still work with each other. The places I worked that were very fond of unit tests spent so much time writing (and maintaining) them that they dwarfed the codebase, and the amount of work they did was tiny in comparison to what I achieve outside that environment. Nothing is a magic bullet, I recommend trying to find a more pragmatic approach that gives you both test coverage of the important bits while also producing something.
May
22
comment Should points of tech debt be counted in a team's velocity?
@BryanOakley or maybe we can just say Scrum (with its pigs and chickens, sigh) isn't really agile :)
May
22
comment Hybrid Mobile Application or Web with native containers?
Without editing, its about opinions, and opinion-based questions are off-topic!
May
22
comment Should points of tech debt be counted in a team's velocity?
how can you fail a sprint? If you mean "not completing all the work assigned to it" then my only comment can be that the sprint failed the team. Time to drop such ideas and start being agile!
May
22
comment Deferred execution of Dispose for IDisposable objects
@rwong crikey. Finalizers are worse than I thought - and I thought they were pretty bad.
May
22
comment Resetting vs. re-sending forgotten passwords
@PhillW. TBH if anyone has gotten access to your DB they can slowly decrypt those passwords at their leisure (which takes less time than you think nowadays, especially with rainbow tables and similar techniques). The real flaw is letting them get access to your DB, not the password storage format. (of course, you should still encrypt the passwords just to add another layer, but doing this isn't a solution in itself)
May
22
comment Where should my team start with becoming “modern”?
@jpmc26 true, and the same can be said for "fixing things that aren't broken". As with everything there is a middle ground where improvements can be made without being for their own sake (or rather, his CV). The OP wanted to put all those things in because he had heard good things about them, not because there were problems to be solved using them. None of us can give consultancy work on the OPs exact situation, so we give guidelines where to go. None of these answers should be considered holy writ, hence my point of gaining experience enough to know when to use them.
May
21
comment Should I use BLOB or Tables for storing large data?
@ddalton you're not hooking the web UI up directly to the DB and presenting data as Oracle Forms (or whatever) are you? Do you have an application tier in between the DB and the web client? I'm still not sure how putting a BLOB in a DB column will help - you either need the data contained in the excel doc, or its just a opaque object. The latter doesn't need to be part of any display.
May
21
comment What is a reasonable level of detail for a style guide?
@AK_ See, I agree with you in the result, but not in the manner of achieving it. Setting lots of rules is not as effective as simple common practice that everyone can (and will) follow.
May
21
comment What is a reasonable level of detail for a style guide?
@AK_ yep, me too - and those are the companies that also have huge style guides! Which shows just how useless they are. On the other hand, you can easily enforce consistent style, by keeping code style the same. That's simple, doesn't require huge rulebooks, and can be more easily handled in a less formal manner. ne thing you should never do is change a file's formatting to make it prettier, it screws your SCM history and could introduce errors if you don't do it properly.
May
21
comment What is a reasonable level of detail for a style guide?
@AK_ yes, and my point is that that style can be anything that is consistent. The only way to achieve that is to use the existing codebase as your guide. (otherwise you end up with islands of 'good style' which is rubbish). For any single project, all code will have the same style as its written from a base.
May
21
comment What AI algorithm should I use to develop an automatic personal scheduler?
ask your tutor if your Approach A is correct, AI is technically dynamic programming in some form or other anyway. Whether your approach is good enough for your course is what matters here.
May
20
comment Coinvault / Bitcrypto ransomware idea
wireshark will let you monitor network traffic, if you assume the key is being sent on request. It might be embedded in the code however. Also if they download an executable and run it, you can use NTMon (from sysinternals) to see filesystem activity.
May
20
comment Power8 or ARM or Intel server platform for long-term investment protection?
Lease whichever you want now. Then you can replace your servers every 3 to 5 years, which is when they'll be becoming obsolete anyway.
May
20
comment Advice on architecture (WCF / MVC)
@Spyros I used to work in a 'microservice' architecture, performance wasn't a problem there. Sure, each call will be slower than embedding a dll, but with many users the load will be spread out, so it can work out better. Its a standard n-tier architecture that's been used for decades.
May
20
comment How do you avoid getters and setters?
@BrianGordon I understood the issue is that blindly following a "all variables must be accessed via a method" means people replace myobj.var with myobj.getvar() - which is fundamentally no different and why brain-dead getters and setters should be considered evil. Getting rid of these and replacing them with get/set methods that make sense in context of the object and not the internal variables is how accessors should be considered.
May
20
comment Where should my team start with becoming “modern”?
Nobody says "don't solve problems", the issue is when solutions are introduced looking for problems to solve. They are not as important as many think, the cargo-cultists think the tools are the important part, where they are actually just tools. Its the practitioner that matters, and whichever tools work in the right places are the ones to choose. my point is to never choose a tool simply because its in the toolbox.
May
19
comment How do I communicate to a colleague that their code does nothing?
@Neil oh, not you, of course... (please note the smiley)
May
19
comment How do I communicate to a colleague that their code does nothing?
@Neil only if you have an unfulfilled and ultimately futile and lonely life that thrives on the misfortune and errors of others :-)
May
19
comment How do I communicate to a colleague that their code does nothing?
@BartvanIngenSchenau but what if it turns out it was you who wrote the code you don't understand? :-)