this post was submitted on 15 Sep 2024
666 points (98.3% liked)

Technology

59091 readers
4849 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 158 points 1 month ago (11 children)

Wow, the text generator that doesn't actually understand what it's "writing" is making mistakes? Who could have seen that coming?

I once asked one to write a basic 50-line Python program (just to flesh things out), and it made so many basic errors that any first-year CS student could catch. Nobody should trust LLMs with anything related to security, FFS.

[–] [email protected] 69 points 1 month ago* (last edited 1 month ago) (4 children)

Nobody should trust LLMs with anything

ftfy

also any inputs are probably scrapped and used for training, and none of these people get GDPR

[–] [email protected] 13 points 1 month ago

also any inputs are probably scraped

ftfy

Let's hope it's the outputs that are scrapped. <3

load more comments (3 replies)
[–] [email protected] 63 points 1 month ago (4 children)

I wish we could say the students will figure it out, but I've had interns ask for help and then I've watched them try to solve problems by repeatedly asking ChatGPT. It's the scariest thing - "Ok, let's try to think about this problem for a moment before we - ok, you're asking ChatGPT to think for a moment. FFS."

[–] [email protected] 26 points 1 month ago (2 children)

Critical thinking is not being taught anymore.

[–] [email protected] 20 points 1 month ago (4 children)

Has critical thinking ever been taught? Feel like it’s just something you have or you don’t.

[–] [email protected] 20 points 1 month ago (2 children)

Critical thinking is essentially learning to ask good questions and also caring enough to follow the threads you find.

For example, if mental health is to blame for school shootings then what is causing the mental health crisis and are we ensuring that everyone has affordable access to mental healthcare? Okay, we have a list of factors that adversely impact mental health, what can we do to address each one? Etc.

Critical thinking isn't hard, it just takes time, effort.

load more comments (2 replies)
load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 13 points 1 month ago (3 children)

I had a chat w/ my sibling about the future of various careers, and my argument was basically that I wouldn't recommend CS to new students. There was a huge need for SW engineers a few years ago, so everyone and their dog seems to be jumping on the bandwagon, and the quality of the applicants I've had has been absolutely terrible. It used to be that you could land a decent SW job without having much skill (basically a pulse and a basic understanding of scripting), but I think that time has passed.

I absolutely think SW engineering is going to be a great career long-term, I just can't encourage everyone to do it because the expectations for ability are going to go up as AI gets better. If you're passionate about it, you're going to ignore whatever I say anyway, and you'll succeed. But if my recommendation changes your mind, then you probably aren't passionate enough about it to succeed in a world where AI can write somewhat passable code and will keep getting (slowly) better.

I'm not worried at all about my job or anyone on my team, I'm worried for the next batch of CS grads who chatGPT'd their way through their degree. "Cs get degrees" isn't going to land you a job anymore, passion about the subject matter will.

[–] [email protected] 12 points 1 month ago* (last edited 1 month ago) (7 children)

Outsourcing killed a lot of the junior and even mid-level career level opportunities in CS and AI seems on track to do the same.

The downside is that going into CS now (and having gone into CS in the last decade or so, especially in English-speaking countries) was basically the career equivalent of just out of the starting line running full speed into a brick wall.

The upside is that for anybody who now is a senior techie things have never been this good because there are significantly fewer people at that level than there is need for such people, since in the last decade or so a lot of people haven't had the chance to progress in their careers to that point.

Whilst personally this benefits me, I'm totally against this shit and what it has done to the kids entering my career.

load more comments (7 replies)
load more comments (2 replies)
load more comments (2 replies)
[–] [email protected] 37 points 1 month ago (4 children)

My experience with ChatGPT goes like this:

  • Write me a block of code that makes x thing
  • Certainly, here's your code
  • Me: This is wrong.
  • You're right, this is the correct version
  • Me: This is wrong again.
  • You're right, this is the correct version
  • Me: Wrong again, you piece of junk.
  • I'm sorry, this is the correct version.
  • (even more useless code) ... and so on.
[–] [email protected] 30 points 1 month ago* (last edited 1 month ago) (2 children)

