News for hackers. Stuff that matters.
Re:People suck at technical interviews (2014) by lordnacho on Friday June 10, 2016 @09:26AM (#11876174)
It's genuinely surprising what people don't know.

"If I roll this d6, what will the average be over time?"

I've asked this to loads of supposed graduates, and apart from the odd one who made the "WTF are these monkeys hiring me for" face, a lot of people can't figure it out from first principles.

But a lot of people choke on it. Also I've had people choke on very basic general knowledge like "think of a large emerging economy in Asia".

Maybe it's nerves, maybe it's thinking too much about a simple problem.

With coding, perhaps the surprise comes from the fact that a FizzBuzz test would seem like quite a powerful test. If you can't do it, you know you can't do it. There's no doubt that you're not a programmer if you can't solve FizzBuzz and its ilk. So why do people apply, knowing they will be tested? That's the real question.

I guess the answer is you learn where you're at when someone asks you something you can't answer. Sometimes it's not where you thought.

Re:People suck at technical interviews (2014) by manufacturious on Friday June 10, 2016 @05:40PM (#11880287)
I suffer, on occasion, from depression and anxiety. When I'm having an episode, my brain doesn't function.

I don't mean that I can't solve problems. I mean I can't hold a conversation.

I wonder if the reason so many people fail is because we've essentially put them in an artificial situation that shuts their brain down.

(I have also been dumbfounded by the inability of recent CS graduates to do FizzBizz... I feel like it's not certain our candidates are frequently flawed. Maybe it's our environment.)

Re:People suck at technical interviews (2014) by morgante on Sunday June 12, 2016 @01:14PM (#11889108)
> I don't mean that I can't solve problems. I mean I can't hold a conversation.

That sounds really hard. I'm sorry.

But I can't imagine any interview technique which would work reliably if you're brain dead during the interview.

Re:People suck at technical interviews (2014) by ktRolster on Friday June 10, 2016 @12:11PM (#11877418)
"If I roll this d6, what will the average be over time?"

I'll be honest, that's a really dumb question for testing programming skill.

Re:People suck at technical interviews (2014) by lordnacho on Friday June 10, 2016 @12:28PM (#11877563)
We were looking for statisticians.

Still not a great question, maybe. But you grab whatever is in your bag.

Re:People suck at technical interviews (2014) by ktRolster on Friday June 10, 2016 @08:36PM (#11881308)
Yeah, if you're looking for statisticians, they should be able to figure that one out I'd guess lol
Re:People suck at technical interviews (2014) by a_small_island on Friday June 10, 2016 @08:07PM (#11881197)
1/6?
Re:People suck at technical interviews (2014) by ubernostrum on Saturday June 11, 2016 @03:52AM (#11882562)
The question is a weird way of asking "do you know the definition of expected value?" Expected value is calculated by taking each possible outcome, multiplying that outcome's value by its probability of occurring, and summing the results. So to calculate for a six-sided die, where each outcome has probability 1/6, you simply multiple each possible outcome by 1/6 and sum those results:

(1 * 1/6) + (2 * 1/6) + (3 * 1/6) + (4 * 1/6) + (5 * 1/6) + (6 * 1/6) = 3.5

Of course no actual roll of the die will ever come up 3.5, but as you roll the die more and more times, the average of all results seen so far will begin converging on 3.5 (and given infinite rolls, that's where it would end up).