141 ms·
My final question after 3-month panel interviews: "How do you do a global replace in vi?" -- I blanked and said "I'd google it" They said "thats the best an
by samstave 3y ago
My final question after 3-month panel interviews:
"How do you do a global replace in vi?"
--
I blanked and said "I'd google it"
They said "thats the best answer"
(they also asked me what a type of comapny Google was... I said "Most think youre a search company, but really, you're an advertising company" 2008.
When I interviewed at Twitter in 2009-ish, they asked what type of company I thought Twitter was; "You're a global sentiment engine"
--
Go ghosted by both after saying I ranked super high on their metrics... (goog actually stated they were going to give me an offer, then called the next morning telling me they were rescinding offer)
- dekhn 3y agomy muscle memory says ":%s/foo/bar/g" but honestly, I wish it didn't.
- sam_lowry_ 3y agoYoy can replace slash with any character as long as the parser can figure it out.
- dekhn 3y agoriiiiight in fact I usually use something else because I'm editing a path with / IIRC this dates back to at least https://en.wikipedia.org/wiki/Ed_(text_editor) https://en.wikipedia.org/wiki/Ed_(text_editor)