951 reputation
513
bio website
location
age
visits member for 2 years, 3 months
seen Nov 21 at 21:05

Oct
31
comment Is it fundamentally possible to validate that an unmodified version of your client connects to your server?
It is very difficult to prevent in all cases someone from tampering something outside of your control.
Oct
31
comment Looking for encryption method
"This database contains some data I don't want the user to tamper with, so the idea is obvious - encrypt the data file", this sounds like you can use message authentication (MAC) instead of encryption, that is you don't care if people can read the data. Encryption doesn't mean that you can't tamper with data, it means you can't read it. If I flip some bits in the encryption data, and try to decrypt, it will likely decrypt but be incorrect.
Oct
31
revised Is this extension method any better than just casting to an int?
added 3 characters in body
Oct
31
answered Is this extension method any better than just casting to an int?
Oct
24
comment Is it a good practice to run unit tests in version control hooks?
I agree, this is what a build server is for. Your source control is for managing source code, not ensuring your application works.
Oct
23
comment Code that converts a value into a different representation, then converts it back to where it started is bad, but how?
decimal myValue = decimal.Parse(dataReader["myColumn"].ToString()) is a pet peeve of mine.
Oct
17
awarded  Notable Question
Oct
10
comment How can DB and UI agree on default values?
Why does the database need default values if it's expected that the UI is still providing them.
Oct
1
comment When should I implement authentication in a database?
It sounds to me that you would want application level users, not database level users. These application users operate on a higher level of abstraction than a DBMS.
Oct
1
comment Add or leave comment for simple race condition logic?
Instead of adding a comment, you could prevent a race condition by using locks, now it's obvious that the developer is working with multi-threaded code.
Oct
1
comment When should I implement authentication in a database?
Depends on your system architecture, are there multiple users, is it a web-app, do end-users have direct access to database, etc.?
Sep
25
awarded  Enlightened
Sep
24
awarded  Nice Answer
Sep
23
revised Which approach is right doing use case first or classes first ? why?
added 57 characters in body
Sep
23
answered Which approach is right doing use case first or classes first ? why?
Sep
20
awarded  Nice Answer
Sep
19
comment Should failing unit tests that we're not going to fix be removed?
If you allow your system to contain failing unit tests, how do you know which failing unit tests are okay?
Sep
19
answered IOC Containers break OOP Principles
Sep
4
comment Why are the <b> and <i> tags deprecated?
@supercat developer productivity costs more than bandwidth. I suspect the time it takes to send the extra bytes over the network is negligible, especially when considering the overhead of creating the actual output (database calls, network sockets, javascript files, etc.)
Sep
3
asked Fire domain events after transaction completes