Re: Strict is in; lax is out

2016-08-22 Thread Sannyasin Brahmanathaswami
m...@jerrydaniels.com> wrote: Exactly, Mike. I remembered the exclamation mark. But I was exercising my laxness. LOL (good one…) We live in laxness land (Hawaii) and my coding is even more lax. (always in need of optimization…) I can't even get myself to turn on explicitVars. But I am su

Re: IPv6 & Apple

2016-08-22 Thread Charles Warwick
On 23/08/2016 2:27 pm, Charles Warwick wrote: Hi Scott, Ok, there are a couple of issues there. Using "198.01.234.54:1234" as tDatabaseAddress indicates you are using a hardcoded IPv4 address which can cause problems. However there is a bigger issue there in that the database library in LC

Re: Wouldn't it be neat...

2016-08-22 Thread Roger Guay
No, mine is indeed set to palette yet does not work and your’s works just fine. I’ll report back when I figure out why. Thanks for your patience > On Aug 22, 2016, at 8:42 PM, Richard Gaskin > wrote: > > Roger wrote: > > > I take it back. I thought I had it working but alas, not so much. >

Re: IPv6 & Apple

2016-08-22 Thread Charles Warwick
Hi Scott, Ok, there are a couple of issues there. Using "198.01.234.54:1234" as tDatabaseAddress indicates you are using a hardcoded IPv4 address which can cause problems. However there is a bigger issue there in that the database library in LC does not support IPv6. This means that for iO

RE: Strict is in; lax is out

2016-08-22 Thread Erik Beugelaar
I have recently decided to learn LCB because I believe the making of LiveCode widgets could give me and others a nice extra income. So for me it started with refreshing my C language but the most ridicule step I made is to start learning Functional Programming (in Haskell) aside because of the rais

Re: IPv6 & Apple

2016-08-22 Thread Scott Rossi
Hi Charles: The app makes database calls using the following structure. put "198.01.234.56:1234" into tDatabaseAddress put "dbname_" into tDatabaseName put "dbuser" into tDatabaseUser put "dbpassword" into tDatabasePassword put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName,

Re: Wouldn't it be neat...

2016-08-22 Thread Richard Gaskin
Roger wrote: > I take it back. I thought I had it working but alas, not so much. > I can’t make it work for a button in a palette stack (a plugin) > and selectedText from the Script Editor of the topStack. Here is > my button script: > > on mouseUp >set the defaultstack to the topstack >p

Re: IPv6 & Apple

2016-08-22 Thread Charles Warwick
Hi Scott, On 23/08/2016 7:07 am, Scott Rossi wrote: Does anyone have any experience with this? The backend database guy I'm working with thinks this is a hosting issue (host needs to support IPv6). Will switching to a host that supports the new protocol allow us to troubleshoot/fix this? You

Re: Wouldn't it be neat...

2016-08-22 Thread Roger Guay
Nope! > On Aug 22, 2016, at 7:36 PM, Mike Bonner wrote: > > does it work if you put it into the selectedchunk instead of the > selectedtext? > > On Mon, Aug 22, 2016 at 8:22 PM, Roger Guay wrote: > >> Hi Richard, >> >> I take it back. I thought I had it working but alas, not so much. I can’

Re: Wouldn't it be neat...

2016-08-22 Thread Mike Bonner
does it work if you put it into the selectedchunk instead of the selectedtext? On Mon, Aug 22, 2016 at 8:22 PM, Roger Guay wrote: > Hi Richard, > > I take it back. I thought I had it working but alas, not so much. I can’t > make it work for a button in a palette stack (a plugin) and selectedText

Re: Wouldn't it be neat...

2016-08-22 Thread Roger Guay
Hi Richard, I take it back. I thought I had it working but alas, not so much. I can’t make it work for a button in a palette stack (a plugin) and selectedText from the Script Editor of the topStack. Here is my button script: on mouseUp set the defaultstack to the topstack put

Re: Wouldn't it be neat...

2016-08-22 Thread Roger Guay
How right you are! Thanks! > On Aug 22, 2016, at 7:39 AM, Richard Gaskin > wrote: > > Clicking a button should only deselect text when the button's traversalOn > property is true. > > If that were not the case it would not be possible to make toolbars that act > on text, and such a limitat

Re: IPv6 & Apple

2016-08-22 Thread Bob Sneidar
Not a bug. Apple is now requiring that apps support IPV6 (presumably) because they think the only way to move people to use it is to enforce it. They may be right. Still, I would love to see the *actual* numbers of routable IP addresses in use on the inter webs to get an idea of how serious the

Re: Performance issues LC8 versus earlier versions.

2016-08-22 Thread Alex Tweedly
On 22/08/2016 22:40, Ali Lloyd wrote: Is the speed difference still there without the `add 1 to temp` line? Yes. btw - 7.0.5 gives identical timings to 8.1 (probably what you'd expect, but thought I'd throw it in as useful info). -- Alex. ___ use

