300
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 20 Sep 2023
300 points (84.7% liked)
Technology
59648 readers
1458 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
At work when I write certain emails or code snippets I'll paste them into ChatGPT and ask it to make the email sound "more professional" or "optimize this code." ChatGPT also talks to me like SHODAN from System Shock ๐
I hope you know what you're doing. That's a good way to share company secrets with outsiders, also it's uncertain whether you're even legally allowed to use the resulting code.
I appreciate your concern, but no worries. The company code is structured text as I program B&R PLCs and ChatGPT is pretty useless (so far) for that kind of code. The python code I paste in is more for personal hobbies.
In a similar industry. Friend used it to write Wireshark dissectors for their interface between the PLC and software system. I haven't used ChatGTP yet, but for certain boiler plate tasks it might be useful. I used to dump tag lists and generate ladder logic with some regex and python to fix the rung numbering within Notepad++. Dumb stuff nobody wants to do by hand.
Prompt better. I use it extensively and the code I get is usually a good start. But it can't do anything.
I use it quite a lot, and its code is usually either functional, or within a stone's throw, and debugging its code is usually faster than writing something myself.