Hacker News new | ask | show | jobs
by code_lettuce 1154 days ago
ChatGPTs strength isn't in solving new problems, but in helping you understand things that are already solved. There's a lot more developers out there using these tools to create react apps and python scripts then there are solving race conditions with USB 2.0.
1 comments

I just asked it to explain a problem that actually has been acknowledged to exist in USB errata from 2002 - not to solve anything.

It took me a while to realize that what I was experiencing was this particular problem, but I already did all the hard work there and only asked it to explain how it fails.

I also recently tried to use it to write a code for drawing wrapped text formatted a'la HTML (just paragraphs, bolds and italics) in C, again, just to see how it does. It took me about 2 hours to make it output something that could be easily fixed to work without essentially rewriting it from scratch (it didn't work without edits, but at that point they were small enough that I considered it a "pass" already) - and only because I already knew how to tackle such task. I can't imagine it being helpful for someone who doesn't know how to do it. It can help you come up with some mindless boilerplate faster (which is something I used it for too - it did well when asked to "write a code that sends these bytes to this I2C device and then reads from this address back"), but that's about it.

Ah, but did it have to write a bit-banged I2C driver with multi-master support first, or could it just call "i2c_write()" and "i2c_read()?
The latter of course - I told you it did pretty well after all :)

It's a machine that saves you multiple copy'n'pastes, so you can just do a single copy'n'paste.

I stand corrected