cross-posted from: https://lemmy.ca/post/61948688

Excerpt:

"Even within the coding, it's not working well," said Smiley. "I'll give you an example. Code can look right and pass the unit tests and still be wrong. The way you measure that is typically in benchmark tests. So a lot of these companies haven't engaged in a proper feedback loop to see what the impact of AI coding is on the outcomes they care about. Lines of code, number of [pull requests], these are liabilities. These are not measures of engineering excellence."

Measures of engineering excellence, said Smiley, include metrics like deployment frequency, lead time to production, change failure rate, mean time to restore, and incident severity. And we need a new set of metrics, he insists, to measure how AI affects engineering performance.

"We don't know what those are yet," he said.

One metric that might be helpful, he said, is measuring tokens burned to get to an approved pull request – a formally accepted change in software. That's the kind of thing that needs to be assessed to determine whether AI helps an organization's engineering practice.

To underscore the consequences of not having that kind of data, Smiley pointed to a recent attempt to rewrite SQLite in Rust using AI.

"It passed all the unit tests, the shape of the code looks right," he said. It's 3.7x more lines of code that performs 2,000 times worse than the actual SQLite. Two thousand times worse for a database is a non-viable product. It's a dumpster fire. Throw it away. All that money you spent on it is worthless."

All the optimism about using AI for coding, Smiley argues, comes from measuring the wrong things.

"Coding works if you measure lines of code and pull requests," he said. "Coding does not work if you measure quality and team performance. There's no evidence to suggest that that's moving in a positive direction."

all 46 comments

sorted by: hot top controversial new old
[–] 82 points 5 months ago (3 children)

Being in an economic bubble during the age of (over)information is really weird. We're getting two articles per day confirming that we're in a big ass bubble but it just keeps on going. I preferred not really knowing how bad things are.

  • source
  • hideshow 6 child comments
  • [–] 14 points 5 months ago (2 children)

    prepare for the burst so you can jump in and get the deals of a lifetime

  • source
  • parent
  • hideshow 4 child comments
  • [–] 33 points 5 months ago (2 children)

    With what fucking capital, bro. We've been squeezed already.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 14 points 5 months ago*

    my wife and I didn't have but a couple grand saved up, in 2011 we bought our first house at the beginning of the end of the 2008 bubble. We got a house that was extremely cheap compared to the value

    when the opportunity comes, make sure to take it

  • source
  • parent
  • [–] 56 points 5 months ago (2 children)

    Or to put it another way, AI is making it faster and easier to do the wrong thing in the wrong way at scale.

    I also wonder what the plan is when the token cost starts going upward. The bill for all this venture capital will come due eventually and someone has to pay for it.

  • source
  • hideshow 4 child comments
  • [–] 31 points 5 months ago (1 child)

    Socialized losses are the norm. People's energy bills are already paying for the nearby data centers .

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 5 months ago (1 child)

    Yep, they’ll weaponize it to take jobs and then hit the public with the bill when the bubble bursts. Capitalism is both chilling and demoralizing.

  • source
  • parent
  • hideshow 2 child comments
  • [+] 2 points 5 months ago* (last edited 1 week ago) (1 child)
  • [–] 5 points 5 months ago

    That's what happens when you have unregulated markets and corporations.

    Liberals that still suckle Reagans tit worship the almighty "free market" however top economists will tell you that without government control capitalism ends up Being an oligopoly often with feudal characteristics like we see in the digital landscape.

    When corpos have no restrictions, they don't compete with each other. They end up merging into a monopoly and drain all the peasants/slaves who don't own anything.

  • source
  • parent
  • [–] 8 points 5 months ago (1 child)

    Or to put it another way, AI is making it faster and easier to do the wrong thing in the wrong way at scale.

    …and absolve the operator of any responsibility, apparently.

    Oh, that was the AI doing something wrong. shrugs and just keeps doing what they’re doing.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 51 points 5 months ago (2 children)

    It’s 3.7x more lines of code that performs 2,000 times worse than the actual SQLite.

    Pretty much my experience with LLM coding agents. They'll write a bunch of stuff, and come with all kinds of arguments about why what they're doing is in fact optimal and perfect. If you know what you're doing, you'll quickly find a bunch of over-complicating things and just plain pitfalls. I've never been able to understand the people that claim LLMs can build entire projects (the people that say stuff like "I never write my own code anymore"), since I've always found it to be pretty trash at anything beyond trivial tasks.

    Of course, it makes sense that it'll elaborate endlessly about how perfect its solution is, because it's a glorified auto-complete, and there's plenty of training data with people explaining why "solution X is better".

  • source
  • hideshow 4 child comments
  • [–] 25 points 5 months ago (2 children)

    I saw a vibe coded PR the other day. So much redundant code, lots of comments making assumptions and questions. It’s a mess.

    Glad it didn’t land in my lap but the person who is now responsible for steering that up is already quite busy and wasting their time with this feels shit.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 13 points 5 months ago

    One of the worst things about this is that the person vibe coding just ends up shitting on the reviewers time. Like... you couldn't even bother to write a real PR, and now you want me to spend time filtering your shit? Fuck off.

  • source
  • parent
  • [+] -14 points 5 months ago (1 child)

    To many people don’t know how to prompt AI, and review.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 17 points 5 months ago (1 child)

    Too many people are willingly paying anti-democratic billionaires to outsource their thinking and agency.

  • source
  • parent
  • hideshow 2 child comments
  • [+] -10 points 5 months ago (1 child)

    Too many people know their job is only going to last 6 months before the next round of layoffs, and that talent and hard work has never been the way to keep a job in the tech industry… so why try?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 5 months ago (1 child)

    Not really a valid excuse in this case as we aren’t really experiencing layoffs here. Au contraire, our company is hiring. I’m not in the U.S.

    Still think that letting language models controlled by billionaire paedophiles and wannabe dictators is a poor idea, regardless of how fed up one is with one’s job.

  • source
  • parent
  • hideshow 2 child comments
  • [+] -7 points 5 months ago (2 children)

    Where is “here?”

    And, if you want to bring pedophiles into it, most of what you touch on a daily basis involved a billionaire pedophile at some point. You just sound lazy at this point.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 5 months ago (1 child)

    Oh absolutely, and we can do our best to swear off of that but thanks to them worming their way in like a cancer in every part of society, shaping it to benefit them, that's just the nature of taking part in society. The ones in power have always, and will always continue to exploit us for as long as we let them.

    All the more reason to not outsource our thinking to their machines. Governments are already doing it, getting caught red-handed acting on reports that never existed. Why rely on that when the option not to is so readily available?

  • source
  • parent
  • hideshow 2 child comments
  • [–] -4 points 5 months ago (1 child)

    Ehhh… this sounds more like blanket ai-hate and less about you actually caring. You’re already in their cloud. I doubt you run bare metal. You probably use GitHub. Etc. caring on one hand and not on the other means nothing.

    I’ll continue farming out bullshit tasks to AI while I play with my cat and prepare for the next round of layoffs, rather than giving my soul to a company who doesn’t actually care about me.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 5 months ago

    I actually really love machine learning. I trained my own language models back in the late 201Xs, and at my previous company I worked on image classification for a smaller photography platform they were developing. I'm not an ML expert, but it's easy to see the bullshit that the "AI" companies are selling as bullshit when you know the foundations of the tech. A little like how you don't need to be a surgeon to call bullshit on someone saying that they performed open heart surgery and brain surgery on themselves simultaneously.

    You’re already in their cloud. Yes, unfortunately. There was a time when I was a lot more naïve and way less critical. People change. This is what "radicalised" me. I know that a story like that is just daily life in the U.S., but despite my cynicism I thought things were better here.

    You probably use GitHub. I don't. I self-host everything that I can, and make careful choices with what I choose not to. I've left what I had on GitHub on there, and I'll probably use it as a mirror whenever I release a FOSS project, because I'm OK with Microsoft paying the hosting costs for me, if they're going to try and scrape my shit anyway. You know, just like GNOME is doing.

    caring on one hand and not on the other means nothing.

    I don't really agree. This is the same idiotic take as "if you hate capitalism so much, why are you partaking in it?" You're also speaking directly through your sphincter as you've no idea what my life is like, what choices I've made, and so forth; you don't know me.

    Would I prefer to never have to engage with a payment processor or a bank again? Absolutely. That however, is sadly impossible in my society. LLMs aren't integral to society yet, and I'd see them continue that way.

    I’ll continue farming out bullshit tasks to AI while I play with my cat and prepare for the next round of layoffs, rather than giving my soul to a company who doesn’t actually care about me.

    Not a fan of the LLM part, but I love the overall sentiment. Fuck the corporations, your time and energy is better spent on the people you love. I hope things work out for you.

    Animals are people too. Lots of love to your cat.

    I love cats.

  • source
  • parent
  • [–] 10 points 5 months ago (2 children)

    I tried using an LLM for making an 3d object in openscad, an open source CAD app for making 3d printable objects

    its basic and uses an open source language. The LLM should have infinate examples and access

    but after 4 tries I gave up and just did it myself, sure the crap the LLM gave me helped form a general setup but I had to spend 2x as much time fixing the code then it did writing it from scratch

    I haven't tried using LLM for anything else, that failure told me everything I needed to know about its ability to do basic shit

  • source
  • parent
  • hideshow 4 child comments
  • [–] 45 points 5 months ago (2 children)

    AI works great. I work in the sphere of production defect detection in manufacturing and it's been working pretty well for a decade or more to predict machine failures and spot defective materials or products.

    LLMs as business digital yes man is what doesn't work.

  • source
  • hideshow 4 child comments
  • [–] 6 points 5 months ago

    LLMs have a use case, it's just really limited and the vast majority of what companies, and people broadly, use it for is either not the best case for it or not even something it can/should do.

    If you know how to use them they can save time. You still need to validate everything it gives you, but as a developer I can use one to generate small code snippets or give it documentation and ask questions as a quick reference.

    But these are not automation tools. They are not worker replacements. and they aren't replacements for research even if they can get you started on research..

    LLMs, and neural nets in general, can never be AGI no matter how much companies wish it could be.

  • source
  • parent
  • [–] 22 points 5 months ago (2 children)

    This article says that the AI-coded Rust rewrite of SQLite ran 2,000 times slower, but the linked source article says it ran more than 20,000 times slower. Muddling up 2,000 and 20,000 seems a bit sloppy for journalism about code performance.

  • source
  • hideshow 4 child comments
  • [–] 13 points 5 months ago

    Companies and governments told us that an energy transition is "too costly" or "too disruptive to society" but when it comes to AI disrupting and even ending people's lives...

    They just say, "deal with it."

  • source
  • [–] 8 points 5 months ago* (1 child)

    Ai is currently a glorified search engine. But expensive.

  • source
  • hideshow 2 child comments
  • [–] 4 points 5 months ago*

    Yeah. I use it at work as a glorified search engine of all company wikis and docs and tickets. It’ll work basically just as a search or it can also summarize - not terribly.

    Our AI meeting notes are also pretty good. I’m always impressed at how it leaves out personal chit-chat and anything negative we say about someone who isn’t present.

  • source
  • parent
  • [–] 6 points 5 months ago

    No bro the new model from 3 months ago is infinite gooder than what they tested. In 12-18 months we get agi or some shit i dunno just 10 more billions$ bro.

  • source
  • [+] -3 points 5 months ago
    [removed by mod]
  • source