Re: answer "bla bla" in LC serverscript
@Klaus major-k Is the web form written in LiveCode (and deployed as a Web app)? If yes, then you can just use the "Answer" command in the web form - in the script of the "Submit" button I guess - if the name/email field is left empty. Hope this helps! Panos -- On Fri, 28 Feb 2025 at 21:15, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Wonderful, thank you, Richard! :-) > > > Am 28.02.2025 um 19:59 schrieb Richard Gaskin via use-livecode < > use-livecode@lists.runrev.com>: > > > > Klaus wrote: > >> How can I show a system dialog to the user in that case? > >> I'm afraid I'm not too familiar with html/Javascript and I need > >> to inform the user to fill all neccessary field in a webform if > >> he/she didn't. > > Good news: web tech has grown up a lot over the years. Much of what > used to require JavaScript is now handled more easily in CSS and HTML. > > In recent HTML versions, a form's input element has a lot more > attributes than in the olden days: > > https://www.w3schools.com/tags/tag_input.asp > > The one you're looking for here is the "required" attribute - you can > explore how it prevents form submission unless a field is filled in here: > > https://www.w3schools.com/tags/att_input_required.asp > > If a field requires a specific pattern to the input data, you can use > Regex to define that in the input element's "pattern" attribute: > > https://www.w3schools.com/tags/att_input_pattern.asp > > If you're looking to brush up on newer HTML and CSS features, Kevin > Powell's channel is among my faves, worth watching a least a few of his > vids to see how things on the web have been evolving lately: > > https://www.youtube.com/@KevinPowell/videos > > > > -- > > Richard Gaskin > > FourthWorld.com > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > kl...@major-k.de > > > ___ > 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: ChatGPT for LC scripting
When I was young (a long time ago) the company I was with hired a new graphics designer. All he knew was the conventional method for prepress and he designed all his art accordingly. When I told him about the new Digital Prepress he told me that it still could not be done, because his professor at Orange Coast college had told him that it was at least 10 years off. So I designed the next book cover and produced it using digital prepress through a service bureau, which impressed him greatly. Now a great deal f what he produces for publishing is done with software. He never uses “art boards” anymore because it simply isn’t necessary. There aren’t many graphic artists left who actually understood the process of producing the film and plates for CMYK printing, which involved underexposing or overexposing different elements of the graphic layout in order to avoid thin white lines around objects because the film or plates never aligned precisely. The knowledge is now almost completely lost, so that if the technology of digital prepress is ever lost or unavailable, it’s doubtful anyone would know how or have the equipment to perform the task in the old conventional way. I fear the same thing may end up happening with AI and not just with programming. We already have the phenomenon of people not being able to think for themselves, but simply believing what “experts” tell them is true about a given subject or issue. With the advent of AI, I think we can expect this effect to increase dramatically. Artificial Intelligence is precicely that: Artificial. It’s really only a mask hiding the fact that real people are providing input to train a recursive algorithm to favor one outcome over another. It’s just people saying, “Not thus, but thus.” Bob S > On Mar 6, 2025, at 8:22 PM, Pi Digital via use-livecode > wrote: > > I’m glad to hear you both manage just fine without assistance in your coding. > > For me, where a quick turnaround was welcomed, having something like AI take > away about a days worth of research, typing and trial & error made the job > faster, more productive and profitable. This job was way more than just this > piece of script and I was able to complete faster than ever, faster than > humanly possible before AI assistance. > > I’m happy, the client is happy and AI is, erm, indifferent :D. Free slave > labour. Watch out for the uprising for AI equal rights :) > > Sean Cole > Pi Digital > >> On 7 Mar 2025, at 00:35, Alex Tweedly via use-livecode >> wrote: >> >> >>> On 07/03/2025 00:04, Bob Sneidar via use-livecode wrote: >>> Your supposition is incorrect. We are not ALL using these gadgets. I for >>> one never will. >>> >>> Bob S >> >> I almost agree. I don't have any trouble coding what I need in LC. >> >> Now if I could ask ChatGPT to organise all the relevant tools and build me >> an IOS version of my apps, then I might be interested :-) >> >> Alex. >> >> >> >> ___ >> 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: ChatGPT for LC scripting
i think tom glod customized gpt to create an lc llm, and used it to write a websockets lib. i have not messed with it, yet, because the announced 2027 lc pricing forced me to start looking for alternatives. using llm's, i was able to quickly write four good-enough apps in flutter. then i was able to generate similar apps with an llm in delphi, and xojo. claude (sonnet) seems to be better at writing code than gpt 4o or o1, or even grok (which is also better at it than 4o or o1). On Fri, Mar 7, 2025 at 2:53 AM jbv via use-livecode < use-livecode@lists.runrev.com> wrote: > Le 2025-03-06 19:04, Bob Sneidar via use-livecode a écrit : > > Your supposition is incorrect. We are not ALL using these gadgets. I > > for one never will. > > > I for one use these tools only for things I am not familiar with, like > python scripts > for instance, with the risk of using pieces of code I don't fully > understand. > That's why I take the time to read carefully all the detailed > explanations given by the > latest ChatGPT reasoning. > > jbv > > ___ > 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: ChatGPT for LC scripting
I’m glad to hear you both manage just fine without assistance in your coding. For me, where a quick turnaround was welcomed, having something like AI take away about a days worth of research, typing and trial & error made the job faster, more productive and profitable. This job was way more than just this piece of script and I was able to complete faster than ever, faster than humanly possible before AI assistance. I’m happy, the client is happy and AI is, erm, indifferent :D. Free slave labour. Watch out for the uprising for AI equal rights :) Sean Cole Pi Digital > On 7 Mar 2025, at 00:35, Alex Tweedly via use-livecode > wrote: > > >> On 07/03/2025 00:04, Bob Sneidar via use-livecode wrote: >> Your supposition is incorrect. We are not ALL using these gadgets. I for one >> never will. >> >> Bob S > > I almost agree. I don't have any trouble coding what I need in LC. > > Now if I could ask ChatGPT to organise all the relevant tools and build me an > IOS version of my apps, then I might be interested :-) > > Alex. > > > > ___ > 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: ChatGPT for LC scripting
Le 2025-03-06 19:04, Bob Sneidar via use-livecode a écrit : Your supposition is incorrect. We are not ALL using these gadgets. I for one never will. I for one use these tools only for things I am not familiar with, like python scripts for instance, with the risk of using pieces of code I don't fully understand. That's why I take the time to read carefully all the detailed explanations given by the latest ChatGPT reasoning. jbv ___ 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