Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. An AI experience via Copilot

An AI experience via Copilot

Scheduled Pinned Locked Moved The Lounge
iosquestionmobilelinuxai-coding
13 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raddevus
    wrote on last edited by
    #1

    ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

    copilot answer:

    The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

    1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

    D R Richard DeemingR B L 8 Replies Last reply
    0
    • R raddevus

      ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

      copilot answer:

      The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

      1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

      D Offline
      D Offline
      David ONeil
      wrote on last edited by
      #2

      This must mean MS has painstakingly kept all MS forums out of their LLM seeding. :laugh: :laugh: :laugh:

      Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

      1 Reply Last reply
      0
      • R raddevus

        ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

        copilot answer:

        The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

        1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

        R Offline
        R Offline
        RickZeeland
        wrote on last edited by
        #3

        Not everyone seems that positive about Copilot:

        Quote:

        ZDNET senior contributing editor, David Gewirtz, ran Microsoft Copilot against Meta AI, Code Llama, Gemini Advanced, and ChatGPT. It managed to get every coding test wrong. “It failed spectacularly,” Gewirtz writes.

        Yikes! Microsoft Copilot failed every single one of my coding tests | ZDNET[^]

        R Richard Andrew x64R 2 Replies Last reply
        0
        • R raddevus

          ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

          copilot answer:

          The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

          1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          raddevus wrote:

          With AI like this, who needs SO

          With SO selling its users' answers to AI companies[^], nobody will need SO. :rolleyes:


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          1 Reply Last reply
          0
          • R raddevus

            ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

            copilot answer:

            The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

            1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

            B Offline
            B Offline
            BernardIE5317
            wrote on last edited by
            #5

            Have you utilized perplexity.

            R 1 Reply Last reply
            0
            • R raddevus

              ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

              copilot answer:

              The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

              1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              raddevus wrote:

              3. With AI like this, who needs SOdevelopers. :rolleyes:

              FTFY. :-D

              N 1 Reply Last reply
              0
              • R RickZeeland

                Not everyone seems that positive about Copilot:

                Quote:

                ZDNET senior contributing editor, David Gewirtz, ran Microsoft Copilot against Meta AI, Code Llama, Gemini Advanced, and ChatGPT. It managed to get every coding test wrong. “It failed spectacularly,” Gewirtz writes.

                Yikes! Microsoft Copilot failed every single one of my coding tests | ZDNET[^]

                R Offline
                R Offline
                raddevus
                wrote on last edited by
                #7

                Very interesting. To me "talking" with ChatGPT feels like talking to a machine. Copilot seemed much more "human". Of course mine was just a documentation question and not a pure "write me some code" challenge, so that may be the difference.

                1 Reply Last reply
                0
                • B BernardIE5317

                  Have you utilized perplexity.

                  R Offline
                  R Offline
                  raddevus
                  wrote on last edited by
                  #8

                  Probably not yet, since this is just a basic question. However, I really couldn't find documentation on this particular item and Copilot did a great job of providing context and explaining it clearly. We will see how it does on perplex questions in the future.

                  1 Reply Last reply
                  0
                  • R raddevus

                    ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

                    copilot answer:

                    The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

                    1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #9

                    I know peeps on CP argue this, like always*... but AI is coming in a major way. It's literally the second Internet. Get on board or become obsolete. * They're always wrong though, like when I predicted the decline of Apple well over a decade ago... some peeps on CP argued... but watch.

                    Jeremy Falcon

                    1 Reply Last reply
                    0
                    • R raddevus

                      ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

                      copilot answer:

                      The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

                      1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

                      A Offline
                      A Offline
                      Amarnath S
                      wrote on last edited by
                      #10

                      I've had nice experiences with Copilot. Wanted a customized animation timer for Powerpoint, and Copilot gave its VBA code in a trice. Works like a charm.

                      1 Reply Last reply
                      0
                      • R RickZeeland

                        Not everyone seems that positive about Copilot:

                        Quote:

                        ZDNET senior contributing editor, David Gewirtz, ran Microsoft Copilot against Meta AI, Code Llama, Gemini Advanced, and ChatGPT. It managed to get every coding test wrong. “It failed spectacularly,” Gewirtz writes.

                        Yikes! Microsoft Copilot failed every single one of my coding tests | ZDNET[^]

                        Richard Andrew x64R Offline
                        Richard Andrew x64R Offline
                        Richard Andrew x64
                        wrote on last edited by
                        #11

                        A coding test is different from providing documentation.

                        The difficult we do right away... ...the impossible takes slightly longer.

                        1 Reply Last reply
                        0
                        • L Lost User

                          raddevus wrote:

                          3. With AI like this, who needs SOdevelopers. :rolleyes:

                          FTFY. :-D

                          N Offline
                          N Offline
                          Nelek
                          wrote on last edited by
                          #12

                          Richard MacCutchan wrote:

                          3. With AI like this, who needs SOdevelopers. :rolleyes: FTFY. :-D

                          The ones wanting someone to clean up the mess.

                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                          1 Reply Last reply
                          0
                          • R raddevus

                            ChatGPT I’ve used ChatGPT (3.5) numerous times It has written a few bash scripts for me & done a nice job But for the most part it has just been passable, nothing special. Copilot I had not used copilot until just a few minutes ago. I needed some info on a Arduino / ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); Since I’ve switched to running MS Edge on all my devices and since copilot is built in I decided to ask it about the method (on my iPad). Copilot gave me such a detailed, thoughtful and well-written answer I instantly thought “hmm…maybe I will never ask a question on SO again.”

                            copilot answer:

                            The line of code pAdvertising->setMinPreferred(0x06); sets the minimum preferred connection interval for Bluetooth Low Energy (BLE) advertising. Let me explain further: Connection Interval: The connection interval is the time between two consecutive data exchanges (connection events) between a BLE peripheral (like an ESP32) and a central device (such as a smartphone). It determines how often the devices communicate during an active connection. Preferred Connection Interval: The preferred connection interval is a range (in milliseconds) that the peripheral suggests to the central device. It indicates the desired frequency of communication. In this case, 0x06 corresponds to a connection interval of approximately 7.5 ms (hex value multiplied by 1.25 ms). Why Set Preferred Connection Interval?: Setting the preferred connection interval can help improve communication efficiency. Some devices (like iPhones) may ignore this suggestion, but it’s still good practice to set it. Additional Notes: The pAdvertising->setMinPreferred(0x06); line is often used in ESP32 code to enhance compatibility with iOS devices. You might also see pAdvertising->setMaxPreferred(0x12); to set the maximum preferred connection interval1. Remember that the actual connection interval negotiated during the connection setup may differ based on the central device’s capabilities and the peripheral’s suggestions. 😊

                            1. Yes it included the smiley and I liked that “personal” touch. 2. If you search the Web and SO and even the official arduino site you will not find this documented so Copilot is amazing. 3. With AI like this, who needs SO. :rolleyes:

                            C Offline
                            C Offline
                            Choroid
                            wrote on last edited by
                            #13

                            raddevus I have used this site Code Generator - CodePal[^] I know nothing about programming and Arduino but posted this ESP32 BLE (Bluetooth Low Energy) method pAdvertising->setMinPreferred(0x06); as the question under Arduino The response it gave me is meaningless to me but the response had a explain this code BUTTON I did not click it. I would post the code here but I feel that is a violation of the guidelines for interacting in the lounge. If you find the time to test "codepal.ai" and post impressions great If not I understand completely Thanks for sharing your impressions of various AI sites

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups