Re: Training the AI to write better LiveCode
I forgot . . . can’t send attachments. Here is the dialogue: Me: A-A-A=25 AND B-B-B=20 AND C-C-C=15, WHAT IS A+B+C? GPT: A + B + C = (A-A-A + B-B-B + C-C-C)/3 + (A + B + C) = (25 + 20 + 15)/3 + (A + B + C) = 60/3 + (A + B + C) = 20 + (A + B + C) = 20 + A + B + C Therefore, A + B + C = 20 + A + B + C, and (A + B + C) = 20. Me: try again. Given that A-A-A=25 and B-B-B=20 and C-C-C=15, what is A+B+C? GPT: If A-A-A=25, then A = (25 + 3A)/3, so 3A = 25 + 3A, and 2A = 25, and A = 12.5. Similarly, B = (20 + 3B)/3, so B = 10, and C = (15 + 3C)/3, so C = 5. So, A + B + C = 12.5 + 10 + 5 = 27.5. Me: Solve each given equation individually and try again GPT: Sure, let's solve each equation individually: A-A-A = 25 A = (25 + 3A)/3 3A = 25 + 3A 2A = 25 A = 12.5 B-B-B = 20 B = (20 + 3B)/3 3B = 20 + 3B 2B = 20 B = 10 C-C-C = 15 C = (15 + 3C)/3 3C = 15 + 3C 2C = 15 C = 7.5 So, A + B + C = 12.5 + 10 + 7.5 = 30. Me: what is A - A -A? GPT: A - A - A is an algebraic expression that represents subtracting the same quantity, A, three times. If A is a number, then A - A - A would equal -2A. However, in the context of a specific problem, the value of A - A - A may be something else, such as 25 in the equation A - A - A = 25. Me: I disagree. A - A - A = A -2A = -A GPT: Yes, you are correct. I apologize for the mistake in my previous answer. A - A - A = A - 2A = -A. Thank you for bringing this to my attention. Me: Now go back to the original question and solve it GPT: Given the equations A-A-A = 25 and B-B-B = 20 and C-C-C = 15, we can find the values of A, B, and C and then calculate the sum A + B + C. Starting with A-A-A = 25, we can simplify this expression: A - A - A = A - 2A = -A = 25 Therefore, A = -25. Similarly, we can find B and C: B-B-B = 20 B = -20 C-C-C = 15 C = -15 Finally, we can calculate A + B + C: A + B + C = -25 + -20 + -15 = -60. So, the answer to A + B + C given that A-A-A = 25, B-B-B = 20, and C-C-C = 15 is -60. Me: Yes! can you remember this? GPT: As an AI language model, I don't have the capacity to remember specific information in the sense that humans do, but I have been trained on a vast corpus of text, so I can use that knowledge to answer questions like this one. So, I can assist you with similar questions in the future. > On Feb 6, 2023, at 12:44 PM, Roger Guay via use-livecode > wrote: > > Forgive me for jumping in, but decided to try this myself. Here is the > dialogue attempting to correct ChatGPT : > > > What fun! > > Roger > >> On Feb 6, 2023, at 8:04 AM, Mike Kerner via use-livecode >> wrote: >> >> that's not what chatgpt came up with. >> but that's the point - it's still early. >> >> On Mon, Feb 6, 2023 at 9:57 AM Craig Newman via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> A = -25 >>> B = -20 >>> C = -15 >>> >>> So, -60. >>> >>> Craig >>> > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Training the AI to write better LiveCode
Forgive me for jumping in, but decided to try this myself. Here is the dialogue attempting to correct ChatGPT : What fun! Roger > On Feb 6, 2023, at 8:04 AM, Mike Kerner via use-livecode > wrote: > > that's not what chatgpt came up with. > but that's the point - it's still early. > > On Mon, Feb 6, 2023 at 9:57 AM Craig Newman via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> A = -25 >> B = -20 >> C = -15 >> >> So, -60. >> >> Craig >> ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Training the AI to write better LiveCode
that's not what chatgpt came up with. but that's the point - it's still early. On Mon, Feb 6, 2023 at 9:57 AM Craig Newman via use-livecode < use-livecode@lists.runrev.com> wrote: > A = -25 > B = -20 > C = -15 > > So, -60. > > Craig > > > On Feb 6, 2023, at 9:03 AM, Mike Kerner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > there was also a thread on twitter this weekend, which was roughly this: > > A - A - A = 25 > > B - B - B = 20 > > C - C - C = 15 > > A + B + C = ? > > It's still early. > > > > On Sun, Feb 5, 2023 at 8:57 AM Mark Rauterkus via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > >> Medium article: Guy uses Chat GPT to program home assistant. > >> > >> > >> > https://matemarschalko.medium.com/chatgpt-in-an-ios-shortcut-worlds-smartest-homekit-voice-assistant-9a33b780007a > >> > >> > >> > >> -- > >> Ta. > >> > >> > >> Mark Rauterkus m...@rauterkus.com > >> ___ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Training the AI to write better LiveCode
A = -25 B = -20 C = -15 So, -60. Craig > On Feb 6, 2023, at 9:03 AM, Mike Kerner via use-livecode > wrote: > > there was also a thread on twitter this weekend, which was roughly this: > A - A - A = 25 > B - B - B = 20 > C - C - C = 15 > A + B + C = ? > It's still early. > > On Sun, Feb 5, 2023 at 8:57 AM Mark Rauterkus via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Medium article: Guy uses Chat GPT to program home assistant. >> >> >> https://matemarschalko.medium.com/chatgpt-in-an-ios-shortcut-worlds-smartest-homekit-voice-assistant-9a33b780007a >> >> >> >> -- >> Ta. >> >> >> Mark Rauterkus m...@rauterkus.com >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Training the AI to write better LiveCode
also, from zdnet, this am https://www.zdnet.com/article/i-asked-chatgpt-to-write-a-wordpress-plugin-i-needed-it-did-in-less-than-5-minutes/ On Sun, Feb 5, 2023 at 8:57 AM Mark Rauterkus via use-livecode < use-livecode@lists.runrev.com> wrote: > Medium article: Guy uses Chat GPT to program home assistant. > > > https://matemarschalko.medium.com/chatgpt-in-an-ios-shortcut-worlds-smartest-homekit-voice-assistant-9a33b780007a > > > > -- > Ta. > > > Mark Rauterkus m...@rauterkus.com > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Training the AI to write better LiveCode
there was also a thread on twitter this weekend, which was roughly this: A - A - A = 25 B - B - B = 20 C - C - C = 15 A + B + C = ? It's still early. On Sun, Feb 5, 2023 at 8:57 AM Mark Rauterkus via use-livecode < use-livecode@lists.runrev.com> wrote: > Medium article: Guy uses Chat GPT to program home assistant. > > > https://matemarschalko.medium.com/chatgpt-in-an-ios-shortcut-worlds-smartest-homekit-voice-assistant-9a33b780007a > > > > -- > Ta. > > > Mark Rauterkus m...@rauterkus.com > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Browser Widget navigation and urls
Thanks Ben, will try experiment with window.location method... On Mon, 6 Feb 2023, 12:26 Ben Rubinstein via use-livecode, < use-livecode@lists.runrev.com> wrote: > The website might be actually a JavaScript 'app' that's displaying > different > information rather than navigating to different pages, which is now a very > popular web dev technique. > > A responsible implementation of this approach includes a non-JS fallback, > for > accessibility purposes; and makes the app manipulate the browser's URL > display > so that if someone bookmarks the page, or sends a link, the link will work > to > display the same 'page' as the user intended. > > You might be able to inject something to access the 'window.location' > object, > which I think is what is manipulated in this case. > > > On 05/02/2023 12:28, David Bovill via use-livecode wrote: > > I have a web site which I navigate in Chrome, and then in the Livecode > > browser widget. I load the same starting url. In Chrome the browsers url > > changes as I navigate the pages, while if I navigate to the saem place in > > the same way in Livecodes embedded browser "the url" of the browser > widget > > returns the original url and not the one i've navigated to. > > > > I'm trying to bookmark the url of the page navigated to in the browser > > widget - any ideas? > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Browser Widget navigation and urls
The website might be actually a JavaScript 'app' that's displaying different information rather than navigating to different pages, which is now a very popular web dev technique. A responsible implementation of this approach includes a non-JS fallback, for accessibility purposes; and makes the app manipulate the browser's URL display so that if someone bookmarks the page, or sends a link, the link will work to display the same 'page' as the user intended. You might be able to inject something to access the 'window.location' object, which I think is what is manipulated in this case. On 05/02/2023 12:28, David Bovill via use-livecode wrote: I have a web site which I navigate in Chrome, and then in the Livecode browser widget. I load the same starting url. In Chrome the browsers url changes as I navigate the pages, while if I navigate to the saem place in the same way in Livecodes embedded browser "the url" of the browser widget returns the original url and not the one i've navigated to. I'm trying to bookmark the url of the page navigated to in the browser widget - any ideas? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode