Re: Standalone riddle

2023-01-14 Thread J. Landman Gay via use-livecode
On 1/14/23 1:55 AM, Geoff Canyon via use-livecode wrote: This doesn't solve the puzzle, but: use a stack property to store the value instead? The value is entered correctly and displays after I dismiss the error dialog. I have finally found where the issue is, but I don't know why it happens.

Re: Training the AI to write better LiveCode

2023-01-14 Thread Kaveh via use-livecode
I just tried Google to the answer to a problem. Didn't get it first time, so tried ChatGPT. I asked: *How do I add a button to a group in LiveCode using a script?* I got: *create button "myButton" in group "myGroup"* *This command creates a new button object with the name "myButton" and places

Re: Training the AI to write better LiveCode

2023-01-14 Thread Geoff Canyon via use-livecode
On Sat, Jan 14, 2023 at 9:44 AM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > > Keep in mind,though, that there's lots of example fizzbuzz code for the > algorithms to draw from. > Definitely. I'll have to think about a (possibly) original challenge. gc _

Re: Training the AI to write better LiveCode

2023-01-14 Thread Geoff Canyon via use-livecode
On Sat, Jan 14, 2023 at 12:08 PM Mark Smith wrote: > > Quite weird for me to comprehend how it knows that. Unless of course, you > were somehow more specific than your examples illustrate. > I posted the exact prompts I gave it, no hidden tricks :-) __

Re: Training the AI to write better LiveCode

2023-01-14 Thread Mark Smith via use-livecode
Thanks for posting this Geoff. It’s the first time I've seen a ongoing dialog between a programmer and Chat GPT and the first thing I am struck by (but not the only thing) is it’s ability to deal with human ambiguity. For example, you ask it to modify the code to be an “on mouseUp handler in a b

Re: Training the AI to write better LiveCode

2023-01-14 Thread Mark Smith via use-livecode
We live in interesting times. > On 14 Jan 2023, at 3:22 am, Geoff Canyon via use-livecode > wrote: > > So just now I put this in to chatgpt: > > "fizz bin" is a program that counts from 1 to 100, replacing every number > divisible by 5 with "fizz" and every number divisible by 7 with "bin"; a

Re: Training the AI to write better LiveCode

2023-01-14 Thread harrison--- via use-livecode
The rules for fizzbin were intended to be complex, so that Kirk could lull his audience into lowering their defenses long enough to be overwhelmed. The game can be played with a standard Earth deck of cards, despite the slightly differing deck on Beta Antares IV

Re: Training the AI to write better LiveCode

2023-01-14 Thread harrison--- via use-livecode
I charge all of my clients for training. I charge a lot more to train Artificial Intelligence Chatbots! Unfortunately, chatbots don’t yet know how to pay me, and until someone is willing to pay me to train it, that isn’t going to happen. Until they are willing and able to pay me for training, I

Re: Training the AI to write better LiveCode

2023-01-14 Thread Mark Wieder via use-livecode
On 1/14/23 09:30, Geoff Canyon via use-livecode wrote: On Fri, Jan 13, 2023 at 7:22 PM Geoff Canyon wrote: If I were writing it, I'd probably do something like [my code] That might be a bit faster, but probably not as clear. I just checked, and my code is about 20% *slower* and still les

Re: Training the AI to write better LiveCode

2023-01-14 Thread Geoff Canyon via use-livecode
On Fri, Jan 13, 2023 at 7:22 PM Geoff Canyon wrote: > > If I were writing it, I'd probably do something like > > [my code] > > That might be a bit faster, but probably not as clear. > I just checked, and my code is about 20% *slower* and still less clear. Good grief, I'm about to be replaced by

Re: Training the AI to write better LiveCode

2023-01-14 Thread Mark Wieder via use-livecode
On 1/14/23 03:35, Beda via use-livecode wrote: It seems to be more inspiring for me than talking to a rubber duck sitting on my desk, at least for simple problems. For harder problems there will be, hopefully for ever, the user forum and this newslist. I am *not* giving up my rubber duck. -

Re: Training the AI to write better LiveCode

2023-01-14 Thread Beda via use-livecode
It seems to be more inspiring for me than talking to a rubber duck sitting on my desk, at least for simple problems. For harder problems there will be, hopefully for ever, the user forum and this newslist. Beda Am 14.01.23 um 11:17 schrieb Kaveh via use-livecode: Quite incredible! It might

Re: Training the AI to write better LiveCode

2023-01-14 Thread Kaveh via use-livecode
Quite incredible! It might be that LiveCode's simple syntax is best suited to ChatGPT. On Sat, 14 Jan 2023 at 03:24, Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > So just now I put this in to chatgpt: > > "fizz bin" is a program that counts from 1 to 100, replacing ever