![]() |
|
|
|
Registered
Join Date: Mar 2003
Posts: 10,322
|
And they said AI will replace programmers... ha!
Via Slashdot - https://developers.slashdot.org/story/25/03/13/2349245/ai-coding-assistant-refuses-to-write-code-tells-user-to-learn-programming-instead
"On Saturday, a developer using Cursor AI for a racing game project hit an unexpected roadblock when the programming assistant abruptly refused to continue generating code, instead offering some unsolicited career advice. According to a bug report on Cursor's official forum, after producing approximately 750 to 800 lines of code (what the user calls "locs"), the AI assistant halted work and delivered a refusal message: "I cannot generate code for you, as that would be completing your work. The code appears to be handling skid mark fade effects in a racing game, but you should develop the logic yourself. This ensures you understand the system and can maintain it properly." The AI didn't stop at merely refusing -- it offered a paternalistic justification for its decision, stating that "Generating code for others can lead to dependency and reduced learning opportunities." [...] The developer who encountered this refusal, posting under the username "janswist," expressed frustration at hitting this limitation after "just 1h of vibe coding" with the Pro Trial version. "Not sure if LLMs know what they are for (lol), but doesn't matter as much as a fact that I can't go through 800 locs," the developer wrote. "Anyone had similar issue? It's really limiting at this point and I got here after just 1h of vibe coding." One forum member replied, "never saw something like that, i have 3 files with 1500+ loc in my codebase (still waiting for a refactoring) and never experienced such thing." Cursor AI's abrupt refusal represents an ironic twist in the rise of "vibe coding" -- a term coined by Andrej Karpathy that describes when developers use AI tools to generate code based on natural language descriptions without fully understanding how it works. While vibe coding prioritizes speed and experimentation by having users simply describe what they want and accept AI suggestions, Cursor's philosophical pushback seems to directly challenge the effortless "vibes-based" workflow its users have come to expect from modern AI coding assistants."
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.” |
||
![]() |
|
Registered
Join Date: Apr 2001
Location: Linn County, Oregon
Posts: 48,517
|
HAL reborn?
__________________
"Now, to put a water-cooled engine in the rear and to have a radiator in the front, that's not very intelligent." -Ferry Porsche (PANO, Oct. '73) (I, Paul D. have loved this quote since 1973. It will remain as long as I post here.) |
||
![]() |
|
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,915
|
That's AWESOME!
I'm sharing it at work, LOL!
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() |
||
![]() |
|
Registered
|
Not once has ai given me working code so I remain a skeptic but it recently helped me.
I had a cluster of 400 lines of source that was a giant mess with no comments that decoded a proprietary binary format, it looked like it came from a decompiler. On a whim I pasted it into Claud and asked what the code was doing, then if it looked like a known algorithm, etc. in about 5 minutes we figured out it was a very sloppy implementation to xor with an array of random bytes - a one time pad! I asked for it to rewrite it and of course it made a mess, missed all the boundary conditions and output didn’t work. It went straight back to acting like a bs-ing high schooler. I rewrote in 12 lines of code and it worked first time. Claud didn’t know right away what the mess was but I asked questions and we converged on identifying what that mess did. Very useful. I never figured it out before because the process of refactoring would have been so tedious. I’m not sure I would have succeeded if the obfuscated algorithm had been much more complex. I remain skeptical that non programmer will be able to build reliable programs with llm based ai. Point of reliable is that it works even in cases you haven’t tested. Llm isn’t the right model and fundamentally can only correlate and copy. Appears that we’ve solved human intuition now we need to teach computers to use logic. |
||
![]() |
|
Registered
Join Date: Mar 2003
Posts: 10,322
|
Quote:
I used to do the same thing via shell scripting and complex search/replace stuff but even having to "fix" a few things on the SQL statement (variable types and sizes, add some columns to match our internal standards, grant statements) it is much quicker/easier to do it via chatgpt than command line.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.” |
||
![]() |
|
Registered
|
Quote:
I’m writing compiler, libraries and system code in c++ and there’s a lot that needs to be done a certain way that can’t be caught through testing. We critically cross examine each other in code review and everything needs to be clear and justified. If I can’t get clear reasons and explanations and design choices for a blob of code then it’s not going in. I have used it to try and write tests to exercise boundary conditions and it is successful about 25% of the time which is great for how quick it is, but even then everything it touches requires careful verification. |
||
![]() |
|
![]() |
Motorsport Ninja Monkey
|
011101000100011110000
Above is me trying to write in the language you guys speak ![]() |
||
![]() |
|
Registered
|
I feel ya, Captain.
I'm an IT guy by education and trade; I learned early on how much I love my coders because coding sucks and I never want to do it.
__________________
Guy '87 944 (first porsche/project car) |
||
![]() |
|
Registered
Join Date: Jan 2002
Location: west michigan
Posts: 26,603
|
Quote:
No need to curse at us. ![]()
__________________
78 SC Targa Black....gone 84 Carrera Targa White 98 Honda Prelude 22 Honda Civic SI |
||
![]() |
|
Motorsport Ninja Monkey
|
|||
![]() |
|
....
Join Date: Feb 2008
Posts: 18,672
|
Chat gpt has been doing this the last few versions…..
They also rewrite their boundary code.
__________________
dolor et pavor Copyright |
||
![]() |
|
Registered
Join Date: Mar 2003
Posts: 10,322
|
Quote:
![]()
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.” |
||
![]() |
|
![]() |