News for hackers. Stuff that matters.
Re:On a Great Interview Question by tetromino_ on Thursday April 13, 2023 @01:20AM (#35551286)
> It's a toy problem with no real consequences.

It's an extremely simplified but recognizable version of a real problem: natural language input tokenization, which of course has real consequences.

Re:On a Great Interview Question by rimliu on Thursday April 13, 2023 @04:21AM (#35552511)
Then this problem is solved by a gazillion of libraries already, no?
Re:On a Great Interview Question by reedf1 on Thursday April 13, 2023 @04:50AM (#35552719)
Ah yes, I whack out four or five natural language input tokenizers before lunch most days.
Re:On a Great Interview Question by bluepizza on Thursday April 13, 2023 @09:35AM (#35555228)
This problem was solved by medieval monks by introducing white spaces.
Re:On a Great Interview Question by tetromino_ on Thursday April 13, 2023 @09:48AM (#35555420)
Many languages still don't put whitespace between some or all words (Chinese, Japanese). Many languages tend to use long compound words which are better represented as sequences of tokens rather than one token (German, Russian). Many inputs are dirty (coming from OCR, for example) so whitespace can be unreliable. And even in clean English text, inflected words may be better tokenized as sequences of tokens rather than a single token.
Re:On a Great Interview Question by glitchc on Thursday April 13, 2023 @02:38PM (#35560057)
The problem there is that natural language processing is a highly specialized field, not something one can expect a generic SRE to know unless it's explicitly mentioned in the posting. I'm willing to bet the posting said nothing about NLP.

I could ask a detailed question on cryptography, robotics or reverse-engineering, and it would be just as (ir)relevant to the SRE. Computer science is a much broader field than your niche area. Arbitrary goal-posts are arbitrary.