Search found 8433 matches
- Sat Apr 17, 2021 6:27 pm
- Forum: CGIs and the Server
- Topic: Livecode Server performance
- Replies: 20
- Views: 899
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...
- Sat Apr 17, 2021 6:22 pm
- Forum: Talking LiveCode
- Topic: Is this normal behavior with print card and buttons?
- Replies: 4
- Views: 118
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.
- Sat Apr 17, 2021 6:15 pm
- Forum: Talking LiveCode
- Topic: Corrupted stack
- Replies: 6
- Views: 214
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.
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.
- 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: 509
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...
- 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: 509
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...
- 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: 509
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...
- Sat Apr 17, 2021 4:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Aligning Bananas and Numbers in a single (Text) field - doable ?
- Replies: 15
- Views: 606
Re: Aligning Bananas and Numbers in a single (Text) field - doable ?
A favorite starting point for learning sockets:
https://lessons.livecode.com/m/4071/l/1 ... ng-sockets
https://lessons.livecode.com/m/4071/l/1 ... ng-sockets
- Sat Apr 17, 2021 9:06 am
- Forum: Talking LiveCode
- Topic: Rehashing Switch
- Replies: 84
- Views: 5881
Re: Rehashing Switch
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".richmond62 wrote: ↑Sat Apr 17, 2021 8:40 amSShot 2021-04-17 at 10.39.14.png
-
Oddly enough this was available in Commodore BASIC version 7.0
- 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: 509
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?

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?
- 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: 509
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...
- Fri Apr 16, 2021 7:36 pm
- Forum: CGIs and the Server
- Topic: Livecode Server performance
- Replies: 20
- Views: 899
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 ...
- Fri Apr 16, 2021 5:33 pm
- Forum: CGIs and the Server
- Topic: Livecode Server performance
- Replies: 20
- Views: 899
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...
- Fri Apr 16, 2021 4:44 pm
- Forum: CGIs and the Server
- Topic: Livecode Server performance
- Replies: 20
- Views: 899
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...
- Thu Apr 15, 2021 12:38 am
- Forum: CGIs and the Server
- Topic: Livecode Server performance
- Replies: 20
- Views: 899
Re: Livecode Server performance
FWIW via shell on a VPS, similar time, LC took about 1MB less RAM: $ /usr/bin/time -v php test.php 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 Command ...
- Wed Apr 14, 2021 6:59 pm
- Forum: CGIs and the Server
- Topic: Livecode Server performance
- Replies: 20
- Views: 899
Re: Livecode Server performance
Thanks for filing the bug report, Ax. RE versions: I generally use the latest build for day-to-day work to make any bug reports more actionable, with deployments like standalones and servers limited to Stable to minimize regressions. RE shared hosts: I use shared myself for many things, but given th...