Search found 8435 matches

by FourthWorld
Tue Apr 20, 2021 5:30 am
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 24
Views: 1245

Re: Livecode Server performance

Good to see you back, Keliko.

What did you find when you ran the test in the IDE?

Did it spark any curiosity about the implications in a server environment?
by FourthWorld
Sun Apr 18, 2021 4:14 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 24
Views: 1245

Re: Livecode Server performance

That you have it down to just one unmet dependency is quite encouraging, Ax. Not only is that consistent with what I can reproduce here, but it also isolates the opportunity for leaner operations by providing an option to bypass font init (perhaps graphics altogether, for those who don't want to exp...
by FourthWorld
Sat Apr 17, 2021 6:27 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 24
Views: 1245

Re: Livecode Server performance

if there were a Lean Edition of LC Server I'd like it, not so much for the size but for the fewer sys calls on boot. Where can I sign? ;-) LC's Community Edition is an excellent fit for most server work, and being GPL-governed we can fork the existing code base to make it do whatever we like. I don...
by FourthWorld
Sat Apr 17, 2021 6:22 pm
Forum: Talking LiveCode
Topic: Is this normal behavior with print card and buttons?
Replies: 4
Views: 226

Re: Is this normal behavior with print card and buttons?

With this confirmed, please consider filing a bug report on this. Few things are as important to an app as reliably handling what comes into it and what comes out of it.
by FourthWorld
Sat Apr 17, 2021 6:15 pm
Forum: Talking LiveCode
Topic: Corrupted stack
Replies: 6
Views: 315

Re: Corrupted stack

Please file a bug report and make arrangements to send your stack to the team.

True stack file corruption is very rare with LiveCode, and we need to keep it that way.

Bringing this conversation to the engine team will help ensure robust quality for all.
by FourthWorld
Sat Apr 17, 2021 6:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 760

Re: On TextChanged not firing when field changed by script

After writing that a third with-the-grain solution comes to mind (really just a better variant of the first option above), if the details of your layout will accommodate it: Put the buttons in a group, and have no code in any of them at all. Instead, put the text unique to each triggering control in...
by FourthWorld
Sat Apr 17, 2021 5:59 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 760

Re: On TextChanged not firing when field changed by script

Returning to the core need expressed here: I have a setup where a complex set of graphics that creates a summary parameter - i was hoping to use that as a trigger to update a database every time a value is changed, which will in turn change the summary parameter. i.e., instead of having to add the u...
by FourthWorld
Sat Apr 17, 2021 5:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 760

Re: On TextChanged not firing when field changed by script

As a matter of opinion (mine) I also think that the textChanged message should be more universal. It should fire if the, er, text has changed, period. I share your desire for the convenience in this one retrofit case, but I also appreciate the team's interest in keeping the message queue lean. Sett...
by FourthWorld
Sat Apr 17, 2021 9:06 am
Forum: Talking LiveCode
Topic: Rehashing Switch
Replies: 84
Views: 6024

Re: Rehashing Switch

richmond62 wrote:
Sat Apr 17, 2021 8:40 am
SShot 2021-04-17 at 10.39.14.png
-
Oddly enough this was available in Commodore BASIC version 7.0
IIRC that's not a switch block but a loop, where "continue while" is like our "next repeat" and "exit while" like our "exit repeat".
by FourthWorld
Sat Apr 17, 2021 5:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 760

Re: On TextChanged not firing when field changed by script

Lazy is the mother of invention. :)

It's an interesting category of problem.

For one-to-many patterns the go-to is behaviors.

But what is a good model for many-to-one?
by FourthWorld
Sat Apr 17, 2021 1:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 760

Re: On TextChanged not firing when field changed by script

IIRC the textChanged message was added for interaction only, to provide one-stop shopping for human interaction which would otherwise require a wide range of event handlers. If you're changing text via a script, you could add a line right after that to do whatever else you need right in that same sc...
by FourthWorld
Fri Apr 16, 2021 7:36 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 24
Views: 1245

Re: Livecode Server performance

This question cuts to the heart of things: is there any way to do optimization? Always. And while there are many things we can do to optimize our configuration (from bypassing LC's font init to the biggest improvement, moving from a shared host to a VPS), often we find opportunities to speed things ...
by FourthWorld
Fri Apr 16, 2021 5:33 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 24
Views: 1245

Re: Livecode Server performance

That also may have a noticeable impact on LC server performance when used as CGI - after all, the size of the executable has grown to 24MB (9.6.2.rc5), from ~17MB (8.0), and ~6MB (6.7.10-32). Smaller is always better, but I'm not sure the file size of the executable will matter much, at least not w...
by FourthWorld
Fri Apr 16, 2021 4:44 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 24
Views: 1245

Re: Livecode Server performance

whether Livecode can run as a webserver without apache? Anything that handles standard Unix sockets can use those sockets to support the HTTP protocol (or nearly any other socket-based protocol). In fact, there's an HTTP server library included with the LiveCode you have installed on your machine r...

Go to advanced search