r/ProgrammerHumor • • 13d ago

Meme agedLikeMilk

Post image
388 Upvotes

54 comments sorted by

115

u/Western-Internal-751 13d ago

What I always wonder with those bazillion lines of code… do they actually do anything? I feel like older software that now gets touched by AI and gets thousands of lines rewritten, don’t really change at all. It’s still the same features, just with the whole codebase upside-down, apparently. Maybe it’s more performant but I don’t really experience that either.

It feels like everyone uses AI to pump out code that does nothing for the customer

57

u/abednego-gomes 13d ago

The main problem with one dude pumping out a million lines of code a monthis that no-one, not even him knows what that code does anymore. Only GOD knows now.

They turned the source code into piles and piles of ASM, where only the machines can understand it now, figuratively speaking. Sure, maybe you could drop in a new dev to manually go through it and it would take them a few days to weeks to get to understand the codebase manually amongst all the slop. Then bamm, the north star engineer comes in with his next million line PR and you're back at square one.

34

u/grumpy_autist 13d ago

Then AI has an outage and fucking no one can not only understand the code but even find the place where particular feature is. My company hit some Claude usage limit last Friday and you could see people openly starting to panic.

Now Copilot is down, whooops.

13

u/SirPitchalot 13d ago

This time it took out outlook and a chunk of teams. It was relatively easy for them to fix.

But just wait till their slopfest takes out azure. Then half the public internet will also go down and the very infrastructure they need to fix the outage will be itself down.

🍿

16

u/razveck 13d ago

I don't think it's even possible for a single person to really understand a million lines of code. These things are/were only doable because there were hundreds, if not thousands, of developers for each million lines of code.

15

u/HooAreYouWhoHoo 13d ago

Architecture patterns and diagrams made it possible to understand huge code bases.

A million single lines is impossible to hold in your head, but shapes and ideas. Yeah, I can do that.

2

u/sgt_Berbatov 13d ago

I'd like to think 80% of those lines of code are just methods to write documentation. Not about how the code works, but essentially their autobiography.

2

u/Taletad 13d ago

A lot of code does nothing, or is redundant

2

u/ClearOptics 13d ago

A few days? 😂

35

u/-deep-silence- 13d ago

Yes, but it was shipped fast! And millions of lines! This is a wet dream for managers who see the world through numbers on excel sheets.

18

u/CoffeeSnakeAgent 13d ago

Yeah. Ai generated code is verbose.

12

u/Head-Bureaucrat 13d ago

The more recent models are pretty dang good at writing functional code. But yeah, I frequently look at it and have to say "no, clean this up to use x pattern so it's not as many lines."

7

u/madcow_bg 13d ago

I wouldn't be even the least surprised if the managers demand to turn up the verbosity of code generation to show increased team productivity.

People are yet to adapt to the reality of "code is now free" because technical debt surely isn't. Like oil was for the least century ... but lung cancer decidedly isn't...

10

u/dobbie1 13d ago

I use AI to set out the structure then go through and delete about 2/3s of it to get to where I actually want. Its still quicker than writing from scratch but I would never ship just AI code.

AI just can't understand what scenarios would be impossible so it tries to account for every eventuality.

6

u/SoulArthurZ 13d ago

just write it yourself at that point? you seem to know what you want

1

u/madcow_bg 13d ago

That was the way before Opus. Now it is actually faster to teach it through example how to clean it up for you.

2

u/CharlieKiloAU 13d ago

Tests mostly

50

u/GLvoid 13d ago

They're 100% underselling the amount of users with issues too.

30

u/Seneferu 13d ago

My guess is customers not users. My uni has 8k staff and 40k students. Each one has a MS email via the uni. But the uni as a whole might only count as one customer.

4

u/fennecdore 13d ago

I think they are just reporting the early moment of the incident, since that point the outage has become global.

10

u/LarryWinters69 13d ago

Would not be surprised if they are mixing up users with tenants.

2

u/devilchn 13d ago

The company I work at has more impacted users. I wouldn't be surprised if the actual number is 100.000.000.

45

u/mangobananashake 13d ago

Since when did we start viewing number of lines of code as a measurement of success again?

We all used to laugh at managers who wanted us to strive to be the developer with the highest amount of new lines per month. Yet, with AI this is now acceptable again?

15

u/parkotron 13d ago

That tweet was unhinged, but I think that “million lines of code per month” he was talking about was in the context of porting. 

For a porting project, lines of code is not the worst metric. You start with all your lines of code in the “to be ported” pile and work to move it to the “ported” pile and then to the “ported and tested” pile. Of course, the last 20% of your lines are probably going to take just as long to port as the first 80%, but it is still a decent metric.

9

u/hemacwastaken 13d ago

It seems like we are just bound to make this mistake every 10 years now.

36

u/ByteWhisperer 13d ago

The worst part of AI is that people with zero technical capabilities now think they can rule the universe with their word salad machines.

23

u/frikilinux2 13d ago

It's probably more the several layoffs. They destroy morale and also institutional knowledge as components fall to teams that have zero experience on that component and there isn't a possibility of knowledge transfer.

Also if they added LLMs to the control plane of the global cloud, several people should resign once this is over.

14

u/Broad_Weekend_8671 13d ago

man, I am so tired of Ai shit hype

13

u/aeropl3b 13d ago

Microsoft just saved thousands of devs jobs by showing companies that offloading everything to AI, even with "algorithms" there to hide the way, is not a good idea.

Software engineers are important because we maintain context for more than just the code and stale comments. A senior dev who has been on a project for more than two years has millions of lines of code in their heads guiding how they respond to requests. An agent will simply say yes and implement the most insane code paths you have ever seen when a better solution would be to change on line in the configs and at a branch.

Software engineers are here to stay, AI growth is no where near the level they can replace real thought.

2

u/MrKirushko 7d ago

It's not even about AI. The fact that it's even possible, that some of our important systems are built in a way that a problem in one company can immediately affect all the users of the sustem all around the world is just mind boggling. Giving this much power to a single corporation is a completely unacceptable national security risk. Proper institutional government regulation would've never allowed anything like this to happen. Especially not when standard protocols exist.

1

u/aeropl3b 7d ago

Right, a significant amount of crital digital infrastructure is hosted by 5-10 companies depending on how you count (some are just subletting to others, it is complicated).

There are some attempts now to self/cross host things. But that requires real engineering investment.

And that is all just infrastructure. Office and Libre are not 100% compatible despite sharing protocols. Just because a protocol is open didn't mean implementations will be compatible across providers. It makes things very very hard.

1

u/MrKirushko 6d ago

The only problem with Office vs Libre is that Microsoft was allowed to create a de-facto standard. The moment their DOC format has risen in popularity the government should've created a commitee of office software developers, they would come up with something like ODF or even better and a set of strict document rendering rules and when the standard would become legally mandated for all official electronic documents. This way it would work the same on every piece of software that follows the specs withput any mistakes. But instead the entire IT industry was allowed to go unsupervised following only the market and we now have 2 undocumented formats that not only Office and Libre renders slightly differently but even different versions of Office render slightly differently making complex document formatting a very tricky business.

Software development in most areas simply must be recognized as an important part of critical national infrastrucure and be put under the same kind of strict regulations common for most other fields of engineering. Just like a car manufacturer isn't allowed to use a joystick instead of a steering wheel or make his cars twice the width if he wants his car to be road legal, Microsoft or Google must not be allowed to make most technical decisions on their own and sell most categories of their software to the public withput having it independantly checked and certified. Otherwise there's simply no way out of the mess.

1

u/aeropl3b 6d ago

I disagree with some of these assertions, but I do agree that as technologies bubble to the top they should try to move towards community driven standardization/committees and out of single institution control.

But it should be the choice of the project to release control and make that transition. Software projects that are ripped away from their creators/maintainers by government bodies because they are ubiquitous are going to fail terribly. The community that supports them will walk away and/or fork and now you have bifurcation in the community rather than a common standard. If that happens a couple times people will likely stop developing in the open and that is just going to hurt everyone.

1

u/MrKirushko 4d ago

Enforcement is the whole point, otherwise the companies will just ignore everything. Once conditions are met government must take control of the project and all the rest comes later. Once a critical user base in a critical category is reached no private ownership of a project must be allowed.

Another aspect is licensing regulation. Modern IT companies commonly declare that they're not liable to any direct or indirect damage caused by their software. But who's responsible then? The user can only control the software if it's open source and he's got the programming experience. In reality most of the software is not only closed source but has remote telemetry and arguably remote control features. Responsibility can't be allowed come wothout power and power can't be allowed to come without responsibility. We could ignore it for a while in the name of accelerated progress but today the progress has stagnated anyway and we must change the approach and reject all the quick and dirty software deployment practices. The governments all across the world must understand that today it's better to have no new software than it is to be burdened by even more of this kind of software. Software engineering must be forced to reach a similar kind of maturity and stability other fields of engineering has reached decades ago.

8

u/CaptainNakou 13d ago

As AI trained on half assed released in a hurry code for the last 20 years where practices went from "let's optimize so it fits on all computers" to "just buy more ram bro", all AI does is amplifying all of it. It's faster and more dangerous slop (because once it's there, nobody know how it got there and how it works).

It's not like we've been yelling for more than a decade now.

But hey, "it's the future and it is INEVITABLE".

12

u/tradcoder 13d ago

You love to see it!

5

u/Fancy-Consequence216 13d ago

Well they pushed the AI fix on friday...

4

u/IkuraDon5972 13d ago

i first heard about the outlook outage this morning from a local radio here in japan when the radio host was telling listeners to use Line or x/Twitter to send messages since their mail is not working because of issue with outlook

4

u/XxDarkSasuke69xX 13d ago

100000 users, what a joke, it's way more.

2

u/Sweetbeans2001 13d ago

Maybe they are counting each corporate client as a user. After all, companies are people now.

2

u/countable3841 13d ago

Articles are reporting how many users reported it on downdetector. That’s where the 100k number is coming from

3

u/ribenakifragostafylo 13d ago

I called my car shop guy yesterday to get an estimate. He said outlook was down and couldn't send emails.

I learned about the global outage from my car guy that's trying to run his business and potentially losing money because he can't send emails.

Where's the coverage of this undoubtedly AI slop shit?

3

u/DrGarbinsky 13d ago

What is this? Text for ants?

5

u/imsumpf 13d ago

We call it 364 now, do we?

2

u/Snakestream 13d ago

This is what inevitably happens when you vibe code too close to the sun

2

u/Alternative-Lynx2745 13d ago

I will never work for someone that writes sentences like this. That whole original post by Galen Hunt is cringe. Very much in the line of "I know what you're talking about and I don't know what you're talking about" kind of buzzword bingo bullshit.

2

u/ZookeepergameFar265 13d ago

Microsoft taught every big Corporation a great lesson. It could be a big nail for the AI bubble.

1

u/Patrick_Atsushi 13d ago

I like the outlook pun.

1

u/fugogugo 13d ago

back to measuring productivity with lines of code huh?

0

u/YeetYourSkeet 13d ago

Correlation is not causation

-5

u/shitthrower 13d ago edited 13d ago

Were there no outages before AI?

1

u/chaudhary-theodore9 4d ago

Yes, outages predate AI; that doesn't show whether AI contributed here. This incident needs its own causal evidence.

-4

u/_Afinef_ 13d ago

It was a dumpster fire before AI