Blog post: Understanding the #MongoDB code that Twitter is laughing at http://utcc.utoronto.ca/~cks/space/blog/programming/UnderstandingMongoDBRandom … (spoiler: it's not crazy at all.)
@thatcks if it weren't buggy, and were dropping 90%, fine. But what's notably bad is the overly clever code leading to the concealed bug.
-
-
@avibryant Agreed. I'm spotting the code points; I don't think it's good, just not obviously crazy and laughable the way it's been treated. -
@thatcks for me what was worth laughing at was the process of: "WTF? Oh wait, ok that makes sense. Oh wait, no, it does the opposite. WTF?"
End of conversation
New conversation -
-
-
@avibryant I also suspect that many people have not actually looked at the code, they've just gone 'har har Math.random() in MongoDB code'.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.