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: 86

filter by tags archive


Gene Hughson

And here I thought insanity was the outcome of trying to figure out why you get different results when doing the same thing over and over again.

Wyatt Barnett

Well, one could argue that the fun in multi-threading is proving you are doing the same thing over and over again to lead to the same results. So it feels insane but it is perfectly rational and really just insanely complex.


It is easy to forget that time is variable too. Its just one that we can't control (at least not in the absolute sense), so it is usually considered to be a dependent variable.

In many cases, you may be doing exactly the same thing, but another unidentified or difficult/impossible to control variable may be changing (such as the OS performing context switches). Getting deterministic results isn't always easy.

Matt Johnson

Sorry to be a stickler, but Einstein probably never said this. See




As several posters commented, this comment goes against the idea of "if first you don't succeed, try, try again", which Einstein probably would have agreed with.

If that were indeed the true definition of insanity, then all fisherman would have to be wackos. Well, perhaps some are...


Matt Johnson

Not sure why that first link I posted got mangled... Here's another try. http://tinyurl.com/lx698m

Joel P

From https://twitter.com/#!/nedbat/statuses/194452404794691584:

Some people, when confronted with a problem, think, "I know, I'll use threads," and then two they hav erpoblesms.


A mentor of mine always liked pointing out "Computers are deterministic" whenever we complained we couldn't reproduce a bug.

Adron Hall

Well, this still holds true.

Doing threads, is indeed, fitting of the description of insanity. If you aren't when you start, you may be by the time you're done. :)


@Steve : It's true, but we are never fully aware of what we asked it to do. ;)

Comment preview

Comments have been closed on this topic.


  1. Buffer allocation strategies: A possible solution - 2 days from now
  2. Buffer allocation strategies: Explaining the solution - 3 days from now
  3. Buffer allocation strategies: Bad usage patterns - 4 days from now
  4. The useless text book algorithms - 5 days from now
  5. Find the bug: The concurrent memory buster - 6 days from now

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):
    03 Sep 2015 - The industry at large
  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