News for hackers. Stuff that matters.
Re:Claude Code's source code has been leaked via a map file ... by lou1306 on Tuesday March 31, 2026 @12:20PM (#47589708)
> The issue is that you shouldn't be looking for substrings in the first place.

Why? They clearly just want to log conversations that are likely to display extreme user frustration with minimal overhead. They could do a full-blown NLP-driven sentiment analysis on every prompt but I reckon it would not be as cost-effective as this.

Re:Claude Code's source code has been leaked via a map file ... by noosphr on Tuesday March 31, 2026 @04:14PM (#47592830)
>Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems.

The only time to use a regex is when searching with a human in the loop. All other uses are better handled some other way.

>They could do a full-blown NLP-driven sentiment analysis on every prompt but I reckon it would not be as cost-effective as this.

Every conversation is sent to an llm at least a thousand times the size of gpt2 which could one shot this nearly a decade ago.

Re:Claude Code's source code has been leaked via a map file ... by lou1306 on Wednesday April 01, 2026 @02:58AM (#47597758)
> Every conversation is sent to an llm at least a thousand times the size of gpt2 which could one shot this nearly a decade ago.

Yes, but that is _what the product does_. What we are talking about is _telemetry_.