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

Mar
23
answered Logging into text file or database?
Mar
22
comment Avoiding hangs when calling a native API
not for .NET, but I have done something similar for running external processes that might hang - if it doesn't respond, it can be killed and restarted without the client application even noticing.
Mar
22
answered Avoiding hangs when calling a native API
Mar
22
revised Is Template Pattern a good way to implement DRY?
changed sucky title.
Mar
22
answered Browser Web Application UI/End User Testing
Mar
21
awarded  Popular Question
Mar
14
comment Is it wrong to git push force branches?
@enderland everyone wants pretty history, its still the wrong (and dangerous) thing to do as shown by the link. Torvalds should never have put it in, he should have allowed commits to be "compressed" on display instead.
Mar
14
comment Is it wrong to git push force branches?
The problem is rebasing. Push normally and do not worry about history, SCMs are supposed to preserve history - its their entire purpose. When merging, use merge instead of rebase. The close-duplicate link shows why.
Mar
14
comment Is it wrong to git push force branches?
Possible duplicate of Is the git "Golden Rule of Rebasing" so essential?
Mar
14
answered What should be the scope of a health check for a system which deploys a webapp?
Mar
13
awarded  Nice Answer
Mar
10
comment Use of booleans in a database
I imagine posting on DBA.SE will get you much better answers than here, the guys over there are good.
Mar
10
answered A property that can represent both a single date and a date range: How to properly model that?
Mar
10
answered Kernel facilities needed for C++
Mar
10
comment How could this be considered performant code?
Ahah, I see - poor code that works slower with a comment that says "this is faster". They got it wrong, pure and simple. Phil's answer explains what they were thinking, they just implemented it badly. This is a situation where a comment is correct and the code has a bug. Comments are good after all. If you fixed the bug by putting the break in, it would perform better.
Mar
10
answered What kinds of bugs can integration testing actually find?
Mar
9
comment How could this be considered performant code?
@beirtipol you're not doing the same things though - the remove example finds the first element to remove and removes it, the zero example iterates through all elements and zeroes the single one that matches. If you wanted to compare alike, you'd break out of the loop after you found the element to zero. Effectively you're comparing Pete's 'zero all' with 'remove once'
Mar
9
comment Benefits of Structured Logging vs basic logging
@DTI-Matt serilog's structured logging is just basic logging, only it formats objects that you print to it - something you can do yourself by over-riding ToString very easily. A more important aspect is configuration and management of the log files, not one way of formatting a string over another, another is performance. If the dev wants to use log4net (which is a good logging lib), then your choice of serilog (which looks cool) is one of those "solutions in search of a problem" things.
Mar
9
comment Can we encourage our test team to collaborate with developers on automating tests?
IIRC SpecFlow is the .NET equivalent of Cucumber. They would probably gain more acceptance using that.
Mar
9
answered Can we encourage our test team to collaborate with developers on automating tests?