Re: Speed up a slow loop

2022-03-08 Thread Mark Smith via use-livecode
Apart from searching I am sure it will provide many other great learning opportunities as well. Looking forward to seeing how it all pans out. Mark > On Mar 6, 2022, at 8:18 PM, J. Landman Gay via use-livecode > wrote: > > On 3/6/22 9:40 AM, William Prothero via use-livecode wrote: >> I've b

Re: Speed up a slow loop

2022-03-08 Thread Alex Tweedly via use-livecode
On 08/03/2022 07:27, Neville Smythe via use-livecode wrote: I believe there were two problems: a) the original search search algorithm was too slow, and b) when implemented on certain devices the app went into an unusable state. Both problems were caused by the wordlist being stored being too

moveStack is not triggering

2022-03-08 Thread Bob Sneidar via use-livecode
Hi all. Anyone else using the moveStack message? I have a handler in the card script which is where the dictionary says the message is sent. Moving the stack does not trigger the message. Bob S ___ use-livecode mailing list use-livecode@lists.runr

Requirements for display PDF in a browser on Windows?

2022-03-08 Thread Klaus major-k via use-livecode
Hi all, the subject says it all, of course in regard of LC. Is the web-plugin of Acrobat reader still neccessary? Or do current Windows Browser display PDF files out of the box? Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de

Re: moveStack is not triggering

2022-03-08 Thread Niggemann, Bernd via use-livecode
Hi Bob, try this in the card script of a new stack on moveStack beep end moveStack That beeps when I move the stack. I think the debugger does not fire when it is invoked in a moveStack handler as you test for in your bug report https://quality.livecode.com/show_bug.cgi?id=23607 Kind reg

Re: Speed up a slow loop

2022-03-08 Thread J. Landman Gay via use-livecode
On 3/8/22 10:30 AM, Alex Tweedly via use-livecode wrote: I guess I'm not convinced about VM space thrashing being the problem, certainly not due to the wordlist. It's 2.5 Mb - i.e. 0.02% of the real RAM in a Pixel 5. There may be something else in the app making the total VM space very large - b

Re: Speed up a slow loop

2022-03-08 Thread J. Landman Gay via use-livecode
On 3/8/22 1:27 AM, Neville Smythe via use-livecode wrote: 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 alt

Re: moveStack is not triggering

2022-03-08 Thread Bob Sneidar via use-livecode
I'll be damned. Yes it does. Breakpoints do not work for some reason. Probably because the mouse is still down when dragging. Bob S > On Mar 8, 2022, at 11:21 , Niggemann, Bernd via use-livecode > wrote: > > Hi Bob, > > try this in the card script of a new stack > > on moveStack > beep

Re: Requirements for display PDF in a browser on Windows?

2022-03-08 Thread Klaus major-k via use-livecode
Hi, > Am 08.03.2022 um 19:54 schrieb Klaus major-k via use-livecode > : > > Hi all, > > the subject says it all, of course in regard of LC. > > Is the web-plugin of Acrobat reader still neccessary? > Or do current Windows Browser display PDF files out of the box? and/or more important, what w

Re: Speed up a slow loop

2022-03-08 Thread Quentin Long via use-livecode
sez Alex Tweedly:> The caveat - a user guess which isn't in the word list found by the > boardwalk can be either "not a word" or "a word, but not present on the  > board", and you don't know which. Does it *matter* whether a genuine word isn't on the board? If the board has no "L" in it, any wor

Re: Speed up a slow loop

2022-03-08 Thread Neville Smythe via use-livecode
> On 9 Mar 2022, at 4:00 am,Alex Tweedly wrote: > > Oh, well, if you've got the fast boardwalk code in there anyway, that > opens up another possibility (with one caveat). > > The boardwalk will find all valid words on the board. So that list of > words can be used as the "dictionary" for the

Re: Requirements for display PDF in a browser on Windows?

2022-03-08 Thread Tom Glod via use-livecode
I have definitely opened PDF in the browser in the past and it opened the default "chrome html 5" pdf reader. everything seems to have worked. And I don't see why it would no longer work now. you can google "browser test" from within the browser and it will tell you some info about the chromiu

Re: Speed up a slow loop

2022-03-08 Thread J. Landman Gay via use-livecode
On 3/8/22 3:22 PM, Quentin Long via use-livecode wrote: Does it*matter* whether a genuine word isn't on the board? If the board has no "L" in it, any word with an "L" won't be on the board, right? Right, but what happens is that your eye tricks you and you skip a tile inadvertently or use th

Re: Speed up a slow loop

2022-03-08 Thread Neville Smythe via use-livecode
> On 9 Mar 2022, at 4:00 am, Alex Tweedly wrote: > > I guess I'm not convinced about VM space thrashing being the problem, > certainly not due to the wordlist. It's 2.5 Mb - i.e. 0.02% of the real > RAM in a Pixel 5. There may be something else in the app making the > total VM space very larg

Re: Speed up a slow loop

2022-03-08 Thread Quentin Long via use-livecode
It occurs to me that any word which is valid in Boggle must consist of an uninterrupted run of letters which are *right next to each other* on the board. Hence, any digraph which *doesn't* consist of a pair of neighboring letters, *cannot* occur in any valid word. Since the "filter out all words