Re: Performance issues LC8 versus earlier versions.

2016-08-22 Thread Ali Lloyd
> I would not have thought that caseSensitive should matter, since these > are bytes not characters - or is that being naive of me ? This is correct. > Would caseSensitive make it faster ? No, provided the internal representation remains binary, which will be true provided you are using binfile,

IPv6 & Apple

2016-08-22 Thread Scott Rossi
I recently received an app review response from Apple stating my app has connection issues when connecting to a server on an IPv6 network: "We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 9.3.4 on Wi-Fi connected to an IPv6 network. Your app shows an error

Re: Strict is in; lax is out

2016-08-22 Thread me
Exactly, Mike. I remembered the exclamation mark. But I was exercising my laxness. On Aug 22, 2016, 3:36 PM -0500, Mike Kerner , wrote: > I was going to mention CompileIt! and Double-XX!, as well (you forgot the > exclamation points). I wasn't overjoyed with the restrictions, but I was > at not h

Re: Strict is in; lax is out

2016-08-22 Thread Mike Kerner
I was going to mention CompileIt! and Double-XX!, as well (you forgot the exclamation points). I wasn't overjoyed with the restrictions, but I was at not having to use Think C to make externals, any more. On Mon, Aug 22, 2016 at 4:30 PM, wrote: > With builder the LC platform is becoming almost

Re: Strict is in; lax is out

2016-08-22 Thread me
With builder the LC platform is becoming almost like a meta OS. Before it was great at the high an mid level. Now we get lower level and extensibility. I felt the same way when CompileIt came along for HyperCard. Like then, I have no interest in foregoing LC scripting. On Aug 22, 2016, 3:21 PM

Re: Strict is in; lax is out

2016-08-22 Thread Richard Gaskin
Richmond wrote: > language: something that Livecode has inherited. Please do not chuck > that out. Nothing to worry about, Richmond. LiveCode Script and LiveCode Builder are different languages for different purposes. As an extensibility subsystem, LC Builder benefits from being more restri

Re: Strict is in; lax is out

2016-08-22 Thread Richmond
What I like about Livecode is that it has a multiplicity of ways of achieving things. I have just rescued my BBC Master Compact from Scotland and bought a cable that connects its video-out to a SCART socket: I had forgotten about the 'LET' statement . . . I feel that strict variable declarat

Re: Moving 2 things at once . . .

2016-08-22 Thread Richmond
I've just replaced the stack with one that has 2 buttons: one featuring "without waiting" and one without that. The comparison is valuable. https://www.dropbox.com/s/6j7ltdf3scxbmcl/Shift.livecode.zip?dl=0 Richmond. On 22.08.2016 19:19, Richmond wrote: I'm even more mental than I thought:

Re: TSNet - Previous request not completed

2016-08-22 Thread J. Landman Gay
On 8/22/2016 2:05 PM, J. Landman Gay wrote: I was mistaken about the test URLs. It isn't a new URL each time, it's the same one that calls a PHP script on the server. I believe the old libURL had the same behavior; it didn't allow duplicate requests. So that part probably isn't a bug even though

Re: Strict is in; lax is out

2016-08-22 Thread Roger Eller
> "LCB is less bad than most other languages" lol On Mon, Aug 22, 2016 at 3:16 PM, Mike Kerner wrote: > I can't stand strict. That's part of the reason why I choose to use LC > instead of C. I would rather have to find and fix typos in variable names > than have to coerce type changes when I

Re: Wouldn't it be neat...

2016-08-22 Thread Mike Kerner
Add this to a long script editor wishlist. On Mon, Aug 22, 2016 at 3:07 PM, J. Landman Gay wrote: > On 8/22/2016 1:43 AM, m...@jerrydaniels.com wrote: > >> If you use the clipboarddata to alter your scripts, you get undo to work >> again. >> > > Yeah, though there's a better way to do it that do

Re: Strict is in; lax is out

2016-08-22 Thread Mike Kerner
I can't stand strict. That's part of the reason why I choose to use LC instead of C. I would rather have to find and fix typos in variable names than have to coerce type changes when I want to do something with a variable, or have to declare variable after variable after variable in a block of co

Re: Wouldn't it be neat...

2016-08-22 Thread J. Landman Gay
On 8/22/2016 1:43 AM, m...@jerrydaniels.com wrote: If you use the clipboarddata to alter your scripts, you get undo to work again. Yeah, though there's a better way to do it that doesn't wipe the user's clipboard. But that isn't my work so I didn't include it here. It's all moot though now th

Re: TSNet - Previous request not completed

2016-08-22 Thread J. Landman Gay
On 8/22/2016 12:41 AM, Monte Goulding wrote: On 22 Aug 2016, at 3:38 PM, J. Landman Gay wrote: Using an Indy license, I'm getting a lot of "previous request not completed" errors when trying to POST to a server. In the past, connectivity would eventually resume when a new request was sent. Wi

