AI will now automatically "correct" your code

>It is not for C++ language

https://blog.sentry.io/ai-powered-autofix-debugs-and-fixes-your-code-in-minutes/

https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning

https://github.blog/2024-03-20-found-means-fixed-introducing-code-scanning-autofix-powered-by-github-copilot-and-codeql/

This feature is in public beta and automatically enabled on all private repositories for GitHub Advanced Security customers. Known as

>Code Scanning Autofix

and powered by GitHub Copilot and CodeQL, it helps deal with over 90% of alert types in JavaScript, Typescript, Java, and Python.. After being toggled on, it provides potential fixes that GitHub claims will likely address more than two-thirds of found vulnerabilities while coding with little or no editing.

"When a vulnerability is discovered in a supported language, fix suggestions will include a natural language explanation of the suggested fix, together with a preview of the code suggestion that the developer can accept, edit, or dismiss," GitHub's Pierre Tempel and Eric Tooley said...

Last month, the company also enabled push protection by default for all public repositories to stop the accidental exposure of secrets like access tokens and API keys when pushing new code. This was a significant issue in 2023, as GitHub users accidentally exposed 12.8 million authentication and sensitive secrets via more than 3 million public repositories throughout the year.

Ape Out Shirt $21.68

Tip Your Landlord Shirt $21.68

Ape Out Shirt $21.68

  1. 4 weeks ago
    Anonymous

    it still does not understand UI displays very well or how to make buttons work.

    • 4 weeks ago
      Anonymous

      yeah but GUIse is the easiest part for a human to put together anyway

      • 4 weeks ago
        Anonymous

        Hardest part for me

      • 4 weeks ago
        Anonymous

        like the other guy said UI's are hard for some people, a lot can happen in a UI and so a lot can go wrong. I'm learning to write console/terminal programs that have UI's and its kicking my ass honestly. Terminal resizing for example adds a whole different level of abstraction that needs to be considered, it also has to be able to handle all kinds of input, have some sort of screen buffer, move the cursor in raw terminal mode to edit text in place rather than a total refresh. Honestly I thought it would be easy, i reckon you just assume that its easy but never really tried.

        The AI does not know how to create what I want on the screen, the AI is good for researching when it comes to coding.

        • 4 weeks ago
          Anonymous

          >i reckon you just assume that its easy but never really tried

          its extremely easy:
          >onclick button one:
          >run this code

          >onclick button two:
          >run this other code

          its easy only in Winows though, Linux gets complicated

          you must do it all in Visual Studio

        • 4 weeks ago
          Anonymous

          writing CLI apps is fun -- especially thinking about how to manually create column layouts and handle text justification.

          There are some AI "agents" now that use an iterative approach to debug code (forgot the name). They can take a look at console logs and then modify their code until it works properly. a similar iterative approach would probably work well for GUI creation. Some companion model does image recognition for the LLM and the LLM tweaks the code iteratively until the UI matches the prompt specs.

        • 4 weeks ago
          Anonymous

          >I'm learning to write console/terminal programs that have UI's and its kicking my ass honestly.
          AHAHAHAHAHAHAHA
          noob.

        • 4 weeks ago
          Anonymous

          >it also has to be able to handle all kinds of input, have some sort of screen buffer, move the cursor in raw terminal mode to edit text in place rather than a total refresh.
          oh the humanity, jesus Black person.

    • 4 weeks ago
      Anonymous

      >"the AI doesn't understand buttons goy"

  2. 4 weeks ago
    Anonymous

    we never needed the people this level of functionality will replace.

    • 4 weeks ago
      Strange_Love

      Correct.

      • 4 weeks ago
        Anonymous

        Hey I know you

  3. 4 weeks ago
    Anonymous

    What could go wrong here?

    • 4 weeks ago
      Anonymous

      The machines were right (except Smith), and the humans were Black folk.
      If someone started a war with me and blew up the fricking sky I'd be less merciful than building a prison for them that simulates the peak of their culture.

  4. 4 weeks ago
    Anonymous

    I have github copilot and it sucks ass.

    • 4 weeks ago
      Anonymous

      It's supposedly powered by copilot, they claim to have added another layer which makes it ultimately more powerful

      • 4 weeks ago
        Anonymous

        Great. That’s exactly what I want. A model trained on weekend projects and moronic pajeet code turbocharging the creation of more slop. Nom nom nom. Fricking dotheads. Frick Microsoft

    • 4 weeks ago
      Anonymous

      really? i like it now, months ago it sucked but now seems to give better results
      its like an autocomplete on steroids.

  5. 4 weeks ago
    Anonymous

    tell me when it will read my mind and edit multiple scripts at once

  6. 4 weeks ago
    Anonymous

    YAWN! Keep seeing these announcements and each time I try them, they're absolute dog shit for anything other than stuff you could cut and paste from Stack Overflow.
    I'm sure CTOs will pay out the ass to purchase these products, reduce headcount, and then wonder why everything has turned to shit. SQL, 4GL, RUP UML, Low-Code, No-Code, we've been through many rounds of this and it in each case management was promised a way to create programs by writing their intentions out and the system would turn it into results. But it never works as envisioned, the tools end up handed over to techs to deal with, and the whole cycle starts over again with the promise "this time it will be different". However, if you want to "create" your own copy of Snake, AI is great tech.

    • 4 weeks ago
      Anonymous

      >uml
      fml.

    • 4 weeks ago
      Anonymous

      It's like CTRL + F on steroids with some capability to summarize stuff, which is useful for n00bs and helps you learn the basics faster.

    • 4 weeks ago
      Anonymous

      >I'm sure CTOs will pay out the ass to purchase these products, reduce headcount, and then wonder why everything has turned to shit.
      It's annoying to work with teammates who over-rely on AI tools and so can't even explain how their code works.

  7. 4 weeks ago
    Anonymous

    my boss had me dick around with this shit. the code that i write is correct for one, and also exectutes 20% to 15x faster than what any AI tool has been able to produce.
    i read the terms. github doesn't get my code.

    • 4 weeks ago
      Anonymous

      how much can you do with it? what sort of features can you implement?

  8. 4 weeks ago
    Anonymous

    Pic related was a popular book for managers all the way back in 1982.

    • 4 weeks ago
      Anonymous

      >what is a software library

  9. 4 weeks ago
    Anonymous

    I saw a windows 11 update and was thinking about this. How long until AI codes competition for micro$oft? You can copyright code to prevent copying by people, but if AI is generating the code from scratch and it just happens to be the same...

  10. 4 weeks ago
    Anonymous

    1) Add basic standard static analysis tools
    2) Advertise them as "AI"
    Very impressive guys.

  11. 4 weeks ago
    Anonymous

    ai is another word that lost meaning

  12. 4 weeks ago
    Anonymous

    Must say I’ve been very disappointed with coding assistants so far. If you’re learning how to code or maintaining some django web app they’re ok I suppose but anything involving actual thinking and they fail

  13. 4 weeks ago
    Anonymous

    okay. but that won't reduce jobs, it simply improves code quality.

  14. 4 weeks ago
    Anonymous

    I cant correct my code if it doesnt know what i am trying to do. Everyone's approach to things can be different. It can fix the syntax at most.

  15. 4 weeks ago
    Anonymous

    Hmmm how long until it's good enough to just code for me?

  16. 4 weeks ago
    Anonymous

    So another shitty linter. No thanks.

  17. 4 weeks ago
    Anonymous

    Good news. Less tedious typing and more time to conceptualize and optimize.

  18. 4 weeks ago
    Anonymous

    NVidia has come out with its own coding language and interface...Star Coder2

    https://developer.nvidia.com/blog/unlock-your-llm-coding-potential-with-starcoder2/

  19. 4 weeks ago
    Anonymous

    if you get replaced by AI then you probably weren't that useful in the first place (i.e you were part of the growing bubble phenomenon)

Your email address will not be published. Required fields are marked *