Thread: Chatgpt and LUA

Page 2 of 2 FirstFirst
1
2
  1. #21
    The Patient vincink's Avatar
    5+ Year Old Account
    Join Date
    Aug 2018
    Location
    face.eat(cheese)
    Posts
    345
    I'd like to step in here to say-- as a software engineer-- AIs cannot write complex applications yet nor is that the intent with AI systems like ChatGPT. AIs can do the very mundane in programming like setting up very basic three-tiered architecture code or perhaps even write deployment stacks but AIs have a long way to go before they understand the user's intent with superb accuracy.

    However, even when AIs are built that can accurately understand human intent, the burden remains on the user to understand what the AI has produced. And the user takes all responsibility for the code thereafter. Put simply, if you cannot code, but want to code something... do the work and learn to code, please. AIs are not housemaids or carpenters.

  2. #22
    Moderator Aucald's Avatar
    10+ Year Old Account
    Epic Premium
    Join Date
    Oct 2009
    Location
    Philadelphia, PA-US
    Posts
    45,795
    Quote Originally Posted by taheen74 View Post
    I don't even know what that is. Not like I didn't do other searches before coming here.

    Why are some of y'all being so rude?
    StackOverflow is kind of a one-stop shop for lots of technical, programming, and other IT-related questions. I think it's a bit hard to find specific stuff on there, but YMMV.

    As for the overall attitude, I think it's likely because you used the "ChatGPT" buzzword, and people are more responding to that as opposed to your actual questions about LUA syntax and debugging your script.
    "We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see." ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

  3. #23
    Elemental Lord callipygoustp's Avatar
    7+ Year Old Account
    Join Date
    Jun 2015
    Location
    Buffalo, NY
    Posts
    8,668
    Quote Originally Posted by Aucald View Post
    StackOverflow
    Definitely a better suggestion for software dev/engineering questions.

  4. #24
    Fluffy Kitten Nerph-'s Avatar
    15+ Year Old Account
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    8,826
    Quote Originally Posted by Aucald View Post
    StackOverflow is kind of a one-stop shop for lots of technical, programming, and other IT-related questions. I think it's a bit hard to find specific stuff on there, but YMMV.

    As for the overall attitude, I think it's likely because you used the "ChatGPT" buzzword, and people are more responding to that as opposed to your actual questions about LUA syntax and debugging your script.
    While using ChatGPT is not the best way to learn to code, I still fail to see what the problem is with using it to help.

  5. #25
    Quote Originally Posted by taheen74 View Post
    Why are some of y'all being so rude?
    It's because they have a combination of having no civility, the compulsion to absolutely say something, with a twist of narcissism.

  6. #26
    Quote Originally Posted by callipygoustp View Post
    Definitely a better suggestion for software dev/engineering questions.
    If you think this forum is rude wait till he asks in StackOverflow, they'll eat him up alive lol.

  7. #27
    Elemental Lord callipygoustp's Avatar
    7+ Year Old Account
    Join Date
    Jun 2015
    Location
    Buffalo, NY
    Posts
    8,668
    Quote Originally Posted by Razzako View Post
    If you think this forum is rude wait till he asks in StackOverflow, they'll eat him up alive lol.
    Never had a problem there.

  8. #28
    Moderator Aucald's Avatar
    10+ Year Old Account
    Epic Premium
    Join Date
    Oct 2009
    Location
    Philadelphia, PA-US
    Posts
    45,795
    Quote Originally Posted by Nerph- View Post
    While using ChatGPT is not the best way to learn to code, I still fail to see what the problem is with using it to help.
    Didn't say it was a bad way to learn to code, although I'd probably say you need to be somewhat proficient in a specific language to ensure its output is correct at this stage - ChatGPT has a tendency to produce somewhat questionable code in many cases.

    I've found it most useful in testing and troubleshooting as a comparative tool, looking at its specific output and comparing it to my code to basically get a different perspective.
    "We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see." ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

  9. #29
    People hating AI are just like those "boomers" they used to hate because they didn't want to keep up with change and new technology.

    Last week I asked ChatGPT how to convert an MP4 video to a gif. It told me about a few programs I could download but none of them were free, then I asked it for a free one and it told me to download ffmpeg. I had absolutely zero idea how to do any of this, I never even used the command prompt in my pc, ever. It guided me through every step, told me what code to insert and stuff, so I kept asking it to correct it or kept telling it what went wrong. I don't even remember the code because I just copy pasted everything. It kept doing some mistakes like not adding certain parts or stuff. I wanted to make the gif 60fps but for some reason it was stuttering, and then I asked it if there was a way to check how much fps the original source was, and it did. Turned out it was something like 59.2 So when I set it just below that the gif came out very smooth.

    Obviously, it's not like it coded a program, but considering I had 0 idea about any of this, it was tremendous help. So yeah, I hope people hating on AI just wake up and realize they should keep up with it before they are left behind.

    Before anyone says "it's never going to be better than this or that." ChatGPT is 6 months (?) old. And they just revealed GPT-4. So please, stop complaining and just keep up with it. It's for your own benefit.

    You should probably check what Microsoft just announced today as well.
    Last edited by Xilurm; 2023-03-16 at 08:23 PM.

  10. #30
    Moderator Aucald's Avatar
    10+ Year Old Account
    Epic Premium
    Join Date
    Oct 2009
    Location
    Philadelphia, PA-US
    Posts
    45,795
    Quote Originally Posted by callipygoustp View Post
    Definitely a better suggestion for software dev/engineering questions.
    I would assume the OP started here under the assumption that the regulars in this subforum would be specialists when it comes to LUA and WoW addons specifically, which is the same assumption I'd make given the givens.
    "We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see." ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

  11. #31
    Quote Originally Posted by Xilurm View Post
    People hating AI are just like those "boomers" they used to hate because they didn't want to keep up with change and new technology.

    Last week I asked ChatGPT how to convert an MP4 video to a gif. It told me about a few programs I could download but none of them were free, then I asked it for a free one and it told me to download ffmpeg. I had absolutely zero idea how to do any of this, I never even used the command prompt in my pc, ever. It guided me through every step, told me what code to insert and stuff, so I kept asking it to correct it or kept telling it what went wrong. I don't even remember the code because I just copy pasted everything. It kept doing some mistakes like not adding certain parts or stuff. I wanted to make the gif 60fps but for some reason it was stuttering, and then I asked it if there was a way to check how much fps the original source was, and it did. Turned out it was something like 59.2 So when I set it just below that the gif came out very smooth.

    Obviously, it's not like it coded a program, but considering I had 0 idea about any of this, it was tremendous help. So yeah, I hope people hating on AI just wake up and realize they should keep up with it before they are left behind.

    Before anyone says "it's never going to be better than this or that." ChatGPT is 6 months (?) old. And they just revealed GPT-4. So please, stop complaining and just keep up with it. It's for your own benefit.

    You should probably check what Microsoft just announced today as well.
    look at google and you see where this will go. Initial search results were amazing then it got worse with every year. Marketing filled top spots with garbage.
    If chatgtp becomes your new search engine advertisers will start paying for output telling you to use their product.
    The moment you rely too much on ai doing your work is the moment you will be in control of the people running it.

    The other aspect boomers are reasonably afraid of is if the ai increases your productivity by 5x that's 4/5 people who can be fired. And if you become to reliant on ai as a crutch they can start demanding monthly usage payment.

    tldr: the positive possibilities can only be maintained with open source public ai's. Any centralized ai monopoly will end up as cancer on society.

  12. #32
    Quote Originally Posted by callipygoustp View Post
    Never had a problem there.
    Personally, I haven't either, but StackOverflow isn't the most welcoming place for newcomers (for legitimate reasons).

  13. #33
    Quote Originally Posted by taheen74 View Post
    I don't even know what that is. Not like I didn't do other searches before coming here.

    Why are some of y'all being so rude?
    So, the dropdown appears but the list items don't?

    I hate to practically LMGTFY, but I'd find the api sheet for dropdowns and make sure you have all the variables and correct syntax you need.

    - - - Updated - - -

    Quote Originally Posted by Aucald View Post
    I would assume the OP started here under the assumption that the regulars in this subforum would be specialists when it comes to LUA and WoW addons specifically, which is the same assumption I'd make given the givens.
    Imagine people in the interface forums actually knowing how to write interface addons

  14. #34
    Quote Originally Posted by mbit2 View Post
    look at google and you see where this will go. Initial search results were amazing then it got worse with every year. Marketing filled top spots with garbage.
    If chatgtp becomes your new search engine advertisers will start paying for output telling you to use their product.
    The moment you rely too much on ai doing your work is the moment you will be in control of the people running it.

    The other aspect boomers are reasonably afraid of is if the ai increases your productivity by 5x that's 4/5 people who can be fired. And if you become to reliant on ai as a crutch they can start demanding monthly usage payment.

    tldr: the positive possibilities can only be maintained with open source public ai's. Any centralized ai monopoly will end up as cancer on society.
    Well StabilityAI is supposed to be releasing an open sourced LLM soon. Look at StableDiffusion and how many offshoots it made. Everything that comes from it is better than DALL-E, Midjourney and the rest of the corpo owned generative AI's.

  15. #35
    Quote Originally Posted by Razzako View Post
    Personally, I haven't either, but StackOverflow isn't the most welcoming place for newcomers (for legitimate reasons).
    Lmao, the mods will ban OP for trolling if he posts on StackOverflow

  16. #36
    The Lightbringer Lollis's Avatar
    10+ Year Old Account
    Join Date
    Sep 2009
    Location
    England
    Posts
    3,522
    https://wowpedia.fandom.com/wiki/Using_UIDropDownMenu

    Im a little confused about what you think is wrong, obviously it's not getting checkmarks on the dropdown (because it isn't setup properly) but the button still works to create a frame as it should. If you are not seeing the frame then it's your background file that is the problem, use /fstack to confirm that it is still making a frame when you click the button.

    The
    Code:
    button:SetScript("OnClick", CreateNewFrame)
    at the bottom is also redundant because it already exists for the button's creation.

    When debugging, use Notepad++ and set language to Lua. On making a change to your code, ctrl+s save it, and just /reload in wow.
    Use [ code] [ /code] tags (without the leading space) to post like the above on mmo-c (it'll also mean quotation marks don't need to be converted because of the font)
    Last edited by Lollis; 2023-03-16 at 10:36 PM.
    Speciation Is Gradual

  17. #37


    this thread in a nutshell

  18. #38
    Quote Originally Posted by LedZeppelin View Post


    this thread in a nutshell
    Okay, what would the LUA look like to create an addon that has a click me button that creates a reskinnable/resizable/movable frame with triggers like Show/Hide InCombat functions as a clickable option. I would also like to save the settings per character.

    Cause this is what I want without having to use a code in kgpanels to do this and weakauras is fine, but I'd rather have the functionality of weakauras in kgpanels.

    So I'm trying to figure this out on my own without having to completely copy someone else's code.

    And yeah, I'm using this new technology to do it because I learn as I go. And if you share code to Chatgpt, it retains it for the most part.

    I'm just at a point in this where I'm tired of downloading a million addons to do different things, so I'm making my own.
    Last edited by taheen74; 2023-03-22 at 01:51 PM.
    "When you've got to get down, but can't find the elevator, you have to do it any way you can. Even if it's with a shovel."- Dark Tower II: Drawing of the Three, Stephen King
    Juju's kgpanels: http://www.curse.com/addons/wow/jujus-kgpanels Juju's blog: http://mouthygoblin.weebly.com/jujus-blog.html#/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •