Search found 9110 matches

by FourthWorld
Mon Mar 11, 2024 5:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Chi-square
Replies: 5
Views: 673

Re: Chi-square

Nicely done, Stam. Thanks for posting that.

Back in the open source era I'd hoped it might last long enough to attract contributions for a stats lib and others. Much better than shelling out to some other language. Maybe this will inspire more.
by FourthWorld
Mon Mar 11, 2024 12:53 am
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

Why rush to a stent when some patients only need a cleaner diet and some exercise? Of course the answer will depend on the patient. Poor example I'm afraid - one option is treatment and the other prevention - you can't prevent with treatment and you can't treat with prevention - you can only preven...
by FourthWorld
Sun Mar 10, 2024 5:31 pm
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

Ultimately however I still think an sqlite database would be a) safer, b) quicker with the number of records discussed here. a) Safer in what way? b) Quicker only for certain operations, and slower for others. Safer because it’s less prone to random errors. Deleting 1 char in a text file (a column ...
by FourthWorld
Sun Mar 10, 2024 4:43 pm
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

Ultimately however I still think an sqlite database would be a) safer, b) quicker with the number of records discussed here. a) Safer in what way? b) Quicker only for certain operations, and slower for others. There's a reason log files are commonly flat files written with append. RDBMSs are optimi...
by FourthWorld
Fri Mar 08, 2024 4:24 pm
Forum: Talking LiveCode
Topic: Reading and writing text to / from a file
Replies: 26
Views: 1739

Re: Reading and writing text to / from a file

I have a file with 50,000 rows of about 25 chars per row. I only need to read roughly the most recent 200 rows until something is true and it saves time not to load the entire file using put ULR "file:filename" into tWhatever What is the evaluation test you're performing? It may also be useful to s...
by FourthWorld
Tue Mar 05, 2024 4:54 pm
Forum: Off-Topic
Topic: Integrating Live Code with AI for Enhanced Functionality
Replies: 4
Views: 702

Re: Integrating Live Code with AI for Enhanced Functionality

You could make an IDE plugin with two fields, one for the prompt to a GPT API and the other for the response, with a Copy button to put it in your script editor.

Later you could learn enough about the script editor to put it there directly.

Have you used HTTP APIs for GPT?
by FourthWorld
Thu Feb 29, 2024 11:28 pm
Forum: Android Deployment
Topic: How to write scripts for buttons to perform arithmetic operations
Replies: 6
Views: 800

Re: How to write scripts for buttons to perform arithmetic operations

richmond62 wrote:
Thu Feb 29, 2024 8:16 pm
Why do I feel that the OP might be a phantom?
I can't imagine how you could get that impression. It's been less than a day since he posted his question.
by FourthWorld
Thu Feb 29, 2024 5:28 pm
Forum: Off-Topic
Topic: Another reason to stick with LiveCode?
Replies: 15
Views: 1416

Re: Another reason to stick with LiveCode?

Nothing is 100% safe. I think you nailed it right there. What we're seeing is a difference between professional and lay reporting, similar to how medical journals and blogs reporting on their articles sometimes differ (Nature's "Myocarditis among Covid-vaccinated patients" being among the most famo...
by FourthWorld
Thu Feb 29, 2024 2:09 am
Forum: Off-Topic
Topic: Another reason to stick with LiveCode?
Replies: 15
Views: 1416

Re: Another reason to stick with LiveCode?

Since it seems I need to clarify my post: LiveCode language is memory safe because you don't deal with memory allocation/deallocation through the language. Perhaps something to celebrate. This is the point of my post. The misunderstanding here seems to stem from LiveCode's decision to have "LiveCod...
by FourthWorld
Thu Feb 22, 2024 2:42 am
Forum: Talking LiveCode
Topic: Me again, (or, why me?)
Replies: 12
Views: 982

Re: Me again, (or, why me?)

Only one of those variables is declared as global. What happens if you comment the global declaration?
by FourthWorld
Wed Feb 21, 2024 11:08 pm
Forum: Games
Topic: creat game" flappy birds"
Replies: 16
Views: 12876

Re: creat game" flappy birds"

Thank you. Done.
by FourthWorld
Wed Feb 21, 2024 7:32 pm
Forum: Games
Topic: creat game" flappy birds"
Replies: 16
Views: 12876

Re: creat game" flappy birds"

I've tried reaching out to Cyril on LinkedIn, but he's not very active there so I don't expect a response.

If anyone here can reach him, I'd be happy to provide hosting for his LC collection at livecodejournal.com
by FourthWorld
Wed Feb 21, 2024 7:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird can't redraw chart problem - solved
Replies: 6
Views: 903

Re: Weird can't redraw chart problem - solved

I don't see a redraw command in the dictionary. I do see three commands that are either inactive or apply only to specific controls like the (deprecated) Browser. There's a "redraw" item in the Glossary portion of the Dictionary window. The Dictionary defaults to showing both language elements and ...
by FourthWorld
Sat Feb 17, 2024 5:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where did the Quick Search button in the Script Editor Go?
Replies: 10
Views: 993

Re: Where did the Quick Search button in the Script Editor Go?

bobcole wrote:
Sat Feb 17, 2024 4:39 pm
Mine is:
~/Library/Preferences/RunRev/livecode7.rev
Why does show "LiveCode7" of all things?
I believe that's a format specifier, noting the last time the Prefs data stored there underwent significant revision.
by FourthWorld
Sat Feb 17, 2024 5:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Upload file Livecode PHP
Replies: 2
Views: 463

Re: Upload file Livecode PHP

@Zax: link76 noted that ftp is not an option for this project.

@link76: what are the symptoms of failure? Any diagnostic info returned from the php script?

Go to advanced search