Reputation
6,127
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 15 33
Newest
 Yearling
Impact
~329k people reached

Jan
27
comment Achieving Zero Downtime Deployment
What if (when) the app on Server A writes to its DB after you stored the backup, but before you stopped Server A? There is always a "window of vulnerability". These writes will be lost, which may not be acceptable.
Jan
25
comment Is it acceptable to copy and paste long but straightforward code instead of wrapping them into a class or function?
And BTW, mixing networking and error display in one place is already a big no-no, IMHO.
Jan
12
comment What are the security risks/vulnerabilities every C programmer must be aware of?
Realistically, you cannot avoid security vulnerabilities in C, it was never designed to be secure and predictable. If security is a priority, do not use (standard) C. There are some restricted variants of C which can be formally checked, that could be an alternative.
Jan
12
comment What are the security risks/vulnerabilities every C programmer must be aware of?
As to integer overflow: Using signed ints is no solution, as overflowing them will cause UB. The only (painful) solution is to either formally prove that you will never overflow, or check at runtime (but check correctly, which is also tricky without overflowing in the check).
Jan
3
awarded  Yearling
Dec
17
comment Lookup Tables: Are they a leak in the domain model?
Also note that this solution will not necessarily use more disk space: An INTEGER column will use 4 (or 8, for 64bit) bytes. If you use a CHAR(4) with only ASCII, you will not use more.
Dec
13
answered SDK/DB isDeleted vs Integration Testing
Dec
12
comment SDK/DB isDeleted vs Integration Testing
"I'd try to not run tests on true production databases if possible" - that seems, like quite an understatement, to put it as gently as possible. My response would be more like "Are you bleeding insane?".
Dec
3
answered Is it a good practice to have a pre-filled embedded database for development?
Dec
3
comment Workflow, editing things not in your current task
@Nattfrosten: Yes, that's natural, and not bad - after all, the focus should usually be on coding. The code-management ist just to make coding easier.
Dec
2
answered Workflow, editing things not in your current task
Dec
2
awarded  Custodian
Dec
2
reviewed Approve What is the interplay or relationship between business, functional, and system requirements?
Nov
30
answered What does “Linux Ready” mean in the context of a project written in Swift?
Nov
13
comment Maintain hundreds of customized branches over master branch
Good points about adressing the social/organizational issues lurking behind the technical problems. This is too often overlooked.
Nov
13
comment Maintain hundreds of customized branches over master branch
@SpaceTrucker: Well, "Do you make daily builds?" might have helped. With 500 branches, they probably did not have them, or might have mentioned that they only do it for some branches.
Oct
23
comment Does an interpreter produce machine code?
@Giorgio: Actually, not quite. For example, Perl 5 will first parse and check the whole program before executing it, but is still usually considered an interpreted language (see stackoverflow.com/questions/5376559/… ). So the distinction compiled <-> interpreted is a bit fuzzy.
Oct
21
comment No central database
@maple_shaft: Well, it answers the question that the OP meant to ask. Since the question could well be seen to suffer from X-Y problem, this seems a good answer.
Sep
28
awarded  Necromancer
Sep
23
comment What's the name for the 'spec' of a function/method?
I'm suprised this question has four close votes - it's a perfectly legitimate question IMHO, and quite answerable (in fact, it has been answered already).