Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Paul Dupuis via use-livecode
On 2/16/2021 2:46 PM, Alex Tweedly via use-livecode wrote: Paul - if you need to do this (i.e. find pairs of rects which are too close) for LARGE numbers of rects, I have some code to do this very efficiently (somewhere in an old archive, just ready to translate from C to LC). It uses a

Re: SSL Error - question from Stack Overflow

2021-02-16 Thread matthias rebbe via use-livecode
Could you try tsNetVerifySSLPeer false instead of libURLSetSSLVerification false ? Maybe setting libURLSetSSLVerification does not have any effect on tsNET. - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.02.2021 um 19:06 schrieb Devin Asay via use-livecode > : > > Hi all, >

Re: Another question about multiple stack projects

2021-02-16 Thread Peter Bogdanoff via use-livecode
Also, if you are going to notarize the application package after code signing in macOS, the files need to be where the standalone maker puts them. Otherwise it will fail Apple’s notarization service. I found this out after trial and error. Previously I had manually put them into the package

Re: SSL Error - question from Stack Overflow

2021-02-16 Thread Richard Gaskin via use-livecode
Devin Asay wrote: I came across this question on stack overflow. I like to try to give good LiveCode answers there when I can, just to do a little to boost the reputation of the LC community there. But I don’t have a clue on this one. A Livecode script: get URL

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Alex Tweedly via use-livecode
Paul - if you need to do this (i.e. find pairs of rects which are too close) for LARGE numbers of rects, I have some code to do this very efficiently (somewhere in an old archive, just ready to translate from C to LC). It uses a 'trailing window horizontal scan' so reduces the complexity/time

Re: Another question about multiple stack projects

2021-02-16 Thread William Prothero via use-livecode
What I should have done is search the help files first, but I somehow chose unhelpful search terms, so didn’t see this until this morning. Sorry. So it appears that the only purpose of the “Stacks” setting is to set properties for each stack that locates them within the particular app

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Paul Dupuis via use-livecode
On 2/15/2021 5:53 PM, Paul Dupuis via use-livecode wrote: This is an Off Topic informal poll of sorts, but related to LiveCode as I am writing a LiveCode expression to determine if 2 arbitrary rectangles (r1,r2) are with some distance d (in px) of one another. In considering this problem, the

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Paul Dupuis via use-livecode
Alex, Thank you. As I just posted, I think I am seeing that *most* people think of the distance between 2 rects as the distance between nearest edges or vertices which is the same as the smallest distance between any two points. On 2/15/2021 7:53 PM, Alex Tweedly via use-livecode wrote:

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Paul Dupuis via use-livecode
Sean, Thank you. I had Googles a few solutions (but missed this one: https://math.stackexchange.com/questions/2724537/finding-the-clear-spacing-distance-between-two-rectangles - which I really like so thanks!) but I say that some were solving for center distances and some for edges and some

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Paul Dupuis via use-livecode
Thank you. I think I understand the proposed approach. I appreciate the clarification. On 2/16/2021 1:02 PM, David V Glasgow via use-livecode wrote: Well, my suggestion a non starter if you need to do hard sums, and you eschew invisibles. However, my thinking was this... I understood that

SSL Error - question from Stack Overflow

2021-02-16 Thread Devin Asay via use-livecode
Hi all, I came across this question on stack overflow. I like to try to give good LiveCode answers there when I can, just to do a little to boost the reputation of the LC community there. But I don’t have a clue on this one. A Livecode script: get URL

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread David V Glasgow via use-livecode
Well, my suggestion a non starter if you need to do hard sums, and you eschew invisibles. However, my thinking was this... I understood that the task was to detect when two rectangles r1 and r2 were within distance d of each other. Presumably ether a flat bit or a pointy bit, coming in at

Nods: "The Soul of a New App".

2021-02-16 Thread Mark Rauterkus via use-livecode
Love this: P.P.S title suggestion "The Soul of a New App". Mark R -- -- Ta. Mark Rauterkus m...@rauterkus.com Webmaster, International Swim Coaches Association, SwimISCA.org Executive Director of SKWIM USA, a 501(c)(3), SKWIM.us The Pittsburgh Project - swim coach and head lifeguard

Re: iOS App just shows Splash Screen the quits

2021-02-16 Thread matthias rebbe via use-livecode
Forgot to mention. I tried with LC 9.6.2 RC 1 & 2 and LC 9.6.1 - Matthias Rebbe Life Is Too Short For Boring Code > Am 16.02.2021 um 17:43 schrieb matthias rebbe via use-livecode > : > > Hi, > > i am working on an app which ran without problems on iOS14.2 on the iPad of a > customer.. Now the

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Paul Dupuis via use-livecode
On 2/16/2021 6:16 AM, David V Glasgow via use-livecode wrote: Being a bear of little brain, I would try placing each rect into a group centred on a larger rect, where the margin is d/2, then test using intersect. Now, where did I put that hunny? Like the pooh reference! Although I am not

Re: Livecode IDE question

2021-02-16 Thread Bob Sneidar via use-livecode
Belay my last post on this thread. I am always plagued with this problem where emails on a simple thread come into my inbox as multiple threads, so I don’t always see the original post right away. Bob S > On Feb 12, 2021, at 1:21 PM, Roger Guay via use-livecode > wrote: > > I’m having a

Re: team-xapi-in-LiveCode Update

2021-02-16 Thread Bob Sneidar via use-livecode
I have a custom development menu I remove when creating standalone. In it I have a Center Stack which simply sets the loc of the top stack to the screenLoc. Bob S > On Feb 13, 2021, at 10:00 AM, Brian K. Duck via use-livecode > wrote: > > Erik, > > The YouTube url has been validated and

Re: Another question about multiple stack projects

2021-02-16 Thread Bob Sneidar via use-livecode
Listing them in the stack files gives LC the ability to find them when you refer to them by name only (as opposed to the full path.) In the case of script only Libraries, you can start using them at any time before you make a call to them. For instance, I have a database setup card that

iOS App just shows Splash Screen the quits

2021-02-16 Thread matthias rebbe via use-livecode
Hi, i am working on an app which ran without problems on iOS14.2 on the iPad of a customer.. Now the customer updated his iPad to iOS 14.4 and now the app crashes after showing up the splash screen. Even a simple app only shows the splash screen at start and the quits. I tried to build the app

Re: LC Roadmap

2021-02-16 Thread Bob Sneidar via use-livecode
BIG + If not for Livecode, I would not be developing at all. I am just grateful that there IS a Livecode. I am not a professional developer though, so I understand that some have issues with certain things. Bob S On Feb 15, 2021, at 4:55 AM, Andre Garzia via use-livecode

Re: LC Roadmap

2021-02-16 Thread Alex Tweedly via use-livecode
On 15/02/2021 12:55, Andre Garzia via use-livecode wrote: It is with this in mind, that I decided to create content for our community. Books are an easy value proposition. Most of our community is beyond their thirties and have a fondness (and experience) for the written word and

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread Alex Tweedly via use-livecode
Hi Henk, No, it's maybe not obvious but it does take all cases into account. If the smallest distance is between corners of each rectangle - only then does the 'sqrt' have real meaning. In all other cases, one or other of the DX and DY comes out as 0. --  |    | | R1 |  --  |    | 

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-16 Thread David V Glasgow via use-livecode
Being a bear of little brain, I would try placing each rect into a group centred on a larger rect, where the margin is d/2, then test using intersect. Now, where did I put that hunny? Best wishes David Glasgow ___ use-livecode mailing list

Re: Using MySQL on (headless) Linux

2021-02-16 Thread Richard Gaskin via use-livecode
Thank you, Mark, but the downside to my longish emails is that I'll need further guidance: which part/phrases would be of greatest interest? Happy to see if I can put together something to help with it. -- Richard Gaskin Fourth World Systems On 2/4/21 3:33 AM, Mark Smith wrote: Richard,

Re: Polygon fill algo?

2021-02-16 Thread Richard Gaskin via use-livecode
Super helpful, Mark. Thank you. I can better understand how the existing modes work, but I need something a little different. Imagine if we had a mode where each successive set of points is rendered so it completely paints over anything rendered before it, vertices and all - e.g.: