Now I understand why at each windows 11 update, they introduce more bugs than ever

  • scarabic@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    3 days ago

    If they mean “30% of the code we wrote last month” then I might believe it. Though I bet it is not across the board but deep in one or two areas. Still, it’s a crazy number.

    But he said something like “30% of the code in our repositories” which would mean everything, including their entire legacy of code. And that I simply do not believe.

    • Womble@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      3 days ago

      Its a shit article with Tech crunch changing the words to get people in a flap about AI (for or against), the actual quote is

      “I’d say maybe 20 percent, 30 percent of the code that is inside of our repos today and some of our projects are probably all written by software”

      “Written by software” reasonably included machine refactored code, automatically generated boilerplate and things generated by AI assistants. Through that lens 20% doesnt seem crazy.

  • krimson@lemmy.world
    link
    fedilink
    English
    arrow-up
    336
    ·
    5 days ago

    Horseshit.

    The current state of code generated by AI is sketchy at best. I often get plain wrong answers because the model tries to derive. It comes up with calls to functions and properties that just do not exist.

    “You are right, I made a mistake. Here is a better answer.” Continues to give wrong answers.

    Apart from that, apps that are glued together from AI generated code are not maintainable at all. What if there is a bug somewhere and you so not comprehend what is actually happening? Ask AI to fix it? Yeah good luck with that.

    I do use AI for simple questions, and it works fairly well for that, but this claim by MS is just marketing bullshit.

    • jordanlund@lemmy.world
      link
      fedilink
      English
      arrow-up
      110
      arrow-down
      1
      ·
      5 days ago

      This ^

      “20%-30% of code inside the company’s repositories”

      Now, if they had said “20%-30% of code written in the past 6 months…” I might buy that.

      The repositories are going to have all the current codebase, likely going back years now. AI generated code is barely viable at this point and really only pretty recently.

      No way 1/3rd of all current codebase is AI.

      • taladar@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        50
        ·
        5 days ago

        Even 20% of new code would be a stretch unless they count every first iteration of code written by AI that needs to be replaced by a human later because it was plain wrong.

    • takeda@lemm.ee
      link
      fedilink
      English
      arrow-up
      24
      ·
      5 days ago

      They say that because they are selling it.

      And yeah, my experience is the same. The most frustrating is when writing in a typed python, and it gives answers that are clearly incorrect, making up attributes that don’t even exist etc.

      • Balder@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        4 days ago

        My brother said his superior asked him to use more AI auto complete so that they can brag to investors that X percent of the company’s code is written by AI. This told me everything about the current state of this bullshit.

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      15
      ·
      4 days ago

      I didn’t RTA, but if they mean ALL code at MS, that just can’t be true. They have legacy stuff going back decades, beyond just their windows platform. There’s no way 30% of all their code is replaced or newly created by AI.

    • nickwitha_k (he/him)@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I do use AI for simple questions, and it works fairly well for that, but this claim by MS is just marketing bullshit.

      This is my experience. It can be useful for simple things that used to be found with a web search before AI slop broke things. For example, I was having trouble getting a simple CGO program for a POC to communicate with the main Go process. This should have been solvable easily with documentation but the CGO docs are pretty bad and sample code was near impossible to find due to AI slop in the search results. GPT was able to provide the needed sample code to unblock me.

    • unwarlikeExtortion@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      4 days ago

      “You are right, I made a mistake. Here is a better answer.” Continues to give wrong answers.

      To be fair, the AI’s not wrong. It’s probably better, but just a teeny tiny bit so.

      Honestly, AI is like a genie - whatever you come up with he’ll just butcher and misinterpret so you start questioning both your own sanity and the semantics of language. Good thing these genies have no wish limit, but bad thing that they murder rainforests while generating their non-sequitur replies.

  • Log in | Sign up@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    Satya Nadella has given an evasive answer there and both Zuckerberg and the journalists have been taken in.

    It is common in programming languages that have a lot of boilerplate to use code generation, where you take some information about data and generate code automatically, like code that translates data between formats (for example reading and writing xml for saving to disk or json to send over the network). Being very routine to write and easy to deduce logically from other information, this process has been automated for years and years, long before AI existed.

    Microsoft’s flagship software such as operating systems, office software, is unbelievably vast and complex, far beyond the complexity of most business software, and has been developed over decades. They absolutely have not replaced 30% of their code since the very recent advent of useful AI. I can believe that 30% of it is automatically generated, but not by AI.

  • IcyToes@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    142
    ·
    edit-2
    4 days ago

    He used the words “written by software”. This is ambiguous and doesn’t mean AI, for example, using annotations for variables and generating the getters and setters would count. Right click and create function body for interface function definitions also.

    They’re exaggerating to pretend their AI is more useful than it is.

    • MoonRaven@feddit.nl
      link
      fedilink
      English
      arrow-up
      40
      arrow-down
      1
      ·
      4 days ago

      Intellisense in visual studio has also been really good for over a decade. Which is technically also written by software and not me.

      • Serinus@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        ·
        4 days ago

        I mean, really good intellisense is a great improvement, but it’s not replacing devs any time soon.

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      20
      ·
      4 days ago

      People have been using annotations to generate code since I rode my dinosaur to work.

  • Auli@lemmy.ca
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 days ago

    Is this why they haven’t said why they one folder needs to be there. They actually don’t know.

      • JSens1998@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 days ago

        Basically, there was a security flaw with Microsoft’s Internet Information Services (web server software) that could be exploited by an attacker to gain access to files and folders they shouldn’t be able to (permission escalation?). Well, instead of providing an actual fix to the problem as a whole, they applied a bandaid fix by creating a new folder named “inetpub” on peoples system drive, and apparently the presence of the folder is able to prevent the exploit from working. People noticed the folder and deleted it because they thought it was being created by an attacker, so Microsoft had to tell people not to delete it.

        • spicehoarder@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          Wow, so my decision to switch my machines over to Linux by win10 EOL really isn’t overkill.

  • Bieren@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

    Work for a big software company. With all the offshoring of devs, I expect most of our code is now AI. And it shows.

      • chilicheeselies@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        Quality degredation and Disjointed experience comes to minds. Microsofts tech is such a mess right now i dont know how they come back from it honestly. Too many competing frameworks, bad schemas, broken tooling, bad documentation.

        Im not even factoring in windows 11.

        I used to be a windows dev guy, but with this landscape I dunno why i would do it to myself. Developing for linux systens is such a better experience. At least there are standards and ubernerds who adhere to them.

        • Bytemeister@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Coming back from this is easy.

          Extend support for windows 10 for another 4 years. Take a break from their OS release cycle and get the next OS right. Remove the Microsoft account mandate from sign in. Remove AI by default. Remove Ads, weather, news and other bloat from the OS. The focus should be creating the cleanest, simplest, abstraction between the user and the hardware.

          • chilicheeselies@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            Its not nearly that easy. They are dealing with personalities behind all of this, investors they made promises to, etc. What you are describing is the right thing to do, its just very complicated with a ship as big as microsoft to turn on a dime like that. The bigger the org, the slower it is to react and the harder it is to course correct

  • MeaanBeaan@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    2
    ·
    4 days ago

    Everybody saying this is why their products are shit are really confusing me. It’s not like Microsoft just started being terrible. They’ve been terrible for a real long time. Way before AI was a thing. This is just a symptom of Microsoft’s awfulness not a reason for it.

    • D_C@lemm.ee
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      1
      ·
      4 days ago

      Ok, it’s like this.
      Ms used to release shitty stuff. And they’ll continue to release shitty stuff except now it’ll be 30% more shitty.

    • Wispy2891@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      14
      ·
      4 days ago

      There were alpha versions of windows 8 with less glaring/annoying bugs than windows 11, though

      • conditional_soup@lemm.ee
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        2
        ·
        edit-2
        4 days ago

        My windows 11 gaming machine has done all manner of fucky stuff, including permanently losing desktop icons seemingly at random and just whole ass refusing to open the file explorer for six months.

        • daggermoon@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 days ago

          You can install Dolphin file manager on Windows. File Explorer has sucked at least since Windows 11 was released.

          • conditional_soup@lemm.ee
            link
            fedilink
            English
            arrow-up
            8
            ·
            edit-2
            4 days ago

            I’m just saying, it’s the most basic program there is for a user-friendly OS, how do you launch to market with a fucked up file explorer? And nah, we’re going to Linux once they start pushing windows 12.

              • conditional_soup@lemm.ee
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 days ago

                Mostly because when I switched my personal machine, there were a few small, weird issues with everything from not being able to do multiplayer on indie games to the grass, and only the grass as opposed to everything green, being blue in Baldur’s Gate 3. Working through those problems didn’t bother me, I’ve got the gumption and patience for it, the rest of my family does not. I’m giving the game industry a bit more time to smooth things out before I move the family gaming machine over.

      • ZILtoid1991@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        Windows 11 is so terrible so far that if I’ll need to use Windows 10 for dev reasons, I’ll either pirate the extended support patches, or use a shitbox (obsolete PC for optimization purposes) disconnected from the internet. I do fear that I might have to hack a GUI onto LDB or GDB, because I got too used to RemedyBG (I’m already using Kate).