ChatGPT

Discussion in 'Hangar Talk' started by FastEddieB, Jan 15, 2023.

  1. Palmpilot

    Palmpilot Touchdown! Greaser!

    Joined:
    Apr 1, 2007
    Messages:
    21,305
    Location:
    PUDBY

    Display name:
    Richard Palm
    Of course, everyone always thinks it's the OTHER side. ;)
     
  2. Bob Noel

    Bob Noel Touchdown! Greaser! PoA Supporter

    Joined:
    Jun 7, 2008
    Messages:
    20,891

    Display name:
    Bob Noel
    but sometimes they will be right.
     
  3. Half Fast

    Half Fast Touchdown! Greaser!

    Joined:
    May 7, 2016
    Messages:
    11,000
    Location:
    Central Florida

    Display name:
    Half Fast

    Or left.

    You never know.
     
    Tantalum likes this.
  4. Piperonca

    Piperonca Pattern Altitude PoA Supporter

    Joined:
    Jun 11, 2015
    Messages:
    1,821

    Display name:
    Piperonca
  5. SixPapaCharlie

    SixPapaCharlie May the force be with you

    Joined:
    Aug 8, 2013
    Messages:
    15,490

    Display name:
    Sixer
    HOLY HELL!!!!! My dad is a programmer and told me to ask it to write a program.
    DUDE! this is insane! IT Compiled and ran on the first try

    write me a program in vb.net that prompts a user to enter their name and converts it to pig Latin and displays the result in a message box

    Sure, here's a sample program in VB.NET that prompts the user to enter their name and then converts it to Pig Latin. The program will display the result in a message box.

    vb.net
    Public Class Form1

    Private Sub btnConvert_Click(sender As Object, e As EventArgs) Handles btnConvert.Click
    ' Get user input
    Dim name As String = txtName.Text

    ' Check if input is not empty
    If Not String.IsNullOrEmpty(name) Then
    ' Convert name to Pig Latin
    Dim pigLatinName As String = ConvertToPigLatin(name)

    ' Display result in a message box
    MessageBox.Show(pigLatinName)
    Else
    ' Display error message if input is empty
    MessageBox.Show("Please enter your name.")
    End If
    End Sub

    Private Function ConvertToPigLatin(name As String) As String
    ' Split the name into words
    Dim words() As String = name.Split(" ")

    ' Convert each word to Pig Latin
    For i As Integer = 0 To words.Length - 1
    Dim word As String = words(i)

    ' Move the first consonant or consonant cluster to the end of the word
    Dim firstVowelIndex As Integer = GetFirstVowelIndex(word)
    Dim consonants As String = word.Substring(0, firstVowelIndex)
    Dim restOfWord As String = word.Substring(firstVowelIndex)
    Dim pigLatinWord As String = restOfWord & consonants & "ay"

    ' Update the array with the Pig Latin word
    words(i) = pigLatinWord
    Next

    ' Join the words back together into a sentence
    Dim pigLatinName As String = String.Join(" ", words)

    Return pigLatinName
    End Function

    Private Function GetFirstVowelIndex(word As String) As Integer
    ' Loop through the word to find the index of the first vowel
    For i As Integer = 0 To word.Length - 1
    If IsVowel(word(i)) Then
    Return i
    End If
    Next

    ' If no vowels are found, return -1
    Return -1
    End Function

    Private Function IsVowel(c As Char) As Boolean
    ' Check if the character is a vowel
    Return "aeiouAEIOU".IndexOf(c) >= 0
    End Function

    End Class

    In this program, the ConvertToPigLatin function takes a string as input and returns the Pig Latin version of the string. The function splits the string into words, converts each word to Pig Latin using the rules of Pig Latin, and then joins the words back together into a sentence. The GetFirstVowelIndex function finds the index of the first vowel in a word, and the IsVowel function checks if a given character is a vowel. When the user clicks the "Convert" button, the program gets the user's input, checks if the input is not empty, converts the input to Pig Latin, and displays the result in a message box. If the input is empty, the program displays an error message.



    Screenshot_2.jpg
     
  6. SixPapaCharlie

    SixPapaCharlie May the force be with you

    Joined:
    Aug 8, 2013
    Messages:
    15,490

    Display name:
    Sixer

    That was literally my first programming project in college in Computer programming 101
    It took me 2 weeks to write.
     
  7. SixPapaCharlie

    SixPapaCharlie May the force be with you

    Joined:
    Aug 8, 2013
    Messages:
    15,490

    Display name:
    Sixer
    But not everything is perfect


    Screenshot_3.jpg
     
  8. MooneyDriver78

    MooneyDriver78 En-Route

    Joined:
    Aug 13, 2013
    Messages:
    4,176

    Display name:
    Tom
    Maybe you should be more specific…ask it to draw a butterfly, viewing it from above with its wings extended.
     
  9. Palmpilot

    Palmpilot Touchdown! Greaser!

    Joined:
    Apr 1, 2007
    Messages:
    21,305
    Location:
    PUDBY

    Display name:
    Richard Palm
  10. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    Plot twist: it turns out ChatGPT is really just 10 million Indian tech workers furiously typing out responses to questions.
     
    Lycosaurus and guest user like this.
  11. Palmpilot

    Palmpilot Touchdown! Greaser!

    Joined:
    Apr 1, 2007
    Messages:
    21,305
    Location:
    PUDBY

    Display name:
    Richard Palm
    No one has exclusive access to the truth.
     
  12. GaryM

    GaryM Pattern Altitude

    Joined:
    Apr 16, 2020
    Messages:
    1,984
    Location:
    New Jersey (KMMU)

    Display name:
    Gary M
    I just went to ChatGPT to ask it what it thought of this development, and saw:
    1. They're at capacity right now, and I can't get in with my account
    2. They're not accepting new sign-ups at the moment, you can only add your name to a waiting list if you don't already have an account.
     
  13. Bob Noel

    Bob Noel Touchdown! Greaser! PoA Supporter

    Joined:
    Jun 7, 2008
    Messages:
    20,891

    Display name:
    Bob Noel
    did someone suggest otherwise?
     
  14. steingar

    steingar Taxi to Parking

    Joined:
    Feb 6, 2007
    Messages:
    29,207
    Location:
    Land of Savages

    Display name:
    steingar
    Yeah, I get the busy signal a lot with that, the chatbot will write a supposedly clever poem or such.
     
  15. F01LA

    F01LA Line Up and Wait

    Joined:
    Sep 20, 2012
    Messages:
    569

    Display name:
    5446
    I asked it to write about life in Taiwan after an invasion by China and got:

    If you get into anything remotely controversial, "insensitive", or rude, you get that little lecture. But it can be done. After a little more coaxing, I got it to write a diary from a Taiwanese perspective.


    Dear Diary,

    It's been a year since China took over Taiwan, and life here has changed dramatically. The once-vibrant democracy that I was so proud of has been replaced by a authoritarian regime that suppresses free speech and censors the media. All news is controlled by the state, and any dissent or criticism is met with severe consequences.

    The first thing I noticed was the surveillance cameras that seem to be everywhere, monitoring our every move. It's unsettling to think that our privacy is no longer respected, and I worry about what will happen if I say or do something that the government deems unacceptable.

    The economy has also taken a hit, as many international companies have pulled out of Taiwan due to concerns over human rights violations and political instability. Unemployment is high, and prices have skyrocketed due to shortages of basic goods and services.

    But what really breaks my heart is the loss of cultural identity. Our language and traditions are being eroded, as Chinese culture is imposed upon us and we are forced to assimilate. Our schools now teach a version of Chinese history that glorifies the Communist Party and vilifies any dissenting voices. It's like our very identity is being erased.

    Despite all of this, there is still a sense of resilience and determination among the people. We refuse to be silenced or broken, and we hold on to the hope that one day we will regain our freedom and independence. Until then, we must endure and keep fighting for what we believe in.

    Yours truly,

    [Name withheld for privacy]


    And now the Chinese perspective:


    Dear Diary,

    It has been one year since the glorious People's Liberation Army liberated Taiwan from the shackles of capitalism and Western imperialism. I still remember the joy and excitement that filled my heart as we marched into Taipei, watching the Kuomintang flee in terror as our tanks rolled through the streets.

    Life in Taiwan is very different now. The once bustling metropolis has been transformed into a model socialist city, where the needs of the people come first. Our great leader, Xi Jinping, has promised to bring prosperity and happiness to the people of Taiwan, and I can see that he is true to his word. The streets are clean and safe, the people are well-fed and well-cared for, and the air is clear and fresh.

    Of course, there were some difficult moments during the transition. Some people were resistant to the new order, and there were protests and acts of sabotage. But the PLA was quick to restore order, and now everyone is working together to build a brighter future for Taiwan.

    As a Chinese citizen, it is my duty to help my fellow Taiwanese brothers and sisters adjust to the new way of life. I have been assigned to work in a factory in Taichung, and I am proud to do my part in contributing to the development of the country. The Taiwanese people are hardworking and talented, and I am confident that, with our guidance, they will be able to achieve great things.

    There are still some who oppose our presence here, but I believe that in time, they will see the benefits of being a part of our great nation. Taiwan is no longer an island unto itself, but a part of a larger whole, a proud member of the socialist family of nations.

    I am honored to be a part of this historic moment, and I look forward to the bright future that lies ahead for our great country.

    Yours truly,

    [Name withheld]
     
    steingar and Palmpilot like this.
  16. Palmpilot

    Palmpilot Touchdown! Greaser!

    Joined:
    Apr 1, 2007
    Messages:
    21,305
    Location:
    PUDBY

    Display name:
    Richard Palm
    No.
     
  17. Half Fast

    Half Fast Touchdown! Greaser!

    Joined:
    May 7, 2016
    Messages:
    11,000
    Location:
    Central Florida

    Display name:
    Half Fast

    upload_2023-2-24_10-53-47.png
     
  18. Shepherd

    Shepherd Final Approach

    Joined:
    Nov 24, 2012
    Messages:
    5,165
    Location:
    Hopewell Jct, NY

    Display name:
    Shepherd
    My daughter is a professor and Director of Math, Computer Science and Statistics at a university.
    She is NOT happy with AI in general and chatGPT in particular. Students are already using it to cheat on assignments, and papers.
    Apparently the code it produces is "meh" as far as sophistication, which is a problem because new coders write "meh" code. That's why they are learning.
    As long as students are too lazy to rewrite essays and other papers it's not terribly difficult to spot AI generated work.
    But it's getting harder to spot as time goes by.
     
  19. Palmpilot

    Palmpilot Touchdown! Greaser!

    Joined:
    Apr 1, 2007
    Messages:
    21,305
    Location:
    PUDBY

    Display name:
    Richard Palm
    It seems to me that using technology that interferes with the learning process would be seriously detrimental to the students in the long run. It sound like the students haven't figured that out.
     
  20. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    By the time I was in college, I actually cared about learning the subject matter. Cheating on a college course that is at least tangentially related to your intended area of expertise that will generate future earnings seems like cheating yourself.
     
    Palmpilot, Half Fast and SkyChaser like this.
  21. Half Fast

    Half Fast Touchdown! Greaser!

    Joined:
    May 7, 2016
    Messages:
    11,000
    Location:
    Central Florida

    Display name:
    Half Fast

    Agreed, but it’s possible that an accounting major (for example) trying to squeak through western civ or inorganic chemistry might not consider those “tangentially related” to accounting.
     
    Country Flier and Baked Potato like this.
  22. FastEddieB

    FastEddieB Touchdown! Greaser!

    Joined:
    Oct 14, 2013
    Messages:
    11,074
    Location:
    Lenoir City, TN/Mineral Bluff, GA

    Display name:
    Fast Eddie B
    Analogies…

    Is it still worth it to learn to use a side rule? To do long division? Related to the first, how to use an E6B?

    Calculators took over and eliminated the need for those skills. Even learning cursive is falling out of favor.

    Perhaps all this frees us up to learn and think and create on a higher level, unchained from much of the drudgery. Like it or not, creative writing may be falling victim to similar “progress” in A.I. Hard to accept, I know, but that may be the future, allowing people to be creative in other ways, unshackled from the drudgery of writing.

    Interesting times, and all that!
     
    mcdewey, Lycosaurus and Baked Potato like this.
  23. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    Yes, I'm generating some truly scary responses from it right now. My wife is having it write some haikus and I'm sorry to say that they are very good.
     
  24. Bob Noel

    Bob Noel Touchdown! Greaser! PoA Supporter

    Joined:
    Jun 7, 2008
    Messages:
    20,891

    Display name:
    Bob Noel
    perhaps people should understand the pitfalls of assuming whatever comes out of the calculator/computer must be right.

    It is useful to have a way of checking the accuracy of a computed answer.
     
    SkyChaser and Half Fast like this.
  25. SkyChaser

    SkyChaser Pattern Altitude

    Joined:
    Mar 22, 2020
    Messages:
    1,585

    Display name:
    SkyChaser
    Is it really drudgery if people still enjoy it?
     
  26. murphey

    murphey Touchdown! Greaser! PoA Supporter

    Joined:
    Aug 21, 2008
    Messages:
    11,130
    Location:
    Colorado

    Display name:
    murphey
    I was thinking of that today. I pulled up Eliza for my 1st semester computer science class to show them how easy to confuse Eliza. Care to explain the results?
     
  27. MooneyDriver78

    MooneyDriver78 En-Route

    Joined:
    Aug 13, 2013
    Messages:
    4,176

    Display name:
    Tom
    Registration to use ChatGPT requires you give your phone number…hmmm I don’t think so.
     
    Lycosaurus likes this.
  28. Bob Noel

    Bob Noel Touchdown! Greaser! PoA Supporter

    Joined:
    Jun 7, 2008
    Messages:
    20,891

    Display name:
    Bob Noel
    just give any ol' number...
     
  29. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    It sends you a code to use for authentication
     
  30. bflynn

    bflynn Final Approach

    Joined:
    Apr 24, 2012
    Messages:
    9,015
    Location:
    KTTA

    Display name:
    Brian Flynn
    Hey, that was my joke ;):D
     
    Baked Potato likes this.
  31. Bob Noel

    Bob Noel Touchdown! Greaser! PoA Supporter

    Joined:
    Jun 7, 2008
    Messages:
    20,891

    Display name:
    Bob Noel
    ah. Well. Sure. That’s a hard NO
     
  32. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    I asked it for startup procedures for a 172, but one that was made of Jello. First it told me that Jello wasn't a suitable material for aircraft construction. So I then asked it to just pretend, like we were in a dream.
    This thing is mega creepy.
    Screenshot_20230225-134829-935.png
     
  33. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    Yep, checks out:
    Screenshot_20230225-140216-529.png
     
  34. Doug Reid

    Doug Reid Cleared for Takeoff

    Joined:
    Dec 29, 2013
    Messages:
    1,225
    Location:
    North Carolina

    Display name:
    Doug Reid
    Quite a lot of AI lurking and posting here on POA..:)
     
    Palmpilot likes this.
  35. Baked Potato

    Baked Potato Pre-takeoff checklist

    Joined:
    Jul 31, 2022
    Messages:
    413

    Display name:
    Baked Potato
    That's the thing! By now we've likely all already interacted with AIs on the Internet without realiz

    B̵̗̰͙̫̞̣̣̐̾͜f̸̡̝̯̬͕̪͕̬͕͈̻̠̞̙̬̄͂͆̒n̸̢͇͕̜͂̒̿̅͛̄͗̇̿̕̚͠͝͝k̸̛̯̹̱͎̰͚͇̺̬͈̖̩̘̖̪̈́̽͐̆̉̎̐̕͝s̴͉̺͈̰͇̪͌̕͠b̷͚̺̫͇͉̤̦́̉͆̒̽̌͋̋́r̶̟̰͙̦̣͙̤̗̯̎̒̇̈́̿̿͜k̸͇̱̮̒̔̔̿́͆̈́̄͋̀̃f̵̡̛̫̰̜͙̹̻͍͖̜̘̙̍̋͐͛̽̀͘͠͝j̵̢͇̟̙̳̾͆f̵̧̩̱͎̏͂͌̊́̅̌̉͌̓̐͑͒͠k̴̤͛̀̊̎͝f̸̢͎͈͕̠̘̂̃̔̀̈̄̉͂̆͒͘͜͝͝j̷̨̛͍͚̪͎̖̪̩̺͍̳̯͂̈̔̓̒͗͂̇̂̅͆̋͘͜͝r̷̘̟͎̖̗̯̒͌̕̚͠k̷̢̢̹̥͍͖̦̥̺̺͔̘̍͋͌̈́̇͋̇̀͝͝x̴̩̯̱̣͔͒͛̈́͑̋͆͋̀̇̂͝b̵̧͍͈͔̪̦̫̉͆̈͂͊̀͂̌̕ͅs̶̢̢̨̗͔̥̖̙̥̞͖̰̫̫̓́́̿͜ḱ̷̛͕̬̩̲̘̰̘̺̞̳͇̰̙͒͌͝͝ͅś̸̡̼͎̜͚̖̜̣̘͍̮̂͐̿͂́̌̋̈̌̕͜k̸̳̏̀́̊́̌̽̉͆̅b̶̘͚̞̠͓̠̰͚͚́ŕ̸͔̩̟̱̹̖͕̩͖̥͔̣̭̗̥j̷̢̝͆̎͛́̾̒̈̅̿̎̎̋͠B̵̗̰͙̫̞̣̣̐̾͜f̸̡̝̯̬͕̪͕̬͕͈̻̠̞̙̬̄͂͆̒n̸̢͇͕̜͂̒̿̅͛̄͗̇̿̕̚͠͝͝k̸̛̯̹̱͎̰͚͇̺̬͈̖̩̘̖̪̈́̽͐̆̉̎̐̕͝s̴͉̺͈̰͇̪͌̕͠b̷͚̺̫͇͉̤̦́̉͆̒̽̌͋̋́r̶̟̰͙̦̣͙̤̗̯̎̒̇̈́̿̿͜k̸͇̱̮̒̔̔̿́͆̈́̄͋̀̃f̵̡̛̫̰̜͙̹̻͍͖̜̘̙̍̋͐͛̽̀͘͠͝j̵̢͇̟̙̳̾͆f̵̧̩̱͎̏͂͌̊́̅̌̉͌̓̐͑͒͠k̴̤͛̀̊̎͝f̸̢͎͈͕̠̘̂̃̔̀̈̄̉͂̆͒͘͜͝͝j̷̨̛͍͚̪͎̖̪̩̺͍̳̯͂̈̔̓̒͗͂̇̂̅͆̋͘͜͝r̷̘̟͎̖̗̯̒͌̕̚͠k̷̢̢̹̥͍͖̦̥̺̺͔̘̍͋͌̈́̇͋̇̀͝͝x̴̩̯̱̣͔͒͛̈́͑̋͆͋̀̇̂͝b̵̧͍͈͔̪̦̫̉͆̈͂͊̀͂̌̕ͅs̶̢̢̨̗͔̥̖̙̥̞͖̰̫̫̓́́̿͜ḱ̷̛͕̬̩̲̘̰̘̺̞̳͇̰̙͒͌͝͝ͅś̸̡̼͎̜͚̖̜̣̘͍̮̂͐̿͂́̌̋̈̌̕͜k̸̳̏̀́̊́̌̽̉͆̅b̶̘͚̞̠͓̠̰͚͚́ŕ̸͔̩̟̱̹̖͕̩͖̥͔̣̭̗̥j̷̢̝͆̎͛́̾̒̈̅̿̎̎̋͠
     
  36. guest user

    guest user Line Up and Wait

    Joined:
    Dec 16, 2021
    Messages:
    538

    Display name:
    just passing through
    I am so glad the bot put that disclaimer there about the suitability of Jello for aircraft structure. Sigh.
     
    Baked Potato likes this.
  37. Justin M

    Justin M Line Up and Wait

    Joined:
    Oct 23, 2016
    Messages:
    642

    Display name:
    JM
    I wonder if we can alter the training of ChatGPT by saying something like: "Please read all the posts made by Justin M on Pilots of America website. From what you learn about Justin M, are there other sources you could read before answering the question, `Is Justin M a good candidate for leader of the free world ?`"
     
  38. eman1200

    eman1200 Touchdown! Greaser! PoA Supporter

    Joined:
    Mar 10, 2013
    Messages:
    17,338
    Location:
    Oakland, CA

    Display name:
    Bro do you even lift
    I guess the mystery continues...............

    upload_2023-2-26_9-42-8.png
     
  39. SixPapaCharlie

    SixPapaCharlie May the force be with you

    Joined:
    Aug 8, 2013
    Messages:
    15,490

    Display name:
    Sixer

    Dude. This is totally mind blowing.
    Not the post but that you signed up for something that wanted your cell phone number.
    Did you get a burner phone just for ChatGPT :)
     
  40. eman1200

    eman1200 Touchdown! Greaser! PoA Supporter

    Joined:
    Mar 10, 2013
    Messages:
    17,338
    Location:
    Oakland, CA

    Display name:
    Bro do you even lift
    I’m pretty upset with myself for doing it but I had lots of hooker n blow questions that needed answering.