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

I just successfully used this to do 95% of the work required in writing a small class that I need for my job currently. There was a single line of code missing from what it gave me initially (had to call Array.from() on the output of someMap.values() to get an actual array).

Other than that, worked perfectly, using the exact functionality, variable names and expiration duration that I specified. When I asked it to add functions to save and load the state using JavaScript, it also did it exactly correctly.



I found that for C++ is sometimes uses library functions that straight up don’t exist. I asked it “how do you upload a file to OneDrive” and it suggested using OneDrive_UploadFile from <windows.h>, which is not a thing.

I also asked it “how do you programmatically upload a file to a website” and it generated some JS to try and inject a file <input> and set the value to a local path. Which doesn’t work and there are lots of StackOverflow answers saying why.

Still, when it works it’s incredible.




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

Search: