News for hackers. Stuff that matters.
Re:SRE Doesn’t Scale by zaptheimpaler on Tuesday October 12, 2021 @05:46PM (#28845469)
Listen, if you can't write a working text justification algorithm in 45 minutes a decade after college, you have no business doing completely unrelated SRE stuff like monitoring services or scaling databases. Everybody knows leetcode is the key to software. If you can't do that, maybe you just don't have the right IQ to build the next chat app @ Google.
Re:SRE Doesn’t Scale by GauntletWizard on Tuesday October 12, 2021 @06:23PM (#28845810)
This but unironically. If you can't do a simple programming task, (we can argue over what text justification is, because "left-pad" could qualify, as could a full TrueType renderer) you don't belong in SRE - Much of the point is to have cross-functional people, who can interface with developers on their level, and do the math and grunt work around operating a database cluster.
Re:SRE Doesn’t Scale by zaptheimpaler on Tuesday October 12, 2021 @06:59PM (#28846157)
I once met a man who was intimately familiar with the details of the linux kernel and how the new chiplet architecture in AMD processors resembles a NUMA architecture and thus impacts VM performance. He was well versed in shell scripting, k8s, docker, the principles of observability, and infrastructure as code. He could explain the difference between READ COMMITED and REPEATABLE READ or LSTMs or distributed consistency models off the top of his head. He didn't have a CS degree so obviously he wasn't as intelligent as me, but even so I found him a little intimidating for some reason.

But then I asked him -

"Given an array of positive integers target and an array initial of same size with all zeros.

Return the minimum number of operations to form a target array from initial if you are allowed to do the following operation:

    Choose any subarray from initial and increment each value by one.
"

He was stumped. As I had suspected, he wasn't quite up to the job of an SRE. I immediately failed him and returned to editing my networking.yaml file. Someone has to maintain the bar around here..

Re:SRE Doesn’t Scale by GauntletWizard on Tuesday October 12, 2021 @07:54PM (#28846577)
I am emphatically not saying you shouldn't tailor your technical questions to your audience. Commits to the kernel can be prime-facie evidence that someone can code. A good shell script can be the same.

I have no degree. I don't write code for a living. I'm actually almost precisely the opposite of the stereotype of the stuck up software engineer, aside from being a white dude in my early thirties.

What I am saying is: I have met many people who can configure a database, but cannot talk to developers as equals about how to write code about it, and there's really an interesting split of reasons why that doesn't work. The fact remains that it doesn't. You can build operations teams for some tasks, and you should - you can't run your own large hardware or compute or database clusters without having some entirely operations focused people. You should not ignore their opinions or pain points. You shouldn't call them SRE, though. The point of SRE is to build systems and run them, and you want them to have feet on either side of that line.

Re:SRE Doesn’t Scale by zaptheimpaler on Tuesday October 12, 2021 @09:05PM (#28847063)
I understand and agree - im sorry i don't mean to attack you personally, its more of a satire about FAANG interview processes. My first comment was responding to the quote about difficulties hiring SREs at Google and their interview process in particular (the quote in the parent comment came from Google). It wasn't intended to be read as a position one way or the other on any and all coding questions or interviews - I don't think there are any simple black and white rules there. The text justification question is listed somewhere on leetcode as being commonly asked by Google and is a bit more involved than a simple leftpad or "do you know how to code" sort of question.
Re:SRE Doesn’t Scale by GauntletWizard on Wednesday October 13, 2021 @12:16AM (#28848178)
Apropos of nothing, I went and did that leetcode problem - Getting the algorithm took me about 10 minutes, figuring out how I'd messed up my fenceposting took another 25, and figuring out what they wanted for the last line took me about an hour. Ugh.
Re:SRE Doesn’t Scale by protomolecule on Tuesday October 12, 2021 @07:57PM (#28846597)
When did he stump in your fictional scenario? When you asked him to prove that the number is indeed minimal? It's trivial too but may be an unreasonable thing to ask during SRE interview.
Re:SRE Doesn’t Scale by betaby on Tuesday October 12, 2021 @07:18PM (#28846285)
Hey! What was on my interview with a FAANG company. How did you know?
Re:SRE Doesn’t Scale by zaptheimpaler on Tuesday October 12, 2021 @07:33PM (#28846412)
I'm sorry that's impossible. As you know, all candidates sign NDAs and FAANG tier developers have only the highest standards so they would never reuse a question - they would just make a new one.
Re:SRE Doesn’t Scale by antonvs on Tuesday October 12, 2021 @10:00PM (#28847392)
> He didn't have a CS degree so obviously he wasn't as intelligent as me

Is that supposed to be a joke?

Re:SRE Doesn’t Scale by isatty on Tuesday October 12, 2021 @10:05PM (#28847424)
The whole post is sarcasm, and a joke.
Re:SRE Doesn’t Scale by newah1 on Tuesday October 12, 2021 @08:24PM (#28846771)
Why were you intimidated by him, and why is it obvious you were more intelligent than him?
Re:SRE Doesn’t Scale by goodpoint on Wednesday October 13, 2021 @08:06AM (#28851113)
This is absurd. A lot of companies do interviews that make sense and are not focused on some obscure bitshift puzzles.

You need to be a strong developer to work efficiently as an SRE.

Re:SRE Doesn’t Scale by the8bit on Wednesday October 13, 2021 @10:15AM (#28852337)
Pretty sure Google hasn't used 'bitshift puzzle' interview questions for ~10y now. It really is just a meme thing from long ago. My interview there ~6y ago was basically the same as ones I've done at a handful of other companies