News for hackers. Stuff that matters.
Re:Never fail a technical interview again by colinb on Saturday December 07, 2024 @04:33AM (#42348464)
I’m reasonably certain that I interviewed someone using this or something like it in the last few days.

Lots of eye scanning while looking above the window they’d been typing into. Pauses. Big pastes. One of my excellent colleagues noticed that the candidate made use of exciting C++ casts before ever defining the variable’s types. Complete inability to explain or debug the code just written.

So. Frustrating in two dimensions. First a waste of time for everyone. Second, occasional signs of real ability make me think the candidate might’ve made it work honestly. The fool.

This, and this alone, makes me pine for in-person interviews. But I suspect those won’t be back for some time. (For good reasons that are out of scope here.)

Re:Never fail a technical interview again by xandrius on Saturday December 07, 2024 @04:46AM (#42348538)
It sounds like you want sympathy but it just shows that some people just don't understand the power dynamics of an interview.

I believe live coding is a scourge and we should get rid of it altogether.

Get a tiny open ended project, which requires more design/architecture skills than actually finishing the solution. You do it at your own time and shouldn't take more than 1-2h. You submit it and provide your mental process in writing.

We then hop on a call and we can dicuss it further, talking about possible issues and what to do to get it released if a requirement changed last minute.

If you can do that, come across amicable, knowledgeable and experienced enough given the seniority of the role, and feel like you are not reading from an hidden ai window then you pass.

"Exciting casts" are absolutely worthless in real life, everyone has to balance shipping vs code artistry.

Re:Never fail a technical interview again by disgruntledphd2 on Saturday December 07, 2024 @05:28AM (#42348760)
> Get a tiny open ended project, which requires more design/architecture skills than actually finishing the solution. You do it at your own time and shouldn't take more than 1-2h. You submit it and provide your mental process in writing.

I used to really like the idea of take homes, then I had kids and discovered just how hard it is to find time to do these (particularly for multiple applications while working).

Don't get me wrong, I think that they're generally a better test for the actual role, but they're not perfect, and they're game-able by spending way more time on them.

Interviewing is hard. Like, ideally, we'd just centralise the administration of these tests and you'd do a few every year (so formal CPD rather than an expectation that people do it in their off time) but that is never gonna happen in the tech industry for various good and bad reasons.

Re:Never fail a technical interview again by szastupov on Saturday December 07, 2024 @05:37AM (#42348806)
> I believe live coding is a scourge and we should get rid of it altogether.

I would take an hour of live coding any time over a take-home task that is one hour only on paper and takes you three in reality.

Engineering is collaboration, and it's fair to expect candidates to talk, solve problems, and explain their solutions.

Where we could do better as an industry is the type of problems we give to people. I'm not a fan of LeetCode-style questions, especially when multiple ones are asked. Something closer to Earth would be better. But even if you have to ask something algorithmical, I'd prefer the style of "Advent of Code" exercises where the same problem has variations and multiple levels of complexity.

Re:Never fail a technical interview again by thaumasiotes on Saturday December 07, 2024 @08:38AM (#42349764)
> But even if you have to ask something algorithmical, I'd prefer the style of "Advent of Code" exercises where the same problem has variations and multiple levels of complexity.

That's how Amazon does their interviews.

Re:Never fail a technical interview again by tdeck on Saturday December 07, 2024 @11:36PM (#42355038)
It only takes you three hours if you don't pay someone else to write it for you and provide you with a written brief about how it works, which is what I suspect some candidates must do.
Re:Never fail a technical interview again by 4dregress on Saturday December 07, 2024 @04:56AM (#42348581)
100%

Another one I like was having to code review a repo which had specific issues in it.

Then add some new features.

Then in the final stage of the interview you go through it.

Re:Never fail a technical interview again by gzer0 on Saturday December 07, 2024 @05:09AM (#42348657)
The core issue here is the sheer volume of applicants. Microsoft opened 30 new-grad software engineering positions. Care to guess how many applications they got within 24 hours? 1,000? 10,000?

Nope.

100,000 applications. In under a single day.

With that kind of applicant pool, I’m honestly not sure what the best approach is—even though, in a perfect world, your suggestion would be the more appropriate route. The reality, however, is that these numbers are just absurd.

Re:Never fail a technical interview again by xandrius on Saturday December 07, 2024 @05:13AM (#42348677)
I think at that point it's a lottery anyway, pick 50 truly randomly and try those?
Re:Never fail a technical interview again by teddyh on Saturday December 07, 2024 @10:55AM (#42350540)
“We don’t want to hire unlucky people.”
Re:Never fail a technical interview again by thaumasiotes on Saturday December 07, 2024 @08:40AM (#42349772)
> With that kind of applicant pool, I’m honestly not sure what the best approach is

You should see the number of people that apply to college.

Re:Never fail a technical interview again by turdprincess on Saturday December 07, 2024 @09:03AM (#42349900)
At least in the USA one major piece of the college application is a standardized test - a concept very similar to a Leetcode interview.
Re:Never fail a technical interview again by sotix on Saturday December 07, 2024 @09:39AM (#42350089)
A standardized test is considerably more standardized than a leetcode interview though. Not to mention you take it once and then provide the scores to everyone. My process with taking the cpa exam a single time was a much better experience than random leetcode problems every time.
Re:Never fail a technical interview again by lordnacho on Saturday December 07, 2024 @10:01AM (#42350202)
The problem is attempting to optimize a noisy process. Instinctively people think they need to look at all the applicants.

Start interviewing people, and once you have enough people who pass your bar, you tell the rest tough luck.

Secretary problem.

Re:Never fail a technical interview again by dahart on Saturday December 07, 2024 @12:21PM (#42351175)
That, to some degree, is guaranteed to happen naturally. But why not use a sieve approach and narrow the pool exponentially using a range of tools that goes from automatic and instantaneous at the start to manual and time-intensive interviews at the end? The potential upside for a company is relatively large - with a small amount of work they have the opportunity to get the approximately best 30 people out of 100k graduating students. From the company’s perspective, this isn’t a problem at all, it’s a massive windfall of an opportunity. They can afford to optimize it, and they’re motivated to. As a hiring manager or company founder, I’d love to have this “problem”.

That said, your comment reminds me of a Monte Carlo algorithm I think I’ve heard about. There is a way to have some statistical confidence in getting the top K out of a sample of N without examining all N samples. I’m blanking on what it’s called, and I think it’s related to Reservoir Sampling. I don’t know if I read this or am making it up, but my instinct is that you can get to high levels of confidence after looking at sqrt(N) samples.

Re:Never fail a technical interview again by lordnacho on Saturday December 07, 2024 @04:06PM (#42352860)
The problem is noise.

Say you want to take 10% at each round. You have to do this three times to get 100 people, and then another round to get the top 30.

If you tighten the criterion, noise matters more, so you will drop your actual best candidates, since people need a high skill+noise. But if you try to keep the unlucky "good" candidates by having a wider band, you pay more.

Also, if you are successful at finding the best candidates in a batch, noise matters even more the next round.

I've been thinking about how to vizualize this. I have it in my mind and I'll try to describe it.

You plot a bunch of points with S, N for each candidate. They are independent, so a scatter plot looks like a 2D gaussian. Lets say skill is vertical, and noise is horizontal.

You want to find the 30 highest points, but you aren't allowed to just look on the scatter plot and select the top points. You have to draw a line S + N = c, and choose the person with the highest c. Basically sliding a ruler out that crosses the S and N axes as far away from the origin as possible.

Observation: if N is high (wider distribution) compared to S, you just get the luckiest people. If S is high compared to N, you just get the most skillful.

Re:Never fail a technical interview again by dahart on Sunday December 08, 2024 @12:55AM (#42355262)
Noise is a reality and a potential problem in ranking candidates for sure, 100%. Of course it’s worse than just measurement noise; the noise in hiring is subjective and situational and human. The sampling method doesn’t fix it, using the Secretary Problem approach doesn’t give you less noise, it gives you more noise in the result. The benefit of stopping early is that it reduces the cost of sampling, but if the company doesn’t care about the cost of sampling, there is no “problem” there to solve.

If you want to reduce noise, the way to do it is to have more independent measurements (interviewers), not to stop interviewing early.

The good news is that there’s no such actual thing as “best” in this situation and people have many dimensions, they can’t be ranked perfectly, but they can still be ranked approximately. We also don’t need to get the exact 30 people out of 100k people with infinite precision, we will get an amazing set if we can take a random sample of the top 1000 candidates out of 100k candidates. Having 100k candidates gives us the opportunity to end up with a selection from the top 1%, say, whereas if the number of applications was 40 people for 30 jobs, you might be stuck accepting people who are below average.

Re:Never fail a technical interview again by hnfong on Sunday December 08, 2024 @11:49AM (#42358131)
I don't see how your method works better than a sieve with noise.

Instead of a "noisy" sieve, you're just using the time of application as your sieve. Which, unless your job opening values the skill of submitting lightning fast job applications, is pretty much 100% random noise.

You say a sieve approach drops the best candidates. Your approach also drops the best candidates.

And if the bar is actually so high that only the best candidate(s) qualify for the job, then your approach would imply you interview an expected half of the applicants before you fill the positions.

It's pretty obvious a "noisy" sieve (with some signal) is better than sieving by application time or sorting by arbitrary order and taking the top N applications. You don't have a magical solution. The people handling those 100000 applications are not that stupid.

Re:Never fail a technical interview again by lordnacho on Monday December 09, 2024 @07:29AM (#42365647)
The difference is that you don't need to wait for 100k people to show up.

If you're already reasonably confident from the first batch of people what the potential in the pool is, why would you wait? People have work to do and they want those people in as early as possible.

I'm not saying you will do much better sieving by time, in terms of quality. But you will save all the effort of looking at the people at the back of the queue, for little loss.

Sure, half the best people will be at the back, but what is your loss on taking the second best people earlier? Chances are you won't even be able to tell.

Re:Never fail a technical interview again by dahart on Monday December 09, 2024 @11:17AM (#42367568)
If the problem is having to wait for applicants, then you’re right; stopping early will help. In my experience, companies already do what you’re suggesting simply by having a deadline or time window for filling a job. Even if a lot of companies would love it, most job posts don’t get over three thousand applicants per seat available.

In this particular case, MS didn’t have to wait for people to show up, they got 100k candidates before they could have even made a decision on a small subset. And in general, the problem being discussed in this thread isn’t having to wait, it’s how to deal the flood of applications coming in too fast.

The sieve approach does solve the same problems you’re talking about, while not adding noise or being arbitrary or capricious with candidates by having to reject them randomly. The sieve saves effort and time spent evaluating candidates. Don’t forget the idea is that the top of the funnel is criteria that are both low bar and much faster and easier than an interview. In the case of 100k applicants, the top of the funnel should probably be automated and measure things that are as easy to measure and objective as possible like school grades, amount of work experience, maybe test scores, etc. To whatever degree possible, with 100k candidates, you can probably automate whether the application meets some minimum criteria and easily rule out most applications.

Only the bottom of the funnel takes time, and you only use the bottom of the funnel on maybe 2x or 3x the number of job seats you have available. This way you only spend the same amount of time evaluating candidates that you would have use any sampling method.

Regarding noise, the sieve is a better approach than early stopping because the criteria at each layer are not subject to or sensitive to the same amount of noise. Because the bar is a minimum criteria at the top of the funnel, noise in that selection process is far less likely to reject top candidates.

BTW, the Secretary Problem’s 37% rule is only applicable to picking 1 single candidate, so you need some kind of modified algorithm to pick the best 30. Also that solution implies you have to fully evaluate each candidate before evaluating the next candidate. This is potentially much costlier than using the sieve approach, because you have to interview all the candidates that you reject. The benefit of the sieve is based on the observation that we can use extremely easy to measure minimum criteria to partial evaluate candidates for the purpose of culling.

Re:Never fail a technical interview again by axus on Saturday December 07, 2024 @11:22AM (#42350742)
Wow, 30 for all of Microsoft... they probably lose 30 people a month just from attrition!
Re:Never fail a technical interview again by dahart on Saturday December 07, 2024 @10:56AM (#42350548)
Your comment is excessively dismissive. The irony is that parent actually did what you’re suggesting, tried to talk about the interviewee’s solution and found that they didn’t come across as knowledgeable and experienced enough even though their code suggested otherwise. Whether it’s live coding or take-home is mostly irrelevant.

Your proposed alternative is absolutely subject to the same problem, AI-written code and LLM-written mental process. Think more carefully about whether it solves anything and exactly what problem it solves, because it does not solve the problem of people trying to game interviews with AI, your suggestion is potentially worse on that axis. The whole point of doing it live is to get to the talking part that you suggested more quickly.

Wouldn’t you rather be discussing your thinking immediately and get a sense for what the real questions are and how you’re doing, and have the opportunity to talk about it, than waste several hours doing it at home trying to write something up without getting clues along the way or being able to ask questions, only to have the next guy get hired because they used AI, or because they’re fine with live coding, or because they’re better at writing than coding, or because they got lucky?

You have to live code on the job. Do take a moment to consider what the hiring manager needs and whether take-home problems are either more effective or more efficient for the company. Managers want to find the best candidates, and best involves more than coding, it involves communication and collaboration skills too. Live coding can give some indicators of those things, and take-home problems cannot.

Re:Never fail a technical interview again by shepardrtc on Saturday December 07, 2024 @01:15PM (#42351592)
I did that for my previous job and I loved it. Had plenty of time to get over my nerves and then build something cool. And then brag about my choices in writing.
Re:Never fail a technical interview again by QuadmasterXLII on Saturday December 07, 2024 @02:02PM (#42351955)
Some people want to be hired based on 25 minutes of easy live coding. It’s ok that you’re not one of them but don’t piss in someone else’s cereal.
Re:Never fail a technical interview again by 7734128 on Saturday December 07, 2024 @05:14AM (#42348681)
> Lots of eye scanning while looking above the window they’d been typing into.

Are you expecting people to not reference external material, such as documentation or syntax, and only code from memory?

Re:Never fail a technical interview again by colinb on Saturday December 07, 2024 @05:46AM (#42348843)
Absolutely not. In my standard intro material I explicitly say otherwise, tell them that actual work involves checking external references, and that I want the interview to be as near to a collaborative experience as it can be in the odd circumstances.

I also tell them that they should tell me when they're checking external resources (the CPP reference is what I mostly have in mind, but StackOverflow or whatever is fine with me) so that I understand how they go about solving problems. Because that's the actual important bit. All the coding and the questioning is a proxy for that.

Re:Never fail a technical interview again by zabzonk on Saturday December 07, 2024 @05:12AM (#42348670)
> made use of exciting C++ casts before ever defining the variable’s types

an example of this, please?