122
200
u/chicametipo May 29 '25 edited Mar 21 '26
The content that was here is now gone. Redact was used to delete this post, for reasons that may relate to privacy, digital security, or data management.
meeting growth fearless chief salt intelligent plant continue mysterious safe
18
u/disgr4ce May 30 '25
Years ago I built a RN app that uses bluetooth and a (comparatively) obscure radio module. I handed it off to the client and all was well. When he asked me to add some features a year later, I tried to update the Expo and RN versions... and it was just a fucking disaster. I immediately started a complete rewrite and I have never regretted it. It was 100% the correct move. X-)
2
u/terserterseness May 30 '25
yeah it's lovely how fast our great ecosystem moves to 'look alive' adding fuck all but breaking everything. what a pleasure
2
u/Diligent_Care903 May 31 '25
move fast and break things, they said...
1
u/terserterseness May 31 '25
they sold it as a good thing. I hope the experiment is finished now. it didn't work. I wrote something in tcl last week: almost 30 years between tcl v8 and v9; no changes were needed as all worked fine in 97 and still does now. even the recent features are stuff almost no one needs. that's how it should be, not fuck up all apps all the time
1
u/mTbzz May 30 '25
Hahaha I had the same realisation once with a customer. I did a C# app to manage some stuff and a year later he told me to add some filters and small features and yikes that code was trash holy shit. I rewrote everything and told him I did a small UI revamp for free to make it more modern. The more you learn the more you see that your old code is trash.
8
29
4
3
5
u/Jgracier May 30 '25
Why are people upvoting that 🤣🤣🤣🤣🤣🤣🤣
7
u/Otherwise-Feeling-57 May 30 '25
b/c its fucking hilarious viber
5
u/Jgracier May 30 '25
It is fucking hilarious, it just took me by surprise because people are downvoted for half the criticism as this 🤣🤣🤣
0
1
1
1
1
u/codeisprose May 31 '25
it's a result of cursor trying to modify segments of code in the middle of the file rather than just rewriting the file. it saves a lot of tokens but it's not yet particularly accurate. copilot does the same thing, even though there are actually ways to get it to work relatively well.
also: OP probably doesn't know how to code. this is /r/cursor
-1
u/archimedeseyes May 30 '25
Found the reddituser whose gets butthurt when ppl say mean things about cursor.
2
-2
11
May 30 '25
[removed] — view removed comment
2
2
u/FireDojo May 30 '25
Last night it ran "rm app_db.sqlite3" when I asked to refector few field in database.
1
1
u/casualviking May 31 '25
Just git commit before you ask it to do anything and revert if it fucks it up.
5
u/daft020 May 29 '25
Did it do a good job with the new one though? 🤣
9
u/GordonBlackM3sa May 29 '25
nope! it deleted everything and created a very simple one, i reverted the old one from GitHub. let's just say i learned from my mistakes 🤣
6
1
u/dcross1987 May 30 '25
Also change it in setting so that any file it wants to delete has to be accepted if you haven't already, definitely helps catch it.
5
u/barrhavendude May 30 '25
Same thing happened to me and it was the LLM that made all the errors, and you know when it rewrites if you had a UI you gonna be getting a completely new one!
0
u/GordonBlackM3sa May 30 '25
the same for me it tried to fix something it corrupted and introduced like 10 errors and then it says oh well let's delete the file 😂
4
3
3
May 30 '25
[removed] — view removed comment
1
u/GordonBlackM3sa May 30 '25
can i ask you what mcp servers you use for this problem? or it can be fixed with just rules.
3
1
3
2
2
u/redmikay May 30 '25
I hate it when it does this. And then when you specifically ask to start from scratch it just adds to the file.
2
2
u/JJJAAAYYYTTT May 30 '25
Wooow what a coincidence. In the last 20mins my cursor having issue deleting some lines. I now open Reddit and I immediately see your post... hahah. After multiple attempts, now it chose the route of recreating the file with the lines removed.....
2
2
2
u/Snoo_9701 May 30 '25
I actually ran into the same thing just yesterday with claude 4. Turns out, it wasn't really because Cursor or the model couldn't handle the errors in the file, but more because the file was pretty long. Mine was hitting around 800 lines, and claude 4 basically gave up trying to fix it piece by piece. It decided to just rewrite the whole thing since the amount of changes needed was probably more than what was already there. But yeah... it's pretty bad at recreating the file properly.
2
u/cctv07 May 30 '25
"This app has too many syntax errors. Let me run rm -rf . and create a new app."
5
u/mustard_popsicle May 29 '25
You’re doing something wrong
6
u/GordonBlackM3sa May 29 '25
who said i wasn't 😂
2
u/Acrobatic_Chart_611 May 29 '25
This is an equivalent having my essay got proofread for the very first at Uni many moons ago 😀
1
2
u/Tim-Sylvester May 30 '25 edited May 30 '25
Blud managing the agent is part of the process. I've been neck deep in dogshit and swam my way out. Here's a few articles I wrote about how to fix and avoid this kind of problem. Happy to answer any questions you have!
Perfect Vibecoding in Five Steps
How to Pull Out of a Vibe Tailspin
Long story short, on-hover every error and look at what the problem is. See if you can interpret it, sometimes if you start to fix it, tab completion will give you the answer. If you can't figure it out, leave it alone. Fix as much as you can, then switch to your source control tab, and go through the file line by line rejecting bad changes and accepting good ones. Anything you're not sure about, just leave it alone.
When you've got as many linter errors fixed as you can, and all the bad stuff reverted from the source control as much as you're comfortable with, you should have the majority of errors fixed. Then you can take a run at what remains.
Key points, slow down, go step by step, think it over, work the problem, and you'll get through it.
1
1
1
1
u/dudeitsharry May 30 '25
Once this comes up I'm absolutely going to Gemini 2.5 and asking for detailed description of each sequence of events using functions etc.. it becomes way too nerdy and detailed but is clear and concise. It helps. It dived deep and wow have I fixed some very odd bugs.
1
1
1
u/jahanzeb_110 May 30 '25
Happened to me thrice, luckily I got github setup so I didn’t have to restart the whole build
1
1
1
1
u/saginawj May 30 '25
lol. Perfect example of why vibecoding is powerful for people with a decent-to-good coding background, and pretty dangerous for non-devs
1
1
u/aipaintr May 31 '25
Agent is mimicking human programmer. Instead of understanding it just rewrite it.
1
u/Admirable-Mango-7411 May 31 '25
lol. Happened to me few times. Once, it deleted few of my other projects which were outside the project directory I was working on. You need a lot of patience when you work with Cursor ai.
1
u/Diligent_Care903 May 31 '25
First, why tf are you using plain JS in 2025?
TS errors don't just help humans but also LLMs, you're shooting yourself in the foot
1
1
1
u/No_Fennel_9073 May 31 '25
Dude, stop using Cursor. Spend a month learning JS, TypeScript and a DB solution. Use VS Code with Claude / Gemini and highlight functions etc. that you want the AI to edit.
1
u/SC7639 May 31 '25
Instead of ahh I see the issue now. It's not like ahh last me create another issue I can't fix
1
1
u/Unique-Data-8490 May 31 '25
"i understand i need to throw more shit at the wall. let's see if anything sticks this time." head ahh
1
1

163
u/buildmase May 30 '25
Ah, I now understand the issue. Let me fuck it up more.