Apparently a PhD is doing research into high rep MSE users
*"I'm currently carrying out a study on how online communities create their rules. To this end, I'm interviewing the Meta Stack Exchange users with the highest reputation"*
@PrincessLuna Yes, but... actual criminal behavior directed towards you doesn't bother you? Also, if he gets arrested, then he can't harass other people who won't be as unbothered.
@Mithrandir I wouldn't push it too hard ;) I get the enthusiasm... but often in reality things are much more difficult than 'the bad guy gets arrested and the world is a better place'. ;)
Problem of the day: having to test a method, using only Moq and xunit. The method calls an extension method.... the method is actually a Pandora's Box with about 200 lines.
I would like to mock that extension method... but obviously I can't really mock static methods with Moq.
So now I am trying some "workarounds" that would allow me to not go crazy trying to "arrange" the logic of that extension method (and binding my test to its specific implementation details)
only to discover one after another than XUnit does not support any of them.
Problem of the day: having to test a method that print something, and that something is what we have to customize. Can't help except with trial & error and wasting paper & ink...
mock problem resolved "the smart way". Short version: no tests. Long version "actually there are some partial test that are very implementation specific and not cover all the possible execution paths".
Current mood status: if they are happy, who am I to burst the bubble.
@Catija it's barley, buttermilk, bacon, smoked sausage, and lots of fresh herbs, like chervil parsley, celery, fennel green or dill, spearmint and sorrel. It's served cold.
I hope translate translated those ingredients correctly :P
Finally the SO swag is coming to me. DHL updated the status everyday with customs clearance pending for 3 months and when I made a tweet, they cleared the customs inspection in just one day.
@Catija Out of curiosity, how are you able to respond to meta questions so quickly? Are you using a script which notifies you of new questions? I often see that you're the first to comment on many questions, and the first to vote to close blatantly off-topic questions.
I'm pretty sure that back in 2008 when Stack Overflow was created it made perfect sense to have an answer be "accepted" as that was the way forums were (and some still are) run: you ask the OP to change the title of the post to [Solved] when your solution worked for them, but:
nowadays
this doe...
@M.A.R.ಠ_ಠ The answer to a previous such request in 2013 was deemed by Shog9 to have merit, but was declined after he showed data justifying it was an extremely small proposition with too much complexity.