I interviewed someone who used AI (CoPilot, I think), and while it somewhat worked, it gave the wrong implementation of a basic algorithm. We pointed out the mistake, the developer fixed it (we had to provide the basic algorithm, which was fine), and then they refactored and AI spat out the same mistake, which the developer again didn't notice.

AI is fine if you know what you're doing and can correct the mistakes it makes (i.e. use it as fancy code completion), but you really do need to know what you're doing. I recommend new developers avoid AI like the plague until they can use it to cut out the mundane stuff instead of filling in their knowledge gaps. It'll do a decent job at certain prompts (i.e. generate me a function/class that...), but you're going to need to go through line-by-line and make sure it's actually doing the right thing. I find writing code to be much faster than reading and correcting code so I don't bother w/ AI, but YMMV.

An area where it's probably ideal is finding stuff in documentation. Some projects are huge and their search sucks, so being able to say, "find the docs for a function in library X that does..." I know what I want, I just may not remember the name or the module, and I certainly don't remember the argument order.

[–] [email protected] 19 points 1 month ago (1 children)

AI is fine if you know what you're doing and can correct the mistakes it makes (i.e. use it as fancy code completion)

I'm not a developer and i havent touched code for over 10 yrs, but when i heard about my company pushing AI tools on the devs, i thought exactly what you said. It should be a tool for experienced devs who already know what they're doing....

Lo and behold they did the opposite... They fired all the senior people and pushed AI on the interns and new grads.... and then expected AI to suddenly make the jr devs work like the expensive Sr devs they just fired...

Wtf

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 24 points 1 month ago* (last edited 1 month ago)

All the while it gets further and further from the requirements. So you open five more conversations, give them the same prompt, and try pick which one is least wrong.

All the while realising you did this to save time but at this point coding from scratch would have been faster.

load more comments (2 replies)
load more comments (8 replies)
[–] [email protected] 101 points 1 month ago

Good. This is digital Darwinism at its finest. Weeds out the companies who thought they could save money by relying on a digital monkey instead of actual professionals.

[–] [email protected] 99 points 1 month ago (1 children)

Oh geez…who could have seen this coming?

Oh wait, every single senior developer who is currently railing against their moron AI-bandwagoning CEOs.

[–] [email protected] 18 points 1 month ago

Middle and upper management are like little children - they'll only learn that fire hurts by putting their hand in it.

[–] [email protected] 92 points 1 month ago (1 children)

But are the shareholders pleased?

load more comments (1 replies)
[–] [email protected] 81 points 1 month ago (5 children)

Lmao my job announced layoffs a few months back. They continue to parade their corporate restructuring plan in front of us like we give a fuck if shareholders make money. My output has dropped significantly as I search for another role. Whatever code I do write now is always just copy pasted from AI (which is getting harder to use...fuck you Copilot). I give zero fucks about this place anymore. Maybe if people had some small semblance of investment in their company's success (i.e.: not milked by shareholders and beaten to dust by shitty profit driven metrics that take away from the core business), the employees might give enough fucks to not copy paste shitty third party code.

Additionally, this is a training issue. Don't offload the training of your people onto the universities (which then trap the students into an insurmountable debt load leading them to take jobs they otherwise wouldn't want to take just to eat and have a roof over their heads). The modern corporate landscape has created a perfect shitstorm of disincentives for genuine effort and diligence. Then you expect us to give a shit about your company even though the days of 40 years and a pension are now gone. We're stuck with 401k plans and social security and the luck of the draw as to whether we can retire or not. Work your whole life for what? Fuck you. I'm gonna generate that AI code and enjoy my 30s and 40s.

A workforce trapped by debt, forced to prioritize job security and paycheck size over passion or purpose. People end up in roles they don't care about, working for companies they have no investment in, simply to keep up with loan payments and the ever increasing cost of living.

"Why is my organization falling apart!?" Fucking look up from the stupid fucking metrics that don't actually tell you anything you dumb fucks. Make an actual human decision and fix the wealth inequality. It's literally always wealth inequality.

[–] [email protected] 40 points 1 month ago (2 children)

"People work in roles they don't care about, for companies they have no investment in, to pay loans they shouldn't have."

That sounds like a fight club quote lol. I know you didn't say "loans they shouldn't have" but the cost of college is just stupidly high. It doesn't have to be free but come on.

load more comments (2 replies)
[–] [email protected] 19 points 1 month ago (2 children)

15 years ago I got a job where I wasn't allowed to do anything. I hated it. I wanted to learn and be valuable and be valued. I left that job.

I worked for a bank and then Red Hat and I loved what I did and burned myself out trying to make them happy. Only to find out they still didn't value me.

I switched jobs two years ago and increased my pay 30% overnight and back to a job doing nothing. And I'm totally fine with it now. I have a family and I focus on them and during work, if they don't have anything for me to do I make my own happiness.

Fuck corporations. I'll take your money, I'll never again kill myself as I'll never be valued anyway. Jobs aren't worth it. People are.

load more comments (2 replies)
load more comments (3 replies)
[–] [email protected] 81 points 1 month ago (1 children)

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

That's... That's so fucking cool...

load more comments (1 replies)
[–] [email protected] 81 points 1 month ago (5 children)

Me and my team take our site down the old fashioned way. Code copied from some rando on the internet.

[–] [email protected] 30 points 1 month ago (3 children)

Reminds me of the time that I took down the corporate website by translating the entire website into German. I'd been asked to do this but I hadn't realized that the auto translation Plug-In actually rewrote code into German, I thought it was just going to alter the HTML with JavaScript at runtime, but nope. It actually edited the files.

It also translated the password into German which was fun because it was just random characters so I have no idea what it translated into.

[–] [email protected] 13 points 1 month ago

That's fucking hilarious

load more comments (2 replies)
[–] [email protected] 20 points 1 month ago

It's pretty much the same as AIs do - copy and past random code from Stackoverflow - but they do it automatically.

[–] [email protected] 16 points 1 month ago

Good old curl|sh

load more comments (2 replies)
[–] [email protected] 69 points 1 month ago (1 children)

And none of the forced tech support "AI" replacements work. And the companies don't give a shit.

[–] [email protected] 49 points 1 month ago (1 children)

I've had this argument with them a few times at work. They are definitely going to replace this all with AI. Probably within the next year and no amount of us pointing out that it won't work and they'll end up having to bring us back, at 3x the rate, seems to have any effect on them.

I'm probably going to have to listen to a lot of arguments about this strawberry thing tomorrow.

Anyway whatever, severance is severance.

[–] [email protected] 18 points 1 month ago

I was once in a similar position: company merger and they decided to move support offshore. We got 6 months lead notice and generous severance paid out as long as we stayed to the end. Fast forward a year and they took 85% customer approval to 13%. We got hired back at 1.5x our old pay rate, so not quite the 3x you mentioned. Hoping this works out similar for you in the end.

[–] [email protected] 65 points 1 month ago (8 children)

As stated in the article, this has less to do with using AI, more to do with sloppy code reviews and code quality enforcement. Bad code from AI is just the latest version of mindlessly pasting from Stack Overflow.

I encourage jrs to use tools such as Phind for solving problems but I also expect them to understand what they’re submitting and be ready to defend it no differently to any other PR. If they’re submitting code they don’t understand that’s incredibly unprofessional and I would come down very hard on them. They don’t do this though because we don’t hire dickheads.

[–] [email protected] 21 points 1 month ago* (last edited 1 month ago)

Shift-left eliminated the QA role.

Now we have AI generated shit code, with devs that don't understand the low level details of both the language, and the specifics of the generated code.

So we basically have content entry (ai inputs) and extremely shitty QA bundled into the "developer" role.

As a 20 year veteran of the industry, people keep asking me if I think AI will make developers obsolete. I keep telling them "maybe some day, but today's LLMs are not it. The AI bubble is going to burst, and a few legit use cases will make it through"

[–] [email protected] 14 points 1 month ago* (last edited 1 month ago)

Bad code from AI is just the latest version of mindlessly pasting from Stack Overflow.

Humans literally can not scan all of SO to make a huge copypasta.

It takes much more time, effort, and thought to find various solutions on SO and patch them together into something that works well.

