Ayende @ Rahien

My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:


+972 52-548-6969

, @ Q c

Posts: 18 | Comments: 79

filter by tags archive



Yeah it's a much different world than corporate clients that's for sure. The precautionary steps required are ten-fold in order to prevent an avalanche of false positive bug reports and associated problems.

I say, bind 'em up and lock 'em down. If your product still runs then your user will have a pleasant experience and be grateful to you, otherwise barf early and often otherwise the user will falsely cuss you like they do Microsoft.

Krzysztof Kozmic

I don't think you should do that - simply close the app without any notification for the user.

You should output a message telling a user why you are closing.

Ayende Rahien


The Assert is also responsible for alerting the user


Yip, I've done similar assertions, as well as doing permission assertions.

e.g. Try running NHProf under Intranet/Internet Zone policies.


Hmm wouldn't reflector + deblector + reflexil make it trivial to bypass this? or i'm missing something?

Ayende Rahien


Please read it.

Then guess about why I need it


Ahh nevermind i thought it was some kind of assert to "protect" your files in addition to your licensing scheme. I should go to sleep :x

Peter Morris

I wouldn't bother at all to be honest. If someone is going to delete files I would let the app crash.

Maybe the unhandled exception dialog could suggest re-installing the file and if the problem persists they should send the bug report on to you.

Ayende Rahien


You do realize how many support calls a good error can save you?

Ayende Rahien

So you realize why it is important to try to reduce them :-)

Comment preview

Comments have been closed on this topic.


  1. Production postmortem: The industry at large - 11 hours from now
  2. The insidious cost of allocations - about one day from now
  3. Buffer allocation strategies: A possible solution - 4 days from now
  4. Buffer allocation strategies: Explaining the solution - 5 days from now
  5. Buffer allocation strategies: Bad usage patterns - 6 days from now

And 2 more posts are pending...

There are posts all the way to Sep 11, 2015


  1. Find the bug (5):
    20 Apr 2011 - Why do I get a Null Reference Exception?
  2. Production postmortem (10):
    01 Sep 2015 - The case of the lying configuration file
  3. What is new in RavenDB 3.5 (7):
    12 Aug 2015 - Monitoring support
  4. Career planning (6):
    24 Jul 2015 - The immortal choices aren't
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats