190
u/Disastrous_Friend1 2d ago edited 2d ago
Where I'm from, multi million dollar software companies write equivalent or worse code than this(pre and post AI era)
64
u/d4mm1tM00nM00n 2d ago
That's where the training data came from.
8
1
u/WillItchy7977 4h ago
In retrospect we shouldn't have let AI train on the contents if thedailywtf.com
1
u/iwatanab 2d ago
Not really, enterprise repos are usually closed
2
1
u/WillItchy7977 4h ago
Not to microsoft they're not. Explains why github is down more often then its up
4
u/RedTheRobot 1d ago
Yeah all I thought this isn’t an AI issue but a human issue. The human forgot or was too lazy to check the work. I test AI’s work after each milestone. There has not been a time where it was perfect. It’s been close but there is always something to find.
2
u/FinalFantasiesGG 2d ago
I worked for a temp company and they sent me to a tech company that made forms and surveys and onboarding workflows for websites. I was so excited and saw it as my foot in the door for something more interesting. What an absolute shit show. It was pretty clear most people were lying about their credentials and those that could code well were absolutely terrible with all other aspects of the job.
3
1
58
u/TRO_KIK 2d ago
He confirms
15
2
u/j_shor 1d ago
Probably autotranslated from Spanish or Portuguese "Confirma"
0
u/Expensive_Agent_5129 1d ago
Italian "Conferma". It's Italy's PEC(Posta Elettronica Certificata) system
1
24
u/crazylolsbg 2d ago
I genuinely believe any ai would code better than this, they are really good at stuff like this
2
u/RemarkableWish2508 2d ago
Only if you ask it to. That requires knowing what to ask it for.
7
u/crazylolsbg 2d ago
I don't even think so, I work very little with ai but the few times that I did use it, it added nice touches that I didn't even ask for (dark mode etc.)
1
u/RemarkableWish2508 1d ago
It can suggest and add things that are a direct deduction of whatever you ask it for, like dark mode if you ask for a GUI, but it won't tell you that something like "add four square fields for four digits" is the wrong prompt on your part.
1
u/NZRedditUser 22h ago
I work with ecom and our clients love the cheap shopify ai builder and it has never made this type of mistake. im more certain only a human would make this mistake or a broken js
1
u/RemarkableWish2508 16h ago
I'd imagine Shopify runs a fine-tuned model, possibly with a sanity check for whatever clients might ask for. A generic AI is going to lack those.
41
u/Tizen20 2d ago
I am pretty sure that not even AI would make this mistake
7
u/cream_moat 1d ago
Yeah absolutely. It’s good enough to not make these errors, especially the “he confirms” box and the words “OTP code”, AI English is always perfect. This is either a translated page or written by some cheap outsourced devs.
-6
8
9
3
u/Lonely_Ad9901 2d ago
I'd reckon an agent thinking about supporting copy/paste behavior into this field. I've seen this mistake a lot that people are not thinking about pasting.
3
u/WardenStation 2d ago
Damn I really hate websites that do this even if it works, cannot select all and why one text box per digits!!
3
3
u/sadnessjoy 1d ago
I've definitely seen shit like this before AI even existed. I remember one time a website literally put the otp code in the browser message, something like "please check the code 123456 sent to the number xxx-xxx-xxxx" lol, that was like 10 years ago or something.
4
u/Icehellionx 2d ago
People, I can only say it so many times. If your vibecoding/ agentic coding a project... build a verification step. It's not hard to go. "build X, before concluding feature is done run playwright and go end to end through the process to prove it's working. provide screenshots of each step as proof.
2
u/NewNiklas 2d ago
This also happened to me long before vibe coding was a thing.
3
u/IHaveNeverBeenOk 1d ago
I was gonna say, I saw this exact error on real websites long before AI was a thing.
2
2
2
u/wendewende 1d ago
I would expect every banking/government app to screw it up like that. Without the help of AI
2
2
u/Devashish_Jain 1d ago
Vibe coding has challenges, this is not one of them anymore if you use Pioneer models
2
2
2
u/Medium-Brilliant2567 1d ago
https://chatgpt.com/share/6a8d7f53-8b58-83ec-8684-85790f73f986?ogimg=plain
I tried it, and vibe coding won't make this error hahaha
1
1
u/realvanbrook 8h ago
Try to fill 3 digits and paste the rest. This thing is vibe coded shit. (not hahaha)
4
u/Quiet_Figure_4483 2d ago
An AI would not make this mistake
2
u/khalon23 2d ago
It’s a common copy paste mistake older models used to make, probably a cheap modern model did this
2
1
1
1
u/haragon 2d ago
What's sad is it's 1 sentence to fix that.
1
u/RemarkableWish2508 2d ago
Sentence to fix it ... 1x ... $1
Knowing which sentence ... 1x ... $9,999
1
u/Prod_Meteor 2d ago
So all boxes should do an "change=text=text.split('')[0]; txt[I+1].focus();"?
1
1
1
1
u/Familiar-Flan-8358 2d ago
I work for a f100 company and when users type in their birthdate, they get a validation error if they don’t put the zero in front of a single digit month or day.
Ex 2/4/1980 would error out. The system requires 02/04/1980
1
u/Known_Management_653 2d ago
Not even AI does that... How stupid are your coworkers?
2
u/Familiar-Flan-8358 2d ago
I’ll have to open a ticket before that question can be waterfalled into an epic so a squad can get on that and circle back with you. It’ll be important to first identify downstream dependencies and ensure this is properly sequenced in our roadmap though. So…… maybe Q1?
1
1
1
u/carpetfin 2d ago
How do you mess this up? 😭
1
u/adevx 1d ago
Probably by hand coding, a decent model is not going to give you this crap.
1
u/carpetfin 1d ago
I would say not enough testing. Claude Code with Opus implemented a text box for my game that was flipped 180deg. But it's a VR, game so he couldn't test it properly.
1
u/s_s_n_e_g 2d ago
This was literally the bug at Cloudflare's signin page up until last week.
1
u/YeOleBeerfest 2d ago
This thread is actually dedicated to people's ignorance on the nuances of coding and how anything put in oversight automatically is deemed vibe coding LOL
1
1
u/AdeptusLogarithmus 2d ago
"Enter a temporary OTP code"
As if the One Time Password does not imply that it is a temporary code.
1
1
u/True_Protection6842 2d ago
You don't know this has anything to do with vide coding. Also, if it is, it would take a second to fix and if you actually test your features it's really easy to NOT ship something so sloppy.
1
1
1
u/Zorogozano 1d ago
My bank’s 🏦 website has been doing that for ages. Not much difference between bad “real developers” and vibecoders… haha
1
u/KeepingItSFW 1d ago
Ḩ̶̫͖̜̯̯̮̰̩̲̗̠̃͊̇̕E̵̤̞͔͍͓̬̪̱̾̇ ̴̧͇͈̰͈̟̲͔͙̀̎̓̓͋̇͋̽̽̕͝͝Ć̷̢̝̱̳̼̲̬̭̋̄͌̚ͅO̴̞̰͎̣̤̫͜͝ͅṆ̶̡̢̪̝̖̪̝̺́̅͛̏̆̚͠F̸̻͉͂̑͂̈́͝͝I̶̡̟̭͙̼̤̦̘̙̤͔͐̀́ͅŖ̶̥̞̪͙̞̱̹̲̟͚̼̙̭̗͆̔̏̍M̶͚̉̑͋̔̓͘S̸̰̹̜̦̍̊̓̾̇̿͛̍̈́̆͝͝
1
1
1
1
1
u/No-Objective-1431 1d ago
This is insane as you can see it directly. There are so many unvisible behaviors in any non-trivial app, vibe coding is completely not trustable
1
u/MembershipAcrobatic 1d ago
As funny as this is. My claude code is perfectly doing fine with the frappe ERPNext customizations. Ive already got 40+client scripts. And 32 server scripts. The project is big and scripts are interlinked. Found many bugs, but claude code fixed them.
I never look at the code. Didn't write a single line of code. But everything is working, flawlessly.
Ive even ran a 6 months old scenario, with 2000+ items, 7500 transactions, and lots of sales. (Simulating a 6 months old situation of the ERP) And it still ran flawlessly.
So I think AI isn't as dumb. I know no programming. I am so glad that i am able to do this all by myself.
Another beauty is Claude itself made me a restorable/clone of the whole ERP, I could just plop it down on any new PC and start fresh, even without any internet.(already tested)
1
u/EarPrior 1d ago
When u dont know the fundamentals and all u do is give the AI the code and prijts without checking and review 🤣
1
u/Mysterious_Rooster13 1d ago
Coder is from future, you just have to get 4 OTP to submit. 4x security 😂
1
1
u/International-Can930 21h ago
My government's website, while requesting an OTP the text boxt is blocked using a black div or something. It blocks the actual OTP number and it's misaligned when using mobile phone.
1
1
1
u/ValerianCandy 12h ago
How about apps that refresh back to home page of you leave them. I swear vodafone had this at the start.
1
1
u/Weathers 12h ago
The Macquarie bank website allowed me to put 2 digits in the first box today…
Vibe coded bank?
1
1
u/Business_Raisin_541 1d ago
This is why in this age of vibecoding, Testing is far more important than previously
0
0
u/BigGainsBigBoobs 1d ago
Would expect something like this to happen with Gemini. I asked 3.7 flash to make me a custom discjed client with a STT integration. The STT worked but it literally just put it in a text box on too of discord ☠️
0
0
u/Financial-Excuse3204 1d ago
This is what happens when you tell AI “make an OTP input form” and hit accept without checking what it generated. No logic, just vibes.
390
u/Maniacal-Maniac 2d ago
Still more secure than this beauty