this post was submitted on 24 May 2024
614 points (97.2% liked)

Technology

35125 readers
140 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 47 points 7 months ago (8 children)

I'm a 10 year pro, and I've changed my workflows completely to include both chatgpt and copilot. I have found that for the mundane, simple, common patterns copilot's accuracy is close to 9/10 correct, especially in my well maintained repos.

It seems like the accuracy of simple answers is directly proportional to the precision of my function and variable names.

I haven't typed a full for loop in a year thanks to copilot, I treat it like an intent autocomplete.

Chatgpt on the other hand is remarkably useful for super well laid out questions, again with extreme precision in the terms you lay out. It has helped me in greenfield development with unique and insightful methodologies to accomplish tasks that would normally require extensive documentation searching.

Anyone who claims llms are a nothingburger is frankly wrong, with the right guidance my output has increased dramatically and my error rate has dropped slightly. I used to be able to put out about 1000 quality lines of change in a day (a poor metric, but a useful one) and my output has expanded to at least double that using the tools we have today.

Are LLMs miraculous? No, but they are incredibly powerful tools in the right hands.

Don't throw out the baby with the bathwater.

[–] [email protected] 15 points 7 months ago (1 children)

On the other hand, using ChatGPT for your Lemmy comments sticks out like a sore thumb

[–] [email protected] 11 points 7 months ago

If you're careless with your prompting, sure. The "default style" of ChatGPT is widely known at this point. If you want it to sound different you'll need to provide some context to tell it what you want it to sound like.

Or just use one of the many other LLMs out there to mix things up a bit. When I'm brainstorming I usually use Chatbot Arena to bounce ideas around, it's a page where you can send a prompt to two randomly-selected LLMs and then by voting on which gave a better response you help rank them on a leaderboard. This way I get to run my prompts through a lot of variety.

[–] [email protected] 9 points 7 months ago

Refreshing to see a reasonable response to coding with AI. Never used chatgpt for it but my copilot experience mirrors yours.

I find it shocking how many developers seem to think so many negative thoughts about it programming with AI. Some guy recently said "everyone in my shop finds it useless". Hard for me to believe they actually tried copilot if they think that

[–] [email protected] 5 points 7 months ago

As a fellow pro, who has no issues calling myself a pro, because I am...

You're spot on.

The stuff most people think AI is going to do - it's not.

But as an insanely convenient auto-complete, modern LLMs absolutely shine!

[–] [email protected] 4 points 7 months ago

I've found that the better I've gotten at writing prompts and giving enough information for it to not hallucinate, the better answers I get. It has to be treated as what it is, a calculator that can talk, make sure it has all of the information and it will find the answer.

One thing I have found to be super helpful with GPT4o is the ability to give it full API pages so it can update and familiarise it's self with what it's working with.

[–] [email protected] 4 points 7 months ago (1 children)

I think AI is good with giving answers to well defined problems. The issue is that companies keep trying to throw it at poorly defined problems and the results are less useful. I work in the cybersecurity space and you can't swing a dead cat without hitting a vendor talking about AI in their products. It's the new, big marketing buzzword. The problem is that finding the bad stuff on a network is not a well defined problem. So instead, you get the unsupervised models faffing about, generating tons and tons of false positives. The only useful implementations of AI I've seen in these tools actually mirrors you own: they can be scary good at generating data queries from natural language prompts. Which is, once again, a well defined problem.

Overall, AI is a tool and used in the right way, it's useful. It gets a bad rap because companies keep using it in bad ways and the end result can be worse than not having it at all.

[–] [email protected] 1 points 7 months ago

In fairness, it's possible that if 100 companies try seemingly bad ideas, 1 of them will turn out to be extremely profitable.

[–] [email protected] 2 points 7 months ago

Anyone who claims llms are a nothingburger is frankly wrong,

Exactly. When someone says that it either indicates to me that they ignorant (like they aren't a programmer or haven't used it) or they are a programmer who has used it, but are not good at all at integrating new tools into their development process.

Don’t throw out the baby with the bathwater.

Yup. The problem I see now is that every mistake an ai makes is parroted over and over here and held up as an example of why the tech is garbage. But it's cherry picking. Yes, they make mistakes, I often scratch my head at the ai results from Google and know to double check it. But the number of times it has pointed me in the right direction way faster than search results has shown to me already how useful it is.

[–] [email protected] 0 points 7 months ago (1 children)

Omg, I feel sorry for the people cleaning up after those codebases later. Maintaing that kind of careless "quality" lines of code is going to be a job for actual veterans.

And when we're all retired or dead, the whole world will be a pile of alien artifacts from a time when people were still able to figure stuff out, and llms will still be ridiculously inefficient for precise tasks, just like today.

https://youtu.be/dDUC-LqVrPU

[–] [email protected] 1 points 7 months ago

Here is an alternative Piped link(s):

https://piped.video/dDUC-LqVrPU

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.