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

15h
comment Obfuscated/Non-readable file format - C++
Do you want the binary itself obfuscated, or some other file that is loaded by the exe? The easiest (and best) way is to encrypt it so only the OS can decrypt it, the key being stored per authorised user. Otherwise, everyone can eventually de-obfuscate your program.
19h
comment Taking strong, static typing to an extreme?
possible duplicate of Should we define types for everything?
1d
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
answered Should I use BLOB or Tables for storing large data?
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
21
answered What is a reasonable level of detail for a style guide?
May
20
answered Quit a program in main or in function?
May
20
awarded  Good Answer
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.