News for hackers. Stuff that matters.
Re:Over 30? Too Old for Tech Jobs in China by afpx on Thursday May 03, 2018 @07:08AM (#16984866)
I’m slightly over 40. Recently, I’ve been interviewing, and almost all of the focus has been on how I solve their ‘coding challenge’. Few questions about software engineering practices, algorithms or data structures, about how to approach challenging problems, make trade offs, or ship software.

It all comes down to if I can solve a problem like “Given an NxM matrix of integer strings, print true if any row, column, or diagnonal contains only palindromic numbers that can be written as the sum of consecutive squares.“ Oh, and on some random guy’s laptop, with a panel of 4 people watching me type as they sit in silence, and with 20 minutes remaining.

When I look back at all of my career successes (leading engineering teams through 10 successful commercial products, 4 startups, 3 acquisitions, millions of users, etc.), coding was hardly important.

I guess it’s time to retire.

Re:Over 30? Too Old for Tech Jobs in China by Lendal on Thursday May 03, 2018 @07:50AM (#16985066)
Fist, I don't want to work with a group of people who have only been selected by their ability to solve stupid, meaningless puzzles. That's something you do in college, which I hated.

Second, once you get past a minimum level of intelligence a lot of success in software development is based on motivation. It's hard to be motivated by a made-up problem where all your hard work is going to be thrown away and not used by anyone for anything, and my first step in solving it is to involuntarily roll my eyes and groan. That starts the project off on a bad foot to begin with.

Re:Over 30? Too Old for Tech Jobs in China by monsieurbanana on Thursday May 03, 2018 @11:14AM (#16986745)
I take offense on the "stupid, meaningless puzzles". I don't agree with their use in interviews, but that's needless bashing.

You not liking them doesn't make them stupid.

Re:Over 30? Too Old for Tech Jobs in China by perl4ever on Thursday May 03, 2018 @03:08PM (#16988873)
Different people like different kinds of puzzles. I like Fermi-type problems, which at least at one time, it seemed like everyone on the internet liked to bash. It may be they are no longer bashed because interviewers abandoned them.

I once posted a puzzle on a different website that boiled down to "why did I choose this particular non-round number" with some context, and eventually someone got it, but some people got very angry at me.

The trouble is that a lot of puzzles reduce to "can you follow a particular convoluted path to a solution" and if you don't, you are being judged unworthy for being dissimilar in your thinking and not necessarily for your sheer brainpower.

That's why I prefer puzzles that nobody has solved, but those have two obvious problems - either (a) they are too hard to solve, or (b) once solved, they appear to be too easy. Either way, you can't use them as tests.

It's natural to like tests that you are good at and other people are not, and to hate tests that other people are good at and you are not. So, people are always going to take offense at tests.

Re:Over 30? Too Old for Tech Jobs in China by tcbawo on Thursday May 03, 2018 @08:18AM (#16985258)
Seeing whether someone can code has to be part of the recipe. It's surprising how many candidates can't demonstrate basic coding ability. The coding component is better if it requires the candidate to ask questions about what is required, where they can demonstrate their thought process and approach to the problem at hand. Anything that requires more than 15 minutes on a whiteboard is probably overkill. Brainteasers and the like are mostly a waste of time.
Re:Over 30? Too Old for Tech Jobs in China by perfunctory on Thursday May 03, 2018 @08:29AM (#16985335)
> “Given an NxM matrix of integer strings, print true if any row, column, or diagnonal contains only palindromic numbers that can be written as the sum of consecutive squares.“

Ok, but this is not really a puzzle. It looks like a rather trivial exercise just to see if you can write nested loops. I guess an average software engineer shouldn't have problems with this. Or I am missing something.

Re:Over 30? Too Old for Tech Jobs in China by afpx on Thursday May 03, 2018 @10:28AM (#16986331)
Well, I failed this one and similar problems going on 5-6 times now.

I don’t know why I can’t do it. I freeze up with analysis paralysis, or stage fright, or something. Maybe it’s because I have no clue what they’re looking for, and I’m so used to simplifying problems based on business cases and stakeholder feedback. Maybe it’s because I’m always thinking about production-grade code (I do try to avoid nested loops!). Maybe because I assume that the problem requires a specialized data structure, and so try to invent it on the spot. Or, it could be that I am old-school and like to solve problems on paper first before coding.

You may not believe me, but I code everyday. At every job I’ve held, I’ve been complimented as one of the best programmers. So, maybe I’ve only ever worked with C-grade developers? But, I’ve worked with 100s of people. How can that be?

But, let’s say that I really do suck at coding. Are all my other attributes, skills, and experiences valueless? Seems like such a waste.

Years ago, relatively early in my career, I went into management. But, I only did it for 2 years before going technical again. It just didn’t make sense at that time. Senior developers then made more than managers, and I enjoyed building things. Now, I really regret that decision.

Anyway ... I clearly can’t get a job. Anyone have any career ideas for a washed up software engineer?

Re:Over 30? Too Old for Tech Jobs in China by SmirkingRevenge on Thursday May 03, 2018 @12:12PM (#16987224)
There are definitely companies out there that don't follow the Cracking the Code Interview/Hacker Rank formula.

This is an interesting list that has been posted here before:

- https://github.com/poteto/hiring-without-whiteboards

But if you want to work somewhere firmly in the whiteboard club - do regular practice on hackerrank and leetcode. Many interviewers will draw their questions directly from those sites (and some others, I'm sure).

(Personally, I honestly feel those exercises have improved my coding, so there's that too.)

Re:Over 30? Too Old for Tech Jobs in China by stevenwoo on Thursday May 03, 2018 @11:20AM (#16986786)
What resources are you using to find jobs and where geographically are you looking for jobs? I started looking a couple of weeks ago and found AngelList to be a lot better than Hacker news job postings, YMMV.

I thought it was kind of silly but have you tried practicing on hackerrank or leetcode for the coding tests? Hackerrank feels pretty brittle but a lot of companies use it for timed screening so good to get a feel for the platform's ability to lose all your work in a non pressure situation, leetcode has very useful discussions about user supplied solutions.

Re:Over 30? Too Old for Tech Jobs in China by fuzzygroup on Thursday May 03, 2018 @02:49PM (#16988686)
Hey Afpx,

You're not alone. I recently went thru this myself and wrote up my experiences here: http://fuzzyblog.io/blog/jobhound/2018/04/24/ten-things-i-le...

I hope that helps.

Re:Over 30? Too Old for Tech Jobs in China by throwawayjava on Thursday May 03, 2018 @11:14AM (#16986748)
Sitting here, in your chair, you can definitely do this no problem, right? So find a group of people who will simulate the interview environment for you.

Also, there are strategies for managing the time problem. 20 minutes is a bit fast for understand => ask questions => implement => test on this problem. But you can organize the code so that if you run out of time it's still clear you knew how to solve the problem and can code your way out of a wet paper bag. E.g., I would pass an answer that got everything correct but didn't get around to implementing isPalindrome() or isSoCS() before the 20 minutes was up, especially if the candidate could give a ~1 minute description of how to implement those functions. (I would also give more than 20 minutes.)

Re:Over 30? Too Old for Tech Jobs in China by perl4ever on Thursday May 03, 2018 @03:29PM (#16989058)
I interviewed at a place that started by having me do a HackerRank test online, and complimented me on my code and comments. Then the in person interview ended with a coding test involving a much simpler problem which I assume I failed, from my perspective due to the pressure of limited time and people talking at me. It's hard for me to figure out what was going on, unless they basically thought they were testing to see if I cheated on the first test.

However, I haven't experienced repeated failure of a consistent type, so I'm not particularly motivated to worry about this sort of thing. I do know that different companies have radically different processes, so if someone tells you "you're not a good fit" it may be completely true and not a negative judgement at all (even if that's how they mean it).

It so happens that I got my undergraduate degree about ten years later than is typical, and thus I can pass for someone that much younger than me, at present. So in an interview, it is tempting for me to give away my age by reminiscing about computing in the 80s, and that could have caused me to be rejected a couple times but I will never know for sure...

Re:Over 30? Too Old for Tech Jobs in China by eythian on Thursday May 03, 2018 @09:04AM (#16985579)
We use questions like this (actually, significantly simpler - basically, can you drive a loop and an array) as a screener test to see if you actually write a trivial program. If you succeed, it's a chance to add constraints and talk about how data structures and algorithms would change given these changes, or how it could be more optimal, etc.

But a surprising number of applicants fail to pass a simple coding test, not even getting a naive solution.

Re:Over 30? Too Old for Tech Jobs in China by perl4ever on Thursday May 03, 2018 @03:37PM (#16989144)
There exist people who can't code in an interview, period. Now, you might react to this with doubt that they are employable. But the reason such people exist is because interviews that do not require even trivial coding exist, and thus they are hired and proceed to code just fine in their actual job.

One thing that really helps with perspective, whichever side of an interview you are usually on, is to have seen how radically differently different companies do things.

That doesn't necessarily mean that you should change your practices, but diversity in behavior exists because there are niches that can be exploited and trade-offs to doing so.

Re:Over 30? Too Old for Tech Jobs in China by myth_drannon on Thursday May 03, 2018 @08:55AM (#16985509)
Solve it with a For loop and it's immediate interview fail. The solutions should be optimal. /S
Re:Over 30? Too Old for Tech Jobs in China by theandrewbailey on Thursday May 03, 2018 @09:14AM (#16985666)
...because our architect forbids use of for loops. One killed his pappy.
Re:Over 30? Too Old for Tech Jobs in China by dlandis on Thursday May 03, 2018 @11:34AM (#16986907)
> Oh, and on some random guy’s laptop, with a panel of 4 people watching me type as they sit in silence, and with 20 minutes remaining.

That part, to me, is worse then the question. Are you exaggerating, or did the panel really just sit there and watch you? If so, can you say which company so people know to avoid?

Re:Over 30? Too Old for Tech Jobs in China by softawre on Thursday May 03, 2018 @12:42PM (#16987532)
isn't this what most companies do?