Building a standalone warns about duplicate stacks

2020-05-06 Thread J. Landman Gay via use-livecode
When building a standalone (for mobile in this case) I'm getting repeated messages about stacks already being in memory and asking me what to do with them. Since I have a lot of included stacks I need to make a decision a dozen times. This is different from all the "open*" messages, so that work

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Hillen Richard via use-livecode
Hello Graham, 20 years ago I started to use GPS-technique and found the same mysteries as you do now. I learned that there a two main reason for the variation of location data: Atmosperic density variations cause short term runtime variations and Different relativ positions of satellites cause

Re: I need some DataGrid performance help

2020-05-06 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: On 2020-05-06 17:36, Richard Gaskin via use-livecode wrote: A while back Mark Waddingham reviewed the situation and decided that getProp and setProp were indeed more rightly in the category of custom messages rather than system messages, and as such should ideally be immu

Re: HTML Platform

2020-05-06 Thread Richard Gaskin via use-livecode
David Bovill wrote: > WASM support is very important to Livecode future. It will address > most of the problems of current HTML5 deployment WASM will definitely benefit the two most visible issues, load time and performance. Performance is an unqualified benefit, but with load time the benefi

Re: I need some DataGrid performance help

2020-05-06 Thread Paul Dupuis via use-livecode
On 5/6/2020 1:53 PM, Mark Waddingham via use-livecode wrote: In reality, 'lock messages' is a sledge-hammer and like a sledge-hammer it can cause fallout if not wielded carefully. Slightly off topic, but I have run into time where I wish I could lock a specific message or set of messages. So

Re: HTML Platform

2020-05-06 Thread Mark Waddingham via use-livecode
On 2020-05-06 18:40, Richard Gaskin via use-livecode wrote: And mySQL from LC in the browser is tonnes faster than on the desktop - massively! Because they’re both on the same server. Even though the message path is LC>JS>(AJAX)>PHP>JS>LC! I suspect there's something going on there that can be

Re: I need some DataGrid performance help

2020-05-06 Thread Mark Waddingham via use-livecode
On 2020-05-06 17:36, Richard Gaskin via use-livecode wrote: A while back Mark Waddingham reviewed the situation and decided that getProp and setProp were indeed more rightly in the category of custom messages rather than system messages, and as such should ideally be immune to the effects of "loc

Re: HTML Platform

2020-05-06 Thread Richard Gaskin via use-livecode
Pi Digital wrote: > Richard wrote: >> But most apps that might make good candidates for LC's HTML export >> have characteristics that lend themselves very well to not doing HTML >> at all, instead using a one-time download of an LC standalone which >> then downloads and runs stack files (a practi

Re: I need some DataGrid performance help

2020-05-06 Thread Mark Wieder via use-livecode
On 5/6/20 5:35 AM, Paul Dupuis via use-livecode wrote: This code is called only when the data is changed such as columns added or removed or rows added or removed or both. What I do is set the data initially, then cache the existing setup in a local array. When something changes I can examine

Re: HTML Platform

2020-05-06 Thread Richard Gaskin via use-livecode
Erik Beugelaar wrote: > It would be great if a lesson comes available how to create streaming > apps with LC. Thank you for your interest. I'll do that, but it'll have to wait until I finish some client projects first. In the meantime, the beauty of this approach is its simplicity. Like an

Re: I need some DataGrid performance help

2020-05-06 Thread Richard Gaskin via use-livecode
zryip theSlug wrote: > datagrids are using virtual properties, so you can't lock the > messages. Reminds me: we have a request to do away with that,since it complicates a lot of otherwise-powerful-and-simple things we can do with custom controls. A while back Mark Waddingham reviewed the sit

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Graham Samuel via use-livecode
Mark, thanks for that contribution. Looks like more maths is needed. I will follow up on your approach, as mine really only works if all GPS readings are nearly accurate. As I have seen accuracies (really inaccuracies!) as large as 65 metres even after a settling-down period, a few of those will

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Prothero-ELS via use-livecode
Graham, Mark’s comments make sense. Your quality test where you set the phone down in a fixed location and look at the results seems good also. If it can’t pass that test, nothing else will work. Best, Bill William Prothero https://earthlearningsolutions.org > On May 6, 2020, at 7:52 AM, Mark W

Re: I need some DataGrid performance help

2020-05-06 Thread zryip theSlug via use-livecode
Paul, datagrids are using virtual properties, so you can't lock the messages. tooltip, sorttype, and editability have only an effect if one interact with the datagrid. I do not think this is your issue. Plus, I ran in a similar problem when I updated DGH 2.5 with column color capabilities. One of

Re: HTML Platform

2020-05-06 Thread David Bovill via use-livecode
WASM support is very important to Livecode future. It will address most of the problems of current HTML5 deployment, and I definitely intend to use it - for micro service deployment, and blockchain integration for instance. It will doubtless be a commercial feature, which is also important for a

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Mark Waddingham via use-livecode
On 2020-05-06 14:09, Graham Samuel via use-livecode wrote: Bill, I think you are confirming that there is some mystery here. There are a lot of apps that seem to get location, and measures derived from location, almost completely right, whereas I am having trouble doing so with what must be the s

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Prothero-ELS via use-livecode
Graham, You have probably done this, but maybe not, so... I would not process each location changed value as a distance moved. I would use them to average a new location, and use that location, after averaging, to calculate the distance moved. Also, location changed messages may not come at equa

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Graham Samuel via use-livecode
Bill, I think you are confirming that there is some mystery here. There are a lot of apps that seem to get location, and measures derived from location, almost completely right, whereas I am having trouble doing so with what must be the same essential data. Take the problem of measuring the len

Re: I need some DataGrid performance help

2020-05-06 Thread Paul Dupuis via use-livecode
On 5/6/2020 7:58 AM, zryip theSlug via use-livecode wrote: After each call to a column property such as dgColumnWidth, the datagrid is resized (header, column, rectangles, etc) This I did not know. Thank you. Instead of having them in the loop, prepare the column size, columns label, etc and

Re: I need some DataGrid performance help

2020-05-06 Thread Paul Dupuis via use-livecode
On 5/6/2020 6:55 AM, Pi Digital via use-livecode wrote: What handler do you have this code? From what you are saying it seems it’s deploying this formatting script every time it redraws which itself is very inefficient and unnecessary. It should only have to deal with the data itself ideally.

Re: I need some DataGrid performance help

2020-05-06 Thread zryip theSlug via use-livecode
Paul, After each call to a column property such as dgColumnWidth, the datagrid is resized (header, column, rectangles, etc) Instead of having them in the loop, prepare the column size, columns label, etc and uses the table properties existing for setting all the values at once. In this case the r

Re: I need some DataGrid performance help

2020-05-06 Thread Pi Digital via use-livecode
Hi Paul What handler do you have this code? From what you are saying it seems it’s deploying this formatting script every time it redraws which itself is very inefficient and unnecessary. It should only have to deal with the data itself ideally. Sean Cole Pi Digital Productions Ltd eMail Ts

Re: HTML Platform

2020-05-06 Thread Pi Digital via use-livecode
Two words, Richard. IT Departments. Of the 150+clients my client has, 150+ of them would emphatically prefer a web based app than a desktop one. They don’t want stuff ‘installed’ or ‘run’ on their machines that haven’t been thoroughly tested before use. Each and every update. And they really d

RE: HTML Platform

2020-05-06 Thread Erik Beugelaar via use-livecode
It would be great if a lesson comes available how to create streaming apps with LC. -Original Message- From: use-livecode On Behalf Of Richard Gaskin via use-livecode Sent: woensdag 6 mei 2020 08:42 To: use-livecode@lists.runrev.com Cc: Richard Gaskin Subject: Re: HTML Platform Mark Wi