Search found 5625 matches

by dunbarx
Thu Dec 13, 2018 3:34 am
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

The same handler on my MacBook Air at home shows no sign of the odd behavior.

Is there any value to pursuing this? I do not believe I have anything unusual in my work iMac. I will restart tomorrow, and with only LC open, see what transpires.

Craig
by dunbarx
Thu Dec 13, 2018 12:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: help
Replies: 7
Views: 184

Re: help

Ah, Hermann is here.

I think the OP is talking about more than two.

Craig
by dunbarx
Thu Dec 13, 2018 12:36 am
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

Is the issue intermittent or consistent? --- Consistent in that it always happens in some form Is it always the case that the second and subsequent runs of that script are noticeably slower? -- Not always, oftentimes it takes one or more subsequent runs to see the effect. If not consistently the sec...
by dunbarx
Thu Dec 13, 2018 12:28 am
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

Is it possible to post a video? I just ran this again, and the differences between runs are startling.

Craig
by dunbarx
Wed Dec 12, 2018 9:57 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

We do get off into the woods on occasion... I will try this handler at home on a macBook Air. The machine I was referring to is an iMac, 3.2GHz,, late 2012., OS 10.13.4 Graphics card: NVIDIA GeForce GTX 675MX 1024 MB Since Jacque sees none of this, then if it is just something peculiar to my machine...
by dunbarx
Wed Dec 12, 2018 5:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: help
Replies: 7
Views: 184

Re: help

So you really want a LCM calculator. This is simple and straightforward to do in LC, but "tedious". You might find the product of the entire list, then all its factors, and then see if each number in the list mod each factor gives a "0". The lowest factor would be your LCM. Hermann, are you there? C...
by dunbarx
Wed Dec 12, 2018 4:17 pm
Forum: Talking LiveCode
Topic: md5digest of large files, how reliable is it?
Replies: 14
Views: 258

Re: md5digest of large files, how reliable is it?

Hi.

I never used this function before, but with a string of about 7000 chars in two variables, I get a different value if they differ by a single char, and the same value if they are in fact the same.

Craig Newman
by dunbarx
Wed Dec 12, 2018 3:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: help
Replies: 7
Views: 184

Re: help

Hi.

If I understand you, you might have "22,99,33,66,44,77,55", all of which are multiples of "11". And you want to know which is the lowest?

Read about the "sort container" command in the dictionary. You would sort the above list "numeric" by items, and extract the first item.

Craig Newman
by dunbarx
Wed Dec 12, 2018 3:55 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

Richard.
Do you have an example in mind?
I do indeed. Make the two buttons from the original post.

Craig
by dunbarx
Wed Dec 12, 2018 5:14 am
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

Richard. Interesting stuff. But, er, what about the fact that with separate invocations of a single handler, the result is radically different, and even has sort of predictable outcomes, roughly repeatable. That was the ONLY reason for my post. I just threw in the HC note because of nostalgia. Craig
by dunbarx
Tue Dec 11, 2018 9:42 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

Re: erratic movement of controls with repeat

Jacque. All good stuff. But that is not the point of my post. I know about the traps in waiting for things. Why does the process change over several iterations? I was wondering if something internally was loading and sticking, randomly, and then flushing itself now and then. It is a question of unde...
by dunbarx
Tue Dec 11, 2018 6:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: distorted graphics when using move or set loc
Replies: 33
Views: 887

Re: distorted graphics when using move or set loc

Richard wrote: Do you see a difference between Win7 and Win10? I am on a Mac. And though I never fully understood if the "flattening", or truncation, was what actually was seen (the demo stack did not show it on Mac), there is distinct jerkiness on the Mac. This, er, renders "animation" poorly overa...
by dunbarx
Mon Dec 10, 2018 6:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: distorted graphics when using move or set loc
Replies: 33
Views: 887

Re: distorted graphics when using move or set loc

Hi.

I do see jerkiness, but not the truncated control in your photo.

Speed kills.

The team should see this, if only to confirm that this is the expected behavior of the "move' command.

Craig
by dunbarx
Mon Dec 10, 2018 6:51 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 376

erratic movement of controls with repeat

This has been the case for a while. Make two buttons. In the script of btn 1: on mouseUp set the loc of btn 2 to "100,200" repeat 300 set the loc of btn 2 to (item 1 of the loc of btn 2) + 1 & ",200" wait 1 millisec end repeat end mouseUp Click btn 1 a few times. The rate of movement, never smooth, ...
by dunbarx
Mon Dec 10, 2018 6:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: distorted graphics when using move or set loc
Replies: 33
Views: 887

Re: distorted graphics when using move or set loc

Can you post the stack, or a test stack that shows the same behavior?

Craig

Go to advanced search