News for hackers. Stuff that matters.
Re:Chrome DevTools now uses Gemini to help with JavaScript E... by sublinear on Friday May 17, 2024 @05:48PM (#40394498)
Why does this exist?

The example AI-generated explanation shown doesn't seem any more helpful than the original error. It just states the same information in a long-winded manner.

Errors and warnings are already deterministic and unambiguous. Why introduce the opportunity to confuse people or just be plain wrong?

Re:Chrome DevTools now uses Gemini to help with JavaScript E... by dullcrisp on Friday May 17, 2024 @06:05PM (#40394590)
Looks like it’s basically like Googling the error message, which is usually the first thing I do with an error I don’t understand. Seems like a reasonable integration from that perspective.
Re:Chrome DevTools now uses Gemini to help with JavaScript E... by ozzcer on Saturday May 18, 2024 @06:50AM (#40397902)
Except in the example it suggests setting no-cors, which is the vast majority of circumstances will still lead to errors that are going to be harder to understand.
Re:Chrome DevTools now uses Gemini to help with JavaScript E... by ajross on Friday May 17, 2024 @06:24PM (#40394716)
Why does StackOverflow exist? Why does /usr/bin/man exist? The idea that "deterministic and unambiguous" error messages emitted at the point of failure are all that you need to fix your code seems kinda laughable, frankly.
Re:Chrome DevTools now uses Gemini to help with JavaScript E... by kibwen on Friday May 17, 2024 @07:33PM (#40395158)
If deterministic and unambiguous error messages aren't good enough, I somewhat doubt that nondeterministic and confabulated error messages will be much of an improvement.