this post was submitted on 25 Jul 2024
1007 points (97.5% liked)

Technology

59582 readers
4407 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
 

The new global study, in partnership with The Upwork Research Institute, interviewed 2,500 global C-suite executives, full-time employees and freelancers. Results show that the optimistic expectations about AI's impact are not aligning with the reality faced by many employees. The study identifies a disconnect between the high expectations of managers and the actual experiences of employees using AI.

Despite 96% of C-suite executives expecting AI to boost productivity, the study reveals that, 77% of employees using AI say it has added to their workload and created challenges in achieving the expected productivity gains. Not only is AI increasing the workloads of full-time employees, it’s hampering productivity and contributing to employee burnout.

you are viewing a single comment's thread
view the rest of the comments
[–] GreatAlbatross@feddit.uk 77 points 4 months ago (4 children)

The workload that's starting now, is spotting bad code written by colleagues using AI, and persuading them to re-write it.

"But it works!"

'It pulls in 15 libraries, 2 of which you need to manually install beforehand, to achieve something you can do in 5 lines using this default library'

[–] JackbyDev@programming.dev 35 points 4 months ago (3 children)

I was trying to find out how to get human readable timestamps from my shell history. They gave me this crazy script. It worked but it was super slow. Later I learned you could do history -i.

[–] GreatAlbatross@feddit.uk 20 points 4 months ago (1 children)

Turns out, a lot of the problems in nixland were solved 3 decades ago with a single flag of built-in utilities.

[–] JackbyDev@programming.dev 3 points 4 months ago (1 children)

Apart from me not reading the manual (or skimming to quick) I might have asked the LLM to check the history file rather than the command. Idk. I honestly didn't know the history command did anything different than just printing the history file

[–] masterofn001@lemmy.ca 4 points 4 months ago* (last edited 4 months ago) (2 children)

man 3 history

info history

Also, your .bashrc file in your $HOME Dir contains env variables you can set to modify the behaviors of the history function.

[–] JackbyDev@programming.dev 2 points 4 months ago (1 children)

I really need to alias man to man -a.

[–] masterofn001@lemmy.ca 1 points 4 months ago (1 children)
[–] JackbyDev@programming.dev 1 points 3 months ago (1 children)
[–] masterofn001@lemmy.ca 1 points 3 months ago* (last edited 3 months ago)

The option -k for the command man allows you to search the manual pages for specific terms.

Similar to the command apropos

Examples of both in the image

[–] trolololol@lemmy.world 2 points 4 months ago (1 children)
[–] masterofn001@lemmy.ca 3 points 4 months ago

Honestly, I thought I knew lots.

Then, one day, I decided to read man intro

Then I knew I knew I didn't know much.

I still don't.

But I now have a much better grasp of what/how.

[–] bricklove@midwest.social 4 points 4 months ago

I didn't know about this. Thank you for the knowledge fellow human!

[–] trolololol@lemmy.world 1 points 4 months ago

I don't run crazy scripts in my machine. If I don't understand it's not safe enough.

That's how you get pranked and hacked

[–] andallthat@lemmy.world 14 points 4 months ago (2 children)

TBH those same colleagues were probably just copy/pasting code from the first google result or stackoverflow answer, so arguably AI did make them more productive at what they do

[–] skillissuer@discuss.tchncs.de 15 points 4 months ago

yay!! do more stupid shit faster and with more baseless confidence!

[–] rozodru@lemmy.world 4 points 4 months ago

2012 me feels personally called out by this. fuck 2012 me that lazy fucker. stackoverflow was my "get out of work early and hit the bar" card.

[–] ILikeBoobies@lemmy.ca 7 points 4 months ago (1 children)

I asked it to spot a typo in my code, it worked but it rewrote my classes for each function that called them

[–] morbidcactus@lemmy.ca 5 points 4 months ago (1 children)

I gave it a fair shake after my team members were raving about it saving time last year, I tried a SFTP function and some Terraform modules and man both of them just didn't work. it did however do a really solid job of explaining some data operation functions I wrote, which I was really happy to see. I do try to add a detail block to my functions and be explicit with typing where appropriate so that probably helped some but yeah, was actually impressed by that. For generation though, maybe it's better now, but I still prefer to pull up the documentation as I spent more time debugging the crap it gave me than piecing together myself.

I'd use a llm tool for interactive documentation and reverse engineering aids though, I personally think that's where it shines, otherwise I'm not sold on the "gen ai will somehow fix all your problems" hype train.

[–] NikkiDimes@lemmy.world 5 points 4 months ago (1 children)

I think the best current use case for AI when it comes to coding is autocomplete.

I hate coding without Github Copilot now. You're still in full control of what you're building, the AI just autocompletes the menial shit you've written thousands of times already.

When it comes to full applications/projects, AI still has some way to go.

[–] morbidcactus@lemmy.ca 1 points 4 months ago (1 children)

I can get that for sure, I did see a client using it for debugging which seemed interesting as well, made an attempt to narrow down where the error occurred and what actually caused it.

[–] NikkiDimes@lemmy.world 2 points 4 months ago* (last edited 4 months ago)

I'll do that too! In the actual code you can just write something like

// Q: Why isn't this working as expected?
// A: 

and it'll auto complete an answer based on the code. It's not always 100% on point, but it usually leads you in the right direction.

[–] dejected_warp_core@lemmy.world 2 points 4 months ago

But I don't like using Argparse!