Re: ChatGPT examples

2023-01-20 Thread Alex Tweedly via use-livecode
On 20/01/2023 18:26, Geoff Canyon via use-livecode wrote: I'm sure someone has done the work to create a more efficient algorithm for this. Off the top of my head if I were trying to I'd probably do something like: Hmmm. Maybe. But I kind of doubt it (though I'd love to find out I'm wrong).

RE: Standalone riddle

2023-01-20 Thread Ralph DiMola via use-livecode
Already snoozing. Thanks Mark! From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, January 20, 2023 4:47 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Standalone riddle On 1/20/23 2:36 AM, Mark Waddingham via

Re: Standalone riddle

2023-01-20 Thread J. Landman Gay via use-livecode
On 1/20/23 2:36 AM, Mark Waddingham via use-livecode wrote: On 2023-01-17 21:39, J. Landman Gay via use-livecode wrote: That's true, but is there a way to avoid including the remote debugger in a test app when the device is cabled to the computer? I think you just need to ensure 'Script Debug

Re: ChatGPT examples

2023-01-20 Thread Alex Tweedly via use-livecode
Duh. What part of Sod's Law says that you always see a bug the first time you look at your own code *after* you've made the code public :-( The 'sort' command below needs to be a numeric sort sort pLines by item 1 of each   ->   sort pLines numeric by item 1 of each Sorry, Alex.

Re: Maximum field size

2023-01-20 Thread J. Landman Gay via use-livecode
Actually, that wasn't me, it was someone else. I can't swim. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 20, 2023 1:43:39 PM Richard Gaskin via use-livecode wrote: As for field limits, I believe Jacque summarized them

Re: Maximum field size

2023-01-20 Thread Richard Gaskin via use-livecode
David Epstein wrote: > Richard Gaskin asks “Why?” > > I have developed a set of routines to analyze tabular data. For KB > or MB-sized files, it is convenient to display them in a field. It > would be simplest if I could also load GB-sized files and use my > routines unchanged, but I accept

Re: Training the AI to write better LiveCode

2023-01-20 Thread Richard Gaskin via use-livecode
If ChatGPT can write script, it can write machine code. If it can write machine code, scripting is unnecessary. If scripting goes, so goes scripting tools. So before we donate much time to providing index fodder for the owners of ChatGPT, we might ask whether this is an investment we want to

Re: Training the AI to write better LiveCode

2023-01-20 Thread J. Landman Gay via use-livecode
According to Heather, chatGPT only learns from your current session. If you want it to retain what you've taught it for use by others, you have to submit the session on the website form. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On

Re: Maximum field size

2023-01-20 Thread J. Landman Gay via use-livecode
I was going to suggest polyGrid. I used it when it was still in development to solve the text overrun problem. It works like the datagrid, only loading the visible text in batches as you scroll and performs very well. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: Training the AI to write better LiveCode

2023-01-20 Thread Mark Smith via use-livecode
 > On 20 Jan 2023, at 6:04 pm, Tom Glod via use-livecode > wrote: > > This is what it wrote when displaying a "too busy page". Brilliant. > > Write a guided meditation about the status of ChatGPT. > As you read this message, please take a moment to pause and breathe. Notice > the sensations

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
I'm sure someone has done the work to create a more efficient algorithm for this. Off the top of my head if I were trying to I'd probably do something like: 1. Grab two points at random (in case the points are pre-sorted in some way) and get the distance. 2. Assume that's a reasonable average

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
Whoa, TIL. Of course ChatGPT was easily able to make the substitution. I've updated the doc. gc On Fri, Jan 20, 2023 at 9:46 AM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > On 20/01/2023 15:55, Geoff Canyon via use-livecode wrote: > > > Responses inline: > > > > On

Re: ChatGPT examples

2023-01-20 Thread Alex Tweedly via use-livecode
On 20/01/2023 16:52, Mark Waddingham via use-livecode wrote: On 2023-01-20 13:05, Alex Tweedly via use-livecode wrote: We need a better algorithm. If we use a "linear scan", we can change it from essentially Order(N**2) to approx Order(N). Slightly pedantic point (I appreciate that you did

Re: Training the AI to write better LiveCode

2023-01-20 Thread Tom Glod via use-livecode
This is what it wrote when displaying a "too busy page". Brilliant. Write a guided meditation about the status of ChatGPT. As you read this message, please take a moment to pause and breathe. Notice the sensations in your body and the rhythm of your breath. Remind yourself that you are not alone

Re: Training the AI to write better LiveCode

2023-01-20 Thread Tom Glod via use-livecode
:mind blown emoji On Fri, Jan 20, 2023 at 9:39 AM Ludovic THEBAULT via use-livecode < use-livecode@lists.runrev.com> wrote: > Hello, > > Can anyone verify that the corrections I reported to ChatGPT have been > taken into account? > I asked ChatGPT how to geolocate, but it gave me several bad

Re: ChatGPT examples

2023-01-20 Thread Alex Tweedly via use-livecode
On 20/01/2023 15:55, Geoff Canyon via use-livecode wrote: Responses inline: On Fri, Jan 20, 2023 at 5:06 AM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: I thought of this -- especially since ChatGPT's first (python-esque) example uses "inf" -- but what would you use

Re: ChatGPT examples

2023-01-20 Thread Mark Waddingham via use-livecode
On 2023-01-20 13:05, Alex Tweedly via use-livecode wrote: We need a better algorithm. If we use a "linear scan", we can change it from essentially Order(N**2) to approx Order(N). Slightly pedantic point (I appreciate that you did say 'approx')... Sorting can not be done in any less time than

Re: ChatGPT examples

2023-01-20 Thread Bob Sneidar via use-livecode
Doomed, like the guys who left their weapons behind ended up facing their own weapons later. Bob S On Jan 20, 2023, at 07:56 , Geoff Canyon via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On Fri, Jan 20, 2023 at 6:57 AM Craig Newman via use-livecode <

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
On Fri, Jan 20, 2023 at 6:57 AM Craig Newman via use-livecode < use-livecode@lists.runrev.com> wrote: > Geoff. > > Startling, and beautifully presented. > > I had no idea ChatGPT was that powerful and knowledgeable. > > We are doomed. > > Craig > Doomed like the guys walking behind the horses

Re: ChatGPT examples

2023-01-20 Thread Geoff Canyon via use-livecode
Responses inline: On Fri, Jan 20, 2023 at 5:06 AM Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > Fascinating. Thank you so much for that Geoff. > > I've been afraid to play with ChatGPT so far - too worried abut getting > sucked in and spending way too much time > >

Re: Maximum field size

2023-01-20 Thread David Epstein via use-livecode
My testing attempts, like Bernd’s, show that the important “limits” are not just what LC can display in a field but what it can display without making things too slow. I am also wondering if the new polyGrid has different characteristics, either its absolute limits or its performance when

Re: ChatGPT examples

2023-01-20 Thread Craig Newman via use-livecode
Geoff. Startling, and beautifully presented. I had no idea ChatGPT was that powerful and knowledgeable. We are doomed. Craig > On Jan 20, 2023, at 8:05 AM, Alex Tweedly via use-livecode > wrote: > > Fascinating. Thank you so much for that Geoff. > > I've been afraid to play with ChatGPT

Re: Training the AI to write better LiveCode

2023-01-20 Thread Ludovic THEBAULT via use-livecode
Hello, Can anyone verify that the corrections I reported to ChatGPT have been taken into account? I asked ChatGPT how to geolocate, but it gave me several bad suggestions for commands that didn't exist : - mobileControlCreate « geoControl" - put mobileGetGPS() - put geolocation() - put

Re: ChatGPT examples

2023-01-20 Thread Alex Tweedly via use-livecode
Fascinating. Thank you so much for that Geoff. I've been afraid to play with ChatGPT so far - too worried abut getting sucked in and spending way too much time I did take a look at your third example (since I can never resist a performance challenge :-) There are a number of minor

Re: ChatGPT examples

2023-01-20 Thread Heather Laine via use-livecode
Geoff... Wow. Pretty please, can I have permission to turn that document into a blog post? It's fantastic and deserves to reach a wider audience. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 20 Jan 2023, at 06:02, Geoff Canyon via

Re: Standalone riddle

2023-01-20 Thread Mark Waddingham via use-livecode
On 2023-01-17 21:39, J. Landman Gay via use-livecode wrote: That's true, but is there a way to avoid including the remote debugger in a test app when the device is cabled to the computer? I think you just need to ensure 'Script Debug Mode' is turned off before clicking Test. (The remote