Re: Dissolve/Transitions Very Costly

2017-12-29 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Yikes! 2.5 seconds for dissolve very fast on a 120k image… > > given the new look and feel of apps where transitions are *everywhere* … this takes waaay to long… > > is there any way to optimize this? Effect durations can be normalized and fine-tuned using

Re: Optimizing for small Android devices

2017-12-29 Thread Richard Gaskin via use-livecode
While looking for one of the URLs I included in my last post, I came across this: How we reduced our Android app’s memory footprint by 50% I have no idea if those strategies would make

Re: Optimizing for small Android devices

2017-12-29 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > I would not even know where to start to understand what to what extent > an app is overloading RAM on Android. How do we measure this stuff. Settings -> Developer Options -> Running services That brings up a simple list of processes in memory, noting among

Dissolve/Transitions Very Costly

2017-12-29 Thread Sannyasin Brahmanathaswami via use-livecode
Appropo optimization thread, I'll dig in on specific issues The script profiler is showing this for a script that runs super fast until: 1433 868 show image "gems-image" with visual effect dissolve very fast So this was pertty long but I suppose reasonable enough… then, I ran it

Re: Optimizing for small Android devices

2017-12-29 Thread Sannyasin Brahmanathaswami via use-livecode
I certainly did not mean to imply by "only" that pointed to the market share of phones with 1 GB ram. OT: I was just reading Quora about how US overwhelming Germany with sheer numbers of tanks and jets that had much lower specs than German made tanks/planes. But we won on our sheer industrial

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Dr. Hawkins via use-livecode
On Fri, Dec 29, 2017 at 5:05 PM, Mike Bonner via use-livecode wrote: > On mysql.. can't you prebuild your multi-command transaction in a variable > (with a beginning and ending to the transaction) and then use revexecutesql > with a single call for the one big

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Matthias Rebbe via use-livecode
Thanks to all. As i wrote already, i am updating now one row after the other using a repeat loop. MySQL is running on the same server as Livecode Server is. So it takes only one seconds or so to update all 2276 records. Matthias > Am 30.12.2017 um 02:05 schrieb Mike Bonner via use-livecode

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Mike Bonner via use-livecode
On mysql.. can't you prebuild your multi-command transaction in a variable (with a beginning and ending to the transaction) and then use revexecutesql with a single call for the one big transaction? On Fri, Dec 29, 2017 at 5:59 PM, Dr. Hawkins via use-livecode < use-livecode@lists.runrev.com>

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Dr. Hawkins via use-livecode
On Fri, Dec 29, 2017 at 12:53 PM, Matthias Rebbe via use-livecode wrote: > Executing the 2000 update commands in one take using revexecuteSQL > or should i execute one update command after each other within a repeat loop? Unless something has changed, you can't

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Matthias Rebbe via use-livecode
Thanks Rick for sharing your thoughts. I am just updating only one field in each record and i am not locking the record. The complete update when doing one after one in a repeat loop does not take more than 1 second. So i think i will go that way. Thanks again. Regards, Matthias > Am

Re: Optimizing for small Android devices

2017-12-29 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > To what extent we can realistically fit this app onto a phone with > only 1GB of RAM… I don't know. "Only"? That's a lot of phones -- Richard Gaskin Fourth World

Re: LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Rick Harrison via use-livecode
Hi Matthias, Are there going to be users on your system at the time of the update? Are you locking the record or records before your update, and then unlocking them? You should do a test with the repeat loop to see how long the process takes. If it is depriving your users of the database for too

Re: Optimizing for small Android devices

2017-12-29 Thread J. Landman Gay via use-livecode
On 12/29/17 2:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote: To what extent we can realistically fit this app onto a phone with only 1GB of RAM… I don't know. So it's a memory problem after all. Google is making/has made a slimmed-down version of Android specifically for India and

LC Server - MySQL - update about 2000 rows/records of a table

2017-12-29 Thread Matthias Rebbe via use-livecode
Hi, i need to update regularly about 2000 rows/records of a MySQL table with Livecode Server. What is better? Executing the 2000 update commands in one take using revexecuteSQL or should i execute one update command after each other within a repeat loop? What do you think? Regards, Matthias

Re: Optimizing for small Android devices

2017-12-29 Thread Sannyasin Brahmanathaswami via use-livecode
FYI here is Aravind's from Kerala comments today. To what extent we can realistically fit this app onto a phone with only 1GB of RAM… I don't know. Perhaps this is useful for other Android developers looking for a broad base in Asia, although this may be all "old news" to most of you… here it

Re: RESTful PUT error

2017-12-29 Thread Andrew Bell via use-livecode
Thanks for the feedback on proper headers! I looked again at the PipeDrive API [https://developers.pipedrive.com/docs/api/v1/#!/Persons/put_persons_id] in more detail and noticed that the Phone I was trying to change was actually looking for an array rather than a number or string so I

Re: hhTextEdit-Basic 1.0.2

2017-12-29 Thread Richmond Mathewson via use-livecode
Very Impressive Indeed! Richmond. On 29/12/2017 1:12 am, hh via use-livecode wrote: hhTextEdit-Basic 1.0.2 Uses a browser widget as "text field" extending by that LC's htmltext of fields to a larger set of text styling (e.g. justified textAlign), 2D-transforms/3D-rotations and filters

Re: submitting to apple store and google store ... how much of that process can be automated?

2017-12-29 Thread Klaus major-k via use-livecode
Hi Tom, > Am 29.12.2017 um 15:22 schrieb Tom Glod via use-livecode > : > > hi guys...just to clear it up...i was going to use LC to create a system > for the client in which they can create branded apps for their customers. > the company is a yellow-pages kind of

Re: submitting to apple store and google store ... how much of that process can be automated?

2017-12-29 Thread Tom Glod via use-livecode
hi guys...just to clear it up...i was going to use LC to create a system for the client in which they can create branded apps for their customers. the company is a yellow-pages kind of company that provides services to business. so that would have fallen into the templated category. On Fri, Dec

Re: submitting to apple store and google store ... how much of that process can be automated?

2017-12-29 Thread Matthias Rebbe via use-livecode
> Am 29.12.2017 um 11:52 schrieb Klaus major-k via use-livecode > >: > > Hi Richard, > >> Am 29.12.2017 um 03:03 schrieb Richard Gaskin via use-livecode >>

Re: submitting to apple store and google store ... how much of that process can be automated?

2017-12-29 Thread Klaus major-k via use-livecode
Hi Richard, > Am 29.12.2017 um 03:03 schrieb Richard Gaskin via use-livecode > : > ... > Bad news: "Apple’s widened ban on templated apps is wiping small businesses > from the App Store" >