• Welcome to my new startup where we train LLMs on compiled binaries. Now you can just prompt and get a complete executable, no coding knowledge needed. We value our company at $5b, product launch date indeterminate

      • Thanks now you’ve sent me down the rabbit hole since I searched for this and clicked on the first ad: coderabbit.ai

        One of the code reviews they feature on their homepage involves poor CodeRabbit misspelling a variable name, and then suggesting the exact opposite code of what would be correct for a “null check” (Suggesting if (object.field) return; when it should have suggested if (!object.field) return; or something like that).

        You’d think AI companies would have wised up by this point and gone through all their pre-recorded demos with a fine comb so that marks users at least make it past the homepage, but I guess not.

        Aside: It’s not really accurate to describe if (object.field) as a null check in JS since other things like empty strings will fail the check, but maybe CodeRabbit is just an adorable baby JS reviewer!

        Aside: the example was in a .jsx file. Does that stand for JavaScript XML? because oh lord that sounds cursed

  • "When asked about buggy AI [code], a common refrain is ‘it is not my code,’ meaning they feel less accountable because they didn’t write it.”

    Strong they cut all my deadlines in half and gave me an OpenAI API key, so fuck it energy.

    He stressed that this is not from want of care on the developer’s part but rather a lack of interest in “copy-editing code” on top of quality control processes being unprepared for the speed of AI adoption.

    You don’t say.

  • Incidentally, not even 5 years ago, you could just go on stack overflow and copy and paste a whole topic into your IDE and compile that bitch, and you’d probably wind up with fewer bugs than the normie executives who just learned about ChatGPT yesterday from their 8 year old nephew who uses it to write catfish lovenotes to his teacher from Gordie Howe or some other retired sports guy.

    • Reminds me of the story of the old engineer asked to come in and fix some machine in a factory.

      The engineer inspects the machine, marks it with some chalk, then strikes the chalk mark with a hammer.
      The machine works again.
      The company asks for an itemised invoice after seeing the initial invoice for $10k.
      To which they received:

      • hitting chalk mark with hammer: $1.
      • knowing where to place the chalk mark: $9,999

      GPT suffers from garbage-in garbage-out just as much as a search engine does.
      Knowing how to find search results to fix your specific situation is a skill.
      Utilising GPT for such a task is equally a skill. With the added bonus of GPT randomly pulling the perfect API/Library out of its ass

  • have they tried writing better prompts? my lived experience says that because it works for me, it should work as long as you write good prompts. prompts prompts prompts. I am very smart. /s

    •  luciole (he/him)   ( @luciole@beehaw.org ) 
      link
      fedilink
      English
      28
      edit-2
      3 days ago

      Oh wow. The article says basically that but without the /s and then it gets even better. This is according to Mister AI Professor Ethan Mollick From The University Of Warthon and the link goes to a tweet (the highest form of academia) saying:

      The problem with calling “prompt engineering” a form of programming is that it isn’t like what we call coding

      In fact, coders are often bad at prompting because AI doesn’t do things consistently or work like code. The best prompters I know can’t code at all. They “teach” the AI.

      Which is just great considering the next excuse in the text is:

      this is due to insufficient reviews, either because the company has not implemented robust code quality and code-review practices, or because developers are scrutinising AI-written code less than they would scrutinise their own code

      So who the fuck even reviews the prompt engineers’ code sludge, Mister AI Professor Of Twitter?

      Whole text is such a sad cope.