Reputation
37,438
Next tag badge:
121/100 score
19/20 answers
Badges
5 76 138
Impact
~1.6m people reached

Mar
9
answered Can we encourage our test team to collaborate with developers on automating tests?
Mar
8
answered C++ object references vs. lookup
Mar
8
comment What is the value proposition of “build, release, run”?
beware the cargo-cult! Best practices do not necessarily mean best practice for your specific situation.
Mar
3
comment What method for storing a text file in memory (c not c++) would allow me to open any format(UTF-8, Binary, etc) and a file of any size?
@Joe try this GPL wrapper for Windows so it looks like Linux's mmap. Mac possibly uses mmap too.
Mar
3
comment What are modern develop-deploy-test techniques for non-interpreted languages?
Surely your problem is with the specialised tool that cannot understand incremental or partial 'patch' deployments. Persuade your boss to fix the tool, if you can.
Mar
3
comment What method for storing a text file in memory (c not c++) would allow me to open any format(UTF-8, Binary, etc) and a file of any size?
@Joe Try boost (always try boost :-) ), but if it has to be plain C, you'll have to search.
Mar
3
comment What method for storing a text file in memory (c not c++) would allow me to open any format(UTF-8, Binary, etc) and a file of any size?
@Murphy you read the entire file and save the edited bits elsewhere, or you update the file directly and save the undo buffer elsewhere. Its no different to having it loaded into memory - you still need an undo or redo buffer to restore the right bit of edited file to its original state.
Mar
3
answered Why do teams still insist on a code-styling policy?
Mar
3
comment Why do teams still insist on a code-styling policy?
@Alternatex +1.. trouble is they're all crappy ones as nearly all are written by style nazis more interested in minutiae than useful collaborative aspects!
Mar
3
answered What method for storing a text file in memory (c not c++) would allow me to open any format(UTF-8, Binary, etc) and a file of any size?
Mar
2
answered Which is best practice to save uploaded images in a database or in a folder
Mar
2
answered Trust .net compiler after Microsoft updates
Mar
2
comment Developer failing developer interviews
@user148298 that's because lawyers, doctors etc all have professional bodies that require them to undertake formal exams. I guess they trade lots of little interview questions with 1 huge set of 'interview questions' in order to practice at all.
Feb
26
comment Is it a good idea to document every assumption in code, even if it goes against the standard of the language?
the notnull_ptr template does not go against the standard, as template types that throw exceptions are perfectly valid C++ expressions. The assert version is generally a hangover from C code. Not that that is bad, as the assert is very simple and easy to read and maintain. I think you mean "common conventions" of language code, and in that respect I think breaking commonality is something to be considered only with extreme good reason.
Feb
26
answered Repeating a Particular Iteration of For-Loop
Feb
26
comment Scrum - Dealing with failed sprints and deadlines
@immibis but that is true though. Things like games do not tends to leave features out until the end, most parts of a game have to be implemented for the whole to work - while you can take out some features (and I know games that have done this) they do not add features incrementally. So a missing boss would be a broken game. I only chose games as an example as they do tend (particularly before internet delivery) as examples of hard deadlines.
Feb
25
comment Using output of GNU GPL software in commercial purposes
I don't know why you got a downvote - the question is so hot the GNU FAQ has several entries explaining it in a dozen paragraphs!
Feb
25
answered Using output of GNU GPL software in commercial purposes
Feb
25
comment Scrum - Dealing with failed sprints and deadlines
@MSalters you assume the game works at all, that 80% may not be missing features that can be added later, but breaking functionality or crashing bugs. It doesn't have to be a game, could be any software that needs to be shipped for a definite, and unchanging deadline (as not even Apple can postpone Christmas!)
Feb
25
comment Scrum - Dealing with failed sprints and deadlines
@RemcoGerlich ah, I think you misunderstand my point: in that agile is not really about the dev methods, but the ability to get on with the work, using whatever means you like. Its about progress not procedures after all. (eg a team that only does Scrum is not agile, a team that only does waterfall-style but modifies it to suit circumstances is)