- cross-posted to:
- confidently_incorrect@lemmy.world
- cross-posted to:
- confidently_incorrect@lemmy.world
DO NOT TRUST ANY AI TECHNICAL DRAWING!
DO NOT TRUST ANY AI
TECHNICAL DRAWINGFTFY
There been so much gaslighting I keep thinking I’m missing something as I keep doing the mandatory AI usage from work and largely throwing away the results. Yet I keep repeatedly hear people hush about how great it is.
Last week I finally had something that I thought would be right up it’s alley: a fairly milquetoast program that needed to be ported from one language to another. It generated the ugliest unmaintainable code I could imagine. I went to execute the test suite and it failed every single one. The code was ugly, hard to follow, failed to important a number of sanity checks, kept repeating common code without factoring, making up calls that didn’t exist. In trying to salvage it, I decided to ask it to implement a super simple check that should have been a one liner and it suggested splatting over a hundred lines of code all over the file to randomly mess with imaginary end points for no apparent reason and still falling to just check the length of the array I told it to.
Meanwhile people at my company who don’t even commit any code are writing on internal blogs about how transformative it is, how much it makes their coding better (that they didn’t even do) and executives are commenting their vision and intelligence and promoting them…
There are a few things it does well, like movie suggestions based on a list of shows you like. And its good at reformatting data you feed it. But It’s crap overall. Often takes more time to correct it, than starting from scratch.
Definitely feel the waste of time trying to salvage junk it generated. At best I might have it take a horrible stab at it and then just look for key bits to Internet search, read documentation, and do it the actual right and maintainable way.
3-5 lines of code or has a decent chance at being usable or needing a minor tweak. More than that and it just sucks.
Also did use it with some messy list to find essentially duplicate things that weren’t exactly duplicate. It wasn’t 100%, with false negatives and positives, but it let me find a lot of them easily and the situation didn’t require me to find every single duplicate.
I actually tried to get an AI to code a simulation for AI agents. God, it’s so shitty at everything it does, it is only good to torture for entertainment…and to teach Excel apparently, only uses I found for it.
I will say there’s a few common boilerplate things that is easier to express as quick prose and get 4-5 lines out of it, highly predictable lines that I could have probably done myself, a little more convenient when I’m rusty on a language or library. Also code completion, same thing of only good for like 3-5 lines at a time.
Still have to watch it like crazy and carefully fix the mistakes and still throw out what it suggested and it can be pretty annoying, but I’m willing to believe it saved me a smidge of time on those. But anything beyond that and it’s a horrible mess I would never abide that’s more trouble to try to fix than just scrap and start over. It’s hard to stay vigilant and micromanage the details as I’m used to reviewing human code and the sorts of mistakes the LLMs make are distinct from what humans make.
“Never trust a computer you can’t throw out a window” - Steve Wozniak
It was legit a little scary how long I stared at this diagram in utter bewilderment.
It’s 2025 and the tech bros have made it where I can’t believe my own lying eyes.
I get that it’s a bad idea to trust AI to something so important. And that it’s probably going to shock or kill you.
But since I’m not an electrician, ELI5. What’s wrong with this diagram?
This diagram is the same as sticking a fork in all 3 holes on an outlet.
In addition to what the other person said, there’s a wire here connecting the two prongs together. This is a short circuit and would at least blow a breaker and at worst start a fire.
This picture is so frustrating. There’s no apparent source for the “live” wire. But if you tried following this with your real wiring (white, black and green do exist), you would be connecting your hot, neutral and ground lines all together. I doubt it would kill you at 120 V but it would definitely trip your breaker the moment you plug it in, and almost certainly make some nice big arcs.
Its ok, the AI predicted this and oriented the prongs incorrectly so there is no chance to accidentally plug it into an outlet.
The outlet has three wires (black, white, and green), and the device to be plugged in has three wires (black, white, and green). The whole point of the plug is to connect each color wire to its counterpart, and only to its counterpart.
For people enjoying LLMs being shit at everything, the Vagina Museum has a whole series of them failing at making pictures about pregnancy:
https://masto.ai/@vagina_museum
I think this was the first one:
Everytime someone ask AI for wiring diagram, Medhi’s mom will go slap them with a slipper.
It’s almost as though an AI designed to make pictures of kittens with boobs has no understanding of how electricity works.
This is fucking fantastic.
Just as a PSA, black wire to brass screw, white wire to silver screw, bare or green wire to screw on rounded prong. Also, black wire is hot, white is neutral, green is ground.
In the US*
As another PSA, if you reply on comments like this to go about wiring anything electrical, do yourself a favor and call a professional.
I mean, replacing a plug on a cord is like a basic human thing that most people should be able to do. A one minute video will show you how.
If you can’t figure out how to change out a plug, you probably can’t adult.
Adult checking in here. I’ve never had to replace a plug for anything… can’t say I know how to either.
If the only thing wrong with your appliance is a damaged cord, which usually happens near where it’s plugged into the wall, and it is a three-pronged cord, the information above is sufficient to replace the plug. Note that you will need to be able to identify the three wires and the color they represent, which is usually followed in decent power cords (of course, not all of them are decent).
Absolutely, if you aren’t confident in your knowledge and don’t have someone who can verify your work, don’t do it. It’s cheaper to throw away any given appliance than it is to throw away your home via an electrical fire. But basic AC electricity isn’t that complicated, even if it’s more complicated than basic DC electricity.
Except when white is hot for odd light switch layouts. (Which should be wrapped in black tape, but you know Shady DYI or I Know a Guy electricians.)
This won’t kill anybody. It’s not wired to anything but a ground wire.
Maybe the point is rather “It generates random bullshit diagrams and if you rely on them, things will go wrong”. This one might not be lethal, but some other design it produces might.
100%. I was just talking about this one image not AI in general.
I asked llms to help me with world building projects and to make some artwork (technical drawings) and boy howdy did they fail…
This isn’t the outlet, it’s the plug that goes into the outlet. Presuming you had it would fit into (the plugs are oriented wrong), it would be about as safe as shoving a fork in instead.
I understand what it is. But any normal GFCI would trip before it could cause any harm to anything. Even a normal breaker would trip before it created a problem, well other than sparks and likely fire. Since this is covered unlike a bare fork it is moderately safer and would not allow current through the body.
It’s irrelevant though as the image is just stupid. If you can’t immediately see that you should never be allowed near anything electrical.
And there actually is a plug that is oriented like that. It’s a Nema 6-15. And the great thing about it is it’s a 220v 15amp connector. And the plug would also fit in a Nema6-20 which is 20amps. So even more deadly.
Neutral is also wired to live. Isn’t that a short circuit?
The neutral is hot but it’s also grounded, electricity should take the path to the ground instead of doing anything meaningful on the neutral. You could probably measure a bit of current but not 220.
deleted by creator
That ground wire goes directly to the metal casing of the appliance.
The next diagram it hallucinates may be lethal though.
For reference / non electrical engineers / visual learners:
https://engineerfix.com/electrical/plugs/how-to-wire-a-us-plug/
NA 2 Prong, Type A
NA 3 Prong, Type B
‘Earth’ = Ground = the 3rd, round prong
You can maybe see the AI has kinda sorta merged elements from both of these.
The main problem is that uh… notice how in these real diagrams none of the lines are looped into each other, they are 2 or 3 distinct lines that feed into whatever is being plugged in…
… whereas in the AI diagram… it just forms a continuous loop.
Which… basically means that what the AI labels as ‘neutral’ and ‘ground’… aren’t.
Doing that would instantly cause a short cicruit and potentially immediately start a or multiple fires, trip circuit breakers, etc, depending on the voltage/amperage avalaible to the outlet this AI ‘death-plug’ ie connected to, and how long it takes the circuit breaker to trip.
… thats my layman understanding, corrections from any actual EEs would be appreciated if I’ve mucked something up.
Just a heads up, those diagrams are also insufficient on their own. They don’t indicate which line goes to the wide blade and which goes to the narrow blade on the plug. Getting that backwards on some devices can cause switching and fusing to be on the wrong line and defeat certain circuit and safety protections.
Much as I encourage people to fix their own things, wiring AC mains connections is one of those “if you have to ask, you probably shouldn’t” kind of things.
Thank you, those are very good points to add!
I managed to be busy nearly all day, glad other people have upvoted your addendum.
What the actual fuck. The prongs aren’t even oriented correctly. And the ‘live’ wire is just tied to ground.
So glad we’re burning down the rainforests for this.
I was curious and found we do actually have plugs with those pin orientations.
It’s 240v though, which means two live wires on opposing phases shorted together and connected to the appliances ground wire… Even better.
I plug in my arc-welder.
I exit existence.
No no no, you just get assigned to the great omni pattern buffer, may O’Brien find and rematerialize you as soon as he is able =P
Instructions unclear, Baron Samedi rematerialized me. Does this mean I gotta go shock myself stupid again until O’Brien does it?
… Do you know… what year you are in?
2025; sorry, old personal story from 2019. Just a funny NDE I had once. Have a good day!
Ah I was trying to keep going with pop culture jokes and was suggesting you may have been Twin Peaks Season 3 zapped into an alternate timeline, where maybe it was back when… was it The Living Daylights?
Whenever it was when whichever Bond movie had Samedi as the big bad came out.
=P
Nah, don’t you have a RCD in your home?
Not very common in North America.
We’re required to have them (called GFCI here) near water; bathrooms, kitchens, that sort of thing, but I haven’t seen many installed in panels protecting entire homes/shops or protecting banks of several circuits. I don’t think I’ve ever seen one on larger wattage items like clothes dryers or large shop tools either.
It’s actually required by code in almost every place in homes now for new construction.
Unless that changed within the last 5ish years; not they aren’t. But this is nuance that varies region to region; North America doesn’t have one single unified electrical code, though most of it is more or less the same.
I’m in a new (rental) home, built roughly 6years ago; the only places I have GFCI is bathrooms and kitchen. (and I believe the outdoor outlet too, but not certain without checking)
Bedrooms and the living room have AFCI breakers, but that’s not for protection against shocks. (and no, they’re not dual purpose breakers).
https://www.legrand.us/ideas/blogs/gfci-outlet-requirements
Tldr:
Where are GFCI Outlets Required? Generally installed in areas near water or potential moisture, GFCI outlets are commonly used in kitchens, bathrooms, laundry rooms, garages, unfinished basements, or outdoor spaces, as required by the NEC.
CAFI breakers are required for new builds, which replaced the function of GFCI outlets and also adds arc fault protection.
Not all districts are using the latest version of the NEC, so some regions may not require it yet.
The NEC ground fault protection covers basically every outlet and appliance now except living rooms and bedrooms. Garages, kitchens, bathrooms, exterior outlets, AC units, crawl spaces, accessory buildings…you name it. Pretty much 70% of your home’s electrical has to be ground fault protected now in new builds.
All outlets pretty much everywhere require arc fault protection now, including bedrooms, living rooms, and everywhere ground fault is required.
Gemini wired my home.
Unrelated question, why is this post a full fucking screenshot of some dude’s phone uncropped?
Cropping is a lost art that was under appreciated in its time. Oddly, I see it done less even though it’s become substantially easier to do over time, with the tools often built into whatever took the screenshot.
I showed this to my electrician dad. He had a chuckle.
I mean what the fuck am I even seeing?
and also, spicy ground.
Honestly doesn’t look particularly dangerous. I think this nets you a ground neutral connection with two test points?
Would it be useful? Absolutely not. Dangerous? p Probably not.
You will trip a breaker or 2. But you won’t die. This is an exaggeration. Nevermind it wouldn’t even fit a plug? If I ask it to do the same, it creates the following schematic.
https://g.co/gemini/share/0e1d197c002b
Not saying you should use any LLM to create something critical.
That’s a text response, this post is about image generation. Gemini is okay at finding stuff on google to show you, it’s basically like a ‘Let me Google that for you’ machine. The problem is when you ask it to make something new.
Behold, the image response I got using your prompt:
You’re in trouble if you also have a broken neutral somewhere.
But yes, the most likely outcome is breaker goes pop.
color-coded screws? wtf
For what it’s worth, the terminal screws on US outlets and replacement plugs usually actually are color coded. The screws for the hot (black) wire are gold or brass, and the screws for the neutral (white) wire have a silver finish. The ground screws are usually anodized green.
You’ll actually find green colored ground screws in tons of devices, not just outlets and plugs.
wouldn’t that add resistance to ground path (avoidably)
What resistance? The screw itself is not intended to carry any current. It just keeps the ground ring or whatever it is in contact with the terminal or the chassis of the device in question.
If this truly needs to be said, a giant meteor is too good for us. I get that people are stupid as fuck but Jesus, trusting your life to AI at this point is next level idiocy
I just realized I have no idea how electeicity works 💀
(Magic particles goes zzzzzzzap)
My understanding is not much better. It’s send electrons across wire.
It’s not even that! The electrons don’t even move particularly much. The energy is moved by the E/M field created around the circuit, which is even more wild and mind bending.
Waves flow like water along invisible rivers in the air. So, light doesn’t radiate from the sun so much as its like water flowing down a sinkhole, except in reverse, and without a spiral.