-credit to nedroid for strange art

  • 5 Posts
  • 257 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle





  • I feel this – we had a junior dev on our project who started using AI for coding, without management approval BTW (it was a small company and we didn’t yet have a policy specifically for it. Alas.)

    I got the fun task, months later, of going through an entire component that I’m almost certain was ‘vibe coded’ – it “worked” the first time the main APIs were called, but leaked and crashed on subsequent calls. It used double- and even triple-pointers to data structures, which the API vendor’s documentation upon some casual reading indicated could all be declared statically and re-used (this was an embedded system); needless arguments; mallocs and frees everywhere for no good reason (again due to all of the un-needed dynamic storage involving said double/triple pointers to stuff). It was a horrible mess.

    It should have never gotten through code review, but the senior devs were themselves overloaded with work (another, separate problem) …

    I took two days and cleaned it all up, much simpler, no mem leaks, and could actually be, you know, used more than once.

    Fucking mess, and LLMs (don’t call it “AI”) just allow those who are lazy and/or inexperienced to skate through short-term tasks, leaving huge technical debt for those that have to clean up after.

    If you’re doing job interviews, ensure the interviewee is not connected to LLMs in any way and make them do the code themselves. No exceptions. Consider blocking LLMs from your corp network as well and ban locally-installed things like Ollama.






  • Thank you.

    If you’ve ensured your home network’s firewall is sane first, there’s no big issue.

    If you dual-boot to Windows occasionally to run that one stupid program that can’t run under Linux, and you aren’t downloading stuff willy-nilly from the wild internet, and you haven’t previously installed all sorts of dodgy call-home programs, you can still be safe running while you’re in Windows. Hell, I have a Windows 7 box that runs just fine from my home network to the internet, thankyouverymuch. I even download stuff from there gasp, but I check the files first! Imagine that.

    Most people aren’t knowledgeable enough to maintain proper security however so I guess I should just stop commenting on posts like this, as I always get flak from people stating it’s impossible to run an OS more than 2 weeks old on the Internet without being instantly hacked :p.

    But still… as others say, I totally agree – move to Linux if you can.