Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "How do I select rows of a dataframe where a column of lists of strings contains a string?"

Literally just googled that and the first result:

https://stackoverflow.com/questions/53342715/pandas-datafram...

You're not using it like Stack Overflow. It's actually regurgitating Stack Overflow, except with errors hallucinated in.



Have you actually tried it yourself? I’d recommend it. And I don’t mean just playing with it —- Try using it to help you build something. It’s much more efficient than googling and combing through stackoverflow. Hallucinations are not as common as you’re thinking.

You clearly can’t just take the code, paste it in, and trust that it works, but you shouldn’t be doing that with stackoverflow either.


Even with that caveat, using GPT in this way is still useful. The amount of time spent to simply ask GPT-4 is a lot lower than to search StackOverflow, and while this problem is so basic that the first result often works, once one gets into complex problems that massively benefit from input context, I think GPT-4 would save massive amounts of time.


Since you're gonna have to search Stackoverflow anyway to verify that ChatGPT didn't hallucinate garbage, I'm very dubious that it actually saves any time, let alone "massive" amounts of it.


Just ask it to write unit tests for you and run the code to see if it's garbage. Faster than trying to verify by looking through the sources


So... use the garbage-generating AI to generate garbage unit tests to see if its other garbage code checks out? Sounds like a vortex of stupidity.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: