Re: Speed up a slow loop

2022-03-07 Thread Neville Smythe via use-livecode
Jacque seems to have found a satisfactory solution to her problem with the help of the excellent suggestions we have seen here. Since there seems to have been a lot of interest, I thought I would take the opportunity to report on an alternative method I had been exploring with Jacque via email.

Re: bug in Standalone Only

2022-03-07 Thread Bob Sneidar via use-livecode
Hi all. I found it. I have a handler that creates a temp database in the default folder. In a Mac standalone that folder is read only. Thankfully it is only something I use in the IDE and not in standalones, so I now test for the environment. Sent from my iPhone > On Mar 7, 2022, at 17:48,

Re: bug in Standalone Only

2022-03-07 Thread J. Landman Gay via use-livecode
Remote debugging allows you to step through the script. But we do have an error lookup utility that will tell you what the error codes mean. -- Jacqueline Landman Gay |

Re: Monterey + Dark Mode + LC 9.6.6

2022-03-07 Thread Marty Knapp via use-livecode
I think I found the issue. I use Levure to build my apps (great framework - you should try it!) and it uses a a customized plist file. I compared that to a plist file from a normally complied app and notice it has has parameter that is needed: NSRequiresAquaSystemAppearance --- Marty

Re: bug in Standalone Only

2022-03-07 Thread Tom Glod via use-livecode
Hi Bob, sometimes it helps to look up the error using the scriptexecutionerrors function The first number that you see in each line is the error number. So "put line x of the scriptExecutionErrors" should tell you exactly what the error is, and that is often a good hint of where to look. Hope

bug in Standalone Only

2022-03-07 Thread Bob Sneidar via use-livecode
Hi all. There is a bug in my app which only rears it's ugly head when I create a standalone. When I am in the IDE it never happens. I get an error dialog but the numbers in the dialog do not make any sense. I email myself an error report, but where it says the error is happening is NOT where it

Monterey + Dark Mode + LC 9.6.6

2022-03-07 Thread Marty Knapp via use-livecode
I just had a customer send a screen shot of my app (built with LC 9.6.6) running on Mac Monterey in dark mode and buttons and fields are all messed up. I don’t use dark mode and so tried it on my Mac and see the issue. I then tried an app built with a previous version of LC (9.6.1 I believe)

Re: Sign In with Apple and Google

2022-03-07 Thread Rick Harrison via use-livecode
Do it in a webpage. I doubt there is a plug-in or a better way. Personally whenever I see any website that tells me to login with my google, facebook, or apple account, I immediately view that website as being suspicious. If there is a standard login using a Login ID and password that I set up,

Sign In with Apple and Google

2022-03-07 Thread Dan Friedman via use-livecode
Hey all... does anyone have a method to do user sign-ins with Apple and Google (on iOS AND Android)? I know we could do it in a webpage, but wondered if there was a plug-in or better method to handle it. Any advice on this? Thanks in advance, -Dan

Re: Speed up a slow loop

2022-03-07 Thread J. Landman Gay via use-livecode
On 3/7/22 12:30 PM, Alex Tweedly via use-livecode wrote: The boardwalk will find all valid words on the board. So that list of words can be used as the "dictionary" for the user's guesses - and now you have a "dictionary" of only a few hundred words, rather than than the many thousands of

Re: Speed up a slow loop

2022-03-07 Thread Alex Tweedly via use-livecode
On 06/03/2022 22:56, J. Landman Gay via use-livecode wrote: The board walk took 179 ms for all 108 words because I ditched my old, juvenile, inefficient code and swiped yours. :) As Bill requested, I've marked all the stuff I used with credits for the people who suggested or provided code,

Re: A question about the compiler to come

2022-03-07 Thread Mike Kerner via use-livecode
I have tried on several occasions to appreciate LCB, but I just don't, so, being able to write widgets with LCS would be great. Maybe for tmc4, because i don't think it will be in time for tmc3 On Sat, Mar 5, 2022 at 1:16 AM Mark Smith via use-livecode < use-livecode@lists.runrev.com> wrote: > I

Re: use-livecode Digest, Vol 222, Issue 8

2022-03-07 Thread J. Landman Gay via use-livecode
Funny you should bring this up, as I was playing with it last night. Turns out that multiple filters do slow down on the Pixel so I was looking for the One True Regex. I'm not great at this so would like verification from those who know if this is what I need: put "[" & tUnusedLetters & "]"

Re: use-livecode Digest, Vol 222, Issue 8

2022-03-07 Thread Andy Marshman via use-livecode
Hi Mark, In regex the full stop stands for any single character whereby the * means any other characters. If you want to only find things that begin with a character put a ^ infront of the character you are searching for. So ^a. should only return apple in your example. Regards Andy On Mon, 7

Re: use-livecode Digest, Vol 222, Issue 8

2022-03-07 Thread Mark Smith via use-livecode
So, playing around a bit more I discovered “a.*” does not return words that “start with”, but rather words that “contain” the letter. So that explains “apple, banana”. What isn’t clear to me is I get the exact same result using “a.” with no asterisk, but if I search for “y.” it returns nothing

Re: use-livecode Digest, Vol 222, Issue 8

2022-03-07 Thread Mark Smith via use-livecode
I am not an expert in regex or filtering by any means so Quentin’s message prompted me to take a closer look. I started with the dictionary entry for filter and I found this simple example: filter items of "apple,banana,cherry" with regex pattern "b.*" Since we are not specifying a destination,

Re: use-livecode Digest, Vol 222, Issue 8

2022-03-07 Thread Quentin Long via use-livecode
sez j. landman gay: > Interesting idea. There are 25 letters on each board, some are always > repeats. I think I'd need  > a good regex so I wouldn't have to run the filter command multiple times. > How's your regex? I see you've already implemented something, but just for grins, here's my