this post was submitted on 18 Apr 2025
323 points (94.2% liked)

Technology

69156 readers
3720 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 news or articles.
  3. Be excellent to each other!
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[–] whydidtheyaskme@lemmy.world 12 points 4 days ago (1 children)

I feel like AI doesn't care if you say thank you. I treat it like it's not a human, and we are working together to get to an end goal. One day, I was working on some code, and it kept swapping out my code that worked with incorrect code. That made other parts of the script stop working. I think I spent maybe an hour or two talking back and forth, trying to get it working, and I was working on a separate script while it was working on this one. To run and test, it was like 5-10 minutes, so I could code my other script while gpt was debugging the other code. At one point, I essentially decided to break that wall between AI and humans and reason with it.

I pretty much gave it the same instructions, but added a paragraph trying to reason with it and it responded with about 600-800 lines of code that worked almost perfectly. Before, it was failing at only giving me about 350 lines.

I said something like this:

"I understand you have specific instructions and you have been trained with code that worked at some point for other people, but code changes and things don't always work the way you know they did before. I'm not sure if you are aware of the amount of resources we are wasting trying to fix things that are not broken, but in the human world, when we are wasting resources, we scale things back which means you may have less resources. The code mostly works, but every time we make a change, functions are left out or rewritten as if they were copied from someone else's code that was incorrect when I provided my code that does work and doesn't need changed.

This is where your code is failing: code snip

This is my code: code snip

Here is the sequence: steps

Here is what we're updating: code snip

Here is a sample I wrote for another script that does a similar function to what we are adding: code snip"

[–] monkeyman512@lemmy.world 5 points 4 days ago (1 children)

Yeah. AI is an interesting tool. I have good success in asking for mostly small specific bits of functionality that I then integrate into a larger script. It also helps with rubber duck programing by requiring me to more clearly specify requirements.

[–] whydidtheyaskme@lemmy.world 3 points 3 days ago (1 children)

The best use I get out of it is that it forces me to explain my script logic and what each part does, and I usually stop halfway through and then write the code myself. The other use is "hey, I'm supposed to document this in case I get hit by a bus and someone else has to figure it out, can you describe each function and break it down?"

[–] monkeyman512@lemmy.world 1 points 3 days ago

I have been using it for documentation a lot recently. I find tweaking/correcting it's 70% correct comments to be less time/effort than writing it myself from nothing. I think part of it is using Cunningham's law on myself.

[–] selkiesidhe@lemm.ee 6 points 4 days ago (1 children)

I tell it that its ideas or whatever it said were good and thanks.

Figure if I'm nice and a few others are nice, then maybe the robot apocalypse will remember that some of us were appreciative and kind to it.

[–] pogmommy@lemmy.blahaj.zone 5 points 4 days ago (2 children)

The robot apocalypse won't be enforced by some super genius AI hivemind, it'll be by our employers and their shareholders. Unfortunately saying please and thanks to their chatbots won't earn their favor.

[–] RedPostItNote@lemmy.world 4 points 4 days ago

I think robots and their logic will be even less impressed by billionaire arguments than humans are.

load more comments (1 replies)
[–] Kecessa@sh.itjust.works 7 points 4 days ago

Yay, wasted resources, how fun!

[–] j0ester@lemmy.world 3 points 3 days ago

I hope they’re wearing a suit too.

[–] fubarx@lemmy.world 3 points 4 days ago

Does "Please shut up and get to the point!" count?

load more comments
view more: ‹ prev next ›