Re: Strict is in; lax is out

2016-08-22 Thread me
I think it's the cycling thru that spectrum over time that makes the whole thing work. On Aug 22, 2016, 12:39 PM -0500, dunb...@aol.com, wrote: > Everything you say is true, modern and relevant. > > > That said, long live lax. > > > Craig Newman > > > > -Original Message- > From: me To:

Re: Strict is in; lax is out

2016-08-22 Thread dunbarx
Everything you say is true, modern and relevant. That said, long live lax. Craig Newman -Original Message- From: me To: LiveCode List Sent: Mon, Aug 22, 2016 12:34 pm Subject: Strict is in; lax is out With the advent of LCB, 'strict' is becoming the watchword in the v8 era. I ap

Re: Backwards compatibility or sanity? help

2016-08-22 Thread Ben Rubinstein
On 21/08/2016 00:22, Monte Goulding wrote: On 21 Aug 2016, at 8:57 AM, Richard Gaskin wrote: > > It would appear that the current behavior in v8 is a fix that addresses a previously anomalous handling of delimiters in the case of "is among". That’s my feeling also. We know it impacts a popular

Strict is in; lax is out

2016-08-22 Thread me
With the advent of LCB, 'strict' is becoming the watchword in the v8 era. I applaud this new direction. Yes, there's short term discomfort with LCB (learning curve), but in the near-to-long term I believe there will be huge dividends paid to developers with high performance, low maintenance apps

Re: Moving 2 things at once . . .

2016-08-22 Thread dunbarx
Richmond. I had posted this to a thread in the forums a few months back. On a new card make a button and four fields. in the buttons script: on mouseUp put 10 into moveTime lock moves repeat with i=1 to 4 move fld i relative "0,60" in moveTime without waiting end repeat unloc

Re: Moving 2 things at once . . .

2016-08-22 Thread Richmond
I'm even more mental than I thought: why did I ask that question at all? https://www.dropbox.com/s/6w8r7p4e2rir6n6/Shift.livecode.zip?dl=0 Richmond. On 22.08.2016 19:08, Richmond wrote: Well here's an ethnic minority lurking in the woodpile (probably Scottish): One of my pupils has been s

Moving 2 things at once . . .

2016-08-22 Thread Richmond
Well here's an ethnic minority lurking in the woodpile (probably Scottish): One of my pupils has been sweating away all Summer and has just sent me this: Livecode "can't move two things at the same time". Which I know is not true, and remember something about /without waiting/ but don't reme

image recognition

2016-08-22 Thread Mike Kerner
Has anybody done any image recognition? I was listening to a podcast over the weekend about how some companies are predicting economic activity by counting cars in parking lots using satellite images. That got me thinking... -- On the first day, God created the heavens and the Earth On the seco

Re: Should size be extended to variables?

2016-08-22 Thread Mark Talluto
> On Aug 20, 2016, at 11:44 AM, Mark Waddingham wrote: > > For what purpose? At one point, I needed to know the size of the data (in this case an array) that was to be transferred over the network. LSON and Base64Encoding arrays allows me to get the num of chars of the string. So the problem

Re: Performance issues LC8 versus earlier versions.

2016-08-22 Thread Richard Gaskin
Alex Tweedly wrote: > Would caseSensitive make it faster ? In theory yes, since it avoids having to run the internal equivalent of toLower on each thing being compared. However in some recent experiments involving pattern matching on text I was unable to measure a difference. That shouldn't

Re: Wouldn't it be neat...

2016-08-22 Thread Richard Gaskin
Mike Bonner wrote: > If you're on a mac, and click a button while text is selected.. does > it de-select the chunk? I seem to remember something like this in > the past, but am not at my mac right now so I can't try it. Clicking a button should only deselect text when the button's traversalOn

Re: Performance issues LC8 versus earlier versions.

2016-08-22 Thread Alex Tweedly
Hi Monte, here's the script - the actual file could be any 20Mb or so jpg. on mouseUp put URL ("binfile:/Users/alextweedly/Dropbox (Personal)/Pictures/2016/101_0818/IMGP0021.JPG") into tData1 put URL ("binfile:/Users/alextweedly/Dropbox (Personal)/Pictures/2016/101_0818/IMGP0021.JPG") in

Re: Garbage collection (crashing on Windows)

2016-08-22 Thread Ben Rubinstein
Mark, Thanks so much for this detailed and very useful response. A few quick follow-up questions. 1) > https://blogs.technet.microsoft.com/askperf/2007/03/23/memory-management-demystifying-3gb/ This looks like a great tip - before I go into the ring with the client's IT dept (always a trick

[ANN] This Week in LiveCode 47

2016-08-22 Thread Monte Goulding
Hi LiveCoders Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #42 here: http://goo.gl/O4kcw0 This is a weekly newsletter about LiveCode, focussing on wha