systemMetrics

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

systemMetrics

Post by richmond62 » Sat Jan 20, 2024 3:52 pm

Playing around with ChatGPT . . . .
-
Screenshot 2024-01-20 at 16.45.45.png
-
I could not find 'systemMetrics' in the Dictionary . . .

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: systemMetrics

Post by jacque » Sun Jan 21, 2024 7:16 pm

This is an example of hallucination, the tendency of chat bots to make up false information. I was playing with Google Bard which did the same thing. I corrected it through various interactions until it learned the language. At the end it thanked me for teaching it and said I obviously was fluent in LC script.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: systemMetrics

Post by richmond62 » Sun Jan 21, 2024 8:09 pm

Which tells me it might be easier to eschew A.I. altogether rather than spend hours training the thing. After all if one has to train the thing that completely defeats the object.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: systemMetrics

Post by jacque » Mon Jan 22, 2024 7:10 am

ChatGPT has been trained in Python and Javascript, if I remember right (or maybe that's Bard?) but LC is obscure enough it isn't in line for formal training by its makers. That's why I decided to see if it could learn from me. It was kind of fun actually. The thing caught on pretty fast.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: systemMetrics

Post by richmond62 » Mon Jan 22, 2024 9:55 am

Teaching children EFL, and, more importantly, to think critically, will do me: I'll leave teaching the robots to you. 8)

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: systemMetrics

Post by richmond62 » Mon Jan 22, 2024 11:17 am

The thing caught on pretty fast.
It caught me pretty fast with 'systemMetrics'. 8)

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: systemMetrics

Post by jacque » Mon Jan 22, 2024 11:45 pm

If anyone is interested, here's a link to a Google Docs copy of my chat with Bard:
https://docs.google.com/document/d/1SpM ... sp=sharing

My prompts are in bold. You'll notice it hallucinated a "getAllControls" function which doesn't exist in LC -- but it knew to use camel-case and parentheses. Still, I was impressed enough that I didn't proofread carefully and accidentally misguided it when asking it to only match card controls. I had to correct myself but it accomodated that well.

The only thing that bothered me was how fawning it was. A simple "oh right" would have sufficed.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: systemMetrics

Post by AndyP » Tue Jan 23, 2024 1:17 pm

I've been using chatgpt with Livecode in a different way with improving results.

I'm feeding in working python code and asking for a Livecode equivalent.

When I first started, about a month ago the results were to say the least not encouraging, with chatgpt basing results on functions that do not exist in Livecode. This has needed a lot of coaching and correction.
I've noticed recently that the results I'm getting now are improving, not so many false functions being returned, so it does look as if chatgpt is slowly learning Livecode.

This is encouraging and with more livecoders input this will only improve (as long as the information in is correct) .

It's going to take a while, but worth the effort.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”