r/pcmasterrace • • 28d ago

News/Article PS5 Linux lead quits as open-source projects have become “a bunch of noobs using LLMs” that “they don’t even understand”

https://frvr.com/blog/news/ps5-linux-lead-quits-as-open-source-projects-have-become-a-bunch-of-noobs-using-llms-that-they-dont-even-understand/
13.4k Upvotes

1.0k comments sorted by

View all comments

1.5k

u/TheTresStateArea 28d ago edited 28d ago

If you can't check your work, you shouldn't be using an llm to code.

Edit: in a semi professional environment where other people are impacted by your code. Do what you want at home.

528

u/aimy99 PNY 5070 | 5800X3D | 32GB DDR4 | OLED 1440p 180hz 28d ago

If you can't check your work, you shouldn't be contributing to open source projects.

174

u/caffeinated_wizard 28d ago edited 28d ago

Graduates and juniors were told to contribute to open source for years now in order to get hired so when you add AI to it you get a flood of PRs that are just garbage.

66

u/Havengul_Undying 28d ago

Ah fuck, makes sense. Gotta pad that resume, especially since the coding market is flooded with vibecoders.

What was it Woody said? Somebody poisoned the waterhole

23

u/Wild_Marker Piscis Mustard Raisins 28d ago

There's a snake in our boot. I call it Sam Altman.

2

u/tabletop_garl25 28d ago

gotta increase my github numbers and PR to show recruiters I open source /s

26

u/PandaParado 28d ago

They were told that because contributing to an OS project teaches you a lot about how to program on a team. Unfortunately now the LLMs you can do it without really learning anything so it’s a pointless recommendation now.

12

u/ClikeX 28d ago

It is a good recommendation as long as people act in good faith and actually try to contribute and participate. At some point (even before AI) there was a bunch of spam on OSS repos from beginners taking a CS class. Especially during the Hacktober event.

1

u/DubiousBrushwagg 28d ago

I've never contributed to Open Source projects while in college because I knew enough to know I don't know enough to make meaningful contributions that won't waste somebody's time. Luckily though the last year of undergrad at my college was all team based programming classes so we were forced to learn how to develop with a group of people.

14

u/Ziegelphilie 28d ago

September is absolute hell when all the new students submit random bullshit because their teachers tell them to

6

u/Nemphiz 28d ago

I mean, being honest it isn't all that much different from how the professional world is working right now. Shit, I'm willing to say there's more controls against ai-slop in open source projects than there is with corporations.

6

u/mxzf 28d ago

That's because open source projects have maintainers that actually care about them, whereas corporations just want to pump out something vaguely functional for the next quarter's growth.

3

u/Nemphiz 28d ago

That's the unfortunate reality. I always felt grateful that my career actually is my passion. From messing around with computers at home to working for some of the biggest companies out there building amazing things. Never in a million years (even 2 years ago) did I think I would question working in tech. This is the first year that hard realization hit me.

3

u/D_Ethan_Bones 28d ago

Graduates and juniors were told to contribute to open source for years now in order to get hired so when you add AI to it you get a flood of PRs that are just garbage.

The golden age of engagement farming - someone scored a jackpot from showing off his giant stream of constant updates, so everyone started putting ingredients into the pot at the same pace whether they belonged there or not. It's not just part of the internet these days, it's the internet.

3

u/Saint_of_Grey 28d ago

This was also a problem that caused some repos to effectively geo-fence who can contribute, since they want actual contributions, not someone's signature they need to leave to get a passing grade.

2

u/EngineeringWin 5600X@4.65GHz | 3070 FTW3 Ultra | 32GB@3600C16 28d ago

It’s so shocking that anyone would need this to be spelled out for them

25

u/nanotree 28d ago

Was going to say, fork an open source and fuck with it to your heart's content. Just don't try to be a contributor with LLM slop because you "had a great idea."

13

u/RoboticShiba 28d ago

Some projects are adding a rule: PRs from outside contributors will be automatically denied if the idea has not been discussed and approved before on the repository issue/ticket system

7

u/mxzf 28d ago

Which is an extremely fair rule that shouldn't be an issue for anyone. Any person deep enough in the codebase to just write up their idea isn't an "outside contributor" and anyone else won't have the context to just whip something up blind anyways.

4

u/nalaloveslumpy 28d ago

That's not what happened here. Dude was making a Linux project for PS5 based on an exploit. Exploit got reported and patched, so his project is now DOA because he's fucking dumb.

He's now ranting against "AI slop kiddies" because he assumes that's the only way they found the same exploit he was exploiting.

2

u/ItalianDragon R9 5950X / XFX 6900XT / 64GB DDR4 3200Mhz 28d ago

Yeah but the issue is that slop users automatically believe that any "solution/fix" they find with the slop algorithm is the greatest invention since the one of the wheel so...

1

u/nanotree 28d ago

Then imma write automation to use AI to detect AI slop PRs and auto-decline with the comment "do better."

172

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

I used an LLM to write some lines of code for a small electronics project (energy meter for an ebike).
It's useful for that application. I cannot write such code. However, I could read the code it spit out and could reasonably understand what the code was doing.

It's not useful for code that you want to publicise. Why the hell would you send unchecked AI generated code to an open source project?

73

u/Edwardteech i712k 3090 32gb ddr5 28d ago

But it compiled on the first try.

40

u/TheTresStateArea 28d ago

An energy meter isn't an operating system

33

u/nanotree 28d ago

And a compiler doesn't test operational functionality across every domain and scenario that a complex open source system used by millions of people is expected to function within.

LLMs have turned non-coders into people who think machines can do the work of engineers. They don't understand the difference between code and design. Or the relationship between code and architecture. Or the relationship between architecture and industry standards. All of that gets erased because "I had a really good idea for a feature and had an LLM build it out and it worked!". No discipline in decisions. No careful deliberation of naming conventions. And the LLM doesn't understand the design, just the context it statistically computes is relevant to the immediate task is used to generate statistically relevant content based on your prompt. That's it. It's statistics all the way down.

6

u/Veggies-are-okay 28d ago

TL;DR there is a skill gap with AI usage and it sucks that it’s both noobs to computer science AND AI that are ruining it for the rest of us. It’s supposed to replace your fingers, not your brain!

I mean yes do not one shot but there is a grey area here. I use LLMs to drill into specs and clarify all those things that you mention. Naming conventions is a trivial thing to build into the workflow. Give it a bulletproof list of jira-style tickets and an mcp server to GitHub and you can get a very solid and well-documented project.

My workflow got me my job. I had the best solution to their exercise (albeit admittedly not very difficult at all… optimizing a backend to make an ml model realistically scalable/deployable). Took an hour of chatting with Claude and boom off to the races. Took less than an hour to get the 10 PRs in and reviewed.

Now you may absolutely complain about having to extensively review code you did not manually write. I like to round-robin a few writing style based skills so that there’s some variety in syntax style. It’s pretty neat.. I’ve even gotten to the point where I request little grammar errors so I feel like it’s coming from a human 😅

I’m one of the minority that is more attracted to the high level meta of prompting self-checking systems and finding reusability there than the rote boilerplate coding. Watching a system play with jira tasks and have agents interacting is kind of magic. It’s like being the manager of little workers that listen to every directive like a monkey paw.

3

u/bastiVS PC Master Race 28d ago

It actually is supposed to replace your brain. And its partially already there.

The "partially" however is the problem. Any AI can still spit out the most insane nonsense, so you still need to have an idea of what the AI was supposed to be doing to spot when it didn't do that.

Lots of people dont get that, but are trying to use AI to make a quick buck by flooding everything with shit apps that will never recieve any proper support.

4

u/MCRN-Gyoza 28d ago

Honestly most of the problems people say they have with AI generated code just comes from not knowing how to use the AI.

It's hilarious that there are some people in this thread who think they are better at coding than LLMs while working their shitty job at a legacy non-tech company, meanwhile high level people in big tech and academia all admit they don't write code anymore because the model does a better job at that than they do.

It's the epitome of Dunning-Kruger.

The only thing better are the people who go on a pedantic tirade about how it's just autocomplete or not really intelligent. Who the fuck cares? I care that it makes my job 10x easier.

1

u/fell_ware_1990 28d ago

It’s not really a problem. I do use a lot of AI, but i can also explain what my code does, why it fails, what should be different.

I have a ‘new’ senior developer coworker, the first 2 months i gave him the benefit of the doubt, after that i knew he sucks. He can’t verbally explain the tiniest bit of code. Can’t do git, i ended up with PR’s which started with 5 commits go to 50 and the code went back and forth. Told him to sqaush, PR removed > recreated.

Just this week he managed to upload his whole AI workflow, even that really sucks…..50 skills, random orchestration agent, MCP’s all over the place. And then only about 10% even matched the file type, even less matched our preferences and such.

He was suddenly getting more done, so i checked his usage. Trough the roof, 30/35k agent starts, complete orchastration flows, 10 commits and only a i think 50 LO(c) cause half is still .md . So i didn’t bother, send out a deepseek with a harness. Basically all code was wrong, so i checked by hand and it was right.

2

u/Veggies-are-okay 28d ago

I think it’s important to learn when you’re veering into the realm of “vibing.” I was concerned about this until I 100% vibed out my first complex react app as a backend data science guy. That feeling of “this is cool but I can’t really say anything about it” is worlds different than imposter syndrome on rapid progress. I always tap into that feeling as a litmus of slowing down/taking a break from computer work. Glaze-y eyes means finish up the task and go touch grass.

2

u/fell_ware_1990 28d ago

Yeah, well i’m a DevOps guy. So i manage complex infra, kubernetes, openshift, iac and a lot more.

99% is done in code. So i also use AI a whole lot, for all kinds of different stuff. But i won’t let it build or touch a very important module with my git keys wide open ( as he does ).

I have a complete system around it, red build? It notifies my system, it starts collecting the logs, identical pipelines, checking knowledge RAG, tickets, creates a new ticket with all the information. Hit’s up an other agent picked by the ticket subject ( one of the many specialized agents ) > Creates an isolated space, gets a few specific tools, cant commit. For most part’s of the repositories there are guidelines, rules, hooks, linters ( partially custom made so it handles it how i want ) .

The end result could be 2 things, i get code delivered i can review or i at least get a suggestion what’s happening or that it is a big change that needs planning.

Worst comes to worst i at least have a very up to date ticket complete with everything i need. Best case, the code’s good. I approve, it already created a commit + PR message, tooling tracks PR down to a green build in PRD.

So i am really pro AI, it saves me a lot of time. But dumping a few skills in, burn tokens, dont know what you create….yeah well….

3

u/fell_ware_1990 28d ago

Don’t forget the amount of people that heard they should secure their code and do!

Then they all host it on a local machine with the front door wide open. I have seen the best thought out security patches, by checking a 100 hashes for 1 interaction but a simple SQL injection block? Never heard of that.

2

u/Tuomas90 28d ago

It works on my AI.

131

u/Axthen 9800X3D/4090/32gb@6000 28d ago

Absolutely! Who would be dumb enough to publish unchecked AI generated code???

Looks at windows.

Oh.

26

u/Wise-Dust3700 28d ago

Took three comments this time to get through a linux topic before windows was mentioned x'D

16

u/dookarion 28d ago

They deserve the shade considering every other update fucks a bunch of shit up.

2

u/trash-_-boat 28d ago

I hope you don't sincerely think that they put in production unverified AI generated code and you're just spitting hyperbole.

1

u/Axthen 9800X3D/4090/32gb@6000 28d ago

If it's 'checked' that's even more embarrassing.

1

u/Nemphiz 28d ago

Looks at windows literally every major company out there including FAANG.

Fixed that for ya

6

u/Flori347 28d ago

I did the same for a small cosplay related project. But I ended up learning to code properly in the end because the AI output never really worked like I wanted it to.

But I still ask about errors or simple things when I'm stuck, sort of like a souped up google.

21

u/PrettyBaker2891 Arch 28d ago edited 28d ago

did u guys even read the article? lmfao

the lead dev isnt mad about unchecked code being pushed to his open source project

the guy is mad because "unskilled" people used AI to find a working ps5 exploit and reported it to sony to claim a bug bounty

which is funny as fuck ngl and probably just cope from the lead dev guy. dude is lashing out at ai for no reason

11

u/SOSpammy iMac 2017 i5-7500, Radeon 570 Pro, 32GB DDR4 28d ago

Even the article itself tries to mislead you into believing it's about vibecoders contributing to open source projects. It doesn't mention the real reason he's mad until the end of the article.

4

u/PrettyBaker2891 Arch 28d ago

yup

gotta clickbait and farm engagement from all the anti ai people

9

u/Fox-Flimsy 28d ago

Well after reading the article, he’s mad because that was the only exploit he had left to actually run linux on the PS5, basically ruining the whole project. So yes he’s mad at the AI kiddies for basically taking advantage of the code reviewer to make a quick buck.

3

u/thesniper_hun 9070XT/7800X3D/32GB DDR5/1080p@240hz 28d ago

I doubt he wouldn't have ragequit if it was instead reported by a person who didn't use AI to find it lol

1

u/SOSpammy iMac 2017 i5-7500, Radeon 570 Pro, 32GB DDR4 28d ago

And the overall message is so contradicting. "AI is worthless and can only contribute useless broken code to the project, but also AI found a zero-day exploit that's essential to the project."

4

u/GregBahm 28d ago

You're downvoted as of this writing because the thread is full of clickbaited anti ai people who are proud of it

12

u/TheTresStateArea 28d ago

If you read the article then you'd know that he didn't report the exploit. The article suggests that he needed the exploit to stay for continued development.

13

u/PrettyBaker2891 Arch 28d ago

???????

i never said he reported the exploit. i said other people did. thats why he is mad. he is mad because other people reported the exploit.

9

u/TheTresStateArea 28d ago

Sorry I wasn't clear, he didn't report the exploit because he needed it, and someone else did. So yes, he is mad. But not because someone beat him to the punch.

1

u/DefinitelyNotMasterS 28d ago

Nobody claimed he is mad because someone claimed the bounty before he did

1

u/alexnedea 28d ago

No hes mad that someone "less skilled" than him reached his level by prompting AI.

0

u/nalaloveslumpy 28d ago

Which is dumb. Relying on an exploit to never be patched as the cornerstone for your project is extremely fucking dumb. Fuck that dummy.

3

u/thedoginthewok 9950x / 7900 XT / 64GB 6000 /~150TB NAS 28d ago

This is like the entirety of custom software on consoles. All of it uses exploits to work.
It used to be hardware exploits (mod chips etc), now it's software.

3

u/[deleted] 28d ago

[removed] — view removed comment

1

u/berealish 28d ago

Just to be clear, your takeaway as a cybersecurity professional is that defenders should stop finding obscure bugs so maintainers have less work to do?

The problem is that maintainers haven't adapted to the new era and have broken triage systems in place. And ironically, the even more root problem is fragile code written years ago that modern tooling (often made and assisted with frontier LLMs) would remediate instantly before it ever hit prod.

hey, I found this extremely obscure exploit using AI nobody would have ever discovered otherwise

It doesnt matter if its obscure, it only matters that damage can be done. If someone with an LLM can find it for the defensive side, then certainly someone on the offensive side could have found it. Which do you prefer?

1

u/Low_discrepancy 28d ago

which is funny as fuck ngl and probably just cope from the lead dev guy.

How is it a cope?

1

u/ComprehensivePhase20 28d ago

Honestly just the way he worded it makes him sound like a douche. If what the article quotes is correct, of course.

-7

u/jpavlav 28d ago

You’re a bot

4

u/PrettyBaker2891 Arch 28d ago

great argument buddy. really thoughtful response.

i think you are the bot here LMAO

1

u/jpavlav 28d ago

Sounds like something a bot would say

2

u/Briggie Ryzen 7 5800x / ASUS Crosshair VIII Dark Hero / TUF RTX 4090 28d ago

Only ever use llms to learn a new api/library and for things like build scripts that I don’t feel like doing myself.

1

u/nalaloveslumpy 28d ago

There's not even evidence that "AI slop kiddies" are even responsible for what he's mad about.

This dude is just upset that the exploit he was using got patched. Even if someone else did find the exploit because of shitty code, reporting the exploit is still the right thing to do.

https://www.techpowerup.com/352739/ps5-linux-dev-drops-project-after-slop-kiddies-cash-in-on-crucial-exploit

1

u/Beautiful-Teach4648 28d ago

If you can't check your work, you shouldn't be using an llm to code.

I cannot write such code. However, I could read the code it spit out and could reasonably understand what the code was doing.

Being able to comprehend a small part of a larger program doesn't mean you reasonably understand what it's doing. You need to understand how code you're adding interacts with the larger system, otherwise you could be introducing changes in places that it wasn't intended to be. Think of it like correctly connecting the plumbing to a toilet, but in your living room. Sure, it works, but it introduces all kinds of issues that affect the rest of your home life.

-1

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

It's like 120 lines of code in total. With quite some repetition.

1

u/Beautiful-Teach4648 28d ago

With quite some repetition.

That's one of the easiest to spot indicators of low quality code.

-1

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

What is the point you're trying to make? Oh no, the person who cannot code is using the minimum viable product instead of artisan code!

I set out to make a device that could measure the amount of energy going into my ebike without having to pay the bike shop €20 for each test. The code does exactly what I set out to achieve. It's accurate within a couple percent, more than good enough to check if a battery is deteriorating over time. The powerbank automatically went into standby because it didn't detect enough current. I had to add extra LED's so it would consume enough power to stay on. That's how damn power efficient this thing is.

I don't give a damn if the code could be nicer. It fulfills its purposes perfectly.

So again: what is the point you're trying to make?

1

u/Beautiful-Teach4648 28d ago

I used an LLM to write some lines of code for a small electronics project (energy meter for an ebike). It's useful for that application. I cannot write such code. However, I could read the code it spit out and could reasonably understand what the code was doing.

What is the point you're trying to make?

You don't know what you're doing despite claiming otherwise. LLM's don't one shot "quite some reptition" as you call it, on small programs. You clearly were not getting the results you wanted and prompted a million times to get something that you think works. You ended up with a pile of spaghetti that you can't even verify that because you only "reasonably understand what the code was doing"

1

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

The repetitions I talked about are just the various lines of data that get displayed. Once you understand the three lines of code determining in which position and which size it displays a word or a value, you also understand the other 5 sections that setup the other words and values displayed.

0

u/pineapollo 28d ago edited 28d ago

The problem is you CAN'T reasonably understand it, you think you might from a pseudo code perspective. But if you can't write that code without assistance you don't understand the choices you would make to achieve the result.

It's like looking at a complex formula with the result, and thinking yeah clearly that has to be the result! Without understanding the formula itself.

Just to clarify, I think it's great that you used it to complete your project. It bridges the gap a lot of times, I see it with the home assistant community using LLMs to write their config files because it's kind of tedious. Just striking more on the topic of understanding the output.

10

u/RibsNGibs Ryzen 9 5950X / RTX3080 / 64GB DDR4@3600 28d ago

Disagree; people can understand a language but have a hard time speaking it. I have an actual CS degree and was good at it… once, but I haven’t coded professionally in 25 years or so. I recently got into dev work in unreal engine. My syntax is hopelessly rusty, there’s all sorts of weird unreal specific macros, the c++ language itself has changed over the last 2-3 decades, and I absolutely can’t write it anymore. I 100% can read and understand what Claude is whipping up. Sometimes I’ll come across a construction I haven’t seen before and can ask it what it is, but for the most part I can read it well enough to be sceptical about an approach or suggest a different design or better methods, and on and on.

2

u/Electrical-Trash-712 28d ago

I think that your experience is a little different from the person above. You might be rusty, but a cs degree isn’t in a language, it’s in the fundamental concepts of computer science. My university specifically didn’t have programming classes because the degree was meant to be in the theories, not the implementation.

1

u/pineapollo 28d ago

Weird to place yourself in the seat when you are the furthest from the audience I was speaking to.

I spoke spanish loosely in grades 3 - 8 living in El Paso for 5 - 6 years gave me enough footing to pick it up to workplace competency over 20 years later regardless of being out of practice.

And furthermore, you're making the same misstep the other people responding to me are. My exact quote was:

But if you can't write that code without assistance you don't understand the choices you would make to achieve the result.

You being rusty shouldn't have any bearing on agreeing that there is generally no one solution to anything you code for. And that a lot of work, especially in upkeep and maintenance, comes in the form of optimizing and regression testing.

Understanding outlines comprehension, and to comprehend something you generally grasp the entirety of a subject.

People "thinking" they understand what an LLM is spitting out is neither of these.

0

u/RibsNGibs Ryzen 9 5950X / RTX3080 / 64GB DDR4@3600 27d ago

Weird to place yourself in the seat when you are the furthest from the audience I was speaking to.

It's the internet - I had something to add to the conversation so there it is.

But if you can't write that code without assistance you don't understand the choices you would make to achieve the result.

Nah, I read the quote, and I understand it, and disagree. I have a great understanding of the nuts and bolts of what's going on - it would just take me ages to get all the stupid errors out because I'm rusty, and because as I am getting back into it, I don't have to learn the syntax anyway, because claude's doing it for me. You may think of that as a negative, but for me it honestly is just freeing me up to think about other things. The obvious analogy would be: I don't actually have any idea what's going on in the compiled machine code or assembly. Or even higher level than that: if I make a UI using QT, I honestly have no idea all the shit it's doing behind the scenes - I'm just abstracting that all away: I want a vertical box with a bunch of buttons in it and I want to wire these signals up to these methods; done. The level of hands-off when I have claude write me code is not anywhere that complete: I still read (almost) every line it spits out, and I almost always ask it to justify things that it does, or ask it to redesign something because I don't like its first attempt.

I guess the analogy that fits what's going on is pair programming. One person sitting there implementing, the other catching bugs or logic problems as they go.

Or a senior developer delegating tasks to junior programmers. Does the senior understand every decision that the junior programmer made? No, but that's ok, if the junior programmer is trustworthy, and/or if the code is getting audited in some way. I'm finding claude to be a junior/peer programmer with a very skewed skillset: encyclopedic knowledge, sometimes questionable judgment with design and approach, but never, ever fucks up on the small scale, never makes syntax errors, almost never makes off-by one or special case errors.

1

u/pineapollo 27d ago

No one is talking about the convenience of AI or how even with it's relatively minor flaws in practice that it's useful. I'm not having an "AI bad" dialogue with you.

If you educated yourself and had even somewhat of a career in the field, you already understand more at a base than the average joe. Unless you hit your head somewhere along the way and lost all of your insight you again are not the person I'm talking about.

I don't really even understand what you want out of this "agree to disagree"? Thanks for you two cents, but it has nothing to do with what I'm talking about.

No amount of laziness to fix errors and compiler messages is going to make a newbie understand anything the code spits out. I was a TA for some basic development courses, people aren't that bright. I saw people struggle with explaining what a recursive array was after half a semester on a mid term.

Whatever that person "thinks" they understand now is fraudulent, disagree all you want. But you take the LLM out of the picture and they're back to square one, code isn't pseudocode. I would get what you were saying if you presented pseudocode to someone with almost no knowledge, but that's just plain english logic laid out in the format of code, you would have to be brain dead to not get it.

1

u/TeamWorkTom 28d ago

Not true at all. Not even in the slightest. It's much easier to read and understand code than come up with it yourself.

1

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

Let's take this bit of code:

It takes the raw reading from the IO pin, avaeraged over 10 measurements, does a few calculations to turn that reading into a sensor voltage and then that voltage into a charging current. It then integrates those amperage readings into AmpHours. If there's a meaningul charging current, above 0.1 Amp, it shows a green LED, otherwise it remains red.
Further along the code, there's a bunch of lines to display the current and AmpHours on a small screen.

So yes, I absolutely can reasonably understand it. If I'd want the LED's to show a gradient depending on the charging current, then I could absolutely copy some lines of code and adjust them manually.

5

u/pineapollo 28d ago

You missed the point of my comment - so I'll just ask 2 simple questions.

Why did you - or the LLM whichever was it, break out your math for the float the way you did, and why is your loop allowed to run so many times and how would you mitigate it?

0

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

Why did you - or the LLM whichever was it, break out your math for the float the way you did,

Because I did the math in steps and I didn't feel like combining that to a single formula that'd be harder to understand. Sure, that would be more efficient, but the ESP32 has plenty processing power for this basic math.

and why is your loop allowed to run so many times

It runs once a second Charging the battery can take anywhere between an hour and 10 hours. I just let it run indefinitely.

how would you mitigate it?

I unplug the power when it's done and I've read the result.

1

u/pineapollo 28d ago

Sure, that would be more efficient, but the ESP32 has plenty processing power for this basic math.

Just because it does, doesn't mean you should be driving it that way. But you do you, this is going to be the endemic problem with LLM code.

"It just works" - that shouldn't be the goal. Every piece of polished software you interact with feels that way due to endless testing and optimizations.

Literally the entire gripe with Windows on this sub is how poorly optimized it is instead focusing on capturing user data and pushing CoPilot into everything.

It runs once a second Charging the battery can take anywhere between an hour and 10 hours. I just let it run indefinitely.
...
I unplug the power when it's done and I've read the result.

It runs thousands of times per second through your loop.

I get it, it's a charger. It is horribly optimized and these fixes are all incredibly simple to factor in. You could even ask your LLM to do it, this is the difference between reading and "understanding" like I highlighted.

You don't understand or comprehend what's literally happening. You can parse it and make logical inferences based on what the code presents itself as. But that is the furthest thing from understanding.

0

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

"It just works" - that shouldn't be the goal. Every piece of polished software you interact with feels that way due to endless testing and optimizations.

I just want to know the capacity of my ebike batteries and track decay over time, without spending €20 each time at the local bike shop. I don't need it to be polished and optimized.

It runs thousands of times per second through your loop.

No it doesn't, because there's a delay coded into the end of the loop. If you read the section of code in the screenshot, you see that in each loop, it adds (amperage / 3600 seconds) to the AmpHours total. If it did so thousands of times a second, then the reading would be of by a factor of thousands. But alas, I checked with a multimeter that it was charging at 1.9 A and after an hour of that, my meter indicated 1.89 Ah.

-28

u/SJ_Beast 28d ago

Ai hate is most just gatekeeping and circlejerk

12

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

The level at which it is hated on Reddit, is definitely an echo chamber. However, it is absolutely justified to hate on the gigantic heap of low effort shit that is being pumped out with the help of AI. I'm okay with people occasionally using AI to quickly visualise an idea. But holy crap, the amount of people passing of AI slop as art...

1

u/Mistuv 28d ago

It just lowers the access barrier, 90% of Reddit, including this thread, is full of slop, blind loudmouth obnoxious morons speaking completely out of their ass. Does it mean I am going to come out against literacy to save myself from the slop takes of morons? No, I cope, it's just a price of living in a free society.

Your comment was pathetic, instead of just being glad the stupid bot wrote the code for you that you would never never manage, you are so desperate for social validation you still badmouth it. Why shouldn't the code be publicised? How would you know?? Yeah, you shouldn't publish it because you have no idea if it is or isn't. But that doesn't mean the code isn't worth publishing.

0

u/Joezev98 Pentium G4560, GTX1080ti 28d ago

Why shouldn't the code be publicised?

Because it's very specific to my application and because I cannot possibly guarantee the level of quality I'd want it to have before making it public.

1

u/dookarion 28d ago

Couldn't possibly be because of the slop-purveyors drowning art communities in it, music in it, github in it, software and apps in it, books in it, it being foisted on everyone in everything from notepad to their fucking phones.

Maybe if ya'll fans of it had some restraint and standards...

40

u/boblancho 28d ago

The strongest rule I have set for my agent is to not use git for anything else than blame or compare stuff.

I stage, I commit, I push. I gate the code that goes upstream. It is just a bit more work but I make sure things like raw db queries or duplications don't get into the final version.

5

u/Rudolf1448 9800x3D 5080 28d ago

You save a few credits too 😃

3

u/MerePotato R7 7700X | RTX 4090 28d ago

Honestly harnesses should make git push conditionally enabled only when approval gating is, since that forces people to actually review what they're going to send out

7

u/cursedbones 28d ago

I automated a bunch of tasks for my coworkers by vibing code and I can't point out errors unless they're really small.

But I'd never contribute on open-source projects.

4

u/TheTresStateArea 28d ago

It all comes down to impact and verification. If you can vibe code a process and you know what the path from A to B looks like, and you know how to confirm that your end state is correct then you're good man.

A wildly complex project with multiple contributors and dependencies is not as simple as "take incoming excel document and do work"

3

u/Lyelinn 28d ago

nothing makes be more upset than having to be a literal code janitor after our designer vibecoded yet another feature and I get new portion of bugs lol

3

u/FrostyD7 28d ago

You can still use it as a coaching tool. But I don't know many peers who can do this effectively without succumbing to lazily accepting AI answers with no scrutiny.

2

u/ForensicPathology 28d ago

Yep, this is true beyond coding as well.  People who overuse never check it.  You gonna use it to write your school essay or summarize data for work, but not check it?  That's gonna lead to problems for you if someone actually reads it.

2

u/DidYuhim Specs/Imgur here 28d ago

Obviously, the solution is to have AI to verify the code!

2

u/Aggravating_Drag8721 28d ago

Reminds me of that weekly programming exercise for intro to algorithms at university. The real work was always the test class.

2

u/Wiiplay123 http://steamcommunity.com/id/Wiiplay123/ 28d ago

If you're nothing without the suit LLM, you don't deserve to have it.

2

u/tear_atheri 28d ago

glad for your edit.

I've never touched code in my life, but i learned how to build agentic harnesses with verifiers, implementers, adversarial passes, etc, by just studying how others are doing it and what best practices are for clean code. I set up the harness and system prompts accordingly.

For my own projects, it's great. I've built a lot of functioning software that i now use daily without issue and iterate on regularly just vibing. It's awesome.

Not sure if that makes me a 'poser' or whatever but i feel like in a generation or two nobody's gonna code by hand anyway, if not sooner

2

u/_Homelesscat_ 28d ago

Between me and my store owner I am the only one who is computer literate, however I don’t know anything beyond the bare basics of HTML. But want to guess which of us decided to let Claude “revamp the entire company website” and which of us has spent the last 4 months fixing all the stuff that broke?

5

u/Original_Dimension99 7800X3D/7900XT 28d ago

I think the actual problem isn't people using AI to code. It's people uploading AI code for other people to download and use and integrate into their projects.

If all you do is write silly programs with AI that you only personally use that's totally fine, because you're not bothering other people with irresponsible code

2

u/Anstigmat 28d ago

I am a small business owner with zero coding experience. I built an iPad app that helps us do our work a little bit faster. I’m not going to complain about that!

1

u/Greedy-Thought6188 28d ago

Depends on the criticality of your code. DB, hypervisor, OS, the things from which everything else is hanging out can compromise everything, sure. Some JS on a website that'll run on the client side and not expose something? Who cares.

1

u/oompaloompa465 7800X3D | RTX 4070 28d ago

i think in the next years the ability to build validators of AI output will be the most requested in the workforce

1

u/glytxh 28d ago

augmentation > replacement

I don't like blind boxes

2

u/MartinShortsIrishUnc 28d ago

you look at every library, every pre-defined function? all we have is blind boxes

1

u/glytxh 28d ago

I know what the libraries do, in abstract. A points at B processes into C to give me D.

1

u/hidazfx R7 5800X, RX 6950XT, 32GB DDR4 28d ago

I hate that I’ve basically been pushed to use AI at my job to keep up. I’ve been an engineer professionally for 5 years now, and I miss the love that came from coding by hand. Been programming since I was very little. I went from using Stack Overflow and Google, to ChatGPT and Gitlab Duo to answer questions, to now Codex writes all of my code and I act as an architect and reviewer. All in the span of 5 years.

With how good GPT-6 is, it’s kind of starting to get scary that the amount of software engineering jobs goes down further.

Humans have always pumped out shit code, the long running meme about copy pasting from stack overflow remains true today. These agents have just made it so much easier to produce garbage.

-1

u/darokk 28d ago

Lol I am absolutely using an LLM to code. I have multiple projects of tens of thousands of lines of code, and I've never manually read a single one of them.

I'm also absolutely not releasing them, nor will I ever contribute code I don't understand to public projects.

4

u/TheTresStateArea 28d ago

That's fine. I should have been more precise by saying you shouldn't use LLMs to code for open source projects if you don't know what the code does.

6

u/laundrydetergent7000 Desktop 28d ago

That’s the issue. They don’t know what it ACTUALLY does, which is a huge fucking problem.

1

u/angelbuttz 28d ago

why review when i can spam /review-work with different flagship models

2

u/TheTresStateArea 28d ago

¯\(ツ)/¯

0

u/ItalianDragon R9 5950X / XFX 6900XT / 64GB DDR4 3200Mhz 28d ago

Nah, even in a semi professional environment LLMs should not be used.

-1

u/tenthousandants44 28d ago

 Do what you want at home.

That's how we got here, stupid

-1

u/FocusPerspective 28d ago

Gatekeep much?

-41

u/[deleted] 28d ago

[deleted]

29

u/TheTresStateArea 28d ago

Yes, of course you can. That's why I said shouldn't. And that's why the lead for this project has quit. People unable to validate their contribution is making their with harder.

4

u/theucm 28d ago

What are you talking about?

"Should or should not" is only relevant if one can do something. If you can't do something it becomes moot.

3

u/Repulsive_Union6527 28d ago

That’s a dumb fucking opinion though. For example, with your logic, whether I should or shouldn’t is meaningless in the face of the fact that I “can” shoot someone in the face for no reason. Capability is not justification.

2

u/Status_Jellyfish_213 28d ago

You can, but that doesn’t make it a good idea and it’s very poor software engineering practice.

Even if you use AI assisted coding in a professional environment (and pretty much everyone does), you are still responsible for the code it produces. A normal PR may be produced by AI, but a good company will do human review before it gets merged.

Not just that, but if you can’t read anything it produces, or understand what you are trying to implement, or have a solid plan / design, you risk going round in circles of nonsense / taking way longer.

0

u/[deleted] 28d ago

[removed] — view removed comment

1

u/TheTresStateArea 28d ago

Yes I did. Closing the vuln kills the project.