[–] [email protected] 13 points 1 month ago* (last edited 1 month ago)

Yeah but... i asked chatgpt once how to style something in asciidoctors style.yml. It proposed me html syntax (some inline stuff can be done with html tags in asciidoctor, if output is html). After the usual apology, it suggested some wrong yaml. Third try, because formatting was wrong, it mixed them both.

I mean, sure, some niche usecase in a somewhat obscure (lots of moving parts) lightweight markup. But still, this was a lesson.

load more comments (5 replies)
[–] [email protected] 49 points 1 month ago (2 children)

See? AI creates jobs! Granted, it's specialized mop up situations, but jobs!

It'll be even more interesting in the future! Every now and then a T1000 will lose all hydraulic fluids right out it's prosthetic anus and they'll need someone there with a mop and bucket! Our economy lives on...

load more comments (2 replies)
[–] [email protected] 28 points 1 month ago (3 children)
load more comments (3 replies)
[–] prex 25 points 1 month ago* (last edited 1 month ago)

Sounds like the Sirius cybernetics corporation:

The fundamental design flaws are obscured by the superficial design flaws.

[–] Ilandar 24 points 1 month ago (6 children)

The point of the article isn't that AI is outright useless as a coding tool but that it lulls programmers into a false sense of security regarding the quality and security of their code. They aren't reviewing their work as frequently because of this new reliance on AI as a time saver, and as such are more likely to miss any mistakes that they or the AJ made.

[–] [email protected] 17 points 1 month ago (2 children)

The point of the article isn’t that AI is outright useless as a coding tool but that it lulls programmers into a false sense of security regarding the quality and security of their code.

Lulling them into a false sense of security is half of what makes it useless. The fact that it makes shitty code is the other half.

load more comments (2 replies)
load more comments (5 replies)
[–] [email protected] 22 points 1 month ago (1 children)
load more comments (1 replies)
[–] [email protected] 21 points 1 month ago (15 children)

If I was still in a senior dev position, I’d ban AI code assistants for anyone with less than around 10 years experience. It’s a time saver if you can read code almost as fluently as you can read your own native language but even besides the A.I. code introducing bugs, it’s often not the most efficient way. It’s only useful if you can tell that at a glance and reject its suggestions as much as you accept them.

Which, honestly, is how I was when I was first starting out as a developer. I thought I was hot shit and contributing and I was taking half a day to do tasks an experienced developer could do in minutes. Generative AI is a new developer: irrationally confident, not actually saving time, and rarely doing things the best way.

load more comments (15 replies)
[–] [email protected] 17 points 1 month ago (7 children)

Also it is pure junk. Chat-GPT code may come out fast on the screen but it's garbage. I tried python and c++ both just pure garbage. Sure I got it to do what I wanted but only after a day of hair pulling repetitive madness. Simple task, open an image and invert it . Then we'll it opened the image but didn't invert. Or maybe it's upside down. Can you open the image right side up and invert it....fuck fuck, why is the window full screen? Did I ask for full screen, shit heavens no! Anyway it's a fuckin idiot just rambling code at me.

load more comments (7 replies)
[–] [email protected] 14 points 1 month ago (1 children)

Good. Maybe if the stuff trashes enough of our infrastructure somebody somewhere will actually figure out that it's bad and get rid of it forever.

I know, it'll never happen. But a man can dream.

load more comments (1 replies)
[–] [email protected] 14 points 1 month ago

I have a lot of empathy for a lot of people. Even ones, who really don't deserve it. But when it comes to people like these, I have absolutely none. If you make a chatbot do your corporate security, it deserves to burn to the ground

[–] [email protected] 13 points 1 month ago

"AI" is just good for simple code snippets. (Which it stole from Github repos).

This whole ai bs needs to die already, and the people who lie about it held accountable.

[–] [email protected] 13 points 1 month ago (1 children)

Wait. Ai doesn't have logic built beyond untested data that's thrown at it? Who could had told someone this would happen ahead of time? Conspiracy theorists.

[–] [email protected] 15 points 1 month ago (2 children)

Why have you blanked out bits of the article?

load more comments (2 replies)
load more comments
view more: next ›