Live data from Hacker News

Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

developer.chrome.com

71–80 of 81 posts

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#73
Not a great start in there example gives a suggestion that would almost definitely lead to more problems. Setting no-cors prevents access to response, which while useful in certain circumstances (when you just want a 200), most of the time this is going to cause more issues for a Dev who doesn't know that. Again great potential but a lack of true understanding of context holds these services back still.

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#74

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?

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.

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 Errors in the console

#75
post #2

What's funny is Prompt injection warning at the bottom. "Many of LLM applications are susceptible to a form of abuse known as prompt injection. This feature is no different. It is possible to trick the LLM into accepting instructions that are not intended by the developers."

Corporate employees should be forced to wear badges including a disclaimer:

"Many of our employees are susceptible to a form of abuse known as social engineering. This employee is no different. It is possible to trick the employee into accepting instructions that are not intended by the board and management."

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#76

Way back, Microsoft added a feature to Microsoft Office tool suite to interrupt your work with a "helpful" paperclip. Unrequested AI features remind me of that paperclip.

All of the leaders who learned a lesson from that era have retired, and the latest batch of MBAs didn't learn their history, and don't care to hear from the engineers and designers who did. Around and around we go again!

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#78
post #40

Earlier quoted context omitted.

DevTools can't force frameworks and libraries to output better error messages. But it can help us humans understand them better.

Pretty much all web frameworks are open source. And most web developers are more than capable to improve unfriendly errors upstream.

Framework improvement is ortogonal to AI helping with error messages.

Both can and are coexisting just fine.

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#79
post #71

This is like Google force fiting G+ everywhere in there ecosystems.

Google really needs to overhaul their incentive structure. I don't work at FAANG and as much as I'd like the TC I never will. One part of that is the incentive structure discussion. It's better to launch a feature than to support one. So, too, do you artificially inflate user counts of a system you want to grow a market for because your bonus demands a straight line up in something labelled activations and as a result on the following page when your paycheck just says 'yes' .

Re: Chrome DevTools now uses Gemini to help with JavaScript Errors in the console

#80

Way back, Microsoft added a feature to Microsoft Office tool suite to interrupt your work with a "helpful" paperclip. Unrequested AI features remind me of that paperclip.

It might not be helpful but instrumental convergence will be its' ultimate goal https://en.wikipedia.org/wiki/Instrumental_convergence
Post reply on HN