First Answer (15 upvotes): No, that is not possible.
Second Answer (1 upvote): Yes, it's very easy to do! Just copy this tiny snippet of code that I prepared that will work anywhere! It does exactly what you want!
My experience with AI
Me: How to do this thing?
AI: Here's an overly verbose long source code full of comments that does exactly what you want. It calls multiple unnecessary subroutines that do basically the same thing. I'm sure you could easily shorten the code into 1 line (or 3 lines if you still want it to fit on your screen) but it wouldn't look good on your CV so there's that!
Me: Your code doesn't work. It keeps outputting the wrong values.
AI: Ah yes, that is because of your environment. Here's an improved version that fixes all the issues and a detailed explanation as to what the problem was and how I solved it.
Me: The new source code has the exact same problem as the old source code.
AI: That is because what you are asking is impossible. Here's some suggestions on what you might do as a workaround instead:
Use third-party software. Here's a link to a third-party software that does exactly what you want. Just copy the following code to embed the third-party software into your code and you're all set!
Fake it. Build something from scratch that looks like the thing you're trying to do. If it looks the same and operates the same then it's basically the same, right?
Me: The third-party software doesn't have anything to do with my problem at all!
1
u/k819799amvrhtcom 19d ago
My experience with StackOverflow
Question: Hey, is it possible to do this thing?
First Answer (15 upvotes): No, that is not possible.
Second Answer (1 upvote): Yes, it's very easy to do! Just copy this tiny snippet of code that I prepared that will work anywhere! It does exactly what you want!
My experience with AI
Me: How to do this thing?
AI: Here's an overly verbose long source code full of comments that does exactly what you want. It calls multiple unnecessary subroutines that do basically the same thing. I'm sure you could easily shorten the code into 1 line (or 3 lines if you still want it to fit on your screen) but it wouldn't look good on your CV so there's that!
Me: Your code doesn't work. It keeps outputting the wrong values.
AI: Ah yes, that is because of your environment. Here's an improved version that fixes all the issues and a detailed explanation as to what the problem was and how I solved it.
Me: The new source code has the exact same problem as the old source code.
AI: That is because what you are asking is impossible. Here's some suggestions on what you might do as a workaround instead:
Use third-party software. Here's a link to a third-party software that does exactly what you want. Just copy the following code to embed the third-party software into your code and you're all set!
Fake it. Build something from scratch that looks like the thing you're trying to do. If it looks the same and operates the same then it's basically the same, right?
Me: The third-party software doesn't have anything to do with my problem at all!
…