From dvglasgow at gmail.com Sun Jul 1 05:37:05 2018 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 1 Jul 2018 10:37:05 +0100 Subject: Tessellated hexagonal grid? In-Reply-To: <3FF562B7-1B81-4A7E-8C66-D0491DA6F168@hyperhh.de> References: <3FF562B7-1B81-4A7E-8C66-D0491DA6F168@hyperhh.de> Message-ID: <33D60956-0BF1-44B5-AFB2-3AE4F97439A6@gmail.com> Most excellent! > On 30 Jun 2018, at 1:26 am, hh via use-livecode wrote: > > A simple hexagonal grid creating stack: > http://forums.livecode.com/viewtopic.php?p=168657#p168657 > > You choose the number of rows and columns and, for "scaling", > the horizontal radius and vertical radius of the circumellipses. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From christer at mindcrea.com Sun Jul 1 06:21:42 2018 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Sun, 1 Jul 2018 13:21:42 +0300 Subject: Filed entry cursor Message-ID: Using different devices I have not found out how to make a well visible text field entry pointing cursor. What is seen is typically a very faint vertical line, which barely can be seen. I remember having seen a nice vertical tile, blinking on the location you can do your entry. How owuld one be able to make it with LiveCode text field entry, blinking and possibly utilising colour with it to improve the detectability? rgds Christer Pyyhti? MindCrea Ltd christer at mindcrea.com From hh at hyperhh.de Sun Jul 1 07:21:16 2018 From: hh at hyperhh.de (hh) Date: Sun, 1 Jul 2018 13:21:16 +0200 Subject: Filed entry cursor Message-ID: <57FD26B3-48D5-40AB-9A29-877EE497F549@hyperhh.de> This is a stack for making cursor images: http://forums.livecode.com/viewtopic.php?p=129211#p129211 You can set the color, size and transparency of the cursor image. Don't forget to set the hotspot adjusted to the cursor's size. Just copy your cursor image to your stack and set the cursor (or the defaultcursor) for your fiels on mouseEnter and mouseLeave . The stack also show's how to create cursor's on the fly (for example to use cursor the cursor as progress indicator). From tfabacher at gmail.com Sun Jul 1 07:43:44 2018 From: tfabacher at gmail.com (Todd Fabacher) Date: Sun, 1 Jul 2018 07:43:44 -0400 Subject: WooCommerce API Manager & Livecode Message-ID: Hello Peter, Yes, Digital Pomegranate created an interfaced with WooCommerce several times via the WP RestAPI. Here is the documentation: https://woocommerce.github.io/woocommerce-rest-api-docs/ You can get the LiveCode-WP RestAPI script here: https://github.com/digitalpomegranate/livecode-wp-restapi Just be aware you are going to need a WP OAuth plugin to connect. Before Woo had their own API, but they now fully support the standard API. Email if you have any questions. I am traveling this week, so give me a day or two to respond. --Todd From brahma at hindu.org Sun Jul 1 11:19:34 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 1 Jul 2018 15:19:34 +0000 Subject: Mastering TS Net Message-ID: I really need to get my head around TSNet, so began experiments. This is the documentation for tsNetGetFile " local tHeaders, tResult put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ "ftp://user:pass at ftp.example.com/file.dat", tHeaders, \ "transferComplete") into tResult on transferComplete pID, pResult, pBytes, pCurlCode local tData, tHeaders if pCurlCode is not 0 then answer tsNetRetrError(pID) else a nswer "File has been downloaded" end if tsNetCloseConn pID end transferComplete # but my first attempt to "get it" ... ran into this error. Are there any good lessons on all TSNet functions? I am not looking forward to wading into this blind as a bat. # variable watcher tResult -- tsneterr: ID already in use what is strange is this, the IDE gives the error even before tracing the mouseup. So I did not even get off home plate. ############ local tHeaders, tResult on mouseup # put a break here... the IDE show an error *before* stepping into the next statement # I can't even close the connection with: tsNetCloseConn "1" put empty into tResult put fld aURL into pURL put empty into fld "fldHTTPHeader" put empty into fld "tHTMLfield" set the itemDel to "/" put item -1 of pURL into tFileName put ("~/Desktop/"&tFileName) into tLocalFile put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") into tResult -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" end mouseup on transferComplete pID, pResult, pBytes, pCurlCode if pCurlCode is not 0 then answer tsNetRetrError(pID) else answer "File has been downloaded" put tHeaders into fld "fldHTTPHeader" end if tsNetCloseConn pID end transferComplete BR From jacque at hyperactivesw.com Sun Jul 1 12:39:10 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Jul 2018 11:39:10 -0500 Subject: Filed entry cursor In-Reply-To: References: Message-ID: <16456b65fb0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think the appearance of the insertion point is controlled by the OS. You could submit a report to see if it is possible to change it. That may be allowed on some platforms. If you are talking about mobile devices, I've seen that LC fields sometimes don't display an insertion point at all, and show very erratic behavior during text entry. The solution is to use a native field, but I'm not sure the insertion point can be altered there either. It wouldn't hurt to submit a feature request though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 1, 2018 5:25:17 AM Pyyhti? Christer via use-livecode wrote: > Using different devices I have not found out how to make a well visible > text field entry pointing cursor. What is seen is typically a very faint > vertical line, which barely can be seen. I remember having seen a nice > vertical tile, blinking on the location you can do your entry. How owuld > one be able to make it with LiveCode text field entry, blinking and > possibly utilising colour with it to improve the detectability? > > rgds > > Christer Pyyhti? > MindCrea Ltd > christer at mindcrea.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Jul 1 14:00:44 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Jul 2018 13:00:44 -0500 Subject: Mastering TS Net In-Reply-To: References: Message-ID: <16457010ce0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does TSNet even work with local files? For local files use the read/write commands or "get/put url". With a commercial license you shouldn't need to deal with the lower level functions for internet communication. The basic put, post, and get commands should do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 1, 2018 10:21:38 AM Sannyasin Brahmanathaswami via use-livecode wrote: > I really need to get my head around TSNet, so began experiments. > > This is the documentation for tsNetGetFile > > " local tHeaders, tResult > > put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ > "ftp://user:pass at ftp.example.com/file.dat", tHeaders, \ > "transferComplete") into tResult > > on transferComplete pID, pResult, pBytes, pCurlCode > local tData, tHeaders > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > a nswer "File has been downloaded" > end if > tsNetCloseConn pID > end transferComplete > > # but my first attempt to "get it" ... ran into this error. > > Are there any good lessons on all TSNet functions? > I am not looking forward to wading into this blind as a bat. > > # variable watcher > > tResult -- tsneterr: ID already in use > > what is strange is this, the IDE gives the error even before tracing the > mouseup. > > So I did not even get off home plate. > > ############ > local tHeaders, tResult > > on mouseup > # put a break here... the IDE show an error *before* stepping into the next > statement > # I can't even close the connection with: > tsNetCloseConn "1" > put empty into tResult > put fld aURL into pURL > put empty into fld "fldHTTPHeader" > put empty into fld "tHTMLfield" > set the itemDel to "/" > put item -1 of pURL into tFileName > put ("~/Desktop/"&tFileName) into tLocalFile > put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") into tResult > > -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" > end mouseup > > on transferComplete pID, pResult, pBytes, pCurlCode > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > answer "File has been downloaded" > put tHeaders into fld "fldHTTPHeader" > end if > tsNetCloseConn pID > end transferComplete > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sun Jul 1 16:20:52 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 01 Jul 2018 13:20:52 -0700 Subject: WooCommerce API Manager & Livecode In-Reply-To: References: Message-ID: Todd, Thanks for this! Peter > On Jul 1, 2018, at 4:43 AM, Todd Fabacher via use-livecode wrote: > > Hello Peter, > > Yes, Digital Pomegranate created an interfaced with WooCommerce several > times via the WP RestAPI. > > Here is the documentation: > https://woocommerce.github.io/woocommerce-rest-api-docs/ > > You can get the LiveCode-WP RestAPI script here: > https://github.com/digitalpomegranate/livecode-wp-restapi > > Just be aware you are going to need a WP OAuth plugin to connect. Before > Woo had their own API, but they now fully support the standard API. > > Email if you have any questions. I am traveling this week, so give me a day > or two to respond. > > --Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sun Jul 1 21:40:13 2018 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 2 Jul 2018 11:40:13 +1000 Subject: Mastering TS Net In-Reply-To: References: Message-ID: Hi BR, There are a series of lessons on tsNet on the LiveCode website: http://lessons.livecode.com/m/4071/c/235433 If you are looking for an example of how to download something direct to a file, the lesson called ?How to asynchronously download via SFTP directly a file? should help. The same concepts apply for downloading to a file regardless of the protocol being used. If you can?t quite find an example lesson that answers what you need, let me know and I will get one organised. Regards, Charles > On 2 Jul 2018, at 1:19 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > I really need to get my head around TSNet, so began experiments. > > This is the documentation for tsNetGetFile > > " local tHeaders, tResult > > put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ > "ftp://user:pass at ftp.example.com/file.dat", tHeaders, \ > "transferComplete") into tResult > > on transferComplete pID, pResult, pBytes, pCurlCode > local tData, tHeaders > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > a nswer "File has been downloaded" > end if > tsNetCloseConn pID > end transferComplete > > # but my first attempt to "get it" ... ran into this error. > > Are there any good lessons on all TSNet functions? > I am not looking forward to wading into this blind as a bat. > > # variable watcher > > tResult -- tsneterr: ID already in use > > what is strange is this, the IDE gives the error even before tracing the mouseup. > > So I did not even get off home plate. > > ############ > local tHeaders, tResult > > on mouseup > # put a break here... the IDE show an error *before* stepping into the next statement > # I can't even close the connection with: > tsNetCloseConn "1" > put empty into tResult > put fld aURL into pURL > put empty into fld "fldHTTPHeader" > put empty into fld "tHTMLfield" > set the itemDel to "/" > put item -1 of pURL into tFileName > put ("~/Desktop/"&tFileName) into tLocalFile > put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") into tResult > > -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" > end mouseup > > on transferComplete pID, pResult, pBytes, pCurlCode > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > answer "File has been downloaded" > put tHeaders into fld "fldHTTPHeader" > end if > tsNetCloseConn pID > end transferComplete > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Mon Jul 2 00:45:43 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 2 Jul 2018 00:45:43 -0400 Subject: Sort IP List In-Reply-To: <72729fb4-8d1f-df9d-df75-0cdca049ddc0@sonic.net> References: <9E7ABF92-E604-443F-BE90-C92294279584@uni-wh.de> <001801d410d3$ac64fb70$052ef250$@net> <72729fb4-8d1f-df9d-df75-0cdca049ddc0@sonic.net> Message-ID: <000001d411bf$8bc3aeb0$a34b0c10$@net> I agree "mind-bogglingly nonsensical" Something is very odd. If I open the stack with fresh start of the IDE I start getting results closer to what I would expect. The by ref is about 5 to 10% faster. NOW.... Every so often when I open the message box things start getting weird and I get those crazy results. If I close msg then it is different weird. When I say different I mean that another step in the process starts taking longer. Close LC and restart and things are back to normal until I open the message box a few times. No pattern as of yet. But I do know if you don't open the message box it never goes crazy. I'm going to dig in and see what's happening here. If I can get a recipe I'm going to send it off to Panos. Win 10 VM LC 9 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Saturday, June 30, 2018 11:05 PM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: Sort IP List Ralph- Not that I'm doubting your findings, but those both seem mind-bogglingly nonsensical to me. Can you post your test code? -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Jul 2 09:29:42 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 2 Jul 2018 14:29:42 +0100 Subject: [ANN] This Week in LiveCode 135 Message-ID: Hi all, 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 #135 here: https://goo.gl/pqKtJ8 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From brahma at hindu.org Mon Jul 2 09:36:00 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 2 Jul 2018 13:36:00 +0000 Subject: Mastering TS Net In-Reply-To: References: Message-ID: @Charles: Thanks, I look into lessons. But, using the dictionary example Why do we get the > # variable watcher > > tResult -- tsneterr: ID already in use Even *before* the trace the script? I have break On mouseup But it gives this error even before starting the trace? @ Jacqueline: why use TSNet: 1) because the "libURLLastRHHeaders()" are only available to desktop. And I want to see them on mobile 2) because we are working with the "cloud" and async download means I can pass array to TSNet to open connection to download several files at once; like "load" but with more control... ( I think. I have yet to study it out) and get the headers. Brahmanathaswami ?On 7/1/18, 3:40 PM, "use-livecode on behalf of Charles Warwick via use-livecode" wrote: Hi BR, There are a series of lessons on tsNet on the LiveCode website: http://lessons.livecode.com/m/4071/c/235433 If you are looking for an example of how to download something direct to a file, the lesson called ?How to asynchronously download via SFTP directly a file? should help. The same concepts apply for downloading to a file regardless of the protocol being used. If you can?t quite find an example lesson that answers what you need, let me know and I will get one organised. Regards, Charles > On 2 Jul 2018, at 1:19 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > I really need to get my head around TSNet, so began experiments. > > This is the documentation for tsNetGetFile > > " local tHeaders, tResult > > put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ > "ftp://user:pass at ftp.example.com/file.dat", tHeaders, \ > "transferComplete") into tResult > > on transferComplete pID, pResult, pBytes, pCurlCode > local tData, tHeaders > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > a nswer "File has been downloaded" > end if > tsNetCloseConn pID > end transferComplete > > # but my first attempt to "get it" ... ran into this error. > > Are there any good lessons on all TSNet functions? > I am not looking forward to wading into this blind as a bat. > > # variable watcher > > tResult -- tsneterr: ID already in use > > what is strange is this, the IDE gives the error even before tracing the mouseup. > > So I did not even get off home plate. > > ############ > local tHeaders, tResult > > on mouseup > # put a break here... the IDE show an error *before* stepping into the next statement > # I can't even close the connection with: > tsNetCloseConn "1" > put empty into tResult > put fld aURL into pURL > put empty into fld "fldHTTPHeader" > put empty into fld "tHTMLfield" > set the itemDel to "/" > put item -1 of pURL into tFileName > put ("~/Desktop/"&tFileName) into tLocalFile > put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") into tResult > > -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" > end mouseup > > on transferComplete pID, pResult, pBytes, pCurlCode > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > answer "File has been downloaded" > put tHeaders into fld "fldHTTPHeader" > end if > tsNetCloseConn pID > end transferComplete > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Jul 2 09:59:12 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 2 Jul 2018 09:59:12 -0400 Subject: Sort IP List In-Reply-To: <000001d411bf$8bc3aeb0$a34b0c10$@net> References: <9E7ABF92-E604-443F-BE90-C92294279584@uni-wh.de> <001801d410d3$ac64fb70$052ef250$@net> <72729fb4-8d1f-df9d-df75-0cdca049ddc0@sonic.net> <000001d411bf$8bc3aeb0$a34b0c10$@net> Message-ID: oh yes..... message box makes LC slow to a crawl..I've noticed that. i can confirm that. Win 10 LC 9 too. On Mon, Jul 2, 2018 at 12:45 AM, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I agree "mind-bogglingly nonsensical" > > Something is very odd. If I open the stack with fresh start of the IDE I > start getting results closer to what I would expect. The by ref is about 5 > to 10% faster. NOW.... Every so often when I open the message box things > start getting weird and I get those crazy results. If I close msg then it > is > different weird. When I say different I mean that another step in the > process starts taking longer. Close LC and restart and things are back to > normal until I open the message box a few times. No pattern as of yet. But > I > do know if you don't open the message box it never goes crazy. I'm going to > dig in and see what's happening here. If I can get a recipe I'm going to > send it off to Panos. > > Win 10 VM > LC 9 > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mark Wieder via use-livecode > Sent: Saturday, June 30, 2018 11:05 PM > To: Ralph DiMola via use-livecode > Cc: Mark Wieder > Subject: Re: Sort IP List > > Ralph- > > Not that I'm doubting your findings, but those both seem mind-bogglingly > nonsensical to me. Can you post your test code? > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Mon Jul 2 10:16:28 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 2 Jul 2018 14:16:28 +0000 Subject: Mastering TS Net In-Reply-To: References: Message-ID: Charles: Mysteries I booted Livecode fresh the morning, and used the same script. But I no longer get tResult -- tsneterr: ID already in use. Dictionary script works as expected "File downloaded" local tHeaders, tResult on mouseup tsNetCloseConn "1" put empty into tResult put fld aURL into pURL put empty into fld "fldHTTPHeader" put empty into fld "tHTMLfield" set the itemDel to "/" put item -1 of pURL into tFileName put ("/Users/brahmanathaswami/Desktop/"&tFileName) into tLocalFile put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") into tResult -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" end mouseup on transferComplete pID, pResult, pBytes, pCurlCode if pCurlCode is not 0 then answer tsNetRetrError(pID) else answer "File has been downloaded" put tHeaders into fld "fldHTTPHeader" end if tsNetCloseConn pID end transferComplete ># variable watcher > > tResult -- tsneterr: ID already in use From ahsoftware at sonic.net Mon Jul 2 10:56:38 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 2 Jul 2018 07:56:38 -0700 Subject: Sort IP List In-Reply-To: References: <9E7ABF92-E604-443F-BE90-C92294279584@uni-wh.de> <001801d410d3$ac64fb70$052ef250$@net> <72729fb4-8d1f-df9d-df75-0cdca049ddc0@sonic.net> <000001d411bf$8bc3aeb0$a34b0c10$@net> Message-ID: <9eaed3a3-4de3-3301-5ae2-91645a6db73a@sonic.net> On 07/02/2018 06:59 AM, Tom Glod via use-livecode wrote: > oh yes..... message box makes LC slow to a crawl..I've noticed that. i can > confirm that. Win 10 LC 9 too. I've seen that too, especially when spewing debugging statements to the messagebox. But not all the time, and nothing I can get a recipe for. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Mon Jul 2 11:19:11 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 2 Jul 2018 15:19:11 +0000 Subject: Mastering TS Net In-Reply-To: References: Message-ID: I looked at the lesson. Quite good! I think one more lesson may be useful. In my case I will use a "slide show" as a use case. (But there others, thinking of streaming music playlist) 1) Assume you have the URLs for a slideshow; 2) you fetch this by calling JSON/Text file with the urls for a slide show which exists on the server. 3) Let say you have 100 slides/URLs 4) Galleria (our web app jquery/html5) uses "lazyload 3" parameter, which asynchronously loads the next the 3 slides (besides the one you are viewing) in the background, then users view the next slide (already downloaded) -there is no delay. So, with TSNetGet How would set this up Livecode? You don't want to "overwhelm" the phone with async calls to 100 connections/slide. (Galleria suggests "3") But there is the advantage of taking the call back message, get 3 at a time, store them in the documents folder, finally the user has the slides show on his phone, later he can view it off line. At the retrieval of the 100th slide, then we informed the user "Slideshow is download complete." It the user "bails" on slide 36, when he comes back again. TSNetGet starts over but the only which slide 37. That last part may not want to part of your lessons. Though it would be easy enough to check "these is a file" and if it is true, then TSGetNet, so "next repeat" without downloading. I could work this out myself, but is such a common use case, everyone would benefit from it. Brahmanathaswami ?On 7/1/18, 3:40 PM, "use-livecode on behalf of Charles Warwick via use-livecode" wrote: If you can?t quite find an example lesson that answers what you need, let me know and I will get one organised. From jacque at hyperactivesw.com Mon Jul 2 12:17:38 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Jul 2018 11:17:38 -0500 Subject: Sort IP List In-Reply-To: <9eaed3a3-4de3-3301-5ae2-91645a6db73a@sonic.net> References: <9E7ABF92-E604-443F-BE90-C92294279584@uni-wh.de> <001801d410d3$ac64fb70$052ef250$@net> <72729fb4-8d1f-df9d-df75-0cdca049ddc0@sonic.net> <000001d411bf$8bc3aeb0$a34b0c10$@net> <9eaed3a3-4de3-3301-5ae2-91645a6db73a@sonic.net> Message-ID: <1645bc900e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There used to be a barrage of pending messages generated by the IDE that were updating in the message box. Look at the messages pane and set it to auto-update, see if they're still there -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 2, 2018 9:58:40 AM Mark Wieder via use-livecode wrote: > On 07/02/2018 06:59 AM, Tom Glod via use-livecode wrote: >> oh yes..... message box makes LC slow to a crawl..I've noticed that. i can >> confirm that. Win 10 LC 9 too. > > I've seen that too, especially when spewing debugging statements to the > messagebox. But not all the time, and nothing I can get a recipe for. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Jul 2 12:36:19 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 2 Jul 2018 12:36:19 -0400 Subject: Sort IP List In-Reply-To: <1645bc900e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9E7ABF92-E604-443F-BE90-C92294279584@uni-wh.de> <001801d410d3$ac64fb70$052ef250$@net> <72729fb4-8d1f-df9d-df75-0cdca049ddc0@sonic.net> <000001d411bf$8bc3aeb0$a34b0c10$@net> <9eaed3a3-4de3-3301-5ae2-91645a6db73a@sonic.net> <1645bc900e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: ok i will try to provide more info on this from my stack when it happens next. On Mon, Jul 2, 2018 at 12:17 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > There used to be a barrage of pending messages generated by the IDE that > were updating in the message box. Look at the messages pane and set it to > auto-update, see if they're still there > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > On July 2, 2018 9:58:40 AM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > On 07/02/2018 06:59 AM, Tom Glod via use-livecode wrote: >> >>> oh yes..... message box makes LC slow to a crawl..I've noticed that. i >>> can >>> confirm that. Win 10 LC 9 too. >>> >> >> I've seen that too, especially when spewing debugging statements to the >> messagebox. But not all the time, and nothing I can get a recipe for. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at midwestcoastmedia.com Mon Jul 2 12:53:34 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 02 Jul 2018 16:53:34 +0000 Subject: Mastering TS Net In-Reply-To: Message-ID: <20180702165334.Horde.N5B_XJ2YpN6FYzWuu7qVCgD@ua850258.serversignin.com> Like Jacque mentioned, I don't think you need to bother with tsNet for local files since they should be almost instantly loaded. I too struggled with tsNet when I first tried to implement it, but this website helped me more than the LiveCode pages: https://www.techstrategies.com.au/tsnet-resources/ The problem you are encountering is that you can only have one unique ID referenced at a time (first parameter). If you try to make another call using that ID before the first call is returned then you'll get an error. Once a call with the ID has been finished (successful or not), that ID is recycled and available for use again. The documentation doesn't explain well (in my initial understanding) that this doesn't have to be "1" or even a number. I experimented with random(10000) as my pID before encountering that same "ID already in use" error and discovered that for most of my uses I could just hard-code a text based ID that made more sense to me when troubleshooting like "get new image" or "check for updates" or even some variable with a unique value (like your tFileName). --Andrew Bell > Date: Sun, 1 Jul 2018 15:19:34 +0000 > From: Sannyasin Brahmanathaswami > To: How LiveCode > Subject: Mastering TS Net > Message-ID: > Content-Type: text/plain; charset="utf-8" > > I really need to get my head around TSNet, so began experiments. > > This is the documentation for tsNetGetFile > > " local tHeaders, tResult > > put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ > "ftp://user:pass at ftp.example.com/file.dat", tHeaders, \ > "transferComplete") into tResult > > on transferComplete pID, pResult, pBytes, pCurlCode > local tData, tHeaders > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > a nswer "File has been downloaded" > end if > tsNetCloseConn pID > end transferComplete > > # but my first attempt to "get it" ... ran into this error. > > Are there any good lessons on all TSNet functions? > I am not looking forward to wading into this blind as a bat. > > # variable watcher > > tResult -- tsneterr: ID already in use > > what is strange is this, the IDE gives the error even before tracing > the mouseup. > > So I did not even get off home plate. > > ############ > local tHeaders, tResult > > on mouseup > # put a break here... the IDE show an error *before* stepping into > the next statement > # I can't even close the connection with: > tsNetCloseConn "1" > put empty into tResult > put fld aURL into pURL > put empty into fld "fldHTTPHeader" > put empty into fld "tHTMLfield" > set the itemDel to "/" > put item -1 of pURL into tFileName > put ("~/Desktop/"&tFileName) into tLocalFile > put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") > into tResult > > -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" > end mouseup > > on transferComplete pID, pResult, pBytes, pCurlCode > if pCurlCode is not 0 then > answer tsNetRetrError(pID) > else > answer "File has been downloaded" > put tHeaders into fld "fldHTTPHeader" > end if > tsNetCloseConn pID > end transferComplete > > BR > > > Date: Sun, 01 Jul 2018 13:00:44 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Mastering TS Net > Message-ID: > <16457010ce0.285b.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> > Content-Type: text/plain; format=flowed; charset="us-ascii" > > Does TSNet even work with local files? For local files use the read/write > commands or "get/put url". > > With a commercial license you shouldn't need to deal with the lower level > functions for internet communication. The basic put, post, and get commands > should do it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 1, 2018 10:21:38 AM Sannyasin Brahmanathaswami via use-livecode > wrote: > >> >> tResult -- tsneterr: ID already in use >> >> what is strange is this, the IDE gives the error even before tracing the >> mouseup. >> >> So I did not even get off home plate. >> >> ############ >> local tHeaders, tResult >> >> on mouseup >> # put a break here... the IDE show an error *before* stepping into the next >> statement >> # I can't even close the connection with: >> tsNetCloseConn "1" >> put empty into tResult >> put fld aURL into pURL >> put empty into fld "fldHTTPHeader" >> put empty into fld "tHTMLfield" >> set the itemDel to "/" >> put item -1 of pURL into tFileName >> put ("~/Desktop/"&tFileName) into tLocalFile >> put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") >> into tResult >> >> -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" >> end mouseup >> >> on transferComplete pID, pResult, pBytes, pCurlCode >> if pCurlCode is not 0 then >> answer tsNetRetrError(pID) >> else >> answer "File has been downloaded" >> put tHeaders into fld "fldHTTPHeader" >> end if >> tsNetCloseConn pID >> end transferComplete >> >> BR >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ------------------------------ > > Message: 8 > Date: Mon, 2 Jul 2018 11:40:13 +1000 > From: Charles Warwick > To: How to use LiveCode > Subject: Re: Mastering TS Net > Message-ID: > > Content-Type: text/plain; charset=utf-8 > > Hi BR, > > There are a series of lessons on tsNet on the LiveCode website: > > http://lessons.livecode.com/m/4071/c/235433 > > If you are looking for an example of how to download something > direct to a file, the lesson called ?How to asynchronously download > via SFTP directly a file? should help. > > The same concepts apply for downloading to a file regardless of the > protocol being used. > > If you can?t quite find an example lesson that answers what you > need, let me know and I will get one organised. > > Regards, > > Charles > >> On 2 Jul 2018, at 1:19 am, Sannyasin Brahmanathaswami via >> use-livecode wrote: >> >> I really need to get my head around TSNet, so began experiments. >> >> This is the documentation for tsNetGetFile >> >> " local tHeaders, tResult >> >> put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ >> "ftp://user:pass at ftp.example.com/file.dat", tHeaders, \ >> "transferComplete") into tResult >> >> on transferComplete pID, pResult, pBytes, pCurlCode >> local tData, tHeaders >> if pCurlCode is not 0 then >> answer tsNetRetrError(pID) >> else >> a nswer "File has been downloaded" >> end if >> tsNetCloseConn pID >> end transferComplete >> >> # but my first attempt to "get it" ... ran into this error. >> >> Are there any good lessons on all TSNet functions? >> I am not looking forward to wading into this blind as a bat. >> >> # variable watcher >> >> tResult -- tsneterr: ID already in use >> >> what is strange is this, the IDE gives the error even before >> tracing the mouseup. >> >> So I did not even get off home plate. >> >> ############ >> local tHeaders, tResult >> >> on mouseup >> # put a break here... the IDE show an error *before* stepping into >> the next statement >> # I can't even close the connection with: >> tsNetCloseConn "1" >> put empty into tResult >> put fld aURL into pURL >> put empty into fld "fldHTTPHeader" >> put empty into fld "tHTMLfield" >> set the itemDel to "/" >> put item -1 of pURL into tFileName >> put ("~/Desktop/"&tFileName) into tLocalFile >> put tsNetGetFile("1",tLocalFile,pURL,tHeaders,"transferComplete") >> into tResult >> >> -- put libURLLastHTTPHeaders() into fld "fldHTTPHeader" >> end mouseup >> >> on transferComplete pID, pResult, pBytes, pCurlCode >> if pCurlCode is not 0 then >> answer tsNetRetrError(pID) >> else >> answer "File has been downloaded" >> put tHeaders into fld "fldHTTPHeader" >> end if >> tsNetCloseConn pID >> end transferComplete >> >> BR >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > > ------------------------------ > > Message: 9 > Date: Mon, 2 Jul 2018 00:45:43 -0400 > From: "Ralph DiMola" > To: "'How to use LiveCode'" > Subject: RE: Sort IP List > Message-ID: <000001d411bf$8bc3aeb0$a34b0c10$@net> > Content-Type: text/plain; charset="us-ascii" > > I agree "mind-bogglingly nonsensical" > > Something is very odd. If I open the stack with fresh start of the IDE I > start getting results closer to what I would expect. The by ref is about 5 > to 10% faster. NOW.... Every so often when I open the message box things > start getting weird and I get those crazy results. If I close msg then it is > different weird. When I say different I mean that another step in the > process starts taking longer. Close LC and restart and things are back to > normal until I open the message box a few times. No pattern as of yet. But I > do know if you don't open the message box it never goes crazy. I'm going to > dig in and see what's happening here. If I can get a recipe I'm going to > send it off to Panos. > > Win 10 VM > LC 9 > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Mark Wieder via use-livecode > Sent: Saturday, June 30, 2018 11:05 PM > To: Ralph DiMola via use-livecode > Cc: Mark Wieder > Subject: Re: Sort IP List > > Ralph- > > Not that I'm doubting your findings, but those both seem mind-bogglingly > nonsensical to me. Can you post your test code? > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 178, Issue 2 > ******************************************** From bobsneidar at iotecdigital.com Mon Jul 2 13:05:57 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Jul 2018 17:05:57 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> Message-ID: <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Hi all. I nailed this down, and it is indeed as someone surmised, that even though the script editor variable watcher indicated that script local variables had the correct values, it was showing me the BEHAVIOR's script local variable values, and NOT those for the STACK, which were in fact still empty (not initialized). This is likely going to bite others in the butt in the future, who use the same script local variables in their behaviors as they do in their parent script. Who knows, maybe I'm going to be the only one in the history of LC to try this, but I just thought I'd toss that out there, in case anyone else gets obscure bugs where a statement ought to work and doesn't. Bob S > On Jun 27, 2018, at 15:50 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I'm getting heavily into behaviors and script only stacks now (in preparation for Levure Framework) because my project has become complex enough to make it almost inevitable. I have perhaps 20 or so substacks in a mainstack. All the substacks have quite a bit of shared behavior, so I created a button with the common code for all the stacks, then set the behavior of each stack to the long ID of that button. So far so good. It works famously. > > But I also took the non-common code for each stack, and saved each one as a .livecode script only stack but have yet to set the behavior of the substacks to them. I will eventually do the same for the common code behavior mentioned above. > > Now I want to nest the behaviors in such a way so that each stack can avail itself of both behaviors. So the first question is, Which behavior should be the first behavior I set the stack to, or does it matter? The next is, how do I nest behaviors of script only stacks? I know I can set the behavior of one button to the behavior of another whose behavior is that of another etc. But how do I do that with script only stack files? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Jul 2 13:35:42 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Jul 2018 17:35:42 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Message-ID: Whoops! Wrong thread. Bob S > On Jul 2, 2018, at 10:05 , Bob Sneidar via use-livecode wrote: > > Hi all. I nailed this down, and it is indeed as someone surmised, that even though the script editor variable watcher indicated that script local variables had the correct values, it was showing me the BEHAVIOR's script local variable values, and NOT those for the STACK, which were in fact still empty (not initialized). > > This is likely going to bite others in the butt in the future, who use the same script local variables in their behaviors as they do in their parent script. Who knows, maybe I'm going to be the only one in the history of LC to try this, but I just thought I'd toss that out there, in case anyone else gets obscure bugs where a statement ought to work and doesn't. > > Bob S From bobsneidar at iotecdigital.com Mon Jul 2 14:42:43 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Jul 2018 18:42:43 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Message-ID: Okay, so apparently I cannot use script local variables in a behavior. Setting the variables in a handler in a behavior script does not retain the values when that handler exits, like they do in a normal object script. Should they? The workaround for me is to simply get the custom property of each stack (an array in each stack containing all the values I need) and then reference the array values directly instead of trying to set script local values. The downside to this is I have to get the array in every handler in the behavior script. Not a big deal, but I was trying to be efficient by only having to initialize the values once upon every openStack. Bob S > On Jul 2, 2018, at 10:05 , Bob Sneidar via use-livecode wrote: > > Hi all. I nailed this down, and it is indeed as someone surmised, that even though the script editor variable watcher indicated that script local variables had the correct values, it was showing me the BEHAVIOR's script local variable values, and NOT those for the STACK, which were in fact still empty (not initialized). > > This is likely going to bite others in the butt in the future, who use the same script local variables in their behaviors as they do in their parent script. Who knows, maybe I'm going to be the only one in the history of LC to try this, but I just thought I'd toss that out there, in case anyone else gets obscure bugs where a statement ought to work and doesn't. > > Bob S From jacque at hyperactivesw.com Mon Jul 2 15:17:42 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 2 Jul 2018 14:17:42 -0500 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Message-ID: They do retain independent values, one set of script locals for each instance. For example, if you have two buttons that use the same behavior, button 1 will retain its script local values and button 2 will retain its own (different) set of values. On 7/2/18 1:42 PM, Bob Sneidar via use-livecode wrote: > Okay, so apparently I cannot use script local variables in a behavior. Setting the variables in a handler in a behavior script does not retain the values when that handler exits, like they do in a normal object script. Should they? > > The workaround for me is to simply get the custom property of each stack (an array in each stack containing all the values I need) and then reference the array values directly instead of trying to set script local values. The downside to this is I have to get the array in every handler in the behavior script. Not a big deal, but I was trying to be efficient by only having to initialize the values once upon every openStack. > > Bob S > > >> On Jul 2, 2018, at 10:05 , Bob Sneidar via use-livecode wrote: >> >> Hi all. I nailed this down, and it is indeed as someone surmised, that even though the script editor variable watcher indicated that script local variables had the correct values, it was showing me the BEHAVIOR's script local variable values, and NOT those for the STACK, which were in fact still empty (not initialized). >> >> This is likely going to bite others in the butt in the future, who use the same script local variables in their behaviors as they do in their parent script. Who knows, maybe I'm going to be the only one in the history of LC to try this, but I just thought I'd toss that out there, in case anyone else gets obscure bugs where a statement ought to work and doesn't. >> >> Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 2 15:33:08 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 2 Jul 2018 14:33:08 -0500 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Message-ID: <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> Actually, do you mean you want to set the script locals for the behavior object itself? You can do that, but it will only apply to that particular control. The magic word is "this me" : "set the sLocal of this me to xxx". If you want the script locals of the behavior object to be shared for every other object that uses the behavior, you need global variables. Behaviors act like they are the actual script of an object. Setting a script local for button 1 wouldn't share that value with button 2. On 7/2/18 2:17 PM, J. Landman Gay via use-livecode wrote: > They do retain independent values, one set of script locals for each > instance. For example, if you have two buttons that use the same > behavior, button 1 will retain its script local values and button 2 will > retain its own (different) set of values. > > On 7/2/18 1:42 PM, Bob Sneidar via use-livecode wrote: >> Okay, so apparently I cannot use script local variables in a behavior. >> Setting the variables in a handler in a behavior script does not >> retain the values when that handler exits, like they do in a normal >> object script. Should they? >> >> The workaround for me is to simply get the custom property of each >> stack (an array in each stack containing all the values I need) and >> then reference the array values directly instead of trying to set >> script local values. The downside to this is I have to get the array >> in every handler in the behavior script. Not a big deal, but I was >> trying to be efficient by only having to initialize the values once >> upon every openStack. >> >> Bob S >> >> >>> On Jul 2, 2018, at 10:05 , Bob Sneidar via use-livecode >>> wrote: >>> >>> Hi all. I nailed this down, and it is indeed as someone surmised, >>> that even though the script editor variable watcher indicated that >>> script local variables had the correct values, it was showing me the >>> BEHAVIOR's script local variable values, and NOT those for the STACK, >>> which were in fact still empty (not initialized). >>> >>> This is likely going to bite others in the butt in the future, who >>> use the same script local variables in their behaviors as they do in >>> their parent script. Who knows, maybe I'm going to be the only one in >>> the history of LC to try this, but I just thought I'd toss that out >>> there, in case anyone else gets obscure bugs where a statement ought >>> to work and doesn't. >>> >>> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Mon Jul 2 17:55:38 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 2 Jul 2018 17:55:38 -0400 Subject: When I assume ..... Message-ID: Hi folks, I've been with LC for 5 years now ...I use the send in time format alot because i want to keep my interface unblocked. In this code ... on mouseUp local test_array put "a" into test_array["1"] put "b" into test_array["2"] put "c" into test_array["3"] send "TestCommand test_array" to me in 0 milliseconds (1) TestCommand test_array (2) end mouseUp on TestCommand IncomingArray answer the keys of IncomingArray && IncomingArray["1"] end TestCommand I had no idea that both these methods work the same way..... (1), (2) I always assumed that the send in quotes version would treat the variable name as a string not as a variable that it is. I decided to do a test today and sure enough ... the behavior is identical. I built and optimized many workarounds to this 'problem' had I only done a simple test ...I would have saved alot of time. moral of the story ....test...don't assume. From ahsoftware at sonic.net Mon Jul 2 18:10:45 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 2 Jul 2018 15:10:45 -0700 Subject: When I assume ..... In-Reply-To: References: Message-ID: <41a6adac-234c-46d4-4fbc-db410b4e85c0@sonic.net> On 07/02/2018 02:55 PM, Tom Glod via use-livecode wrote: > I decided to do a test today and sure enough ... the behavior is identical. They're not identical. The immediate version will invoke TestCommand during the execution of mouseUp. The 'send in time' version will invoke TestCommand after the mouseUp handler is done. That's the purpose of sending a command in time: even with an interval of 0 milliseconds you're delaying the sent action until the current handler has finished. -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Mon Jul 2 18:21:24 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 2 Jul 2018 18:21:24 -0400 Subject: When I assume ..... In-Reply-To: <41a6adac-234c-46d4-4fbc-db410b4e85c0@sonic.net> References: <41a6adac-234c-46d4-4fbc-db410b4e85c0@sonic.net> Message-ID: Mark, I meant that the command I am calling is able to receive the array variable via parameter.... like i said .. i assumed variable name was being sent as string ..not as variable array and its data. On Mon, Jul 2, 2018 at 6:10 PM, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 07/02/2018 02:55 PM, Tom Glod via use-livecode wrote: > > I decided to do a test today and sure enough ... the behavior is identical. >> > > They're not identical. The immediate version will invoke TestCommand > during the execution of mouseUp. The 'send in time' version will invoke > TestCommand after the mouseUp handler is done. That's the purpose of > sending a command in time: even with an interval of 0 milliseconds you're > delaying the sent action until the current handler has finished. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Jul 2 19:12:38 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Jul 2018 23:12:38 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Message-ID: <84A3D3FA-8EA3-4777-BEB9-3B6BB65112C0@iotecdigital.com> Yes, but I am not talking about the child object's script. That works fine. What doesn't work are script locals in the behavior itself. Bob S > On Jul 2, 2018, at 12:17 , J. Landman Gay via use-livecode wrote: > > They do retain independent values, one set of script locals for each instance. For example, if you have two buttons that use the same behavior, button 1 will retain its script local values and button 2 will retain its own (different) set of values. > > On 7/2/18 1:42 PM, Bob Sneidar via use-livecode wrote: >> Okay, so apparently I cannot use script local variables in a behavior. Setting the variables in a handler in a behavior script does not retain the values when that handler exits, like they do in a normal object script. Should they? >> The workaround for me is to simply get the custom property of each stack (an array in each stack containing all the values I need) and then reference the array values directly instead of trying to set script local values. The downside to this is I have to get the array in every handler in the behavior script. Not a big deal, but I was trying to be efficient by only having to initialize the values once upon every openStack. >> Bob S From bobsneidar at iotecdigital.com Mon Jul 2 19:16:14 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Jul 2018 23:16:14 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> Message-ID: oic. Well getting the stacks custom property and referencing that is working for me. It's curious then if you can use the sLocal of this me, could you also use the sLocal of button x or stack y?? That would be very cool! That would mean you could get and set the script locals of another object. Bob S > On Jul 2, 2018, at 12:33 , J. Landman Gay via use-livecode wrote: > > Actually, do you mean you want to set the script locals for the behavior object itself? You can do that, but it will only apply to that particular control. The magic word is "this me" : "set the sLocal of this me to xxx". > > If you want the script locals of the behavior object to be shared for every other object that uses the behavior, you need global variables. Behaviors act like they are the actual script of an object. Setting a script local for button 1 wouldn't share that value with button 2. > > On 7/2/18 2:17 PM, J. Landman Gay via use-livecode wrote: >> They do retain independent values, one set of script locals for each instance. For example, if you have two buttons that use the same behavior, button 1 will retain its script local values and button 2 will retain its own (different) set of values. >> On 7/2/18 1:42 PM, Bob Sneidar via use-livecode wrote: >>> Okay, so apparently I cannot use script local variables in a behavior. Setting the variables in a handler in a behavior script does not retain the values when that handler exits, like they do in a normal object script. Should they? >>> >>> The workaround for me is to simply get the custom property of each stack (an array in each stack containing all the values I need) and then reference the array values directly instead of trying to set script local values. The downside to this is I have to get the array in every handler in the behavior script. Not a big deal, but I was trying to be efficient by only having to initialize the values once upon every openStack. >>> >>> Bob S >>> >>> >>>> On Jul 2, 2018, at 10:05 , Bob Sneidar via use-livecode wrote: >>>> >>>> Hi all. I nailed this down, and it is indeed as someone surmised, that even though the script editor variable watcher indicated that script local variables had the correct values, it was showing me the BEHAVIOR's script local variable values, and NOT those for the STACK, which were in fact still empty (not initialized). >>>> >>>> This is likely going to bite others in the butt in the future, who use the same script local variables in their behaviors as they do in their parent script. Who knows, maybe I'm going to be the only one in the history of LC to try this, but I just thought I'd toss that out there, in case anyone else gets obscure bugs where a statement ought to work and doesn't. >>>> >>>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Jul 2 20:02:56 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 3 Jul 2018 10:02:56 +1000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> Message-ID: <059A532C-DD92-4116-A8F2-95CA286B6629@appisle.net> > On 3 Jul 2018, at 9:16 am, Bob Sneidar via use-livecode wrote: > > That would be very cool! That would mean you could get and set the script locals of another object. No it really wouldn?t. It would make them worse than globals? eek. Cheers Monte From ahsoftware at sonic.net Mon Jul 2 20:27:19 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 2 Jul 2018 17:27:19 -0700 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> Message-ID: On 07/02/2018 04:16 PM, Bob Sneidar via use-livecode wrote: > oic. Well getting the stacks custom property and referencing that is working for me. It's curious then if you can use the sLocal of this me, could you also use the sLocal of button x or stack y?? That would be very cool! That would mean you could get and set the script locals of another object. Ick -- Mark Wieder ahsoftware at gmail.com From bonnmike at gmail.com Mon Jul 2 21:04:02 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Jul 2018 19:04:02 -0600 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> Message-ID: Curious if this would be useful. It occurred to me that one could use getters and setters in the behavior if one wanted a "central" location for data for objects using that behavior. Not as easy as just using an actual property set, but might end up being faster? To test I put the following into a button to use as a behavior.. local sOhBehaveLocalA on mouseup -- sets a value in the local of the behavior object -- based on the long id of the object using the behavior set the setter[(the long id of me)] of (the behavior of me) to random(4000) -- grabs the whole array from the behavior object put the getter of (the behavior of me) into tArray -- shows the value assigned to the array entry for the -- object using the behavior keyed by long id put tArray[the long id of me] & cr --cycles through all keys in the array returned by getter -- and shows values for all objects tracked by the getter/setter in the behavior object put the keys of tArray into tKeys repeat for each line tLine in tKeys put tLine & ":" & tArray[tLine] & cr after msg end repeat end mouseup Then assigned the behavior to several buttons and it works well enough. LIke I said, i'm not sure there is actually a point to this since there are so many other ways the same objective could be reached, but thought I'd toss it out there. (sorry for the ugly code and silly example) I think I read somewhere that setting a variable is faster than setting a property, but.. /shrug On Mon, Jul 2, 2018 at 6:27 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 07/02/2018 04:16 PM, Bob Sneidar via use-livecode wrote: > > oic. Well getting the stacks custom property and referencing that is > working for me. It's curious then if you can use the sLocal of this me, > could you also use the sLocal of button x or stack y?? That would be very > cool! That would mean you could get and set the script locals of another > object. > > Ick > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From waprothero at gmail.com Mon Jul 2 23:37:47 2018 From: waprothero at gmail.com (William Prothero) Date: Mon, 2 Jul 2018 20:37:47 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> Message-ID: <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Folks: I?ve been working on a sample stack to demonstrate encryption, best practices (as far as I can determine). The online lessons are not adequate for a robust solution to this vital security issue. I?ve posted a demo stack at: http://earthlearningsolutions.org/google-static-maps-demo/ This stack has benefited from feedback and ideas from folks on this list. Feedback is welcome. This stack generates a random iv vector and uses AES-256 encryption to encode an array containing commands for interaction with a mySQL server. The server side php script that decodes the data and encodes the returned response is included. On thing I am still unsure about is the best way to generate a random string of characters that I use for the random IV (initialization vector) that is used for the encryption. I?ve included some code below, which is used to encrypt and decrypt the data sent and returned from the server. The encode and decode scripts are put into the launcher, or stack that is created when a standalone or mobile version is built. Here are the handlers. The encryption key will be more secure if it is obfuscated by putting it in as a property of a control or hidden in some way. I am wondering if the generation of the random seed is optimum. Feedback welcome. local theRandomSeed function randomChrs n if theRandomSeed = "" then setRandomSeed end if put "" into tChars repeat with i=1 to n put random(256) into nChar put numToNativeChar(nChar) after tChars end repeat return tChars end randomChrs on setRandomSeed put (the milliseconds) into tMS put trunc(tMs/10000000) into tDiv put tMS mod tDiv into theRandomSeed set the randomseed to theRandomSeed end setRandomSeed function theRandomIV if theRandomSeed = "" then setRandomSeed end if put randomChrs(16) into tIVBytes return tIVBytes end theRandomIV --This handler encodes the data. First it generates a random --initialization vector (iv), then encrypts the data and puts --adds iv to the encoded data. --tArray is an array that controls the action of the php script. function theEncoded tArray put theRandomIV() into tIV put base64Encode(tIV) into tB64IV put ArrayToJSON(tArray,"string?,?") into tJson put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey put "AES-256-CTR" into tCipher encrypt tJson using tCipher with key tEncryptionKey and iV tIV put base64encode(it) into tDataToSend --comment out next statement if iv not included in data put tB64IV&tDataToSend into tDataToSend return tDataToSend end theEncoded --This decodes the data that is returned by the php on the --remote server. --The iv is expected as the first 24 bytes of the returned data. function theDecoded tData put byte 1 to 24 of tData into tIVB64 put base64decode(tIVB64) into tIV put the number of bytes in tData into n put byte 25 to n of tData into tRetB64Data put base64decode(tRetB64Data) into tRetData put "AES-256-CTR" into tCipher put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey decrypt tRetData using tCipher with key tEncryptionKey and iV tIV put it into tReturn return tReturn end theDecoded -- End of handlers that should be in the main stack From brian at milby7.com Tue Jul 3 00:57:17 2018 From: brian at milby7.com (Brian Milby) Date: Mon, 2 Jul 2018 23:57:17 -0500 Subject: AES-256 Encryption Best Practices In-Reply-To: <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Message-ID: I would suggest using "randombytes" instead of "random" on desktop/server (according to dictionary is isn't available in mobile, but I have not actually verified). That uses the openssl library to generate random numbers. The problem with using an IV based on a pseudorandom number generator seeded from something derived from the time means that it is potentially predictable. I was playing around with a function to generate an IV that is guaranteed to not repeat. The middle 4 bytes are the seconds, so it reduces the randomness by 4 bytes. I'm not sure how much of an issue that would be. It does avoid the birthday problem (which should not really be an issue with a good random number generator I would guess). Maintaining your own counter would be another option. Ensuring uniqueness and unpredictability is the goal. One other thing that I was reading is that we should also include a (H)MAC after the encryption to ensure that the payload is not tampered with. We would then only decrypt if the message had not been changed (and the IV would be included in the MAC calculation). Below is the code that I was experimenting with: function generateIV pLength local tSeconds, tBytes put randomBytes(6) into tBytes put the seconds into tSeconds repeat until tSeconds < 256 put numToByte(tSeconds mod 256) after tBytes put tSeconds div 256 into tSeconds end repeat put numToByte(tSeconds) after tBytes if pLength is empty then put 16 into pLength subtract length(tBytes) from pLength if pLength < 0 then delete byte 1 to (- pLength) of tBytes else put randomBytes(pLength) after tBytes end if return tBytes end generateIV On Mon, Jul 2, 2018 at 10:37 PM, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Folks: > I?ve been working on a sample stack to demonstrate encryption, best > practices (as far as I can determine). > The online lessons are not adequate for a robust solution to this vital > security issue. I?ve posted a demo stack at: > http://earthlearningsolutions.org/google-static-maps-demo/ earthlearningsolutions.org/google-static-maps-demo/> This stack has > benefited from feedback and ideas from folks on this list. Feedback is > welcome. > > This stack generates a random iv vector and uses AES-256 encryption to > encode an array containing commands for interaction with a mySQL server. > The server side php script that decodes the data and encodes the returned > response is included. > > On thing I am still unsure about is the best way to generate a random > string of characters that I use for the random IV (initialization vector) > that is used for the encryption. I?ve included some code below, which is > used to encrypt and decrypt the data sent and returned from the server. The > encode and decode scripts are put into the launcher, or stack that is > created when a standalone or mobile version is built. > > Here are the handlers. The encryption key will be more secure if it is > obfuscated by putting it in as a property of a control or hidden in some > way. I am wondering if the generation of the random seed is optimum. > > Feedback welcome. > > local theRandomSeed > > function randomChrs n > if theRandomSeed = "" then > setRandomSeed > end if > put "" into tChars > repeat with i=1 to n > put random(256) into nChar > put numToNativeChar(nChar) after tChars > end repeat > return tChars > end randomChrs > > on setRandomSeed > put (the milliseconds) into tMS > put trunc(tMs/10000000) into tDiv > put tMS mod tDiv into theRandomSeed > set the randomseed to theRandomSeed > end setRandomSeed > > function theRandomIV > if theRandomSeed = "" then > setRandomSeed > end if > put randomChrs(16) into tIVBytes > return tIVBytes > end theRandomIV > > --This handler encodes the data. First it generates a random > --initialization vector (iv), then encrypts the data and puts > --adds iv to the encoded data. > --tArray is an array that controls the action of the php script. > function theEncoded tArray > put theRandomIV() into tIV > put base64Encode(tIV) into tB64IV > put ArrayToJSON(tArray,"string?,?") into tJson > put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > put "AES-256-CTR" into tCipher > encrypt tJson using tCipher with key tEncryptionKey and iV tIV > put base64encode(it) into tDataToSend > --comment out next statement if iv not included in data > put tB64IV&tDataToSend into tDataToSend > return tDataToSend > end theEncoded > > --This decodes the data that is returned by the php on the > --remote server. > --The iv is expected as the first 24 bytes of the returned data. > function theDecoded tData > put byte 1 to 24 of tData into tIVB64 > put base64decode(tIVB64) into tIV > put the number of bytes in tData into n > put byte 25 to n of tData into tRetB64Data > put base64decode(tRetB64Data) into tRetData > put "AES-256-CTR" into tCipher > put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > decrypt tRetData using tCipher with key tEncryptionKey and iV tIV > put it into tReturn > return tReturn > end theDecoded > -- End of handlers that should be in the main stack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Jul 3 00:57:58 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 3 Jul 2018 00:57:58 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Message-ID: i will be looking at this thank you William. On Mon, Jul 2, 2018 at 11:37 PM, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Folks: > I?ve been working on a sample stack to demonstrate encryption, best > practices (as far as I can determine). > The online lessons are not adequate for a robust solution to this vital > security issue. I?ve posted a demo stack at: > http://earthlearningsolutions.org/google-static-maps-demo/ earthlearningsolutions.org/google-static-maps-demo/> This stack has > benefited from feedback and ideas from folks on this list. Feedback is > welcome. > > This stack generates a random iv vector and uses AES-256 encryption to > encode an array containing commands for interaction with a mySQL server. > The server side php script that decodes the data and encodes the returned > response is included. > > On thing I am still unsure about is the best way to generate a random > string of characters that I use for the random IV (initialization vector) > that is used for the encryption. I?ve included some code below, which is > used to encrypt and decrypt the data sent and returned from the server. The > encode and decode scripts are put into the launcher, or stack that is > created when a standalone or mobile version is built. > > Here are the handlers. The encryption key will be more secure if it is > obfuscated by putting it in as a property of a control or hidden in some > way. I am wondering if the generation of the random seed is optimum. > > Feedback welcome. > > local theRandomSeed > > function randomChrs n > if theRandomSeed = "" then > setRandomSeed > end if > put "" into tChars > repeat with i=1 to n > put random(256) into nChar > put numToNativeChar(nChar) after tChars > end repeat > return tChars > end randomChrs > > on setRandomSeed > put (the milliseconds) into tMS > put trunc(tMs/10000000) into tDiv > put tMS mod tDiv into theRandomSeed > set the randomseed to theRandomSeed > end setRandomSeed > > function theRandomIV > if theRandomSeed = "" then > setRandomSeed > end if > put randomChrs(16) into tIVBytes > return tIVBytes > end theRandomIV > > --This handler encodes the data. First it generates a random > --initialization vector (iv), then encrypts the data and puts > --adds iv to the encoded data. > --tArray is an array that controls the action of the php script. > function theEncoded tArray > put theRandomIV() into tIV > put base64Encode(tIV) into tB64IV > put ArrayToJSON(tArray,"string?,?") into tJson > put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > put "AES-256-CTR" into tCipher > encrypt tJson using tCipher with key tEncryptionKey and iV tIV > put base64encode(it) into tDataToSend > --comment out next statement if iv not included in data > put tB64IV&tDataToSend into tDataToSend > return tDataToSend > end theEncoded > > --This decodes the data that is returned by the php on the > --remote server. > --The iv is expected as the first 24 bytes of the returned data. > function theDecoded tData > put byte 1 to 24 of tData into tIVB64 > put base64decode(tIVB64) into tIV > put the number of bytes in tData into n > put byte 25 to n of tData into tRetB64Data > put base64decode(tRetB64Data) into tRetData > put "AES-256-CTR" into tCipher > put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > decrypt tRetData using tCipher with key tEncryptionKey and iV tIV > put it into tReturn > return tReturn > end theDecoded > -- End of handlers that should be in the main stack > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Tue Jul 3 01:56:54 2018 From: waprothero at gmail.com (William Prothero) Date: Mon, 2 Jul 2018 22:56:54 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Message-ID: Brian, thanks for the feedback. I started by using random bytes, which was ok, but the php base64encode would only encode characters. So, I couldn?t get the return message to decode in LC correctly. I forget, it could have been the LC decode step, but the upshot was that I decided to go with valid ascii characters for iv because of this. I don?t understand the problem with using the milliseconds to generate the random seed, though. The least significant digits of the milliseconds only depends on the random time the user first initiates the query. I assumed the milliseconds counts up to some maximum integer number, then repeats. Hmm, maybe I need to investigate how the counting goes. I had assumed it was just an integer number that counted until it overflowed, then started again from zero. I can investigate this. What would the H(MAC) consist of? I haven?t heard of it. Best, Bill William Prothero http://earthlearningsolutions.org > On Jul 2, 2018, at 9:57 PM, Brian Milby wrote: > > I would suggest using "randombytes" instead of "random" on desktop/server (according to dictionary is isn't available in mobile, but I have not actually verified). That uses the openssl library to generate random numbers. The problem with using an IV based on a pseudorandom number generator seeded from something derived from the time means that it is potentially predictable. > > I was playing around with a function to generate an IV that is guaranteed to not repeat. The middle 4 bytes are the seconds, so it reduces the randomness by 4 bytes. I'm not sure how much of an issue that would be. It does avoid the birthday problem (which should not really be an issue with a good random number generator I would guess). Maintaining your own counter would be another option. Ensuring uniqueness and unpredictability is the goal. > > One other thing that I was reading is that we should also include a (H)MAC after the encryption to ensure that the payload is not tampered with. We would then only decrypt if the message had not been changed (and the IV would be included in the MAC calculation). > > Below is the code that I was experimenting with: > > function generateIV pLength > local tSeconds, tBytes > > put randomBytes(6) into tBytes > put the seconds into tSeconds > repeat until tSeconds < 256 > put numToByte(tSeconds mod 256) after tBytes > put tSeconds div 256 into tSeconds > end repeat > put numToByte(tSeconds) after tBytes > > if pLength is empty then put 16 into pLength > subtract length(tBytes) from pLength > if pLength < 0 then > delete byte 1 to (- pLength) of tBytes > else > put randomBytes(pLength) after tBytes > end if > return tBytes > end generateIV > >> On Mon, Jul 2, 2018 at 10:37 PM, William Prothero via use-livecode wrote: >> Folks: >> I?ve been working on a sample stack to demonstrate encryption, best practices (as far as I can determine). >> The online lessons are not adequate for a robust solution to this vital security issue. I?ve posted a demo stack at: http://earthlearningsolutions.org/google-static-maps-demo/ This stack has benefited from feedback and ideas from folks on this list. Feedback is welcome. >> >> This stack generates a random iv vector and uses AES-256 encryption to encode an array containing commands for interaction with a mySQL server. The server side php script that decodes the data and encodes the returned response is included. >> >> On thing I am still unsure about is the best way to generate a random string of characters that I use for the random IV (initialization vector) that is used for the encryption. I?ve included some code below, which is used to encrypt and decrypt the data sent and returned from the server. The encode and decode scripts are put into the launcher, or stack that is created when a standalone or mobile version is built. >> >> Here are the handlers. The encryption key will be more secure if it is obfuscated by putting it in as a property of a control or hidden in some way. I am wondering if the generation of the random seed is optimum. >> >> Feedback welcome. >> >> local theRandomSeed >> >> function randomChrs n >> if theRandomSeed = "" then >> setRandomSeed >> end if >> put "" into tChars >> repeat with i=1 to n >> put random(256) into nChar >> put numToNativeChar(nChar) after tChars >> end repeat >> return tChars >> end randomChrs >> >> on setRandomSeed >> put (the milliseconds) into tMS >> put trunc(tMs/10000000) into tDiv >> put tMS mod tDiv into theRandomSeed >> set the randomseed to theRandomSeed >> end setRandomSeed >> >> function theRandomIV >> if theRandomSeed = "" then >> setRandomSeed >> end if >> put randomChrs(16) into tIVBytes >> return tIVBytes >> end theRandomIV >> >> --This handler encodes the data. First it generates a random >> --initialization vector (iv), then encrypts the data and puts >> --adds iv to the encoded data. >> --tArray is an array that controls the action of the php script. >> function theEncoded tArray >> put theRandomIV() into tIV >> put base64Encode(tIV) into tB64IV >> put ArrayToJSON(tArray,"string?,?") into tJson >> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey >> put "AES-256-CTR" into tCipher >> encrypt tJson using tCipher with key tEncryptionKey and iV tIV >> put base64encode(it) into tDataToSend >> --comment out next statement if iv not included in data >> put tB64IV&tDataToSend into tDataToSend >> return tDataToSend >> end theEncoded >> >> --This decodes the data that is returned by the php on the >> --remote server. >> --The iv is expected as the first 24 bytes of the returned data. >> function theDecoded tData >> put byte 1 to 24 of tData into tIVB64 >> put base64decode(tIVB64) into tIV >> put the number of bytes in tData into n >> put byte 25 to n of tData into tRetB64Data >> put base64decode(tRetB64Data) into tRetData >> put "AES-256-CTR" into tCipher >> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey >> decrypt tRetData using tCipher with key tEncryptionKey and iV tIV >> put it into tReturn >> return tReturn >> end theDecoded >> -- End of handlers that should be in the main stack >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthlearningsolutions.org Tue Jul 3 02:08:36 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Mon, 2 Jul 2018 23:08:36 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Message-ID: <068DA3AC-2D0A-4A4F-AFFE-B93174252A01@earthlearningsolutions.org> I found a reference to the HMAC encryption. I?m thinking that the use of a random iv guards against the kind of attack it was designed to avoid. I?m thinking AES is more modern, making HMAC less useful. I may be wrong, but it?s worth looking into, I think. Best, Bill William Prothero http://earthlearningsolutions.org > On Jul 2, 2018, at 10:56 PM, William Prothero via use-livecode wrote: > > Brian, thanks for the feedback. > > I started by using random bytes, which was ok, but the php base64encode would only encode characters. So, I couldn?t get the return message to decode in LC correctly. I forget, it could have been the LC decode step, but the upshot was that I decided to go with valid ascii characters for iv because of this. > > I don?t understand the problem with using the milliseconds to generate the random seed, though. The least significant digits of the milliseconds only depends on the random time the user first initiates the query. I assumed the milliseconds counts up to some maximum integer number, then repeats. Hmm, maybe I need to investigate how the counting goes. I had assumed it was just an integer number that counted until it overflowed, then started again from zero. I can investigate this. > > What would the H(MAC) consist of? I haven?t heard of it. > > Best, > Bill > > William Prothero > http://earthlearningsolutions.org > >> On Jul 2, 2018, at 9:57 PM, Brian Milby wrote: >> >> I would suggest using "randombytes" instead of "random" on desktop/server (according to dictionary is isn't available in mobile, but I have not actually verified). That uses the openssl library to generate random numbers. The problem with using an IV based on a pseudorandom number generator seeded from something derived from the time means that it is potentially predictable. >> >> I was playing around with a function to generate an IV that is guaranteed to not repeat. The middle 4 bytes are the seconds, so it reduces the randomness by 4 bytes. I'm not sure how much of an issue that would be. It does avoid the birthday problem (which should not really be an issue with a good random number generator I would guess). Maintaining your own counter would be another option. Ensuring uniqueness and unpredictability is the goal. >> >> One other thing that I was reading is that we should also include a (H)MAC after the encryption to ensure that the payload is not tampered with. We would then only decrypt if the message had not been changed (and the IV would be included in the MAC calculation). >> >> Below is the code that I was experimenting with: >> >> function generateIV pLength >> local tSeconds, tBytes >> >> put randomBytes(6) into tBytes >> put the seconds into tSeconds >> repeat until tSeconds < 256 >> put numToByte(tSeconds mod 256) after tBytes >> put tSeconds div 256 into tSeconds >> end repeat >> put numToByte(tSeconds) after tBytes >> >> if pLength is empty then put 16 into pLength >> subtract length(tBytes) from pLength >> if pLength < 0 then >> delete byte 1 to (- pLength) of tBytes >> else >> put randomBytes(pLength) after tBytes >> end if >> return tBytes >> end generateIV >> >>> On Mon, Jul 2, 2018 at 10:37 PM, William Prothero via use-livecode wrote: >>> Folks: >>> I?ve been working on a sample stack to demonstrate encryption, best practices (as far as I can determine). >>> The online lessons are not adequate for a robust solution to this vital security issue. I?ve posted a demo stack at: http://earthlearningsolutions.org/google-static-maps-demo/ This stack has benefited from feedback and ideas from folks on this list. Feedback is welcome. >>> >>> This stack generates a random iv vector and uses AES-256 encryption to encode an array containing commands for interaction with a mySQL server. The server side php script that decodes the data and encodes the returned response is included. >>> >>> On thing I am still unsure about is the best way to generate a random string of characters that I use for the random IV (initialization vector) that is used for the encryption. I?ve included some code below, which is used to encrypt and decrypt the data sent and returned from the server. The encode and decode scripts are put into the launcher, or stack that is created when a standalone or mobile version is built. >>> >>> Here are the handlers. The encryption key will be more secure if it is obfuscated by putting it in as a property of a control or hidden in some way. I am wondering if the generation of the random seed is optimum. >>> >>> Feedback welcome. >>> >>> local theRandomSeed >>> >>> function randomChrs n >>> if theRandomSeed = "" then >>> setRandomSeed >>> end if >>> put "" into tChars >>> repeat with i=1 to n >>> put random(256) into nChar >>> put numToNativeChar(nChar) after tChars >>> end repeat >>> return tChars >>> end randomChrs >>> >>> on setRandomSeed >>> put (the milliseconds) into tMS >>> put trunc(tMs/10000000) into tDiv >>> put tMS mod tDiv into theRandomSeed >>> set the randomseed to theRandomSeed >>> end setRandomSeed >>> >>> function theRandomIV >>> if theRandomSeed = "" then >>> setRandomSeed >>> end if >>> put randomChrs(16) into tIVBytes >>> return tIVBytes >>> end theRandomIV >>> >>> --This handler encodes the data. First it generates a random >>> --initialization vector (iv), then encrypts the data and puts >>> --adds iv to the encoded data. >>> --tArray is an array that controls the action of the php script. >>> function theEncoded tArray >>> put theRandomIV() into tIV >>> put base64Encode(tIV) into tB64IV >>> put ArrayToJSON(tArray,"string?,?") into tJson >>> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey >>> put "AES-256-CTR" into tCipher >>> encrypt tJson using tCipher with key tEncryptionKey and iV tIV >>> put base64encode(it) into tDataToSend >>> --comment out next statement if iv not included in data >>> put tB64IV&tDataToSend into tDataToSend >>> return tDataToSend >>> end theEncoded >>> >>> --This decodes the data that is returned by the php on the >>> --remote server. >>> --The iv is expected as the first 24 bytes of the returned data. >>> function theDecoded tData >>> put byte 1 to 24 of tData into tIVB64 >>> put base64decode(tIVB64) into tIV >>> put the number of bytes in tData into n >>> put byte 25 to n of tData into tRetB64Data >>> put base64decode(tRetB64Data) into tRetData >>> put "AES-256-CTR" into tCipher >>> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey >>> decrypt tRetData using tCipher with key tEncryptionKey and iV tIV >>> put it into tReturn >>> return tReturn >>> end theDecoded >>> -- End of handlers that should be in the main stack >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Jul 3 10:52:32 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 3 Jul 2018 14:52:32 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <059A532C-DD92-4116-A8F2-95CA286B6629@appisle.net> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> <059A532C-DD92-4116-A8F2-95CA286B6629@appisle.net> Message-ID: <7C9CE302-2D41-434D-9AD0-D4B8D51BEF21@iotecdigital.com> Not if you had to reference them the way Jacque says you can reference a behavior's script locals ie. the sLocal of THIS ME. I have a lot of objects (my SearchBar is a good example) where I store information in scrip locals (the old dgData and hilited record of a datagrid before performing a hot search so I can revert if canceled for instance) and it would be convenient to be able to reference them from another object sometimes. Of course I can use properties. Bob S > On Jul 2, 2018, at 17:02 , Monte Goulding via use-livecode wrote: > >> On 3 Jul 2018, at 9:16 am, Bob Sneidar via use-livecode wrote: >> >> That would be very cool! That would mean you could get and set the script locals of another object. > > No it really wouldn?t. It would make them worse than globals? eek. > > Cheers > > Monte From brian at milby7.com Tue Jul 3 11:05:17 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 3 Jul 2018 11:05:17 -0400 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <7C9CE302-2D41-434D-9AD0-D4B8D51BEF21@iotecdigital.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> <059A532C-DD92-4116-A8F2-95CA286B6629@appisle.net> <7C9CE302-2D41-434D-9AD0-D4B8D51BEF21@iotecdigital.com> Message-ID: Can?t we already do that with a custom getprop/setprop? On Jul 3, 2018, 10:53 AM -0400, Bob Sneidar via use-livecode , wrote: > Not if you had to reference them the way Jacque says you can reference a behavior's script locals ie. the sLocal of THIS ME. I have a lot of objects (my SearchBar is a good example) where I store information in scrip locals (the old dgData and hilited record of a datagrid before performing a hot search so I can revert if canceled for instance) and it would be convenient to be able to reference them from another object sometimes. Of course I can use properties. > > Bob S > > > > On Jul 2, 2018, at 17:02 , Monte Goulding via use-livecode wrote: > > > > > On 3 Jul 2018, at 9:16 am, Bob Sneidar via use-livecode wrote: > > > > > > That would be very cool! That would mean you could get and set the script locals of another object. > > > > No it really wouldn?t. It would make them worse than globals? eek. > > > > Cheers > > > > Monte > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Tue Jul 3 12:02:40 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 3 Jul 2018 17:02:40 +0100 Subject: Deploying to Android from Linux Message-ID: Hello folks, Spent some time on this today, so I post it here in case anyone sees the same problem: I wanted to deploy to my Android device from Linux. My device was shown as "Android ???????" in the "Test Target" menu. I ignored this and chose it and clicked Test. The S/B was stuck to the "Installing app to device" dialog. I used "adb logcat" in the terminal and instead of seeing the log from my device there was just a "Insufficient permissions" message. I tried several suggestions from the web, including killing and restarting the adb server with sudo, but this did not work. What finally worked was: 1. disable USB debugging in the device 2. Choose to use the device for "File Transfers" References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Message-ID: <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> I just put the PHP on my server and it was able to handle the randombytes IV without issue. The demo does not generate a new IV for the returned data which it really should in production. From a security perspective, you assume that an attacker has access to the code. From the encrypted message, an attacker could figure out your next IV. On Jul 3, 2018, 1:56 AM -0400, William Prothero , wrote: > Brian, thanks for the feedback. > > I started by using random bytes, which was ok, but the php base64encode would only encode characters. So, I couldn?t get the return message to decode in LC correctly. I forget, it could have been the LC decode step, but the upshot was that I decided to go with valid ascii characters for iv because of this. > > I don?t understand the problem with using the milliseconds to generate the random seed, though. The least significant digits of the milliseconds only depends on the random time the user first initiates the query. I assumed the milliseconds counts up to some maximum integer number, then repeats. Hmm, maybe I need to investigate how the counting goes. I had assumed it was just an integer number that counted until it overflowed, then started again from zero. I can investigate this. > > What would the H(MAC) consist of? I haven?t heard of it. > > Best, > Bill > > William Prothero > http://earthlearningsolutions.org > > On Jul 2, 2018, at 9:57 PM, Brian Milby wrote: > > > I would suggest using "randombytes" instead of "random" on desktop/server (according to dictionary is isn't available in mobile, but I have not actually verified).? That uses the openssl library to generate random numbers.? The problem with using an IV based on a pseudorandom number generator seeded from something derived from the time means that it is potentially predictable. > > > > I was playing around with a function to generate an IV that is guaranteed to not repeat.? The middle 4 bytes are the seconds, so it reduces the randomness by 4 bytes.? I'm not sure how much of an issue that would be.? It does avoid the birthday problem (which should not really be an issue with a good random number generator I would guess).? Maintaining your own counter would be another option.? Ensuring uniqueness and unpredictability is the goal. > > > > One other thing that I was reading is that we should also include a (H)MAC after the encryption to ensure that the payload is not tampered with.? We would then only decrypt if the message had not been changed (and the IV would be included in the MAC calculation). > > > > Below is the code that I was experimenting with: > > > > function generateIV pLength > > ? ?local tSeconds, tBytes > > > > ? ?put randomBytes(6) into tBytes > > ? ?put the seconds into tSeconds > > ? ?repeat until tSeconds < 256 > > ? ? ? put numToByte(tSeconds mod 256) after tBytes > > ? ? ? put tSeconds div 256 into tSeconds > > ? ?end repeat > > ? ?put numToByte(tSeconds) after tBytes > > > > ? ?if pLength is empty then put 16 into pLength > > ? ?subtract length(tBytes) from pLength > > ? ?if pLength < 0 then > > ? ? ? delete byte 1 to (- pLength) of tBytes > > ? ?else > > ? ? ? put randomBytes(pLength) after tBytes > > ? ?end if > > ? ?return tBytes > > end generateIV > > > > > On Mon, Jul 2, 2018 at 10:37 PM, William Prothero via use-livecode wrote: > > > > Folks: > > > > I?ve been working on a sample stack to demonstrate encryption, best practices (as far as I can determine). > > > > The online lessons are not adequate for a robust solution to this vital security issue. I?ve posted a demo stack at: http://earthlearningsolutions.org/google-static-maps-demo/ ? This stack has benefited from feedback and ideas from folks on this list. Feedback is welcome. > > > > > > > > This stack generates a random iv vector and uses AES-256 encryption to encode an array containing commands for interaction with a mySQL server. The server side php script that decodes the data and encodes the returned response is included. > > > > > > > > On thing I am still unsure about is the best way to generate a random string of characters that I use for the random IV (initialization vector) that is used for the encryption. I?ve included some code below, which is used to encrypt and decrypt the data sent and returned from the server. The encode and decode scripts are put into the launcher, or stack that is created when a standalone or mobile version is built. > > > > > > > > Here are the handlers. The encryption key will be more secure if it is obfuscated by putting it in as a property of a control or hidden in some way. I am wondering if the generation of the random seed is optimum. > > > > > > > > Feedback welcome. > > > > > > > > local theRandomSeed > > > > > > > > function randomChrs n > > > > ? ?if theRandomSeed = "" then > > > > ? ? ? setRandomSeed > > > > ? ?end if > > > > ? ?put "" into tChars > > > > ? ?repeat with i=1 to n > > > > ? ? ? put random(256) into nChar > > > > ? ? ? put numToNativeChar(nChar) after tChars > > > > ? ?end repeat > > > > ? ?return tChars > > > > end randomChrs > > > > > > > > on setRandomSeed > > > > ? ?put (the milliseconds) into tMS > > > > ? ?put trunc(tMs/10000000) into tDiv > > > > ? ?put tMS mod tDiv into theRandomSeed > > > > ? ?set the randomseed to theRandomSeed > > > > end setRandomSeed > > > > > > > > function theRandomIV > > > > ? ?if theRandomSeed = "" then > > > > ? ? ? setRandomSeed > > > > ? ?end if > > > > ? ?put randomChrs(16) into tIVBytes > > > > ? ?return tIVBytes > > > > end theRandomIV > > > > > > > > --This handler encodes the data. First it generates a random > > > > --initialization vector (iv), then encrypts the data and puts > > > > --adds iv to the encoded data. > > > > --tArray is an array that controls the action of the php script. > > > > function theEncoded tArray > > > > ? ?put? theRandomIV() into tIV > > > > ? ?put base64Encode(tIV) into tB64IV > > > > ? ?put ArrayToJSON(tArray,"string?,?") into tJson > > > > ? ?put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > > > > ? ?put "AES-256-CTR" into tCipher > > > > ? ?encrypt tJson using tCipher with key tEncryptionKey and iV tIV > > > > ? ?put base64encode(it) into tDataToSend > > > > ? ?--comment out next statement if iv not included in data > > > > ? ?put tB64IV&tDataToSend into tDataToSend > > > > ? ?return tDataToSend > > > > end theEncoded > > > > > > > > --This decodes the data that is returned by the php on the > > > > --remote server. > > > > --The iv is expected as the first 24 bytes of the returned data. > > > > function theDecoded tData > > > > ? ?put byte 1 to 24 of tData into tIVB64 > > > > ? ?put base64decode(tIVB64) into tIV > > > > ? ?put the number of bytes in tData into n > > > > ? ?put byte 25 to n of tData into tRetB64Data > > > > ? ?put base64decode(tRetB64Data) into tRetData > > > > ? ?put "AES-256-CTR" into tCipher > > > > ? ?put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > > > > ? ?decrypt tRetData using tCipher with key tEncryptionKey and iV tIV > > > > ? ?put it into tReturn > > > > ? ?return tReturn > > > > end theDecoded > > > > -- End of handlers that should be in the main stack > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > From harrison at all-auctions.com Tue Jul 3 13:23:52 2018 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 3 Jul 2018 13:23:52 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> Message-ID: <078FE029-A82F-40A3-AF2D-82793FF3C429@all-auctions.com> Hi Brian, I think it would be pretty hard to do based on the time. One would have to do the calculation in advance and hope that the program caught the server at exactly the correct millisecond. As you also pointed out the hacker would also have to have access to the code. If you generate your own random seed with a counter it should not count by 1?s. The step count ideally should be random as well. Good discussion! Thanks, Rick > On Jul 3, 2018, at 12:57 AM, Brian Milby via use-livecode wrote: > > The problem with using an IV based on a pseudorandom number > generator seeded from something derived from the time means that it is > potentially predictable. From waprothero at gmail.com Tue Jul 3 14:02:43 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 3 Jul 2018 11:02:43 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: Brian, Good suggestion. Easy-peasy. Php has a nice function to generate random iv vectors, so I?ll put it in. Thanks for the suggestion! Best, Bill William Prothero http://earthlearningsolutions.org > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > I just put the PHP on my server and it was able to handle the randombytes IV without issue. > > The demo does not generate a new IV for the returned data which it really should in production. > > From a security perspective, you assume that an attacker has access to the code. From the encrypted message, an attacker could figure out your next IV. >> On Jul 3, 2018, 1:56 AM -0400, William Prothero , wrote: >> Brian, thanks for the feedback. >> >> I started by using random bytes, which was ok, but the php base64encode would only encode characters. So, I couldn?t get the return message to decode in LC correctly. I forget, it could have been the LC decode step, but the upshot was that I decided to go with valid ascii characters for iv because of this. >> >> I don?t understand the problem with using the milliseconds to generate the random seed, though. The least significant digits of the milliseconds only depends on the random time the user first initiates the query. I assumed the milliseconds counts up to some maximum integer number, then repeats. Hmm, maybe I need to investigate how the counting goes. I had assumed it was just an integer number that counted until it overflowed, then started again from zero. I can investigate this. >> >> What would the H(MAC) consist of? I haven?t heard of it. >> >> Best, >> Bill >> >> William Prothero >> http://earthlearningsolutions.org >> >> On Jul 2, 2018, at 9:57 PM, Brian Milby wrote: >> >>> I would suggest using "randombytes" instead of "random" on desktop/server (according to dictionary is isn't available in mobile, but I have not actually verified). That uses the openssl library to generate random numbers. The problem with using an IV based on a pseudorandom number generator seeded from something derived from the time means that it is potentially predictable. >>> >>> I was playing around with a function to generate an IV that is guaranteed to not repeat. The middle 4 bytes are the seconds, so it reduces the randomness by 4 bytes. I'm not sure how much of an issue that would be. It does avoid the birthday problem (which should not really be an issue with a good random number generator I would guess). Maintaining your own counter would be another option. Ensuring uniqueness and unpredictability is the goal. >>> >>> One other thing that I was reading is that we should also include a (H)MAC after the encryption to ensure that the payload is not tampered with. We would then only decrypt if the message had not been changed (and the IV would be included in the MAC calculation). >>> >>> Below is the code that I was experimenting with: >>> >>> function generateIV pLength >>> local tSeconds, tBytes >>> >>> put randomBytes(6) into tBytes >>> put the seconds into tSeconds >>> repeat until tSeconds < 256 >>> put numToByte(tSeconds mod 256) after tBytes >>> put tSeconds div 256 into tSeconds >>> end repeat >>> put numToByte(tSeconds) after tBytes >>> >>> if pLength is empty then put 16 into pLength >>> subtract length(tBytes) from pLength >>> if pLength < 0 then >>> delete byte 1 to (- pLength) of tBytes >>> else >>> put randomBytes(pLength) after tBytes >>> end if >>> return tBytes >>> end generateIV >>> >>>> On Mon, Jul 2, 2018 at 10:37 PM, William Prothero via use-livecode wrote: >>>> Folks: >>>> I?ve been working on a sample stack to demonstrate encryption, best practices (as far as I can determine). >>>> The online lessons are not adequate for a robust solution to this vital security issue. I?ve posted a demo stack at: http://earthlearningsolutions.org/google-static-maps-demo/ This stack has benefited from feedback and ideas from folks on this list. Feedback is welcome. >>>> >>>> This stack generates a random iv vector and uses AES-256 encryption to encode an array containing commands for interaction with a mySQL server. The server side php script that decodes the data and encodes the returned response is included. >>>> >>>> On thing I am still unsure about is the best way to generate a random string of characters that I use for the random IV (initialization vector) that is used for the encryption. I?ve included some code below, which is used to encrypt and decrypt the data sent and returned from the server. The encode and decode scripts are put into the launcher, or stack that is created when a standalone or mobile version is built. >>>> >>>> Here are the handlers. The encryption key will be more secure if it is obfuscated by putting it in as a property of a control or hidden in some way. I am wondering if the generation of the random seed is optimum. >>>> >>>> Feedback welcome. >>>> >>>> local theRandomSeed >>>> >>>> function randomChrs n >>>> if theRandomSeed = "" then >>>> setRandomSeed >>>> end if >>>> put "" into tChars >>>> repeat with i=1 to n >>>> put random(256) into nChar >>>> put numToNativeChar(nChar) after tChars >>>> end repeat >>>> return tChars >>>> end randomChrs >>>> >>>> on setRandomSeed >>>> put (the milliseconds) into tMS >>>> put trunc(tMs/10000000) into tDiv >>>> put tMS mod tDiv into theRandomSeed >>>> set the randomseed to theRandomSeed >>>> end setRandomSeed >>>> >>>> function theRandomIV >>>> if theRandomSeed = "" then >>>> setRandomSeed >>>> end if >>>> put randomChrs(16) into tIVBytes >>>> return tIVBytes >>>> end theRandomIV >>>> >>>> --This handler encodes the data. First it generates a random >>>> --initialization vector (iv), then encrypts the data and puts >>>> --adds iv to the encoded data. >>>> --tArray is an array that controls the action of the php script. >>>> function theEncoded tArray >>>> put theRandomIV() into tIV >>>> put base64Encode(tIV) into tB64IV >>>> put ArrayToJSON(tArray,"string?,?") into tJson >>>> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey >>>> put "AES-256-CTR" into tCipher >>>> encrypt tJson using tCipher with key tEncryptionKey and iV tIV >>>> put base64encode(it) into tDataToSend >>>> --comment out next statement if iv not included in data >>>> put tB64IV&tDataToSend into tDataToSend >>>> return tDataToSend >>>> end theEncoded >>>> >>>> --This decodes the data that is returned by the php on the >>>> --remote server. >>>> --The iv is expected as the first 24 bytes of the returned data. >>>> function theDecoded tData >>>> put byte 1 to 24 of tData into tIVB64 >>>> put base64decode(tIVB64) into tIV >>>> put the number of bytes in tData into n >>>> put byte 25 to n of tData into tRetB64Data >>>> put base64decode(tRetB64Data) into tRetData >>>> put "AES-256-CTR" into tCipher >>>> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey >>>> decrypt tRetData using tCipher with key tEncryptionKey and iV tIV >>>> put it into tReturn >>>> return tReturn >>>> end theDecoded >>>> -- End of handlers that should be in the main stack >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> From tom at makeshyft.com Tue Jul 3 14:17:05 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 3 Jul 2018 14:17:05 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: any chance this could go on github? On Tue, Jul 3, 2018 at 2:02 PM, William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Brian, > Good suggestion. > > Easy-peasy. Php has a nice function to generate random iv vectors, so I?ll > put it in. Thanks for the suggestion! > > Best, > Bill > > William Prothero > http://earthlearningsolutions.org > > > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > > > I just put the PHP on my server and it was able to handle the > randombytes IV without issue. > > > > The demo does not generate a new IV for the returned data which it > really should in production. > > > > From a security perspective, you assume that an attacker has access to > the code. From the encrypted message, an attacker could figure out your > next IV. > >> On Jul 3, 2018, 1:56 AM -0400, William Prothero , > wrote: > >> Brian, thanks for the feedback. > >> > >> I started by using random bytes, which was ok, but the php base64encode > would only encode characters. So, I couldn?t get the return message to > decode in LC correctly. I forget, it could have been the LC decode step, > but the upshot was that I decided to go with valid ascii characters for iv > because of this. > >> > >> I don?t understand the problem with using the milliseconds to generate > the random seed, though. The least significant digits of the milliseconds > only depends on the random time the user first initiates the query. I > assumed the milliseconds counts up to some maximum integer number, then > repeats. Hmm, maybe I need to investigate how the counting goes. I had > assumed it was just an integer number that counted until it overflowed, > then started again from zero. I can investigate this. > >> > >> What would the H(MAC) consist of? I haven?t heard of it. > >> > >> Best, > >> Bill > >> > >> William Prothero > >> http://earthlearningsolutions.org > >> > >> On Jul 2, 2018, at 9:57 PM, Brian Milby wrote: > >> > >>> I would suggest using "randombytes" instead of "random" on > desktop/server (according to dictionary is isn't available in mobile, but I > have not actually verified). That uses the openssl library to generate > random numbers. The problem with using an IV based on a pseudorandom > number generator seeded from something derived from the time means that it > is potentially predictable. > >>> > >>> I was playing around with a function to generate an IV that is > guaranteed to not repeat. The middle 4 bytes are the seconds, so it > reduces the randomness by 4 bytes. I'm not sure how much of an issue that > would be. It does avoid the birthday problem (which should not really be > an issue with a good random number generator I would guess). Maintaining > your own counter would be another option. Ensuring uniqueness and > unpredictability is the goal. > >>> > >>> One other thing that I was reading is that we should also include a > (H)MAC after the encryption to ensure that the payload is not tampered > with. We would then only decrypt if the message had not been changed (and > the IV would be included in the MAC calculation). > >>> > >>> Below is the code that I was experimenting with: > >>> > >>> function generateIV pLength > >>> local tSeconds, tBytes > >>> > >>> put randomBytes(6) into tBytes > >>> put the seconds into tSeconds > >>> repeat until tSeconds < 256 > >>> put numToByte(tSeconds mod 256) after tBytes > >>> put tSeconds div 256 into tSeconds > >>> end repeat > >>> put numToByte(tSeconds) after tBytes > >>> > >>> if pLength is empty then put 16 into pLength > >>> subtract length(tBytes) from pLength > >>> if pLength < 0 then > >>> delete byte 1 to (- pLength) of tBytes > >>> else > >>> put randomBytes(pLength) after tBytes > >>> end if > >>> return tBytes > >>> end generateIV > >>> > >>>> On Mon, Jul 2, 2018 at 10:37 PM, William Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> Folks: > >>>> I?ve been working on a sample stack to demonstrate encryption, best > practices (as far as I can determine). > >>>> The online lessons are not adequate for a robust solution to this > vital security issue. I?ve posted a demo stack at: > http://earthlearningsolutions.org/google-static-maps-demo/ earthlearningsolutions.org/google-static-maps-demo/> This stack has > benefited from feedback and ideas from folks on this list. Feedback is > welcome. > >>>> > >>>> This stack generates a random iv vector and uses AES-256 encryption > to encode an array containing commands for interaction with a mySQL server. > The server side php script that decodes the data and encodes the returned > response is included. > >>>> > >>>> On thing I am still unsure about is the best way to generate a random > string of characters that I use for the random IV (initialization vector) > that is used for the encryption. I?ve included some code below, which is > used to encrypt and decrypt the data sent and returned from the server. The > encode and decode scripts are put into the launcher, or stack that is > created when a standalone or mobile version is built. > >>>> > >>>> Here are the handlers. The encryption key will be more secure if it > is obfuscated by putting it in as a property of a control or hidden in some > way. I am wondering if the generation of the random seed is optimum. > >>>> > >>>> Feedback welcome. > >>>> > >>>> local theRandomSeed > >>>> > >>>> function randomChrs n > >>>> if theRandomSeed = "" then > >>>> setRandomSeed > >>>> end if > >>>> put "" into tChars > >>>> repeat with i=1 to n > >>>> put random(256) into nChar > >>>> put numToNativeChar(nChar) after tChars > >>>> end repeat > >>>> return tChars > >>>> end randomChrs > >>>> > >>>> on setRandomSeed > >>>> put (the milliseconds) into tMS > >>>> put trunc(tMs/10000000) into tDiv > >>>> put tMS mod tDiv into theRandomSeed > >>>> set the randomseed to theRandomSeed > >>>> end setRandomSeed > >>>> > >>>> function theRandomIV > >>>> if theRandomSeed = "" then > >>>> setRandomSeed > >>>> end if > >>>> put randomChrs(16) into tIVBytes > >>>> return tIVBytes > >>>> end theRandomIV > >>>> > >>>> --This handler encodes the data. First it generates a random > >>>> --initialization vector (iv), then encrypts the data and puts > >>>> --adds iv to the encoded data. > >>>> --tArray is an array that controls the action of the php script. > >>>> function theEncoded tArray > >>>> put theRandomIV() into tIV > >>>> put base64Encode(tIV) into tB64IV > >>>> put ArrayToJSON(tArray,"string?,?") into tJson > >>>> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > >>>> put "AES-256-CTR" into tCipher > >>>> encrypt tJson using tCipher with key tEncryptionKey and iV tIV > >>>> put base64encode(it) into tDataToSend > >>>> --comment out next statement if iv not included in data > >>>> put tB64IV&tDataToSend into tDataToSend > >>>> return tDataToSend > >>>> end theEncoded > >>>> > >>>> --This decodes the data that is returned by the php on the > >>>> --remote server. > >>>> --The iv is expected as the first 24 bytes of the returned data. > >>>> function theDecoded tData > >>>> put byte 1 to 24 of tData into tIVB64 > >>>> put base64decode(tIVB64) into tIV > >>>> put the number of bytes in tData into n > >>>> put byte 25 to n of tData into tRetB64Data > >>>> put base64decode(tRetB64Data) into tRetData > >>>> put "AES-256-CTR" into tCipher > >>>> put "AFBDDFCFBDBBDDCCFFACGHDFFFFEEDCC" into tEncryptionKey > >>>> decrypt tRetData using tCipher with key tEncryptionKey and iV tIV > >>>> put it into tReturn > >>>> return tReturn > >>>> end theDecoded > >>>> -- End of handlers that should be in the main stack > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Tue Jul 3 14:20:58 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 3 Jul 2018 14:20:58 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: I?ll volunteer to add it to my community repo if desired. Thanks, Brian On Jul 3, 2018, 2:17 PM -0400, Tom Glod via use-livecode , wrote: > any chance this could go on github? > From waprothero at gmail.com Tue Jul 3 14:39:24 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 3 Jul 2018 11:39:24 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: Brian, Thank you for your wisdom on this issue. I?m very interested in your recommendations and they are inspiring me to do more Internet research. Just asking... You said that the attacker could figure out the next iv. Since I append the iv to the front of the encrypted data, the attacker will always know the iv, correct? As I understand, the iv is used to obfuscate the encrypted data so it is more difficult for the attacker to decrypt the AES encrypted data. A random iv is used so the attacker can?t get the key by entering specific patterns of data and using the results. Darn, this is complicated! I can see why there are so many opinions. I read that some folks recommend that the iv be secret and others don?t. When I look at the online discussions on stackoverflow, every comment is responded to with a different suggestion, and I have no idea whether the commenter knows what he/she is talking about. There is also out of date information to contend with. I also remember the horrible bug found in ssh encryption. AES was developed and released November, 2001 and a lot of the discussions are older. I think the basic thing we hope for is that the attacker doesn?t have the key, and we need to do everything possible to keep it from determining the key. The attacker can still decrypt with a brute force method that tries all possible keys, but that?s probably rare in most cases, but possible. I will modify the php to generate a new iv for the return data and look into the way I set the randomseed using the milliseconds. Thanks again, Bill William Prothero http://earthlearningsolutions.org > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > I just put the PHP on my server and it was able to handle the randombytes IV without issue. > > The demo does not generate a new IV for the returned data which it really should in production. > > From a security perspective, you assume that an attacker has access to the code. From the encrypted message, an attacker could figure out your next IV. >>> From prothero at earthlearningsolutions.org Tue Jul 3 14:44:10 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 3 Jul 2018 11:44:10 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: I haven?t spent the time to get familiar with github, but after I modify the php to use a random iv for the return data, I?m happy with any way to disseminate it for others. I?ll post a new link, when I?m done. Probably later today. I will also remove the link to my server. Then, I invite you to post it to github. Best, Bill William Prothero http://earthlearningsolutions.org > On Jul 3, 2018, at 11:20 AM, Brian Milby via use-livecode wrote: > > I?ll volunteer to add it to my community repo if desired. > > Thanks, > Brian >> On Jul 3, 2018, 2:17 PM -0400, Tom Glod via use-livecode , wrote: >> any chance this could go on github? >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Tue Jul 3 15:07:32 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 3 Jul 2018 15:07:32 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: I think the IV vulnerability that I?m talking about is more theoretical than an actual concern. From what I?ve read the attacker needs to be able to control/influence what is being encrypted for knowledge of the next IV to help (so they can use a known plain text to test their key hypothesis). And yes, the IV does make each encrypted message different even for the same plain text. I didn?t fully work out the IV vulnerability but it did make sense how it would work. Thanks, Brian On Jul 3, 2018, 2:39 PM -0400, William Prothero , wrote: > Brian, > Thank you for your wisdom on this issue. I?m very interested in your recommendations and they are inspiring me to do more Internet research. > > Just asking... > You said that the attacker could figure out the next iv. Since I append the iv to the front of the encrypted data, the attacker will always know the iv, correct? As I understand, the iv is used to obfuscate the encrypted data so it is more difficult for the attacker to decrypt the AES encrypted data. A random iv is used so the attacker can?t get the key by entering specific patterns of data and using the results. > > Darn, this is complicated! I can see why there are so many opinions. I read that some folks recommend that the iv be secret and others don?t. When I look at the online discussions on stackoverflow, every comment is responded to with a different suggestion, and I have no idea whether the commenter knows what he/she is talking about. There is also out of date information to contend with. I also remember the horrible bug found in ssh encryption. AES was developed and released November, 2001 and a lot of the discussions are older. > > I think the basic thing we hope for is that the attacker doesn?t have the key, and we need to do everything possible to keep it from determining the key. The attacker can still decrypt with a brute force method that tries all possible keys, but that?s probably rare in most cases, but possible. > > I will modify the php to generate a new iv for the return data and look into the way I set the randomseed using the milliseconds. > > Thanks again, > Bill > > William Prothero > http://earthlearningsolutions.org > > > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > > > I just put the PHP on my server and it was able to handle the randombytes IV without issue. > > > > The demo does not generate a new IV for the returned data which it really should in production. > > > > From a security perspective, you assume that an attacker has access to the code. From the encrypted message, an attacker could figure out your next IV. > > > > From tom at makeshyft.com Tue Jul 3 15:27:42 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 3 Jul 2018 15:27:42 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: thank you for this .....I'm willing to post it too....was just thinking if the goal is to nail down a best practice ..... then there may be a few suggestions from a few people and maybe a few revisits, so keeping up with the mailing list or your personal site is not ideal for something that is being worked on in community. unfortunately i cannot add anything to the code except test it myself when the time comes. great job everyone this can be very helpful to a lot of livecode developers. On Tue, Jul 3, 2018 at 3:07 PM, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > I think the IV vulnerability that I?m talking about is more theoretical > than an actual concern. From what I?ve read the attacker needs to be able > to control/influence what is being encrypted for knowledge of the next IV > to help (so they can use a known plain text to test their key hypothesis). > > And yes, the IV does make each encrypted message different even for the > same plain text. > > I didn?t fully work out the IV vulnerability but it did make sense how it > would work. > > Thanks, > Brian > On Jul 3, 2018, 2:39 PM -0400, William Prothero , > wrote: > > Brian, > > Thank you for your wisdom on this issue. I?m very interested in your > recommendations and they are inspiring me to do more Internet research. > > > > Just asking... > > You said that the attacker could figure out the next iv. Since I append > the iv to the front of the encrypted data, the attacker will always know > the iv, correct? As I understand, the iv is used to obfuscate the encrypted > data so it is more difficult for the attacker to decrypt the AES encrypted > data. A random iv is used so the attacker can?t get the key by entering > specific patterns of data and using the results. > > > > Darn, this is complicated! I can see why there are so many opinions. I > read that some folks recommend that the iv be secret and others don?t. When > I look at the online discussions on stackoverflow, every comment is > responded to with a different suggestion, and I have no idea whether the > commenter knows what he/she is talking about. There is also out of date > information to contend with. I also remember the horrible bug found in ssh > encryption. AES was developed and released November, 2001 and a lot of the > discussions are older. > > > > I think the basic thing we hope for is that the attacker doesn?t have > the key, and we need to do everything possible to keep it from determining > the key. The attacker can still decrypt with a brute force method that > tries all possible keys, but that?s probably rare in most cases, but > possible. > > > > I will modify the php to generate a new iv for the return data and look > into the way I set the randomseed using the milliseconds. > > > > Thanks again, > > Bill > > > > William Prothero > > http://earthlearningsolutions.org > > > > > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > > > > > I just put the PHP on my server and it was able to handle the > randombytes IV without issue. > > > > > > The demo does not generate a new IV for the returned data which it > really should in production. > > > > > > From a security perspective, you assume that an attacker has access to > the code. From the encrypted message, an attacker could figure out your > next IV. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Tue Jul 3 16:00:44 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 3 Jul 2018 15:00:44 -0500 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: Initial code is posted here: https://github.com/bwmilby/lc-community/tree/master/AES_Demo I'll update it later today with an updated version of the PHP that uses a different IV for the return data. The good thing about how I've posted it is that PRs can be submitted and integrated with edits to just the code (and I'll merge them into the stack itself). If you do submit a PR, do not include the stack itself. Hold off until v2 is posted though (I'm integrating an updated stack). After I post v2, I'm going to update the README with links to these threads for reference. On Tue, Jul 3, 2018 at 2:27 PM, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > thank you for this .....I'm willing to post it too....was just thinking if > the goal is to nail down a best practice ..... then there may be a few > suggestions from a few people and maybe a few revisits, so keeping up with > the mailing list or your personal site is not ideal for something that is > being worked on in community. unfortunately i cannot add anything to the > code except test it myself when the time comes. great job everyone this > can be very helpful to a lot of livecode developers. > > > > On Tue, Jul 3, 2018 at 3:07 PM, Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I think the IV vulnerability that I?m talking about is more theoretical > > than an actual concern. From what I?ve read the attacker needs to be able > > to control/influence what is being encrypted for knowledge of the next IV > > to help (so they can use a known plain text to test their key > hypothesis). > > > > And yes, the IV does make each encrypted message different even for the > > same plain text. > > > > I didn?t fully work out the IV vulnerability but it did make sense how it > > would work. > > > > Thanks, > > Brian > > On Jul 3, 2018, 2:39 PM -0400, William Prothero , > > wrote: > > > Brian, > > > Thank you for your wisdom on this issue. I?m very interested in your > > recommendations and they are inspiring me to do more Internet research. > > > > > > Just asking... > > > You said that the attacker could figure out the next iv. Since I append > > the iv to the front of the encrypted data, the attacker will always know > > the iv, correct? As I understand, the iv is used to obfuscate the > encrypted > > data so it is more difficult for the attacker to decrypt the AES > encrypted > > data. A random iv is used so the attacker can?t get the key by entering > > specific patterns of data and using the results. > > > > > > Darn, this is complicated! I can see why there are so many opinions. I > > read that some folks recommend that the iv be secret and others don?t. > When > > I look at the online discussions on stackoverflow, every comment is > > responded to with a different suggestion, and I have no idea whether the > > commenter knows what he/she is talking about. There is also out of date > > information to contend with. I also remember the horrible bug found in > ssh > > encryption. AES was developed and released November, 2001 and a lot of > the > > discussions are older. > > > > > > I think the basic thing we hope for is that the attacker doesn?t have > > the key, and we need to do everything possible to keep it from > determining > > the key. The attacker can still decrypt with a brute force method that > > tries all possible keys, but that?s probably rare in most cases, but > > possible. > > > > > > I will modify the php to generate a new iv for the return data and look > > into the way I set the randomseed using the milliseconds. > > > > > > Thanks again, > > > Bill > > > > > > William Prothero > > > http://earthlearningsolutions.org > > > > > > > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > > > > > > > I just put the PHP on my server and it was able to handle the > > randombytes IV without issue. > > > > > > > > The demo does not generate a new IV for the returned data which it > > really should in production. > > > > > > > > From a security perspective, you assume that an attacker has access > to > > the code. From the encrypted message, an attacker could figure out your > > next IV. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Tue Jul 3 16:19:23 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 3 Jul 2018 16:19:23 -0400 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <2f8541c6-7705-40ee-8f82-2e5430d343fc@Spark> Message-ID: Thanks Brian. Thanks everyone. This is great a big time saver for me. On Tue, Jul 3, 2018 at 4:00 PM, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > Initial code is posted here: > https://github.com/bwmilby/lc-community/tree/master/AES_Demo > > I'll update it later today with an updated version of the PHP that uses a > different IV for the return data. > > The good thing about how I've posted it is that PRs can be submitted and > integrated with edits to just the code (and I'll merge them into the stack > itself). If you do submit a PR, do not include the stack itself. Hold off > until v2 is posted though (I'm integrating an updated stack). > > After I post v2, I'm going to update the README with links to these threads > for reference. > > On Tue, Jul 3, 2018 at 2:27 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > thank you for this .....I'm willing to post it too....was just thinking > if > > the goal is to nail down a best practice ..... then there may be a few > > suggestions from a few people and maybe a few revisits, so keeping up > with > > the mailing list or your personal site is not ideal for something that is > > being worked on in community. unfortunately i cannot add anything to the > > code except test it myself when the time comes. great job everyone this > > can be very helpful to a lot of livecode developers. > > > > > > > > On Tue, Jul 3, 2018 at 3:07 PM, Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I think the IV vulnerability that I?m talking about is more theoretical > > > than an actual concern. From what I?ve read the attacker needs to be > able > > > to control/influence what is being encrypted for knowledge of the next > IV > > > to help (so they can use a known plain text to test their key > > hypothesis). > > > > > > And yes, the IV does make each encrypted message different even for the > > > same plain text. > > > > > > I didn?t fully work out the IV vulnerability but it did make sense how > it > > > would work. > > > > > > Thanks, > > > Brian > > > On Jul 3, 2018, 2:39 PM -0400, William Prothero >, > > > wrote: > > > > Brian, > > > > Thank you for your wisdom on this issue. I?m very interested in your > > > recommendations and they are inspiring me to do more Internet research. > > > > > > > > Just asking... > > > > You said that the attacker could figure out the next iv. Since I > append > > > the iv to the front of the encrypted data, the attacker will always > know > > > the iv, correct? As I understand, the iv is used to obfuscate the > > encrypted > > > data so it is more difficult for the attacker to decrypt the AES > > encrypted > > > data. A random iv is used so the attacker can?t get the key by entering > > > specific patterns of data and using the results. > > > > > > > > Darn, this is complicated! I can see why there are so many opinions. > I > > > read that some folks recommend that the iv be secret and others don?t. > > When > > > I look at the online discussions on stackoverflow, every comment is > > > responded to with a different suggestion, and I have no idea whether > the > > > commenter knows what he/she is talking about. There is also out of date > > > information to contend with. I also remember the horrible bug found in > > ssh > > > encryption. AES was developed and released November, 2001 and a lot of > > the > > > discussions are older. > > > > > > > > I think the basic thing we hope for is that the attacker doesn?t have > > > the key, and we need to do everything possible to keep it from > > determining > > > the key. The attacker can still decrypt with a brute force method that > > > tries all possible keys, but that?s probably rare in most cases, but > > > possible. > > > > > > > > I will modify the php to generate a new iv for the return data and > look > > > into the way I set the randomseed using the milliseconds. > > > > > > > > Thanks again, > > > > Bill > > > > > > > > William Prothero > > > > http://earthlearningsolutions.org > > > > > > > > > On Jul 3, 2018, at 9:31 AM, Brian Milby wrote: > > > > > > > > > > I just put the PHP on my server and it was able to handle the > > > randombytes IV without issue. > > > > > > > > > > The demo does not generate a new IV for the returned data which it > > > really should in production. > > > > > > > > > > From a security perspective, you assume that an attacker has access > > to > > > the code. From the encrypted message, an attacker could figure out your > > > next IV. > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at midwestcoastmedia.com Tue Jul 3 16:34:22 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Tue, 03 Jul 2018 20:34:22 +0000 Subject: iOS 12 compatibility In-Reply-To: Message-ID: <20180703203422.Horde.XtS7WrzF12iezw-nlOdzeFE@ua850258.serversignin.com> Had my first customer complaint about the app not working on their device running the iOS 12 beta. Luckily I was able to point to a blog post about how Fortnite also crashes under iOS 12 and explained how their development budget is WAY larger to buy some time ;) Has the mothership had a chance to investigate this and/or should I submit a report to bugzilla? --Andrew Bell > Date: Tue, 26 Jun 2018 17:45:42 +0100 > From: panagiotis merakos > To: How to use LiveCode > Cc: andrew at midwestcoastmedia.com > Subject: Re: iOS 12 compatibility > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > Hi Andrew, > > oh what fun! > > I will install iOS 12 beta in one of our office devices and investigate > tomorrow. After a quick google search it seems that other non-LC apps crash > on startup on iOS 12 beta, so probably Apple has changed something. > > BTW what version of LC / MacOS/ Xcode did you use to build the > standalone(s)? > > Best, > Panos > -- From merakosp at gmail.com Tue Jul 3 16:52:54 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 3 Jul 2018 21:52:54 +0100 Subject: iOS 12 compatibility In-Reply-To: <20180703203422.Horde.XtS7WrzF12iezw-nlOdzeFE@ua850258.serversignin.com> References: <20180703203422.Horde.XtS7WrzF12iezw-nlOdzeFE@ua850258.serversignin.com> Message-ID: Hello Andrew, No we did not have a chance to look at it yet, but we are aware of the issue. I think I had filed a bug report a week ago, I'll double check and let you know. Best Panos -- On Tue, Jul 3, 2018, 21:34 Andrew Bell via use-livecode < use-livecode at lists.runrev.com> wrote: > Had my first customer complaint about the app not working on their > device running the iOS 12 beta. Luckily I was able to point to a blog > post about how Fortnite also crashes under iOS 12 and explained how > their development budget is WAY larger to buy some time ;) > > Has the mothership had a chance to investigate this and/or should I > submit a report to bugzilla? > > --Andrew Bell > > > Date: Tue, 26 Jun 2018 17:45:42 +0100 > > From: panagiotis merakos > > To: How to use LiveCode > > Cc: andrew at midwestcoastmedia.com > > Subject: Re: iOS 12 compatibility > > Message-ID: > > < > CA+JfEq8+1PtDYwsVsa0Xk6aSrdCQNrK8v+9XtBYod5UFdyVG-g at mail.gmail.com> > > Content-Type: text/plain; charset="UTF-8" > > > > Hi Andrew, > > > > oh what fun! > > > > I will install iOS 12 beta in one of our office devices and investigate > > tomorrow. After a quick google search it seems that other non-LC apps > crash > > on startup on iOS 12 beta, so probably Apple has changed something. > > > > BTW what version of LC / MacOS/ Xcode did you use to build the > > standalone(s)? > > > > Best, > > Panos > > -- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Tue Jul 3 18:16:34 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 3 Jul 2018 15:16:34 -0700 Subject: iOS 12 compatibility In-Reply-To: References: <20180703203422.Horde.XtS7WrzF12iezw-nlOdzeFE@ua850258.serversignin.com> Message-ID: Skype also crashes. With Adobe AIR apps a current app crashes, but one from four years ago doesn?t. Hopefully Apple will fix things. On Tue, Jul 3, 2018 at 1:53 PM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Andrew, > > No we did not have a chance to look at it yet, but we are aware of the > issue. I think I had filed a bug report a week ago, I'll double check and > let you know. > > Best > Panos > -- > > On Tue, Jul 3, 2018, 21:34 Andrew Bell via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Had my first customer complaint about the app not working on their > > device running the iOS 12 beta. Luckily I was able to point to a blog > > post about how Fortnite also crashes under iOS 12 and explained how > > their development budget is WAY larger to buy some time ;) > > > > Has the mothership had a chance to investigate this and/or should I > > submit a report to bugzilla? > > > > --Andrew Bell > > > > > Date: Tue, 26 Jun 2018 17:45:42 +0100 > > > From: panagiotis merakos > > > To: How to use LiveCode > > > Cc: andrew at midwestcoastmedia.com > > > Subject: Re: iOS 12 compatibility > > > Message-ID: > > > < > > CA+JfEq8+1PtDYwsVsa0Xk6aSrdCQNrK8v+9XtBYod5UFdyVG-g at mail.gmail.com> > > > Content-Type: text/plain; charset="UTF-8" > > > > > > Hi Andrew, > > > > > > oh what fun! > > > > > > I will install iOS 12 beta in one of our office devices and investigate > > > tomorrow. After a quick google search it seems that other non-LC apps > > crash > > > on startup on iOS 12 beta, so probably Apple has changed something. > > > > > > BTW what version of LC / MacOS/ Xcode did you use to build the > > > standalone(s)? > > > > > > Best, > > > Panos > > > -- > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Tue Jul 3 18:48:28 2018 From: monte at appisle.net (Monte Goulding) Date: Wed, 4 Jul 2018 08:48:28 +1000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <7C9CE302-2D41-434D-9AD0-D4B8D51BEF21@iotecdigital.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> <059A532C-DD92-4116-A8F2-95CA286B6629@appisle.net> <7C9CE302-2D41-434D-9AD0-D4B8D51BEF21@iotecdigital.com> Message-ID: <0F64534F-A646-4A00-BD4F-BA322410F437@appisle.net> > On 4 Jul 2018, at 12:52 am, Bob Sneidar via use-livecode wrote: > > Jacque says you can reference a behavior's script locals ie. the sLocal of THIS ME Well you can?t actually do that so maybe Jacque is being misquoted? Cheers Monte From brahma at hindu.org Tue Jul 3 20:33:40 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 4 Jul 2018 00:33:40 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> Message-ID: Just a side note, that for "parent" behaviors which have been "nested" as the behavior of multiple "children" ... we are "blinded sided" to this, as the designation is in the first comment of the script with doesn't appear in the IDE, SE The only other place to see it is in the PB in 9+, that is obscure and is shows a "dot" nothing more. If you are using text editor, no problem. But I have taken a convention for every child behavior, to make the first comment on the script declare: -> ## this script has a parent: behavior_ListenUI So I can see it in IDE script editor Coming to the "script local" problem. Jacque was misquoted. She said scripts that are not attached to an object (there is no "this me"....) globals are required. One solution is to use a single global as an array.. Global sConfigA # with keys needed This doesn?t solve the problem of "who set that value" when tracing; but I found it convenient to have a single global to check out at any point this I want to use it. And the keys are like "custom properties" of global array. Still, if could lead to "untraceable" code if I used that one array for too much. Would be nice to solve it somehow. I found myself using a "setter" command from parent script creating a child local script local. And then a function to called that back...into parent. Then a few days, later, thinking "I need that local value in this other child..... geez - this backwards! Parent has to check "down the message path"?....The parent script wants to have everything! UhOH! I'm on the edge of snake pit here. Maybe I should not go down that road?" So I put plans for all the cool stuff I could do in "parent script" (of other children which actually have object) aside for now. Mostly use for UI stuff, like keep a mouseup handler, and if wanted it called from the child, just pass it in the child On mouseUp pass mouseUp # goes to parent behavior_ListenUI # because it has to have an object in the UI # it will *not* be passed in the message path...unless you do this. End mouseup BR "I too am still trying to figure it out" ? Bob Sneidar wrote: I'm getting heavily into behaviors and script only stacks now (in preparation for Levure Framework) because my project has become complex enough to make it almost inevitable. I have perhaps 20 or so substacks in a mainstack. From brian at milby7.com Tue Jul 3 22:02:15 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 3 Jul 2018 21:02:15 -0500 Subject: AES-256 Encryption Best Practices In-Reply-To: <078FE029-A82F-40A3-AF2D-82793FF3C429@all-auctions.com> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <078FE029-A82F-40A3-AF2D-82793FF3C429@all-auctions.com> Message-ID: The problem is that with a known IV and the code, the next IV can be predicted if using the random function. If the generator was reseeded every time an IV was generated, that would remove the advance prediction issue. I didn't mean that the first IV could be guessed. Exploitation would be difficult and I believe even requires the attacker to be able to inject plain text to be encrypted. On Jul 3, 2018, 1:24 PM -0400, Rick Harrison via use-livecode < use-livecode at lists.runrev.com>, wrote: Hi Brian, I think it would be pretty hard to do based on the time. One would have to do the calculation in advance and hope that the program caught the server at exactly the correct millisecond. As you also pointed out the hacker would also have to have access to the code. If you generate your own random seed with a counter it should not count by 1?s. The step count ideally should be random as well. Good discussion! Thanks, Rick From jacque at hyperactivesw.com Tue Jul 3 23:07:50 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 3 Jul 2018 22:07:50 -0500 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: <0F64534F-A646-4A00-BD4F-BA322410F437@appisle.net> References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <3f288eb1-89bc-cb12-ce4b-363ba18b6771@hyperactivesw.com> <059A532C-DD92-4116-A8F2-95CA286B6629@appisle.net> <7C9CE302-2D41-434D-9AD0-D4B8D51BEF21@iotecdigital.com> <0F64534F-A646-4A00-BD4F-BA322410F437@appisle.net> Message-ID: <4edcb549-e7e2-97ad-27b7-bf293d82e76c@hyperactivesw.com> On 7/3/18 5:48 PM, Monte Goulding via use-livecode wrote: > > >> On 4 Jul 2018, at 12:52 am, Bob Sneidar via use-livecode wrote: >> >> Jacque says you can reference a behavior's script locals ie. the sLocal of THIS ME > > Well you can?t actually do that so maybe Jacque is being misquoted? I think I misquoted myself. "Me" is an object, and an object can't have a script local, so you were being generous in not saying outright I was wrong. My brain did a little twist, and the example I gave used property syntax, which a "me" can have. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From waprothero at gmail.com Wed Jul 4 01:41:46 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 3 Jul 2018 22:41:46 -0700 Subject: AES-256 Encryption Best Practices In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> <070CEC05-C600-46C1-9C17-904950F26A46@iotecdigital.com> <1FB51483-9ACD-435F-AB7D-0E7060B833A0@gmail.com> <078FE029-A82F-40A3-AF2D-82793FF3C429@all-auctions.com> Message-ID: <2876FB18-95A5-403D-B8CC-1B3C7A899E7C@gmail.com> Brian: Ahhh, ok, I get it. It?s easy to re-seed every time it?s called, using the milliseconds. That assumes that the user of the program initiates the action at a random time. I?ll change the code so it re-seeds every time. Best, Bill > On Jul 3, 2018, at 7:02 PM, Brian Milby via use-livecode wrote: > > The problem is that with a known IV and the code, the next IV can be > predicted if using the random function. If the generator was reseeded every > time an IV was generated, that would remove the advance prediction issue. I > didn't mean that the first IV could be guessed. Exploitation would be > difficult and I believe even requires the attacker to be able to inject > plain text to be encrypted. > > On Jul 3, 2018, 1:24 PM -0400, Rick Harrison via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Hi Brian, > > I think it would be pretty hard to do based on the time. > One would have to do the calculation in advance and > hope that the program caught the server at exactly > the correct millisecond. As you also pointed out the > hacker would also have to have access to the code. > > If you generate your own random seed with a counter > it should not count by 1?s. The step count ideally should > be random as well. > > Good discussion! > > Thanks, > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Wed Jul 4 05:16:55 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 4 Jul 2018 10:16:55 +0100 Subject: iOS 12 compatibility In-Reply-To: References: <20180703203422.Horde.XtS7WrzF12iezw-nlOdzeFE@ua850258.serversignin.com> Message-ID: Thanks for the update @Colin For anyone interested, I just filed a bug report: https://quality.livecode.com/show_bug.cgi?id=21396 Best, Panos -- On Tue, Jul 3, 2018 at 11:16 PM, Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > Skype also crashes. With Adobe AIR apps a current app crashes, but one from > four years ago doesn?t. Hopefully Apple will fix things. > > On Tue, Jul 3, 2018 at 1:53 PM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Andrew, > > > > No we did not have a chance to look at it yet, but we are aware of the > > issue. I think I had filed a bug report a week ago, I'll double check and > > let you know. > > > > Best > > Panos > > -- > > > > On Tue, Jul 3, 2018, 21:34 Andrew Bell via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Had my first customer complaint about the app not working on their > > > device running the iOS 12 beta. Luckily I was able to point to a blog > > > post about how Fortnite also crashes under iOS 12 and explained how > > > their development budget is WAY larger to buy some time ;) > > > > > > Has the mothership had a chance to investigate this and/or should I > > > submit a report to bugzilla? > > > > > > --Andrew Bell > > > > > > > Date: Tue, 26 Jun 2018 17:45:42 +0100 > > > > From: panagiotis merakos > > > > To: How to use LiveCode > > > > Cc: andrew at midwestcoastmedia.com > > > > Subject: Re: iOS 12 compatibility > > > > Message-ID: > > > > < > > > CA+JfEq8+1PtDYwsVsa0Xk6aSrdCQNrK8v+9XtBYod5UFdyVG-g at mail.gmail.com> > > > > Content-Type: text/plain; charset="UTF-8" > > > > > > > > Hi Andrew, > > > > > > > > oh what fun! > > > > > > > > I will install iOS 12 beta in one of our office devices and > investigate > > > > tomorrow. After a quick google search it seems that other non-LC apps > > > crash > > > > on startup on iOS 12 beta, so probably Apple has changed something. > > > > > > > > BTW what version of LC / MacOS/ Xcode did you use to build the > > > > standalone(s)? > > > > > > > > Best, > > > > Panos > > > > -- > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From General.2018 at outlook.com Wed Jul 4 08:25:06 2018 From: General.2018 at outlook.com (General 2018) Date: Wed, 4 Jul 2018 12:25:06 +0000 Subject: Future support for Serial Coms Message-ID: Hi , I have seen questions raised over platform support for Serial Com ports and cannot seem to find a conclusive answer for Android and IOS. On Windows I use serial data over USB and Bluetooth , this all works fine with LC. I want to migrate to Android - so with LC is serial over USB and Bluetooth possible ? Many Android apps currently us this but need LC too. The only option for IOS is WIFI connection. Regards Camm From brian at milby7.com Wed Jul 4 12:01:02 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 4 Jul 2018 11:01:02 -0500 Subject: Future support for Serial Coms In-Reply-To: References: Message-ID: There is not currently a library available that does what you want. With LCB, you could package your own. There are a couple of packages with code that interfaces with USB deices, but I don't know enough about Android to build them in a way that works with LCB. Here are a couple: https://github.com/felHR85/UsbSerial https://github.com/mik3y/usb-serial-for-android Here is an example of using the first one: https://www.allaboutcircuits.com/projects/communicate-with-your-arduino-through-android/ On Wed, Jul 4, 2018 at 7:25 AM, General 2018 via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi , > > I have seen questions raised over platform support for Serial Com ports > and cannot seem to find a conclusive answer for Android and IOS. > > On Windows I use serial data over USB and Bluetooth , this all works fine > with LC. > > I want to migrate to Android - so with LC is serial over USB and Bluetooth > possible ? > Many Android apps currently us this but need LC too. > > The only option for IOS is WIFI connection. > > Regards > Camm > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Wed Jul 4 13:24:28 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 4 Jul 2018 10:24:28 -0700 Subject: iOS 12 compatibility In-Reply-To: References: <20180703203422.Horde.XtS7WrzF12iezw-nlOdzeFE@ua850258.serversignin.com> Message-ID: <18C07201-41AC-474E-BB3A-FE4F63D74BEF@gmail.com> Beta 3 of iOS 12 came out today. Apps still crash. > On Jul 4, 2018, at 2:16 AM, panagiotis merakos wrote: > > Thanks for the update @Colin > > For anyone interested, I just filed a bug report: > > https://quality.livecode.com/show_bug.cgi?id=21396 > > Best, > Panos > -- > > On Tue, Jul 3, 2018 at 11:16 PM, Colin Holgate via use-livecode > wrote: > Skype also crashes. With Adobe AIR apps a current app crashes, but one from > four years ago doesn?t. Hopefully Apple will fix things. > > On Tue, Jul 3, 2018 at 1:53 PM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com > wrote: > > > Hello Andrew, > > > > No we did not have a chance to look at it yet, but we are aware of the > > issue. I think I had filed a bug report a week ago, I'll double check and > > let you know. > > > > Best > > Panos > > -- > > > > On Tue, Jul 3, 2018, 21:34 Andrew Bell via use-livecode < > > use-livecode at lists.runrev.com > wrote: > > > > > Had my first customer complaint about the app not working on their > > > device running the iOS 12 beta. Luckily I was able to point to a blog > > > post about how Fortnite also crashes under iOS 12 and explained how > > > their development budget is WAY larger to buy some time ;) > > > > > > Has the mothership had a chance to investigate this and/or should I > > > submit a report to bugzilla? > > > > > > --Andrew Bell > > > > > > > Date: Tue, 26 Jun 2018 17:45:42 +0100 > > > > From: panagiotis merakos > > > > > To: How to use LiveCode > > > > > Cc: andrew at midwestcoastmedia.com > > > > Subject: Re: iOS 12 compatibility > > > > Message-ID: > > > > < > > > CA+JfEq8+1PtDYwsVsa0Xk6aSrdCQNrK8v+9XtBYod5UFdyVG-g at mail.gmail.com > > > > > Content-Type: text/plain; charset="UTF-8" > > > > > > > > Hi Andrew, > > > > > > > > oh what fun! > > > > > > > > I will install iOS 12 beta in one of our office devices and investigate > > > > tomorrow. After a quick google search it seems that other non-LC apps > > > crash > > > > on startup on iOS 12 beta, so probably Apple has changed something. > > > > > > > > BTW what version of LC / MacOS/ Xcode did you use to build the > > > > standalone(s)? > > > > > > > > Best, > > > > Panos > > > > -- > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Jul 4 19:00:29 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 4 Jul 2018 18:00:29 -0500 Subject: WebDocMaker / Online Dictionary Message-ID: I've finally updated my online version of the dictionary to the LC 9.0 release. In the process, I've posted the stack to my GitHub repo. https://github.com/bwmilby/lc-misc/tree/master/WebDocMaker The dictionary is available at: https://milby.us/lc/docs/api.html The guides are available at: https://milby.us/lc/docs/guide.html The files are probably much more appropriate to be self-hosted on a local network though. I have not tried to make it work better on small/mobile screens yet. I did put the code in that allows it work on iOS to at least select dictionary entries. For those of us in the USA, Happy 4th of July! Brian From mfluka at videotron.ca Wed Jul 4 20:38:24 2018 From: mfluka at videotron.ca (Michel F. Lukawecki) Date: Wed, 4 Jul 2018 20:38:24 -0400 Subject: WebDocMaker / Online Dictionary In-Reply-To: References: Message-ID: <4981FE3E-D171-4746-8CBC-2CF97212F52D@videotron.ca> Hi all. Being a newbie, I?m easily confused. Brian, is there a difference between your ?online version of the dictionary to the LC 9.0 release? and what I find at Livecode Community/Contents/Tools/Documentation/pdf/LiveCode User Guide (9.0.0)? Thanks! ________________ Michel F. Lukawecki Longueuil, Canada > On 2018-Jul-4, at 19:00, Brian Milby via use-livecode wrote: > > I've finally updated my online version of the dictionary to the LC 9.0 > release. In the process, I've posted the stack to my GitHub repo. > > https://github.com/bwmilby/lc-misc/tree/master/WebDocMaker > > The dictionary is available at: > https://milby.us/lc/docs/api.html > > The guides are available at: > https://milby.us/lc/docs/guide.html > > The files are probably much more appropriate to be self-hosted on a local > network though. > > I have not tried to make it work better on small/mobile screens yet. I did > put the code in that allows it work on iOS to at least select dictionary > entries. > > For those of us in the USA, Happy 4th of July! > > Brian > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Jul 4 20:43:38 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 4 Jul 2018 20:43:38 -0400 Subject: WebDocMaker / Online Dictionary In-Reply-To: <4981FE3E-D171-4746-8CBC-2CF97212F52D@videotron.ca> References: <4981FE3E-D171-4746-8CBC-2CF97212F52D@videotron.ca> Message-ID: No difference in the content. I made it mainly so I could have the dictionary available on my iPad in a searchable format. There is now an app available and Dash which provides the same type of thing. Thanks, Brian On Jul 4, 2018, 8:41 PM -0400, Michel F. Lukawecki via use-livecode , wrote: > Hi all. > > Being a newbie, I?m easily confused. > > Brian, is there a difference between your ?online version of the dictionary to the LC 9.0 release? and what I find at Livecode Community/Contents/Tools/Documentation/pdf/LiveCode User Guide (9.0.0)? > > Thanks! > ________________ > Michel F. Lukawecki > Longueuil, Canada > > > On 2018-Jul-4, at 19:00, Brian Milby via use-livecode wrote: > > > > I've finally updated my online version of the dictionary to the LC 9.0 > > release. In the process, I've posted the stack to my GitHub repo. > > > > https://github.com/bwmilby/lc-misc/tree/master/WebDocMaker > > > > The dictionary is available at: > > https://milby.us/lc/docs/api.html > > > > The guides are available at: > > https://milby.us/lc/docs/guide.html > > > > The files are probably much more appropriate to be self-hosted on a local > > network though. > > > > I have not tried to make it work better on small/mobile screens yet. I did > > put the code in that allows it work on iOS to at least select dictionary > > entries. > > > > For those of us in the USA, Happy 4th of July! > > > > Brian > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dougr at telus.net Thu Jul 5 10:36:21 2018 From: dougr at telus.net (Douglas Ruisaard) Date: Thu, 5 Jul 2018 07:36:21 -0700 Subject: Future support for Serial Coms In-Reply-To: b13gfBtV0LzLib13kfYneO References: b13gfBtV0LzLib13kfYneO Message-ID: <07bd01d4146d$8c638470$a52a8d50$@net> Cam .. you mention that you have Windows working with LC "over USB and *Bluetooth*" ...??? Really? Can you describe more details about using Bluetooth / Windows / LC? As far as I know, the ONLY implementation for Bluetooth from LC is Monte Goulding's "mergBLE" which exclusively runs on iOS. If, on the other hand, you are actually talking about using serial / USB (likely via a USB-to-serial module/adaptor like an FT232) on Windows or Mac, then LC sees these devices as simple "COM" ports and works perfectly well. But Bluetooth... NO. So, I'm VERY interested if you have a Bluetooth - LC working combination on Windows! Serial/USB functionality on iOS is so complicated, it's a joke! After submitting some sort of detailed "review" of your needs to Apple, they might "sell" you a customized chip which you must integrate into your receiving device.... if your implementation meets their stringent criteria. No ... I'm NOT kidding! And then you're still on your own to find a way to integrate the necessary Xcode into LC... good luck with THAT!! But, hey, I'm not bitter! LC development *might* consider developing a Bluetooth library for Android if someone (like the LC community, for example) pays them to do so. I have no problem with that.... other than the price tag for a one-man-show. According to Iain Morrison from LC: "... I am truly sorry to inform you that we will not be able to help on this occasion for this work. Our team are completely tied up at the moment on multiple projects and for the foreseeable future I don't think they will be working on any projects of value less than $1,000 per day. Perhaps you could get in touch with a few of the LC developers that you mentioned to see if they would be interested in crowd funding the work, if you can let me know and I will get one of the devs to have a look at a specification and price. As it stands I would probably put a guide price on it of $5k...." I don't have the wherewithal to implement a KickStarter (or some other crowd-funding methodology) campaign... but I'd *sure* would be interested and contribute to one for this purpose. I see the lack of Bluetooth support as being a huge gap in LC's functionality. I have offered (and do so again) for anyone from THIS community with expertise in Android and LC external code integration to consider a project involving either USB/Serial and/or BlueTooth implementation on Android. I have a full Java library from Adafruit for Android for a specific BLE module which needs integration into LC. I am, sorry-to-say, completely Java ignorant so I can't even get to first base with this, myself. I'd invite the rest of this community to consider the possibility of funding the development of a Bluetooth library for Android and voice their opinions on the matter. I'd also like to hear if anyone would be willing to initiate a crowd-funding campaign for such a venture and what the level of interest is for this functionality. At approx $5,000 it would only take 50 of us contributing $100 to reach such a goal. Sounds reasonable. Douglas Ruisaard Trilogy Software (250) 573-3935 > ------------------------------ > > There is not currently a library available that does what you want. With > LCB, you could package your own. There are a couple of packages with code > that interfaces with USB deices, but I don't know enough about Android to > build them in a way that works with LCB. > > Here are a couple: > https://github.com/felHR85/UsbSerial > https://github.com/mik3y/usb-serial-for-android > > Here is an example of using the first one: > https://www.allaboutcircuits.com/projects/communicate-with-your-arduino-through-android/ > > > On Wed, Jul 4, 2018 at 7:25 AM, General 2018 via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi , > > > > I have seen questions raised over platform support for Serial Com ports > > and cannot seem to find a conclusive answer for Android and IOS. > > > > On Windows I use serial data over USB and Bluetooth , this all works fine > > with LC. > > > > I want to migrate to Android - so with LC is serial over USB and Bluetooth > > possible ? > > Many Android apps currently us this but need LC too. > > > > The only option for IOS is WIFI connection. > > > > Regards > > Camm From bobsneidar at iotecdigital.com Thu Jul 5 10:38:17 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 5 Jul 2018 14:38:17 +0000 Subject: Script Only Stack Behaviors and Nesting In-Reply-To: References: <8D9FBEAF-072F-409E-9BA0-5545B4F8DB11@iotecdigital.com> Message-ID: Not misquoted, but misunderstood. > On Jul 2, 2018, at 12:33 , J. Landman Gay via use-livecode wrote: > > Actually, do you mean you want to set the script locals for the behavior object itself? You can do that, but it will only apply to that particular control. The magic word is "this me" : "set the sLocal of this me to xxx". Bob S From General.2018 at outlook.com Thu Jul 5 10:59:54 2018 From: General.2018 at outlook.com (General 2018) Date: Thu, 5 Jul 2018 14:59:54 +0000 Subject: Future support for Serial Coms In-Reply-To: <07bd01d4146d$8c638470$a52a8d50$@net> References: b13gfBtV0LzLib13kfYneO,<07bd01d4146d$8c638470$a52a8d50$@net> Message-ID: Douglas , Serial over Bluetooth on all Windows with LC - Yes , but as you say it is seen as a Com port. I have a Bluetooth device that needs serial commands - Windows sees this as a Bluetooth device (in the loaded driver VCP should be ticked) I then pair it and use LC with the standard com port commands. I second all your other points and we can only hope that LC gets this for Android. Regards Camm > On 5 Jul 2018, at 15:36, Douglas Ruisaard via use-livecode wrote: > > Cam .. you mention that you have Windows working with LC "over USB and *Bluetooth*" ...??? Really? Can you describe more details about using Bluetooth / Windows / LC? As far as I know, the ONLY implementation for Bluetooth from LC is Monte Goulding's "mergBLE" which exclusively runs on iOS. If, on the other hand, you are actually talking about using serial / USB (likely via a USB-to-serial module/adaptor like an FT232) on Windows or Mac, then LC sees these devices as simple "COM" ports and works perfectly well. But Bluetooth... NO. So, I'm VERY interested if you have a Bluetooth - LC working combination on Windows! > > Serial/USB functionality on iOS is so complicated, it's a joke! After submitting some sort of detailed "review" of your needs to Apple, they might "sell" you a customized chip which you must integrate into your receiving device.... if your implementation meets their stringent criteria. No ... I'm NOT kidding! And then you're still on your own to find a way to integrate the necessary Xcode into LC... good luck with THAT!! > > But, hey, I'm not bitter! > > LC development *might* consider developing a Bluetooth library for Android if someone (like the LC community, for example) pays them to do so. I have no problem with that.... other than the price tag for a one-man-show. According to Iain Morrison from LC: > > "... I am truly sorry to inform you that we will not be able to help on this occasion for this work. Our team are completely tied up at the moment on multiple projects and for the foreseeable future I don't think they will be working on any projects of value less than $1,000 per day. Perhaps you could get in touch with a few of the LC developers that you mentioned to see if they would be interested in crowd funding the work, if you can let me know and I will get one of the devs to have a look at a specification and price. As it stands I would probably put a guide price on it of $5k...." > > I don't have the wherewithal to implement a KickStarter (or some other crowd-funding methodology) campaign... but I'd *sure* would be interested and contribute to one for this purpose. I see the lack of Bluetooth support as being a huge gap in LC's functionality. > > I have offered (and do so again) for anyone from THIS community with expertise in Android and LC external code integration to consider a project involving either USB/Serial and/or BlueTooth implementation on Android. I have a full Java library from Adafruit for Android for a specific BLE module which needs integration into LC. I am, sorry-to-say, completely Java ignorant so I can't even get to first base with this, myself. > > I'd invite the rest of this community to consider the possibility of funding the development of a Bluetooth library for Android and voice their opinions on the matter. I'd also like to hear if anyone would be willing to initiate a crowd-funding campaign for such a venture and what the level of interest is for this functionality. At approx $5,000 it would only take 50 of us contributing $100 to reach such a goal. Sounds reasonable. > > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > >> ------------------------------ >> >> There is not currently a library available that does what you want. With >> LCB, you could package your own. There are a couple of packages with code >> that interfaces with USB deices, but I don't know enough about Android to >> build them in a way that works with LCB. >> >> Here are a couple: >> https://github.com/felHR85/UsbSerial >> https://github.com/mik3y/usb-serial-for-android >> >> Here is an example of using the first one: >> https://www.allaboutcircuits.com/projects/communicate-with-your-arduino-through-android/ >> >> >> On Wed, Jul 4, 2018 at 7:25 AM, General 2018 via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi , >>> >>> I have seen questions raised over platform support for Serial Com ports >>> and cannot seem to find a conclusive answer for Android and IOS. >>> >>> On Windows I use serial data over USB and Bluetooth , this all works fine >>> with LC. >>> >>> I want to migrate to Android - so with LC is serial over USB and Bluetooth >>> possible ? >>> Many Android apps currently us this but need LC too. >>> >>> The only option for IOS is WIFI connection. >>> >>> Regards >>> Camm > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Thu Jul 5 13:41:10 2018 From: General.2018 at outlook.com (General 2018) Date: Thu, 5 Jul 2018 17:41:10 +0000 Subject: Future support for Serial Coms In-Reply-To: References: b13gfBtV0LzLib13kfYneO, <07bd01d4146d$8c638470$a52a8d50$@net>, Message-ID: Just to add , LC works with Bluetooth on Windows using the Bluetooth SPP (Serial Port Profile). Bluetooth was originally designed to replace wired serial coms. So on LC Windows just treats it as a serial comport - wired or not ! Regards Camm > On 5 Jul 2018, at 16:00, General 2018 via use-livecode wrote: > > Douglas , > > Serial over Bluetooth on all Windows with LC - Yes , but as you say it is seen as a Com port. > > I have a Bluetooth device that needs serial commands - Windows sees this as a Bluetooth device (in the loaded driver VCP should be ticked) I then pair it and use LC with the standard com port commands. > > I second all your other points and we can only hope that LC gets this for Android. > > > Regards Camm > >> On 5 Jul 2018, at 15:36, Douglas Ruisaard via use-livecode wrote: >> >> Cam .. you mention that you have Windows working with LC "over USB and *Bluetooth*" ...??? Really? Can you describe more details about using Bluetooth / Windows / LC? As far as I know, the ONLY implementation for Bluetooth from LC is Monte Goulding's "mergBLE" which exclusively runs on iOS. If, on the other hand, you are actually talking about using serial / USB (likely via a USB-to-serial module/adaptor like an FT232) on Windows or Mac, then LC sees these devices as simple "COM" ports and works perfectly well. But Bluetooth... NO. So, I'm VERY interested if you have a Bluetooth - LC working combination on Windows! >> >> Serial/USB functionality on iOS is so complicated, it's a joke! After submitting some sort of detailed "review" of your needs to Apple, they might "sell" you a customized chip which you must integrate into your receiving device.... if your implementation meets their stringent criteria. No ... I'm NOT kidding! And then you're still on your own to find a way to integrate the necessary Xcode into LC... good luck with THAT!! >> >> But, hey, I'm not bitter! >> >> LC development *might* consider developing a Bluetooth library for Android if someone (like the LC community, for example) pays them to do so. I have no problem with that.... other than the price tag for a one-man-show. According to Iain Morrison from LC: >> >> "... I am truly sorry to inform you that we will not be able to help on this occasion for this work. Our team are completely tied up at the moment on multiple projects and for the foreseeable future I don't think they will be working on any projects of value less than $1,000 per day. Perhaps you could get in touch with a few of the LC developers that you mentioned to see if they would be interested in crowd funding the work, if you can let me know and I will get one of the devs to have a look at a specification and price. As it stands I would probably put a guide price on it of $5k...." >> >> I don't have the wherewithal to implement a KickStarter (or some other crowd-funding methodology) campaign... but I'd *sure* would be interested and contribute to one for this purpose. I see the lack of Bluetooth support as being a huge gap in LC's functionality. >> >> I have offered (and do so again) for anyone from THIS community with expertise in Android and LC external code integration to consider a project involving either USB/Serial and/or BlueTooth implementation on Android. I have a full Java library from Adafruit for Android for a specific BLE module which needs integration into LC. I am, sorry-to-say, completely Java ignorant so I can't even get to first base with this, myself. >> >> I'd invite the rest of this community to consider the possibility of funding the development of a Bluetooth library for Android and voice their opinions on the matter. I'd also like to hear if anyone would be willing to initiate a crowd-funding campaign for such a venture and what the level of interest is for this functionality. At approx $5,000 it would only take 50 of us contributing $100 to reach such a goal. Sounds reasonable. >> >> Douglas Ruisaard >> Trilogy Software >> (250) 573-3935 >> >>> ------------------------------ >>> >>> There is not currently a library available that does what you want. With >>> LCB, you could package your own. There are a couple of packages with code >>> that interfaces with USB deices, but I don't know enough about Android to >>> build them in a way that works with LCB. >>> >>> Here are a couple: >>> https://github.com/felHR85/UsbSerial >>> https://github.com/mik3y/usb-serial-for-android >>> >>> Here is an example of using the first one: >>> https://www.allaboutcircuits.com/projects/communicate-with-your-arduino-through-android/ >>> >>> >>> On Wed, Jul 4, 2018 at 7:25 AM, General 2018 via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi , >>>> >>>> I have seen questions raised over platform support for Serial Com ports >>>> and cannot seem to find a conclusive answer for Android and IOS. >>>> >>>> On Windows I use serial data over USB and Bluetooth , this all works fine >>>> with LC. >>>> >>>> I want to migrate to Android - so with LC is serial over USB and Bluetooth >>>> possible ? >>>> Many Android apps currently us this but need LC too. >>>> >>>> The only option for IOS is WIFI connection. >>>> >>>> Regards >>>> Camm >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Jul 5 13:45:31 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 5 Jul 2018 17:45:31 +0000 Subject: Mastering TS Net In-Reply-To: References: Message-ID: <6749FA63-1C0C-4BDD-B041-BCA41C1362A6@hindu.org> With TSGetNet, is it possible to just get the "status code" ("200" is good, "404" it bad, among other things) Of a file on a webserver, *before* you download it? If it is a 404 you "bail on the operation", in form the user "Not Found" but if it is 200, continue to stream it? Brahmanathaswami ?On 7/2/18, 5:19 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: I looked at the lesson. Quite good! I think one more lesson may be useful. In my case I will use a "slide show" as a use case. (But there others, thinking of streaming music playlist) 1) Assume you have the URLs for a slideshow; 2) you fetch this by calling JSON/Text file with the urls for a slide show which exists on the server. 3) Let say you have 100 slides/URLs 4) Galleria (our web app jquery/html5) uses "lazyload 3" parameter, which asynchronously loads the next the 3 slides (besides the one you are viewing) in the background, then users view the next slide (already downloaded) -there is no delay. So, with TSNetGet How would set this up Livecode? You don't want to "overwhelm" the phone with async calls to 100 connections/slide. (Galleria suggests "3") But there is the advantage of taking the call back message, get 3 at a time, store them in the documents folder, finally the user has the slides show on his phone, later he can view it off line. At the retrieval of the 100th slide, then we informed the user "Slideshow is download complete." It the user "bails" on slide 36, when he comes back again. TSNetGet starts over but the only which slide 37. That last part may not want to part of your lessons. Though it would be easy enough to check "these is a file" and if it is true, then TSGetNet, so "next repeat" without downloading. I could work this out myself, but is such a common use case, everyone would benefit from it. Brahmanathaswami On 7/1/18, 3:40 PM, "use-livecode on behalf of Charles Warwick via use-livecode" wrote: If you can?t quite find an example lesson that answers what you need, let me know and I will get one organised. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Jul 5 23:43:12 2018 From: tom at makeshyft.com (Tom Glod) Date: Thu, 5 Jul 2018 23:43:12 -0400 Subject: Capture Keystrokes & MouseMovements without being in focus? Message-ID: Hi folks, Is it possible to still trigger the rawKey message or the mousemove message? when the LC stack is not in focus? I know can can sort of create my own mousemove message by tracking the absolute (or is it relative) location of the mouse but the rawkey up message seems like a no go for any kind of workaround is there something i don't know about? on rawup I want to add 1 to MyStats["Keystrokes"] end rawup I'm afraid the answer is no....so unless by some miracle ... Thank you. From bonnmike at gmail.com Fri Jul 6 00:23:16 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 5 Jul 2018 22:23:16 -0600 Subject: Capture Keystrokes & MouseMovements without being in focus? In-Reply-To: References: Message-ID: The only way I know of is to start a relatively fast send loop and check the keysdown(). For some things it works fine but for most other things its not a good answer since you can see if a key is down, but not how long its down, or tell if it has been pressed, then pressed again before the next loop cycle. All you can do is see that the key IS down. If you wanted to say.. Have a loop processing something in the background, you could have it check the keysdown for and if they're present, use revspeak to say how far along the process is. If you want to do a real, accurate logging of keys though, I'd say its a no go. On Thu, Jul 5, 2018 at 9:43 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi folks, > > Is it possible to still trigger the rawKey message or the mousemove > message? when the LC stack is not in focus? > > I know can can sort of create my own mousemove message by tracking the > absolute (or is it relative) location of the mouse > > but the rawkey up message seems like a no go for any kind of workaround > > is there something i don't know about? > > on rawup > > I want to add 1 to MyStats["Keystrokes"] > > end rawup > > I'm afraid the answer is no....so unless by some miracle ... > > Thank you. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Fri Jul 6 00:53:29 2018 From: tom at makeshyft.com (Tom Glod) Date: Fri, 6 Jul 2018 00:53:29 -0400 Subject: Capture Keystrokes & MouseMovements without being in focus? In-Reply-To: References: Message-ID: Hi Mike, actually the main problem I was facing is getting a hotkey press detected when another stack is in focus ....I think this function will allow me to do that. The keystroke counter was something i wanted to do but can live without. Thanks, I will try this tomorrow ...i don't see why it wouldn't work for what I need. there is always an answer i guess. this community rocks. On Fri, Jul 6, 2018 at 12:23 AM, Mike Bonner via use-livecode < use-livecode at lists.runrev.com> wrote: > The only way I know of is to start a relatively fast send loop and check > the keysdown(). For some things it works fine but for most other things > its not a good answer since you can see if a key is down, but not how long > its down, or tell if it has been pressed, then pressed again before the > next loop cycle. All you can do is see that the key IS down. > > If you wanted to say.. Have a loop processing something in the background, > you could have it check the keysdown for and > if they're present, use revspeak to say how far along the process is. If > you want to do a real, accurate logging of keys though, I'd say its a no > go. > > On Thu, Jul 5, 2018 at 9:43 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi folks, > > > > Is it possible to still trigger the rawKey message or the mousemove > > message? when the LC stack is not in focus? > > > > I know can can sort of create my own mousemove message by tracking the > > absolute (or is it relative) location of the mouse > > > > but the rawkey up message seems like a no go for any kind of workaround > > > > is there something i don't know about? > > > > on rawup > > > > I want to add 1 to MyStats["Keystrokes"] > > > > end rawup > > > > I'm afraid the answer is no....so unless by some miracle ... > > > > Thank you. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Jul 6 02:23:22 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 6 Jul 2018 00:23:22 -0600 Subject: Capture Keystrokes & MouseMovements without being in focus? In-Reply-To: References: Message-ID: Cool, yep. For that purpose it should work great. Its interesting when using this method for a game.. One can be typing code into the script editor, and the game does interesting things because its still looping. Not that I have ever inadvertently done such a thing... On Thu, Jul 5, 2018 at 10:53 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mike, actually the main problem I was facing is getting a hotkey press > detected when another stack is in focus ....I think this function will > allow me to do that. > > The keystroke counter was something i wanted to do but can live without. > Thanks, I will try this tomorrow ...i don't see why it wouldn't work for > what I need. > > there is always an answer i guess. this community rocks. > > On Fri, Jul 6, 2018 at 12:23 AM, Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > The only way I know of is to start a relatively fast send loop and check > > the keysdown(). For some things it works fine but for most other things > > its not a good answer since you can see if a key is down, but not how > long > > its down, or tell if it has been pressed, then pressed again before the > > next loop cycle. All you can do is see that the key IS down. > > > > If you wanted to say.. Have a loop processing something in the > background, > > you could have it check the keysdown for > and > > if they're present, use revspeak to say how far along the process is. If > > you want to do a real, accurate logging of keys though, I'd say its a no > > go. > > > > On Thu, Jul 5, 2018 at 9:43 PM Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi folks, > > > > > > Is it possible to still trigger the rawKey message or the mousemove > > > message? when the LC stack is not in focus? > > > > > > I know can can sort of create my own mousemove message by tracking the > > > absolute (or is it relative) location of the mouse > > > > > > but the rawkey up message seems like a no go for any kind of workaround > > > > > > is there something i don't know about? > > > > > > on rawup > > > > > > I want to add 1 to MyStats["Keystrokes"] > > > > > > end rawup > > > > > > I'm afraid the answer is no....so unless by some miracle ... > > > > > > Thank you. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dougr at telus.net Fri Jul 6 10:52:20 2018 From: dougr at telus.net (Douglas Ruisaard) Date: Fri, 6 Jul 2018 07:52:20 -0700 Subject: use-livecode Digest, Vol 178, Issue 8 In-Reply-To: bNXGfvr1m2nwVbNXLf9hJz References: bNXGfvr1m2nwVbNXLf9hJz Message-ID: <082301d41538$f2ef2de0$d8cd89a0$@net> Cam ... would you please provide the specifics on the serial to Bluetooth device you're referring to? Make / model/ etc. for my needs, it has to be a serial to BLE device ... which there is at least one from: http://www.usconverters.com/bluetooth-smart-low-energy-rs232-serial I'm designing a BLE-enabled Arduino project using an Adafruit BLE module. Since this topic is moving off of the LC aspect, you are welcome to contact me via email dougr at telus.net Douglas Ruisaard Trilogy Software (250) 573-3935 > Douglas , > > Serial over Bluetooth on all Windows with LC - Yes , but as you say it is seen as a Com port. > > I have a Bluetooth device that needs serial commands - Windows sees this as a Bluetooth device (in the > loaded driver VCP should be ticked) I then pair it and use LC with the standard com port commands. > > I second all your other points and we can only hope that LC gets this for Android. > > > Regards Camm > From dougr at telus.net Fri Jul 6 10:55:37 2018 From: dougr at telus.net (Douglas Ruisaard) Date: Fri, 6 Jul 2018 07:55:37 -0700 Subject: Future support for Serial Coms References: bNXGfvr1m2nwVbNXLf9hJz Message-ID: <082401d41539$67bfa8c0$373efa40$@net> Sorry, I sent the previous message with the WRONG subject line.... please replace it with this one... Cam ... would you please provide the specifics on the serial to Bluetooth device you're referring to? Make / model/ etc. for my needs, it has to be a serial to BLE device ... which there is at least one from: http://www.usconverters.com/bluetooth-smart-low-energy-rs232-serial I'm designing a BLE-enabled Arduino project using an Adafruit BLE module. Since this topic is moving off of the LC aspect, you are welcome to contact me via email dougr at telus.net Douglas Ruisaard Trilogy Software (250) 573-3935 > > Douglas , > > > > Serial over Bluetooth on all Windows with LC - Yes , but as you say it is seen as a Com port. > > > > I have a Bluetooth device that needs serial commands - Windows sees > > this as a Bluetooth device (in the loaded driver VCP should be ticked) I then pair it and use LC > with the standard com port commands. > > > > I second all your other points and we can only hope that LC gets this for Android. > > > > > > Regards Camm > > From MikeKerner at roadrunner.com Fri Jul 6 12:06:19 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 6 Jul 2018 12:06:19 -0400 Subject: odbc "information type out of range" Message-ID: I've got an odbc database that I'm trying to write to. From a tool like valentina it works fine, but in LC I'm getting "Information type out of range" from the driver. The line that fails is insert into employee (empno) values (-1) employee is defined as a double. Again, that very same line in valentina works. I'm using LC 9.0 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Fri Jul 6 12:14:07 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 6 Jul 2018 12:14:07 -0400 Subject: odbc "information type out of range" In-Reply-To: References: Message-ID: Hmmm. How about this: The insert is actually succeeding, but I'm getting the error. select count (*) from employee where empno=-1 -> 0 insert into employee (empno) values (-1) -> "revdberr,[Microsoft][ODBC Driver Manager] Information type out of range" select count (*) from employee where empno=-1 -> 1 delete from employee where empno = -1 -> "revdberr,[Microsoft][ODBC Driver Manager] Information type out of range" select count (*) from employee where empno=-1 -> 0 From rdimola at evergreeninfo.net Fri Jul 6 12:46:36 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Jul 2018 12:46:36 -0400 Subject: odbc "information type out of range" In-Reply-To: References: Message-ID: <003601d41548$ea475900$bed60b00$@net> Mike, What DB engine and odbc driver version are you using? Mac, Windows, Mobile? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner via use-livecode Sent: Friday, July 06, 2018 12:06 PM To: How to use LiveCode Cc: Mike Kerner Subject: odbc "information type out of range" I've got an odbc database that I'm trying to write to. From a tool like valentina it works fine, but in LC I'm getting "Information type out of range" from the driver. The line that fails is insert into employee (empno) values (-1) employee is defined as a double. Again, that very same line in valentina works. I'm using LC 9.0 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jul 6 12:49:31 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 6 Jul 2018 16:49:31 +0000 Subject: odbc "information type out of range" In-Reply-To: References: Message-ID: Is empno an auto incrementing column? Bob S > On Jul 6, 2018, at 09:06 , Mike Kerner via use-livecode wrote: > > I've got an odbc database that I'm trying to write to. From a tool like > valentina it works fine, but in LC I'm getting "Information type out of > range" from the driver. > The line that fails is > insert into employee (empno) values (-1) From bonnmike at gmail.com Fri Jul 6 13:04:06 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 6 Jul 2018 11:04:06 -0600 Subject: odbc "information type out of range" In-Reply-To: References: Message-ID: I have no way to test it, but if you change your insert to.. insert into employee (empno) values (double(-1)) Does it make a difference? On Fri, Jul 6, 2018 at 10:14 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Hmmm. How about this: The insert is actually succeeding, but I'm getting > the error. > > select count (*) from employee where empno=-1 -> 0 > insert into employee (empno) values (-1) -> "revdberr,[Microsoft][ODBC > Driver Manager] Information type out of range" > select count (*) from employee where empno=-1 -> 1 > delete from employee where empno = -1 -> "revdberr,[Microsoft][ODBC Driver > Manager] Information type out of range" > select count (*) from employee where empno=-1 -> 0 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gwjapp at gmail.com Fri Jul 6 15:48:03 2018 From: gwjapp at gmail.com (Gabe J) Date: Fri, 6 Jul 2018 14:48:03 -0500 Subject: LiveCode 6.6.3 crashing and saving only part of a stack file Message-ID: Hi, We have a recurring problem where on one of our computers, LiveCode 6.6.3 crashes (segmentation fault, signal 11) while saving a stack file, and only writes part of the file. The crash report says the last function called is a C function called getfontattsnew(). From what I understand of the crash report, it looks to me it looks like LiveCode was trying to get font info for a field, and then crashes. It only happens on one computer, which leads us to believe that there might be a font on that computer that is crashing LiveCode. Has anyone else had an issue with a font (or something font-related) crashing LiveCode during saving, and how we might go about debugging this? (I've compiled LiveCode 6.6.3 with some custom output related to getfontattsnew()/the saving process that might be able to tell us some more, but I'm wondering if anyone else has had this problem). Thanks, Gabe From MikeKerner at roadrunner.com Fri Jul 6 17:35:14 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 6 Jul 2018 17:35:14 -0400 Subject: odbc "information type out of range" In-Reply-To: References: Message-ID: The bizarre parts are a) No errors returned from Valentina b) The operations succeed but I get an error, almost like LC is sending something extra to the ODBC driver. Ralph: Windows, connecting to Marxmeier's SQL/R (which is connecting to eloquence, a legacy mainframe environment for HP). Bob No mike, That gives me revdberr,[Marxmeier][SQL/R ODBC Server]37000 - Unexpected symbol (#1) syntax error near "(" Unexpected symbol or invalid SQL/R language statement. On Fri, Jul 6, 2018 at 1:04 PM Mike Bonner via use-livecode < use-livecode at lists.runrev.com> wrote: > I have no way to test it, but if you change your insert to.. > insert into employee (empno) values (double(-1)) > > Does it make a difference? > > > On Fri, Jul 6, 2018 at 10:14 AM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hmmm. How about this: The insert is actually succeeding, but I'm > getting > > the error. > > > > select count (*) from employee where empno=-1 -> 0 > > insert into employee (empno) values (-1) -> "revdberr,[Microsoft][ODBC > > Driver Manager] Information type out of range" > > select count (*) from employee where empno=-1 -> 1 > > delete from employee where empno = -1 -> "revdberr,[Microsoft][ODBC > Driver > > Manager] Information type out of range" > > select count (*) from employee where empno=-1 -> 0 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Fri Jul 6 17:52:01 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 6 Jul 2018 15:52:01 -0600 Subject: odbc "information type out of range" In-Reply-To: References: Message-ID: Ah k. was hoping. On Fri, Jul 6, 2018 at 3:36 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > The bizarre parts are > a) No errors returned from Valentina > b) The operations succeed but I get an error, almost like LC is sending > something extra to the ODBC driver. > > Ralph: > Windows, connecting to Marxmeier's SQL/R (which is connecting to eloquence, > a legacy mainframe environment for HP). > > Bob > No > > mike, > That gives me > > revdberr,[Marxmeier][SQL/R ODBC Server]37000 - Unexpected symbol (#1) > > syntax error near "(" > > > Unexpected symbol or invalid SQL/R language statement. > > > On Fri, Jul 6, 2018 at 1:04 PM Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I have no way to test it, but if you change your insert to.. > > insert into employee (empno) values (double(-1)) > > > > Does it make a difference? > > > > > > On Fri, Jul 6, 2018 at 10:14 AM Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hmmm. How about this: The insert is actually succeeding, but I'm > > getting > > > the error. > > > > > > select count (*) from employee where empno=-1 -> 0 > > > insert into employee (empno) values (-1) -> "revdberr,[Microsoft][ODBC > > > Driver Manager] Information type out of range" > > > select count (*) from employee where empno=-1 -> 1 > > > delete from employee where empno = -1 -> "revdberr,[Microsoft][ODBC > > Driver > > > Manager] Information type out of range" > > > select count (*) from employee where empno=-1 -> 0 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Sat Jul 7 19:15:39 2018 From: tom at makeshyft.com (Tom Glod) Date: Sat, 7 Jul 2018 19:15:39 -0400 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? Message-ID: Hi folks, I have a stack that has 2 or 3 self perpetuating messages which do a few checks and the like....they run every 250 milliseconds or so. There is no input data into the program unless I specifically send it there. but while my program is sitting there ....repeating its loops and checks for incoming input ...... the memory consumption is steadily going up by .1 megabytes at a time. I have watched my global variables , there is nothing being added to them and most handlers have local variables that clear out when the handler finishes. This happens in IDE and standalone. This app is made to stay in memory so this is not acceptable, because after 2 days it will get up to 2gb or whatever....so i cannot let this remain. maybe if i let it sit there it will eventually clear out ..but i haven't seen that happen yet. I just don't know where to look. maybe i just found a memory leak ....Thanks for any input From tom at makeshyft.com Sat Jul 7 19:20:51 2018 From: tom at makeshyft.com (Tom Glod) Date: Sat, 7 Jul 2018 19:20:51 -0400 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: References: Message-ID: So i've been watching this running standalone a while .... and it seems to have stopped for now...I'm going to keep it running and see how high up it gets. Its like the engine is caching system events or something .... I'll post again in a few hours to see if its gotten any higher than this..... On Sat, Jul 7, 2018 at 7:15 PM, Tom Glod wrote: > Hi folks, > > I have a stack that has 2 or 3 self perpetuating messages which do a few > checks and the like....they run every 250 milliseconds or so. > > There is no input data into the program unless I specifically send it > there. > > but while my program is sitting there ....repeating its loops and checks > for incoming input ...... the memory consumption is steadily going up by .1 > megabytes at a time. > > I have watched my global variables , there is nothing being added to them > and most handlers have local variables that clear out when the handler > finishes. > > This happens in IDE and standalone. > > This app is made to stay in memory so this is not acceptable, because > after 2 days it will get up to 2gb or whatever....so i cannot let this > remain. > > maybe if i let it sit there it will eventually clear out ..but i haven't > seen that happen yet. > > I just don't know where to look. maybe i just found a memory leak > ....Thanks for any input > > > From brian at milby7.com Sat Jul 7 20:09:54 2018 From: brian at milby7.com (Brian Milby) Date: Sat, 7 Jul 2018 20:09:54 -0400 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: References: Message-ID: <5d8b976f-4632-4a05-8a21-55ebe550ed52@Spark> Is it possible that multiple overlapping messages are being spawned? You mention that the checks happen every 250ms... are you doing a send in time at the end of the check or at the start? Thanks, Brian On Jul 7, 2018, 7:21 PM -0400, Tom Glod via use-livecode , wrote: > So i've been watching this running standalone a while .... and it seems to > have stopped for now...I'm going to keep it running and see how high up it > gets. > > Its like the engine is caching system events or something .... I'll post > again in a few hours to see if its gotten any higher than this..... > > On Sat, Jul 7, 2018 at 7:15 PM, Tom Glod wrote: > > > Hi folks, > > > > I have a stack that has 2 or 3 self perpetuating messages which do a few > > checks and the like....they run every 250 milliseconds or so. > > > > There is no input data into the program unless I specifically send it > > there. > > > > but while my program is sitting there ....repeating its loops and checks > > for incoming input ...... the memory consumption is steadily going up by .1 > > megabytes at a time. > > > > I have watched my global variables , there is nothing being added to them > > and most handlers have local variables that clear out when the handler > > finishes. > > > > This happens in IDE and standalone. > > > > This app is made to stay in memory so this is not acceptable, because > > after 2 days it will get up to 2gb or whatever....so i cannot let this > > remain. > > > > maybe if i let it sit there it will eventually clear out ..but i haven't > > seen that happen yet. > > > > I just don't know where to look. maybe i just found a memory leak > > ....Thanks for any input > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sat Jul 7 21:28:01 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 8 Jul 2018 01:28:01 +0000 Subject: Standalone in IDE Test Works; But Not From SA Message-ID: LC 8.1.10 iOS 11.4 on the iPhone 1) I can been able to push update from the IDE Develop Test myIphone # it works on the phone 2) So know to go to SA build to create a version. Xcode Devices Select My Phone Add the App It crashed the moment it is launched. Xcode says "Could not locate support files) This iPhone 7 (Model 1661,784,1785,1786) is running iOS 11.3(15F79), which many not be SSupported by this verSions of Xcode." So, it builds from the IDE Test menu, but on Standalone Builder Why? BR From dougr at telus.net Sun Jul 8 12:42:20 2018 From: dougr at telus.net (Douglas Ruisaard) Date: Sun, 8 Jul 2018 09:42:20 -0700 Subject: What are possible reasons for memory consumption ... In-Reply-To: c6UGfbvsMIZDac6ULf4yqS References: c6UGfbvsMIZDac6ULf4yqS Message-ID: <08dd01d416da$a4b9d230$ee2d7690$@net> To help determine if Brian's suggestion is occurring, you could put the following line in your "self perpetuating" code (assuming you're not running the code on a Mobile device which have no "messsage box") just before the "send... in x time ": put the pendingmessages If you see ANY output, then you've got multiple overlapping messages ... again, this assumes you only have ONE "loop" running. Perhaps you can send the "offending" section of code for analysis? Douglas Ruisaard Trilogy Software (250) 573-3935 > > Is it possible that multiple overlapping messages are being spawned? > > You mention that the checks happen every 250ms... are you doing a send in time at the end of the check > or at the start? > > Thanks, > Brian > On Jul 7, 2018, 7:21 PM -0400, Tom Glod via use-livecode , wrote: > > So i've been watching this running standalone a while .... and it > > seems to have stopped for now...I'm going to keep it running and see > > how high up it gets. > > > > Its like the engine is caching system events or something .... I'll > > post again in a few hours to see if its gotten any higher than this..... > > > > On Sat, Jul 7, 2018 at 7:15 PM, Tom Glod wrote: > > > > > Hi folks, > > > > > > I have a stack that has 2 or 3 self perpetuating messages which do a > > > few checks and the like....they run every 250 milliseconds or so. > > > > > > There is no input data into the program unless I specifically send > > > it there. > > > > > > but while my program is sitting there ....repeating its loops and > > > checks for incoming input ...... the memory consumption is steadily > > > going up by .1 megabytes at a time. > > > > > > I have watched my global variables , there is nothing being added to > > > them and most handlers have local variables that clear out when the > > > handler finishes. > > > > > > This happens in IDE and standalone. > > > > > > This app is made to stay in memory so this is not acceptable, > > > because after 2 days it will get up to 2gb or whatever....so i > > > cannot let this remain. > > > > > > maybe if i let it sit there it will eventually clear out ..but i > > > haven't seen that happen yet. > > > > > > I just don't know where to look. maybe i just found a memory leak > > > ....Thanks for any input > > > From bonnmike at gmail.com Sun Jul 8 13:06:14 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 8 Jul 2018 11:06:14 -0600 Subject: What are possible reasons for memory consumption ... In-Reply-To: <08dd01d416da$a4b9d230$ee2d7690$@net> References: <08dd01d416da$a4b9d230$ee2d7690$@net> Message-ID: Or alternatively, check the pendingmessages and only send if there is not already a message for the handler in question in queue. I've had situations (in my case, bad coding) where I thought I was starting a looping handler once ,but had left a call to that handler elsewhere accidentally during the re-think process. In those cases, even if it is a seldom run handler that has the mistake, every time it is called, a new instance of the loop starts. In my case, (since I have trouble tracking details as complexity grows beyond a certain point.. Small scale I'm great, large scale, not so much) I've just made it a habit to always do the pendingmessage check before sending again. (I have lots of little rules like this to help me manage my own personal limitations in a consistent way.. Like always including a way to exit a tight repeat loop during development at least, to avoid issues with runaways.) Hmm. I tend to run on about things lately don't I? Feel free to ignore any extraneous blab. On Sun, Jul 8, 2018 at 10:42 AM Douglas Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > To help determine if Brian's suggestion is occurring, you could put the > following line in your "self perpetuating" code (assuming you're not > running the code on a Mobile device which have no "messsage box") just > before the "send... in x time ": > > put the pendingmessages > > If you see ANY output, then you've got multiple overlapping messages ... > again, this assumes you only have ONE "loop" running. Perhaps you can send > the "offending" section of code for analysis? > > > From jacque at hyperactivesw.com Sun Jul 8 15:05:11 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 8 Jul 2018 14:05:11 -0500 Subject: What are possible reasons for memory consumption ... In-Reply-To: References: <08dd01d416da$a4b9d230$ee2d7690$@net> Message-ID: <301f0336-6b0f-cf0a-c13b-18be7ea566cc@hyperactivesw.com> On 7/8/18 12:06 PM, Mike Bonner via use-livecode wrote: > Or alternatively, check the pendingmessages and only send if there is not > already a message for the handler in question in queue. Like you, this is something I always do: if "myMsg" is not in the pendingMessages then send "myMsg" to me in 250 milliseconds end if -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From christer at mindcrea.com Mon Jul 9 07:04:25 2018 From: christer at mindcrea.com (=?utf-8?Q?Pyyhti=C3=A4_Christer?=) Date: Mon, 9 Jul 2018 14:04:25 +0300 Subject: ScreenRect Message-ID: <0F0E3A71-3A96-4795-B9BC-B689194B406A@mindcrea.com> Using LiveCode 9.0GM on Android 8.0.0, the screenRect gives 1080 x 2031, but the phone (Samsung Galaxy Note 8) has 1440 x 2960. What do I do wrong? Using LC command set the pixelScale to the systemPixelscale kills the app in the Android device. Removing this command makes it run with no problem. rgds Christer Pyyhti? MindCrea Ltd christer at mindcrea.com From merakosp at gmail.com Mon Jul 9 08:43:22 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 9 Jul 2018 13:43:22 +0100 Subject: Standalone in IDE Test Works; But Not From SA In-Reply-To: References: Message-ID: Hi Brahmanathaswami, This does sound strange. I would expect either to successfully install the app to your phone in both cases, or to fail in both, as the "Test" button uses mergDeploy to install the app, which essentially does what Xcode does, but all in one button. Does the device log from Xcode show anything useful the moment the app crashes? Best, Panos -- On Sun, Jul 8, 2018 at 2:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > LC 8.1.10 > iOS 11.4 on the iPhone > > 1) I can been able to push update from the IDE > > Develop > Test > myIphone # it works on the phone > > 2) So know to go to SA build to create a version. > Xcode > Devices > Select My Phone > Add the App > > It crashed the moment it is launched. > > Xcode says > > "Could not locate support files) > This iPhone 7 (Model 1661,784,1785,1786) is running iOS 11.3(15F79), which > many not be SSupported by this verSions of Xcode." > > So, it builds from the IDE Test menu, but on Standalone Builder > > Why? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From panos.merakos at livecode.com Mon Jul 9 09:00:27 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 9 Jul 2018 14:00:27 +0100 Subject: [ANN] This Week in LiveCode 136 Message-ID: Hi all, 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 #136 here: https://goo.gl/5GBXt7 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From tom at makeshyft.com Mon Jul 9 10:13:53 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 9 Jul 2018 10:13:53 -0400 Subject: What are possible reasons for memory consumption ... In-Reply-To: <301f0336-6b0f-cf0a-c13b-18be7ea566cc@hyperactivesw.com> References: <08dd01d416da$a4b9d230$ee2d7690$@net> <301f0336-6b0f-cf0a-c13b-18be7ea566cc@hyperactivesw.com> Message-ID: Hi Douglas and Jaquie.... thank you for your input..I have double checked my code and indeed my loop is safe from overlapping messages....I've been working with schedulers for a while... still not sure what could be causing it..but it doesn't seem to get out of hand and clears itself out periodically and returns to its base consumption (assuming no input). thanks again On Sun, Jul 8, 2018 at 3:05 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/8/18 12:06 PM, Mike Bonner via use-livecode wrote: > >> Or alternatively, check the pendingmessages and only send if there is not >> already a message for the handler in question in queue. >> > > Like you, this is something I always do: > > if "myMsg" is not in the pendingMessages then > send "myMsg" to me in 250 milliseconds > end if > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Mon Jul 9 10:16:35 2018 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 09 Jul 2018 10:16:35 -0400 Subject: Standalone in IDE Test Works; But Not From SA In-Reply-To: References: Message-ID: <3CEB52FB-835E-4D86-9ACE-614BACA2C062@mac.com> Hi Brahmanathaswami I?ve seen similar messages in the past. All I did was drag the app a second time immediately after the error message and it loaded onto my iPad. There was one time that trick didn?t win. But I don?t remember the specific circumstances. be well, randy www.classroomFocusedSoftware.com > On Jul 9, 2018, at 8:43 AM, panagiotis merakos via use-livecode wrote: > > Hi Brahmanathaswami, > > This does sound strange. I would expect either to successfully install the > app to your phone in both cases, or to fail in both, as the "Test" button > uses mergDeploy to install the app, which essentially does what Xcode does, > but all in one button. > > Does the device log from Xcode show anything useful the moment the app > crashes? > > Best, > Panos > -- > > On Sun, Jul 8, 2018 at 2:28 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > >> LC 8.1.10 >> iOS 11.4 on the iPhone >> >> 1) I can been able to push update from the IDE >> >> Develop >> Test >> myIphone # it works on the phone >> >> 2) So know to go to SA build to create a version. >> Xcode >> Devices >> Select My Phone >> Add the App >> >> It crashed the moment it is launched. >> >> Xcode says >> >> "Could not locate support files) >> This iPhone 7 (Model 1661,784,1785,1786) is running iOS 11.3(15F79), which >> many not be SSupported by this verSions of Xcode." >> >> So, it builds from the IDE Test menu, but on Standalone Builder >> >> Why? >> >> BR >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Jul 9 10:24:20 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 9 Jul 2018 10:24:20 -0400 Subject: ScreenRect In-Reply-To: <0F0E3A71-3A96-4795-B9BC-B689194B406A@mindcrea.com> References: <0F0E3A71-3A96-4795-B9BC-B689194B406A@mindcrea.com> Message-ID: Hi, I'm sorry I cannot help you in this regard, I'm sure someone else will be able to help with the pixel scaling issue. you have. but FYI.....I did try to send you an email in regards to your work with LC and it bounced back. Address not found Your message wasn't delivered to *crister at mindcrea.com*because the address couldn't be found, or is unable to receive mail. Thanks, Tom On Mon, Jul 9, 2018 at 7:04 AM, Pyyhti? Christer via use-livecode < use-livecode at lists.runrev.com> wrote: > Using LiveCode 9.0GM on Android 8.0.0, the screenRect gives 1080 x 2031, > but the phone (Samsung Galaxy Note 8) has 1440 x 2960. What do I do wrong? > > Using LC command > > set the pixelScale to the systemPixelscale > > kills the app in the Android device. Removing this command makes it run > with no problem. > > rgds > > Christer Pyyhti? > MindCrea Ltd > christer at mindcrea.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Jul 9 11:04:42 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 9 Jul 2018 15:04:42 +0000 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: References: Message-ID: <2F291C38-02F5-4D3A-A782-988FAEACAE3E@iotecdigital.com> It may help to put a wait x milliseconds with messages in the repeat loop. This will give the engine a chance to do housecleaning. Bob S > On Jul 7, 2018, at 16:15 , Tom Glod via use-livecode wrote: > > Hi folks, > > I have a stack that has 2 or 3 self perpetuating messages which do a few > checks and the like....they run every 250 milliseconds or so. > > There is no input data into the program unless I specifically send it there. > > but while my program is sitting there ....repeating its loops and checks > for incoming input ...... the memory consumption is steadily going up by .1 > megabytes at a time. > > I have watched my global variables , there is nothing being added to them > and most handlers have local variables that clear out when the handler > finishes. > > This happens in IDE and standalone. > > This app is made to stay in memory so this is not acceptable, because after > 2 days it will get up to 2gb or whatever....so i cannot let this remain. > > maybe if i let it sit there it will eventually clear out ..but i haven't > seen that happen yet. > > I just don't know where to look. maybe i just found a memory leak > ....Thanks for any input > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Jul 9 11:30:13 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 9 Jul 2018 11:30:13 -0400 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: <2F291C38-02F5-4D3A-A782-988FAEACAE3E@iotecdigital.com> References: <2F291C38-02F5-4D3A-A782-988FAEACAE3E@iotecdigital.com> Message-ID: Hey Bob....I rarely do anything without waiting 0 milliseconds. :P On Mon, Jul 9, 2018 at 11:04 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > It may help to put a wait x milliseconds with messages in the repeat loop. > This will give the engine a chance to do housecleaning. > > Bob S > > > > On Jul 7, 2018, at 16:15 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi folks, > > > > I have a stack that has 2 or 3 self perpetuating messages which do a few > > checks and the like....they run every 250 milliseconds or so. > > > > There is no input data into the program unless I specifically send it > there. > > > > but while my program is sitting there ....repeating its loops and checks > > for incoming input ...... the memory consumption is steadily going up by > .1 > > megabytes at a time. > > > > I have watched my global variables , there is nothing being added to them > > and most handlers have local variables that clear out when the handler > > finishes. > > > > This happens in IDE and standalone. > > > > This app is made to stay in memory so this is not acceptable, because > after > > 2 days it will get up to 2gb or whatever....so i cannot let this remain. > > > > maybe if i let it sit there it will eventually clear out ..but i haven't > > seen that happen yet. > > > > I just don't know where to look. maybe i just found a memory leak > > ....Thanks for any input > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Jul 9 11:57:12 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 9 Jul 2018 15:57:12 +0000 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: References: <2F291C38-02F5-4D3A-A782-988FAEACAE3E@iotecdigital.com> Message-ID: :-) > On Jul 9, 2018, at 08:30 , Tom Glod via use-livecode wrote: > > Hey Bob....I rarely do anything without waiting 0 milliseconds. :P From panos.merakos at livecode.com Mon Jul 9 12:34:32 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 9 Jul 2018 17:34:32 +0100 Subject: [ANN] Release 9.0.1 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.1 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.1 RC-1 comes with more than 90 bugfixes. Several long standing and annoying bugs have been fixed - including - but not limited to: - several inconsistencies, partial screen updates, incorrect screen redraws, "black screen" issues and crashes when acceleratedRendering is true are now fixed - the crash when reopening an app that was terminated with the "quit" command on Android no longer occurs - the performance of the IDE on Windows is significantly improved - a couple of issues with breakpoints are now fixed In addition, LiveCode 9.0.1 RC-1 includes several new features: - support for building with Xcode 9.4.x, using iOS 11.4 SDK - new tsNet and mergExt builds - new stereo panning properties added to MacOS Player Object - support for Option Menus on Android Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From bobsneidar at iotecdigital.com Mon Jul 9 14:11:46 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 9 Jul 2018 18:11:46 +0000 Subject: Datagrids and Nested Behaviors Message-ID: Hi all. I'm finally taking the plunge with nested behaviors with datagrids. Essentially, I have a button named "modulegrids" whose behavior is set to stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior" (the new default behavior of a datagrid). I then set the behavior of a datagrid to the long id of that button. The behaviors are triggering alright, but selectionChanged is not *actually" changing the selection, and calls to the library such as the dgHiliedIndex of the datagrid return empty. So my question is, can behaviors be nested for datagrids? Bob S From richmondmathewson at gmail.com Mon Jul 9 15:26:03 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 9 Jul 2018 22:26:03 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC 8.1.4 and above In-Reply-To: References: Message-ID: <6cdc8b43-c089-4c45-78c4-3f6074b94441@gmail.com> It would be LOVELY if there were to be a version 8.1.11 just to fix this problem for those of us confined to systems that cannot work with LC 9. Richmond. On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: > Panos Merakos changed bug 19998 > > What Removed Added > Status AWAITING_RELEASE RESOLVED > Resolution --- FIXED > > *Comment # 5 > on bug 19998 from > Panos Merakos * > Hi all, > > This bug is now fixed in LiveCode 9.0.1 RC-1: > > https://downloads.livecode.com/livecode/ > > Best, > Panos > -- > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You are on the CC list for the bug. > * You reported the bug. > From merakosp at gmail.com Mon Jul 9 15:34:37 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 9 Jul 2018 20:34:37 +0100 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC 8.1.4 and above In-Reply-To: <6cdc8b43-c089-4c45-78c4-3f6074b94441@gmail.com> References: <6cdc8b43-c089-4c45-78c4-3f6074b94441@gmail.com> Message-ID: Hi Richmond, LC 8.x is now EOLed, but regarding this specific bug fix, you can apply the fix locally to your install of LC 8.x, as it includes changes only in the IDE code. Best, Panos -- On Mon, Jul 9, 2018 at 8:26 PM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > It would be LOVELY if there were to be a version 8.1.11 just to fix this > problem > for those of us confined to systems that cannot work with LC 9. > > Richmond. > > On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: > >> Panos Merakos changed bug 19998 < >> https://quality.livecode.com/show_bug.cgi?id=19998> >> What Removed Added >> Status AWAITING_RELEASE RESOLVED >> Resolution --- FIXED >> >> *Comment # 5 on >> bug 19998 from >> Panos Merakos * >> Hi all, >> >> This bug is now fixed in LiveCode 9.0.1 RC-1: >> >> https://downloads.livecode.com/livecode/ >> >> Best, >> Panos >> -- >> ------------------------------------------------------------------------ >> You are receiving this mail because: >> >> * You are on the CC list for the bug. >> * You reported the bug. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Mon Jul 9 15:47:00 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 9 Jul 2018 15:47:00 -0400 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: References: <2F291C38-02F5-4D3A-A782-988FAEACAE3E@iotecdigital.com> Message-ID: update on this .... the memory consumption is definately to do with one of the messages that checks for changes in the clipboard every 333 milliseconds...... but does not retain what it finds. there is nothing else going on the computer and as far as i know the clipboard ISN't changing....does the system make changes to the clipboard even if ctrl c is not used? .. .I use the "fullclipboard" data function to identify a change by comparing it to the last known array from the fullcllipboarddata is there a faster way of detecting a change in clipboard??????, but have full data when i do detect it? the fullclipboard data has been a little buggy.....and i have some bug reports to make..... but its probably partly me doing it me doing it wrong. On Mon, Jul 9, 2018 at 11:57 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > :-) > > > > On Jul 9, 2018, at 08:30 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hey Bob....I rarely do anything without waiting 0 milliseconds. :P > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jul 9 15:59:49 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 9 Jul 2018 14:59:49 -0500 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: Message-ID: <63799556-101a-e667-9046-5d5d5123b4b2@hyperactivesw.com> On 7/9/18 11:34 AM, panagiotis merakos via use-livecode wrote: > - several inconsistencies, partial screen updates, incorrect screen > redraws, "black screen" issues and crashes when acceleratedRendering is > true are now fixed > - the crash when reopening an app that was terminated with the "quit" > command on Android no longer occurs This is great news, thanks to the whole team! These issues have been a problem for a very long time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ali.lloyd at livecode.com Mon Jul 9 16:23:26 2018 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 9 Jul 2018 21:23:26 +0100 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <63799556-101a-e667-9046-5d5d5123b4b2@hyperactivesw.com> References: <63799556-101a-e667-9046-5d5d5123b4b2@hyperactivesw.com> Message-ID: By the way, we forgot to add to the 'highlights' the fact that we have updated the target sdk of the android build to API 26, and added a fixed target SDK version to the template manifest. This should mean that apps built with 9.0.1-rc-1 will be accepted into the Google Play store without any warnings about target SDK version. On Mon, Jul 9, 2018 at 8:59 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/9/18 11:34 AM, panagiotis merakos via use-livecode wrote: > > - several inconsistencies, partial screen updates, incorrect screen > > redraws, "black screen" issues and crashes when acceleratedRendering is > > true are now fixed > > - the crash when reopening an app that was terminated with the "quit" > > command on Android no longer occurs > > This is great news, thanks to the whole team! These issues have been a > problem for a very long time. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jul 9 16:38:12 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 9 Jul 2018 15:38:12 -0500 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: <63799556-101a-e667-9046-5d5d5123b4b2@hyperactivesw.com> Message-ID: <43b70817-9add-ad54-c452-acc95332eeec@hyperactivesw.com> That was one of the first things I checked. :) I had some trouble getting LC to recognize my phone until I realized that my SDK in mobile prefs had been removed. Android devs should note that you need to have SDK 8 or higher installed (the informative notification dialog was a big help here.) I installed 7, 8, and 8.1 and LC then allowed me to re-select the SDK in preferences, the phone showed up in the Target menu, and I could do a test build. The working option button is a cool addition, that was something I didn't expect. On 7/9/18 3:23 PM, Ali Lloyd via use-livecode wrote: > By the way, we forgot to add to the 'highlights' the fact that we have > updated the target sdk of the android build to API 26, and added a fixed > target SDK version to the template manifest. This should mean that apps > built with 9.0.1-rc-1 will be accepted into the Google Play store without > any warnings about target SDK version. > > On Mon, Jul 9, 2018 at 8:59 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 7/9/18 11:34 AM, panagiotis merakos via use-livecode wrote: >>> - several inconsistencies, partial screen updates, incorrect screen >>> redraws, "black screen" issues and crashes when acceleratedRendering is >>> true are now fixed >>> - the crash when reopening an app that was terminated with the "quit" >>> command on Android no longer occurs >> >> This is great news, thanks to the whole team! These issues have been a >> problem for a very long time. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Jul 9 16:41:32 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 9 Jul 2018 13:41:32 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: Message-ID: Panos wrote: > We are pleased to announce the release of LiveCode 9.0.1 RC-1. Here (Los Angeles) the download is estimated to take three hours. Could this be a repeat of the CDN issue you'd corrected a few weeks ago? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brian at milby7.com Mon Jul 9 17:09:48 2018 From: brian at milby7.com (Brian Milby) Date: Mon, 9 Jul 2018 16:09:48 -0500 Subject: What are possible reasons for memory consumption going up on stack that isn't doing much? In-Reply-To: References: <2F291C38-02F5-4D3A-A782-988FAEACAE3E@iotecdigital.com> Message-ID: <276ef5c1-9176-4df9-aeb5-07057df12f09@Spark> Pulling the fullclipboarddata could end up doing a bit of work depending on what is on it. You would probably be better off using the rawclipboarddata to avoid LC doing any processing just so you can detect changes. Under normal circumstances, the various flavors of content will reflect the same thing. If concerned with style changes, then html may be the best one to check. If you are not, then a plain text variant would be simpler (I.e. shorter) to check. On Jul 9, 2018, 2:47 PM -0500, Tom Glod via use-livecode , wrote: > update on this .... the memory consumption is definately to do with one of > the messages that checks for changes in the clipboard every 333 > milliseconds...... but does not retain what it finds. > > there is nothing else going on the computer and as far as i know the > clipboard ISN't changing....does the system make changes to the clipboard > even if ctrl c is not used? .. > > .I use the "fullclipboard" data function to identify a change by comparing > it to the last known array from the fullcllipboarddata > > is there a faster way of detecting a change in clipboard??????, but have > full data when i do detect it? > > the fullclipboard data has been a little buggy.....and i have some bug > reports to make..... but its probably partly me doing it me doing it > wrong. > > On Mon, Jul 9, 2018 at 11:57 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > :-) > > > > > > > On Jul 9, 2018, at 08:30 , Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hey Bob....I rarely do anything without waiting 0 milliseconds. :P > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jul 9 18:11:19 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 9 Jul 2018 15:11:19 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: Message-ID: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: > Panos wrote: > > We are pleased to announce the release of LiveCode 9.0.1 RC-1. > > Here (Los Angeles) the download is estimated to take three hours. Could > this be a repeat of the CDN issue you'd corrected a few weeks ago? > Here it actually took only about 45 minutes. That's about 8 megabytes / minute, or 132kbytes / second. Better than a dialup modem, eh? -- Mark Wieder ahsoftware at gmail.com From dave at applicationinsight.com Mon Jul 9 18:21:29 2018 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 9 Jul 2018 15:21:29 -0700 (MST) Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: Message-ID: <1531174889530-0.post@n4.nabble.com> Thank you all LiveCode staffers - appreciate the many Android bug fixes Kind regards Dave ----- "The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From jacque at hyperactivesw.com Mon Jul 9 18:27:00 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 9 Jul 2018 17:27:00 -0500 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> Message-ID: <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote: > On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: >> Panos wrote: >> ?> We are pleased to announce the release of LiveCode 9.0.1 RC-1. >> >> Here (Los Angeles) the download is estimated to take three hours. >> Could this be a repeat of the CDN issue you'd corrected a few weeks ago? >> > > Here it actually took only about 45 minutes. > That's about 8 megabytes / minute, or 132kbytes / second. > Better than a dialup modem, eh? > Here in the Northland, downloading from the web page, it took about five minutes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Mon Jul 9 18:40:01 2018 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 9 Jul 2018 15:40:01 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> Message-ID: Whoa! Here in the Pacific Northwest (Portland area) I downloaded the Indy version in 1:43. That's one minute and change. Phil Davis On 7/9/18 3:27 PM, J. Landman Gay via use-livecode wrote: > On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote: >> On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: >>> Panos wrote: >>> ?> We are pleased to announce the release of LiveCode 9.0.1 RC-1. >>> >>> Here (Los Angeles) the download is estimated to take three hours. >>> Could this be a repeat of the CDN issue you'd corrected a few weeks >>> ago? >>> >> >> Here it actually took only about 45 minutes. >> That's about 8 megabytes / minute, or 132kbytes / second. >> Better than a dialup modem, eh? >> > > Here in the Northland, downloading from the web page, it took about > five minutes. > -- Phil Davis From ahsoftware at sonic.net Mon Jul 9 18:41:51 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 9 Jul 2018 15:41:51 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> Message-ID: <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> On 07/09/2018 03:27 PM, J. Landman Gay via use-livecode wrote: > On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote: >> On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: >>> Panos wrote: >>> ?> We are pleased to announce the release of LiveCode 9.0.1 RC-1. >>> >>> Here (Los Angeles) the download is estimated to take three hours. >>> Could this be a repeat of the CDN issue you'd corrected a few weeks ago? >>> >> >> Here it actually took only about 45 minutes. >> That's about 8 megabytes / minute, or 132kbytes / second. >> Better than a dialup modem, eh? >> > > Here in the Northland, downloading from the web page, it took about five > minutes. > Well, sure... at a higher latitude the electrons don't have as far to go. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Jul 9 18:45:11 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 9 Jul 2018 22:45:11 +0000 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> Message-ID: <4EA42165-155D-40A8-8A5B-917A5D63D705@iotecdigital.com> It's the quarks that don't have as far to go, on account of their travelling faster than light. Electrons are the pedestrians of the space time continuum. Bob S > On Jul 9, 2018, at 15:41 , Mark Wieder via use-livecode wrote: > >> Here in the Northland, downloading from the web page, it took about five minutes. > > Well, sure... at a higher latitude the electrons don't have as far to go. > > -- > Mark Wieder > ahsoftware at gmail.com From tore.nilsen at me.com Mon Jul 9 18:45:12 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 10 Jul 2018 00:45:12 +0200 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> Message-ID: > 10. jul. 2018 kl. 00:41 skrev Mark Wieder via use-livecode : > > Well, sure... at a higher latitude the electrons don't have as far to go. That must be why I can report even better times (approx 1:30) than Phil Davis. I am at sea level, but on the west coast of Norway, so not very far from Scotland. Tore Nilsen From jacque at hyperactivesw.com Mon Jul 9 19:06:01 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Jul 2018 18:06:01 -0500 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> Message-ID: <164814b6ba8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You're welcome to come by and download from here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 9, 2018 5:43:43 PM Mark Wieder via use-livecode wrote: > On 07/09/2018 03:27 PM, J. Landman Gay via use-livecode wrote: >> On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote: >>> On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: >>>> Panos wrote: >>>> > We are pleased to announce the release of LiveCode 9.0.1 RC-1. >>>> >>>> Here (Los Angeles) the download is estimated to take three hours. >>>> Could this be a repeat of the CDN issue you'd corrected a few weeks ago? >>>> >>> >>> Here it actually took only about 45 minutes. >>> That's about 8 megabytes / minute, or 132kbytes / second. >>> Better than a dialup modem, eh? >>> >> >> Here in the Northland, downloading from the web page, it took about five >> minutes. >> > > Well, sure... at a higher latitude the electrons don't have as far to go. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Mon Jul 9 19:26:48 2018 From: waprothero at gmail.com (William Prothero) Date: Mon, 9 Jul 2018 16:26:48 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <164814b6ba8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> <164814b6ba8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <08156505-3CAB-4206-A9CA-DEE2756C90BD@gmail.com> A speedy 6hrs estimated here in White Salmon, Washington. Guess I?ll have to wait until later this evening. Bill > On Jul 9, 2018, at 4:06 PM, J. Landman Gay via use-livecode wrote: > > You're welcome to come by and download from here. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 9, 2018 5:43:43 PM Mark Wieder via use-livecode wrote: > >> On 07/09/2018 03:27 PM, J. Landman Gay via use-livecode wrote: >>> On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote: >>>> On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: >>>>> Panos wrote: >>>>> > We are pleased to announce the release of LiveCode 9.0.1 RC-1. >>>>> >>>>> Here (Los Angeles) the download is estimated to take three hours. >>>>> Could this be a repeat of the CDN issue you'd corrected a few weeks ago? >>>>> >>>> >>>> Here it actually took only about 45 minutes. >>>> That's about 8 megabytes / minute, or 132kbytes / second. >>>> Better than a dialup modem, eh? >>>> >>> >>> Here in the Northland, downloading from the web page, it took about five >>> minutes. >>> >> >> Well, sure... at a higher latitude the electrons don't have as far to go. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jul 9 19:48:18 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 9 Jul 2018 16:48:18 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <08156505-3CAB-4206-A9CA-DEE2756C90BD@gmail.com> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> <164814b6ba8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <08156505-3CAB-4206-A9CA-DEE2756C90BD@gmail.com> Message-ID: <3f0399de-f4d9-b2e3-a7f2-668d9af11a7f@sonic.net> On 07/09/2018 04:26 PM, William Prothero via use-livecode wrote: > A speedy 6hrs estimated here in White Salmon, Washington. > Guess I?ll have to wait until later this evening. Yah. Once those electrons get hot and swell up not as many of them can fit through the internet tubes any more. Good idea to let them cool down in the evening. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Tue Jul 10 04:33:42 2018 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Jul 2018 11:33:42 +0300 Subject: Boiling over with excitement . . . Message-ID: <4f9b7253-79bb-0318-ffe9-635ca68b1bd2@gmail.com> Before anyone gets over-excited by the fact that the LiveCode team have, finally, sorted out the silly invisible polygon graphic object in LiveCode (a.k.a. Polly-Gone) in 9.0.1 rc 1: *1.* I think it is extremely shabby that LiveCode 8 was EOLed without that being sorted out. *2.* Choose a Polygon Graphic from the menu, get into its properties palette and give it a unique name, set up a listField with a set of non-trivial points (e.g. 100,100 ???????? 100,200 ???????? 200,200 ???????? 200,100 ???????? 100,100) crack open the Message box and type something of this order: *set the points of grc "zzz" to fld "scl"* and your polygon graphic will? "magically" manifest itself 'right there' on the stack. Richmond. From richmondmathewson at gmail.com Tue Jul 10 04:43:32 2018 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Jul 2018 11:43:32 +0300 Subject: doMenu Message-ID: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> Is it possible to send a *doMenu* command to a menu item several levels down? Such as *Object/New Control/Radio Button* ? Richmond. From richmondmathewson at gmail.com Tue Jul 10 04:44:39 2018 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Jul 2018 11:44:39 +0300 Subject: Boiling over with excitement . . . Message-ID: <79a8ef56-e4d7-1055-1981-423659555146@gmail.com> Before anyone gets over-excited by the fact that the LiveCode team have, finally, sorted out the silly invisible polygon graphic object in LiveCode (a.k.a. Polly-Gone) in 9.0.1 rc 1: *1.* I think it is extremely shabby that LiveCode 8 was EOLed without that being sorted out. *2.* Choose a Polygon Graphic from the menu, get into its properties palette and give it a unique name, set up a listField with a set of non-trivial points (e.g. 100,100 ???????? 100,200 ???????? 200,200 ???????? 200,100 ???????? 100,100) crack open the Message box and type something of this order: *set the points of grc "zzz" to fld "scl"* and your polygon graphic will? "magically" manifest itself 'right there' on the stack. Richmond. From tore.nilsen at me.com Tue Jul 10 05:07:02 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 10 Jul 2018 11:07:02 +0200 Subject: doMenu In-Reply-To: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> Message-ID: > 10. jul. 2018 kl. 10:43 skrev Richmond via use-livecode : > > Is it possible to send a *doMenu* command to a menu item several levels down? > > Such as *Object/New Control/Radio Button* ? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I cannot answer your question about the sending of doMenu to items in a hierarchy, but this seems to me to be a situation where you would be better off placing the actual handler for what you would like to do in the stack script. Then all it takes is a call to this handler, be it from the menu item or from somewhere else. This way you do not need to send a doMenu command at all. This is how I teach my students to structure their code. Regards Tore Nilsen From merakosp at gmail.com Tue Jul 10 05:23:52 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 10 Jul 2018 10:23:52 +0100 Subject: Boiling over with excitement . . . In-Reply-To: <79a8ef56-e4d7-1055-1981-423659555146@gmail.com> References: <79a8ef56-e4d7-1055-1981-423659555146@gmail.com> Message-ID: Hello Richmond, This fix can easily be applied to your local install of LC 8.x: 1. Navigate to LiveCode 8.x.y.app/Contents/Tools/Toolset/resources/supporting_files/property_definitions/ 2. Find file "com.livecode.interface.classic.PolygonGraphic.tsv" and rename it to "OLD_com.livecode.interface.classic.PolygonGraphic.tsv" 3. Download this patched file: https://raw.githubusercontent.com/montegoulding/livecode-ide/d30e00360273dd5d00030b61c9fd4841440d4fd3/Toolset/resources/supporting_files/property_definitions/com.livecode.interface.classic.PolygonGraphic.tsv (Choose "File -> Save as" in your browser menu, and make sure you save it as "com.livecode.interface.classic.PolygonGraphic.tsv") 4. Place the file you saved in step 3 at LiveCode 8.x.y.app/Contents/Tools/Toolset/resources/supporting_files/property_definitions/ 5. Quit and reopen LC 8.x Notes: With this patch, the default points of the regular polygon are "0,0\n100,100", which looks like a line graphic. You can change that in the PI. However, you can modify this file and add the default points of your choice, for example if you want it to look as the one in your previous post, in this file replace: 0,0\n100,100 with 100,100\n100,200\n200,200\n200,100 I hope this helps. Best regards, Panos ? On Tue, Jul 10, 2018 at 9:44 AM, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Before anyone gets over-excited by the fact that the LiveCode team have, > finally, > > sorted out the silly invisible polygon graphic object in LiveCode (a.k.a. > Polly-Gone) in 9.0.1 rc 1: > > > *1.* I think it is extremely shabby that LiveCode 8 was EOLed without that > being sorted out. > > *2.* Choose a Polygon Graphic from the menu, get into its properties > palette and give it > > a unique name, set up a listField with a set of non-trivial points > > (e.g. 100,100 > > 100,200 > > 200,200 > > 200,100 > > 100,100) > > > crack open the Message box and type something of this order: > > *set the points of grc "zzz" to fld "scl"* > > and your polygon graphic will "magically" manifest itself 'right there' > on the stack. > > > Richmond. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at elementarysoftware.com Tue Jul 10 05:37:23 2018 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 10 Jul 2018 02:37:23 -0700 Subject: Boiling over with excitement . . . In-Reply-To: References: <79a8ef56-e4d7-1055-1981-423659555146@gmail.com> Message-ID: <6819DCC1-86FF-4AC0-9D00-975054BB1AD0@elementarysoftware.com> Thank you, Panos. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Jul 10, 2018, at 2:23 AM, panagiotis merakos via use-livecode wrote: > > Hello Richmond, > > This fix can easily be applied to your local install of LC 8.x: > > 1. Navigate to LiveCode > 8.x.y.app/Contents/Tools/Toolset/resources/supporting_files/property_definitions/ > 2. Find file "com.livecode.interface.classic.PolygonGraphic.tsv" and rename > it to "OLD_com.livecode.interface.classic.PolygonGraphic.tsv" > 3. Download this patched file: > https://raw.githubusercontent.com/montegoulding/livecode-ide/d30e00360273dd5d00030b61c9fd4841440d4fd3/Toolset/resources/supporting_files/property_definitions/com.livecode.interface.classic.PolygonGraphic.tsv > (Choose "File -> Save as" in your browser menu, and make sure you save it > as "com.livecode.interface.classic.PolygonGraphic.tsv") > 4. Place the file you saved in step 3 at LiveCode > 8.x.y.app/Contents/Tools/Toolset/resources/supporting_files/property_definitions/ > 5. Quit and reopen LC 8.x > > Notes: > > With this patch, the default points of the regular polygon are > "0,0\n100,100", which looks like a line graphic. You can change that in the > PI. > However, you can modify this file and add the default points of your > choice, for example if you want it to look as the one in your previous > post, in this file replace: > > 0,0\n100,100 > > with > > 100,100\n100,200\n200,200\n200,100 > > I hope this helps. > > Best regards, > Panos > ? > > > On Tue, Jul 10, 2018 at 9:44 AM, Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Before anyone gets over-excited by the fact that the LiveCode team have, >> finally, >> >> sorted out the silly invisible polygon graphic object in LiveCode (a.k.a. >> Polly-Gone) in 9.0.1 rc 1: >> >> >> *1.* I think it is extremely shabby that LiveCode 8 was EOLed without that >> being sorted out. >> >> *2.* Choose a Polygon Graphic from the menu, get into its properties >> palette and give it >> >> a unique name, set up a listField with a set of non-trivial points >> >> (e.g. 100,100 >> >> 100,200 >> >> 200,200 >> >> 200,100 >> >> 100,100) >> >> >> crack open the Message box and type something of this order: >> >> *set the points of grc "zzz" to fld "scl"* >> >> and your polygon graphic will "magically" manifest itself 'right there' >> on the stack. >> >> >> Richmond. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jul 10 06:32:16 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 10 Jul 2018 13:32:16 +0300 Subject: doMenu In-Reply-To: References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> Message-ID: Thanks Tore, This is alright if one knows what the actual handler sparked by the menu item is. on mouseUp set the style of the templateGraphic to polygon create graphic "zzz" set the points of grc "zzz" to fld "PTZ" end mouseUp Richmond. On 10/7/2018 12:07 pm, Tore Nilsen via use-livecode wrote: >> 10. jul. 2018 kl. 10:43 skrev Richmond via use-livecode : >> >> Is it possible to send a *doMenu* command to a menu item several levels down? >> >> Such as *Object/New Control/Radio Button* ? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > I cannot answer your question about the sending of doMenu to items in a hierarchy, but this seems to me to be a situation where you would be better off placing the actual handler for what you would like to do in the stack script. Then all it takes is a call to this handler, be it from the menu item or from somewhere else. This way you do not need to send a doMenu command at all. This is how I teach my students to structure their code. > > Regards > Tore Nilsen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Tue Jul 10 06:50:17 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 10 Jul 2018 12:50:17 +0200 Subject: doMenu In-Reply-To: References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> Message-ID: <9489F8F1-14AC-4854-B961-BFECA68737A4@me.com> If you are writing all of the code yourself, then it should not be a problem knowing what the handler sparked by the menu item should do.Here is how I teach my students to structure their code when they want the user to be able to perform the same action from various controls: In the stack script: on makeNewGraphic set the style of the templateGraphic to polygon create graphic "zzz" set the points of grc ?zzz" to fld "PTZ" end makeNewGraphic Script in the button: on mouseUp makeNewGraphic end mouseUp Script in the menu: on menuPick pItem switch pItem case ?Make new graphic? makeNewGraphic break default #or other cases Do something else break end menuPick This way you only need to know what you would like the button or the menu item to do, and call the appropriate handler for this. Regards Tore > 10. jul. 2018 kl. 12:32 skrev Richmond Mathewson via use-livecode : > > Thanks Tore, > > This is alright if one knows what the actual handler sparked by the menu item is. > > on mouseUp > set the style of the templateGraphic to polygon > create graphic "zzz" > set the points of grc "zzz" to fld "PTZ" > end mouseUp > > Richmond. > > On 10/7/2018 12:07 pm, Tore Nilsen via use-livecode wrote: >>> 10. jul. 2018 kl. 10:43 skrev Richmond via use-livecode : >>> >>> Is it possible to send a *doMenu* command to a menu item several levels down? >>> >>> Such as *Object/New Control/Radio Button* ? >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> I cannot answer your question about the sending of doMenu to items in a hierarchy, but this seems to me to be a situation where you would be better off placing the actual handler for what you would like to do in the stack script. Then all it takes is a call to this handler, be it from the menu item or from somewhere else. This way you do not need to send a doMenu command at all. This is how I teach my students to structure their code. >> >> Regards >> Tore Nilsen >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Jul 10 09:00:39 2018 From: dunbarx at aol.com (dunbarxx) Date: Tue, 10 Jul 2018 06:00:39 -0700 (MST) Subject: doMenu In-Reply-To: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> Message-ID: <1531227639192-0.post@n4.nabble.com> Hi. I would go to the forums and read this all the way to the end: doMenu not finding the menu Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brahma at hindu.org Tue Jul 10 09:37:07 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Jul 2018 13:37:07 +0000 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <43b70817-9add-ad54-c452-acc95332eeec@hyperactivesw.com> References: <63799556-101a-e667-9046-5d5d5123b4b2@hyperactivesw.com> <43b70817-9add-ad54-c452-acc95332eeec@hyperactivesw.com> Message-ID: <932BF868-23B8-4ECD-AF39-C9B3C7F5AB59@hindu.org> Where is the documentation how to do this correctly? For a Mac Android developer ?? J. Landman Android devs should note that you need to have SDK 8 or higher installed (the informative notification dialog was a big help here.) I installed 7, 8, and 8.1 and LC then allowed me to re-select the SDK in preferences, the phone showed up in the Target menu, and I could do a test build. From brahma at hindu.org Tue Jul 10 09:49:35 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Jul 2018 13:49:35 +0000 Subject: Preferences --> Project Browser --> Sort stack by Message-ID: <5A4E508A-D5F4-4386-A998-1415377249D4@hindu.org> Anyone else getting the old bug in 9.01. RC1?. In preferences, we want to set the sort stacks to "Layer" Sort stack by: [Name] [Ascending] But each time I choose Sort stack by: [Layer] [Ascending] It reverts to Name Not that I using the Project Browser all at all anymore. I can't tell you how much Geoff 's Navigator has speeded ups dev. BR From brahma at hindu.org Tue Jul 10 09:52:22 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Jul 2018 13:52:22 +0000 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: Message-ID: <9DD0B6E4-FD87-4784-9155-6A5BE65C5C54@hindu.org> Congratulations to the team for all the hard work! This is a big day for us. India, Malaysia, indeed, all South Asian is now "open for [Android] business" Brahmanathaswami panagiotis merakos Dear list members, We are pleased to announce the release of LiveCode 9.0.1 RC-1. From bobsneidar at iotecdigital.com Tue Jul 10 10:46:19 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Jul 2018 14:46:19 +0000 Subject: doMenu In-Reply-To: References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> Message-ID: <3FA8C787-E065-40C1-AE3C-0C00D6F36E41@iotecdigital.com> I agree Tor. The problem with doMenu is, what happens when you want to create your own menu group? None of the doMenu calls to the standard menus will work anymore. Bob S > On Jul 10, 2018, at 02:07 , Tore Nilsen via use-livecode wrote: > > I cannot answer your question about the sending of doMenu to items in a hierarchy, but this seems to me to be a situation where you would be better off placing the actual handler for what you would like to do in the stack script. Then all it takes is a call to this handler, be it from the menu item or from somewhere else. This way you do not need to send a doMenu command at all. This is how I teach my students to structure their code. > > Regards > Tore Nilsen From bobsneidar at iotecdigital.com Tue Jul 10 10:54:08 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Jul 2018 14:54:08 +0000 Subject: doMenu In-Reply-To: <9489F8F1-14AC-4854-B961-BFECA68737A4@me.com> References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> <9489F8F1-14AC-4854-B961-BFECA68737A4@me.com> Message-ID: <5159C8A9-7F37-4CB8-8D98-A29C05E04929@iotecdigital.com> What do the open and closing double angle brackets do? For nested menus, in a custom File menu script: case "New|Stack" Bob S > On Jul 10, 2018, at 03:50 , Tore Nilsen via use-livecode wrote: > > case ?Make new graphic? From bobsneidar at iotecdigital.com Tue Jul 10 10:55:11 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Jul 2018 14:55:11 +0000 Subject: doMenu In-Reply-To: <3FA8C787-E065-40C1-AE3C-0C00D6F36E41@iotecdigital.com> References: <1309da58-d8d3-3c18-f9f2-e4d674879de4@gmail.com> <3FA8C787-E065-40C1-AE3C-0C00D6F36E41@iotecdigital.com> Message-ID: Tore even. > On Jul 10, 2018, at 07:46 , Bob Sneidar via use-livecode wrote: > > I agree Tor. From dan at clearvisiontech.com Tue Jul 10 11:46:53 2018 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 10 Jul 2018 15:46:53 +0000 Subject: Mobile Launch Camera Message-ID: <6BAF92B1-5213-4C1F-86B2-F6F860D6EAF4@clearvisiontech.com> Greeting! Is it possible to launch the camera app on mobile? I have a button in an app that when tapped, should launch the [native] camera app and select ?Video?. Another button should launch the camera app and select ?Photo?. Is that possible? If so, how? Perhaps some variation of the launch command? I am aware of mobilePickPhoto and mobilePickMedia. I don?t want to import content, I want to physically open the camera app on the user?s device. Thank you in advance, -Dan From brahma at hindu.org Tue Jul 10 14:00:22 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Jul 2018 18:00:22 +0000 Subject: 9.01 RC-1 Standalone Builder Message-ID: <4E88D6EC-10E9-4B10-9F25-F9D91F7625A4@hindu.org> I take to Trevor's method of keep a second instance of LC open, and using it to build standalone. That way we avoid 1. Making changes in scripts. 2. Saving them 3. Have to "old versions" magically re-appear after building a standalone. I have got around to a recipe. But it go so "bad" in 9.0 that I stopped development. Now: The PDF of Release Notes for 9.01.RC-1 give the following "breaking change" Do in now solve the above problem? Standalone Building The standalone builder has always needed to close the stacks it builds for reasons pretty deeply ingrained in the code. However this causes a few problems, for example: values in script locals become empty behaviors are broken when the parent script is on / in a stack which closes As an attempt to improve this situation, the code that locks messages when closing and opening stacks for standalone builds has been removed. This means that where previously mainstacks LiveCode 9.0.1-rc-1 Release Notes 7/9/18 2 would not receive openStack and closeStack messages during standalone build, they now do. If this causes problems for your stack, you can exit from the handler if standalone building is in progress: on closeStack if the mode of stack "revStandaloneProgress" > 0 then exit closesStack end if end closeStack LiveCode Standalone Building The standalone builder has always needed to close the stacks it builds for reasons pretty deeply ingrained in the code. However this causes a few problems, for example: values in script locals become empty behaviors are broken when the parent script is on / in a stack which closes As an attempt to improve this situation, the code that locks messages when closing and opening stacks for standalone builds has been removed. This means that where previously mainstacks LiveCode 9.0.1-rc-1 Release Notes 7/9/18 2 would not receive openStack and closeStack messages during standalone build, they now do. If this causes problems for your stack, you can exit from the handler if standalone building is in progress: on closeStack if the mode of stack "revStandaloneProgress" > 0 then exit closesStack end if end closeStack LiveCode From bonnmike at gmail.com Tue Jul 10 14:18:33 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Jul 2018 12:18:33 -0600 Subject: Docker Message-ID: Hoping someone can help me shortcut this.. If I start with an alpine image, what things do I need to add so that LC executables will run? (using the -ui flag) Or would I be better off starting with another base? I'm looking to end up with smallest possible docker that can do the job. From paul at researchware.com Tue Jul 10 14:20:37 2018 From: paul at researchware.com (Paul Dupuis) Date: Tue, 10 Jul 2018 14:20:37 -0400 Subject: Transitioning to LiveCode 9... Message-ID: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> First, I love all the things added to LiveCode 9 and, while I haven;t had a chance to download 9.0.1 yet, I am sure it (and 9.0.2, etc.) will just keep getting better. However, I must vent that transitioning old stack to LC9 is now always easy. In some ways (text handling) I find the degree of compatibility amazing, but in others I run into a lot of code to change. I am transitioning a large app built under LC6.7.11 and ran into the following: In LC6.7.11 you could say 'set the effective label of button X to Y' and it worked (it essentially ignored the 'effective' keyword and set the label property). Now this is not sound syntax and I have no idea why the code (which has had many developers work on it) used the 'effective' keyword in a set statement. I suspect "Copy and Paste" was the cuprit. Irregardless, it works in LC6.7.11 In LC9.0.0, the same line, 'set the effective label of button X to Y' throws a syntax error (probably rightly so!). However, it does mean I now have to change what seems like a zillion instances of 'set the effective label ...' to just 'set the label ...' Uggh! From dougr at telus.net Tue Jul 10 15:06:48 2018 From: dougr at telus.net (Douglas Ruisaard) Date: Tue, 10 Jul 2018 12:06:48 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: cdQSfwqHPr9R7cdQXfPvrI References: cdQSfwqHPr9R7cdQXfPvrI Message-ID: <097501d41881$2850f8b0$78f2ea10$@net> Sorry if I missed something.. but, Richmond (or anyone, for that matter), could you elucidate on the specifics of which systems confine you to LC v8? Or at least which systems YOU employ which are not compatible with LC v9... If there are such systems or a list of known incompatibilities regarding LC v9, other than those listed in the release notes, I (and I suspect the community) would appreciate knowing about them and have them encapsulated in one place. Are they OS issues or specific application restrictions? ... or reported bugs? Douglas Ruisaard Trilogy Software (250) 573-3935 > > It would be LOVELY if there were to be a version 8.1.11 just to fix this problem for those of us > confined to systems that cannot work with LC 9. > > Richmond. > > On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: > > Panos Merakos changed bug 19998 > > > > What Removed Added > > Status AWAITING_RELEASE RESOLVED > > Resolution --- FIXED > > > > *Comment # 5 > > on bug 19998 from > > Panos Merakos * Hi all, > > > > This bug is now fixed in LiveCode 9.0.1 RC-1: > > > > https://downloads.livecode.com/livecode/ > > > > Best, > > Panos From richmondmathewson at gmail.com Tue Jul 10 15:26:20 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 10 Jul 2018 22:26:20 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <097501d41881$2850f8b0$78f2ea10$@net> References: <097501d41881$2850f8b0$78f2ea10$@net> Message-ID: "elucidation" might be too posh a word for a few simple facts: 1. I use LiveCode, mainly, on a Macintosh computer that cannot be upgraded above 10.7.5 2. I have no money to buy a newer machine. Richmond. On 10/7/2018 10:06 pm, Douglas Ruisaard via use-livecode wrote: > Sorry if I missed something.. but, Richmond (or anyone, for that matter), could you elucidate on the specifics of which systems confine you to LC v8? Or at least which systems YOU employ which are not compatible with LC v9... > > If there are such systems or a list of known incompatibilities regarding LC v9, other than those listed in the release notes, I (and I suspect the community) would appreciate knowing about them and have them encapsulated in one place. > > Are they OS issues or specific application restrictions? ... or reported bugs? > > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > >> It would be LOVELY if there were to be a version 8.1.11 just to fix this problem for those of us >> confined to systems that cannot work with LC 9. >> >> Richmond. >> >> On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: >>> Panos Merakos changed bug 19998 >>> >>> What Removed Added >>> Status AWAITING_RELEASE RESOLVED >>> Resolution --- FIXED >>> >>> *Comment # 5 >>> on bug 19998 from >>> Panos Merakos * Hi all, >>> >>> This bug is now fixed in LiveCode 9.0.1 RC-1: >>> >>> https://downloads.livecode.com/livecode/ >>> >>> Best, >>> Panos > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jul 10 16:09:59 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Jul 2018 15:09:59 -0500 Subject: Transitioning to LiveCode 9... In-Reply-To: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> References: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> Message-ID: <16485d099f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Use the Find and Replace dialog (Edit menu) and you can change them all with a single click. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 10, 2018 1:23:04 PM Paul Dupuis via use-livecode wrote: > First, I love all the things added to LiveCode 9 and, while I haven;t > had a chance to download 9.0.1 yet, I am sure it (and 9.0.2, etc.) will > just keep getting better. > > However, I must vent that transitioning old stack to LC9 is now always > easy. In some ways (text handling) I find the degree of compatibility > amazing, but in others I run into a lot of code to change. > > I am transitioning a large app built under LC6.7.11 and ran into the > following: > > In LC6.7.11 you could say 'set the effective label of button X to Y' and > it worked (it essentially ignored the 'effective' keyword and set the > label property). Now this is not sound syntax and I have no idea why the > code (which has had many developers work on it) used the 'effective' > keyword in a set statement. I suspect "Copy and Paste" was the cuprit. > Irregardless, it works in LC6.7.11 > > In LC9.0.0, the same line, 'set the effective label of button X to Y' > throws a syntax error (probably rightly so!). However, it does mean I > now have to change what seems like a zillion instances of 'set the > effective label ...' to just 'set the label ...' > > Uggh! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Jul 10 16:13:11 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 10 Jul 2018 20:13:11 +0000 Subject: 9.01 RC-1 Standalone Builder In-Reply-To: <4E88D6EC-10E9-4B10-9F25-F9D91F7625A4@hindu.org> References: <4E88D6EC-10E9-4B10-9F25-F9D91F7625A4@hindu.org> Message-ID: <731300E5-363F-43FC-8B67-7EFD6070C4CC@hindu.org> [Responding to my memo which has too many typos] With 9.0, using it to build a standalone. 1. Making changes in scripts. 2. Saving them 3. Having "old versions" magically re-appear after building a standalone. I never got around to finding a recipe. It was like: standalone builder "caches" old scripts and "re-constitutes" them over newly save scripts. But it go so "bad" in 9.0 that I stopped development and went with 8.1.10 Now: The PDF of Release Notes for 9.01.RC-1 gives the following "breaking change" Does this now solve the above problem? Till then, I'm back using Trevor method of keep a second instance of LC open for SA's ========== Standalone Building The standalone builder has always needed to close the stacks it builds for reasons pretty deeply ingrained in the code. However this causes a few problems, for example: values in script locals become empty behaviors are broken when the parent script is on / in a stack which closes As an attempt to improve this situation, the code that locks messages when closing and opening stacks for standalone builds has been removed. This means that where previously mainstacks would not receive openStack and closeStack messages during standalone build, they now do. If this causes problems for your stack, you can exit from the handler if standalone building is in progress: on closeStack if the mode of stack "revStandaloneProgress" > 0 then exit closesStack end if end closeStack LiveCode From andrew at midwestcoastmedia.com Tue Jul 10 16:29:02 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Tue, 10 Jul 2018 20:29:02 +0000 Subject: Mobile Launch Camera In-Reply-To: Message-ID: <20180710202902.Horde.MhNFjSDkG2t0NteEXA0M6pL@ua850258.serversignin.com> mobilePickPhoto will launch the device camera, but not actually open the OS based Camera app. There is a nice lesson available @ http://lessons.livecode.com/m/4069/l/30490-how-do-i-capture-images-in-livecode-mobile --Andrew Bell > From: Dan Friedman > To: "use-livecode at lists.runrev.com" > Subject: Mobile Launch Camera > Message-ID: <6BAF92B1-5213-4C1F-86B2-F6F860D6EAF4 at clearvisiontech.com> > Content-Type: text/plain; charset="utf-8" > > Greeting! > > Is it possible to launch the camera app on mobile? I have a > button in an app that when tapped, should launch the [native] camera > app and select ?Video?. Another button should launch the camera app > and select ?Photo?. Is that possible? If so, how? Perhaps some > variation of the launch command? > > I am aware of mobilePickPhoto and mobilePickMedia. I don?t want to > import content, I want to physically open the camera app on the > user?s device. > > Thank you in advance, > -Dan From bobsneidar at iotecdigital.com Tue Jul 10 16:31:18 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Jul 2018 20:31:18 +0000 Subject: Transitioning to LiveCode 9... In-Reply-To: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> References: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> Message-ID: <9C6B4238-69BD-4F6C-804B-60DD50A4763B@iotecdigital.com> Well you will be glad to know the search (and replace) feature has been so vastly improved that what used to take over a minute to search all substacks for, now takes 3 or 4 seconds. The replace function is just as fast. You could search for "the effective label" and replace it with "the label" with I think, complete confidence, in all your scripts all at once. I wouldn't try globally replacing variables beginning with "the" with "t" of course, that would be disastrous. :-) Bob S > On Jul 10, 2018, at 11:20 , Paul Dupuis via use-livecode wrote: > > In LC6.7.11 you could say 'set the effective label of button X to Y' and > it worked (it essentially ignored the 'effective' keyword and set the > label property). Now this is not sound syntax and I have no idea why the > code (which has had many developers work on it) used the 'effective' > keyword in a set statement. I suspect "Copy and Paste" was the cuprit. > Irregardless, it works in LC6.7.11 > > In LC9.0.0, the same line, 'set the effective label of button X to Y' > throws a syntax error (probably rightly so!). However, it does mean I > now have to change what seems like a zillion instances of 'set the > effective label ...' to just 'set the label ...' > > Uggh! From bobsneidar at iotecdigital.com Tue Jul 10 16:31:51 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 10 Jul 2018 20:31:51 +0000 Subject: Transitioning to LiveCode 9... In-Reply-To: <16485d099f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> <16485d099f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7A3C7613-CB91-401E-9BE1-DD76BC878DD8@iotecdigital.com> My way of saying it sounded better. More words. ;-) Bob S > On Jul 10, 2018, at 13:09 , J. Landman Gay via use-livecode wrote: > > Use the Find and Replace dialog (Edit menu) and you can change them all with a single click. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Tue Jul 10 16:38:19 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 10 Jul 2018 16:38:19 -0400 Subject: Docker In-Reply-To: References: Message-ID: mike i'm really curious about what you are building to be running LC as a (web?) service? I've done some tests with that but i have yet to gain complete clarity that I can use it the way I want ..... I've done some very basic testing on a centos box on digital ocean. my bash code loooked like this before i got to the service yum -y install fontconfig freetype freetype-devel fontconfig-devel libstdc++ yum -y install wget yum install monit thats all i needed to run it and i had successful connections....,(I think....I also tested locally so i can't be sur) but ran into trouble when the requests went over a certain size then even my local running standalone couldn't get the data that the request included. i was using the httd library to accept and reply to requests. so i'm curious about your experience with that when you get to it. On Tue, Jul 10, 2018 at 2:18 PM, Mike Bonner via use-livecode < use-livecode at lists.runrev.com> wrote: > Hoping someone can help me shortcut this.. > If I start with an alpine image, what things do I need to add so that LC > executables will run? (using the -ui flag) > Or would I be better off starting with another base? I'm looking to end > up with smallest possible docker that can do the job. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Tue Jul 10 16:40:58 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 10 Jul 2018 16:40:58 -0400 Subject: Transitioning to LiveCode 9... In-Reply-To: <7A3C7613-CB91-401E-9BE1-DD76BC878DD8@iotecdigital.com> References: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> <16485d099f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7A3C7613-CB91-401E-9BE1-DD76BC878DD8@iotecdigital.com> Message-ID: wonder how that optimization happened .... big improvement. might go look into the ide code. On Tue, Jul 10, 2018 at 4:31 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > My way of saying it sounded better. More words. ;-) > > Bob S > > > > On Jul 10, 2018, at 13:09 , J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Use the Find and Replace dialog (Edit menu) and you can change them all > with a single click. > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Jul 10 16:55:14 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Jul 2018 15:55:14 -0500 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <932BF868-23B8-4ECD-AF39-C9B3C7F5AB59@hindu.org> References: <63799556-101a-e667-9046-5d5d5123b4b2@hyperactivesw.com> <43b70817-9add-ad54-c452-acc95332eeec@hyperactivesw.com> <932BF868-23B8-4ECD-AF39-C9B3C7F5AB59@hindu.org> Message-ID: <5e42584a-1a1b-ac5d-4a1f-10f24aa12762@hyperactivesw.com> It isn't so much a LC issue, you need to update via the SDK manager. On my Mac, I double-click the "android" file at /android-sdk-macosx/tools/android. That launches the SDK manager where you can choose the updates you want to install. I'm still using the old command line tools, but I believe there is a way to get the same thing in Android Studio also. On 7/10/18 8:37 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > Where is the documentation how to do this correctly? > > For a Mac Android developer > > ?? > > > J. Landman > Android devs should note > that you need to have SDK 8 or higher installed (the informative > notification dialog was a big help here.) I installed 7, 8, and 8.1 and > LC then allowed me to re-select the SDK in preferences, the phone showed > up in the Target menu, and I could do a test build. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Tue Jul 10 17:15:10 2018 From: paul at researchware.com (Paul Dupuis) Date: Tue, 10 Jul 2018 17:15:10 -0400 Subject: Transitioning to LiveCode 9... In-Reply-To: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> References: <5ade64ae-bd46-1e32-1910-acb52899bf33@researchware.com> Message-ID: <8e9739c6-df72-d25e-95f4-b00ee5d12243@researchware.com> Thanks all! I had given up on using find and replace in the IDE many version ago. The performance and assorted glitchy issues just led me to keep a text file with the all my scripts and search that with a text editor and then go open the specific object script in the IDE to change something. With the endorsements of LC9's find and replace and made a back up of the app and gave it a try. You are 100% right, super fast and super accurate! From bonnmike at gmail.com Tue Jul 10 17:40:29 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Jul 2018 15:40:29 -0600 Subject: Docker In-Reply-To: References: Message-ID: Mostly i'm looking to learn how things work, but the end goal is to a) have a front lc based controller (httpd) that can hand off jobs to a pool of docker "processors," and getting a handle on how to dynamically spin up more instances based on demand. (kubernetes?) I don't know enough yet to use the right words. I could do all this exploration without lc, but it is so much easier to put together whatever processors I want in lc, so that I can spend most of my (limited) energy focusing on the docker side. One thing I may try to set up.. I have an old HP z800, with 24 possible threads, and I also have most of the (english) files from project gutenberg. I'd like to process and index all those files into a searchable database, using 24 docker images at once, each assigned to a core. IE take advantage of my knowledge of LC, while at the same time, bypassing its single thread limitations. I have a similar goal with a bunch of climate data from https://www.ncdc.noaa.gov/cdo-web/datatools that I want to use to calculate worldwide temperature trends. (Both of these things, as well as all the docker stuff are over my head right now, but maybe I can close that gap.) On Tue, Jul 10, 2018 at 2:38 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > mike i'm really curious about what you are building to be running LC as a > (web?) service? I've done some tests with that but i have yet to gain > complete clarity that I can use it the way I want ..... I've done some very > basic testing on a centos box on digital ocean. my bash code loooked like > this before i got to the service > > yum -y install fontconfig freetype freetype-devel fontconfig-devel > libstdc++ > yum -y install wget > yum install monit > > thats all i needed to run it and i had successful connections....,(I > think....I also tested locally so i can't be sur) but ran into trouble > when the requests went over a certain size then even my local running > standalone couldn't get the data that the request included. i was using the > httd library to accept and reply to requests. > > so i'm curious about your experience with that when you get to it. > > > > On Tue, Jul 10, 2018 at 2:18 PM, Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hoping someone can help me shortcut this.. > > If I start with an alpine image, what things do I need to add so that LC > > executables will run? (using the -ui flag) > > Or would I be better off starting with another base? I'm looking to end > > up with smallest possible docker that can do the job. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dougr at telus.net Tue Jul 10 19:20:05 2018 From: dougr at telus.net (Douglas Ruisaard) Date: Tue, 10 Jul 2018 16:20:05 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: cyxnfMgdf2nwVcyxsfYlBJ References: cyxnfMgdf2nwVcyxsfYlBJ Message-ID: <098901d418a4$8a96aa60$9fc3ff20$@net> Ah... I feel your pain... Of course, a little bird has told me that the "HackIntosh" approach is WAY cheaper than original Apple hardware and "rumor" has it that such implementations run up to High Sierra perfectly on ridiculously inexpensive platforms. Naturally, these are all just vicious rumors meant to undermine Apple's sterling and well defended market share ... justifying costs beyond those of normal human budgets... so you never heard it from me! Apple rules! Douglas Ruisaard Trilogy Software (250) 573-3935 > Subject: Re: [Bug 19998] The non-appearance of Polygon graphics in LC > Message-ID: > Content-Type: text/plain; charset=windows-1252; format=flowed > > "elucidation" might be too posh a word for a few simple facts: > > 1. I use LiveCode, mainly, on a Macintosh computer that cannot be upgraded above 10.7.5 > > 2. I have no money to buy a newer machine. > > Richmond. > > On 10/7/2018 10:06 pm, Douglas Ruisaard via use-livecode wrote: > > Sorry if I missed something.. but, Richmond (or anyone, for that matter), could you elucidate on the > specifics of which systems confine you to LC v8? Or at least which systems YOU employ which are not > compatible with LC v9... > > > > If there are such systems or a list of known incompatibilities regarding LC v9, other than those > listed in the release notes, I (and I suspect the community) would appreciate knowing about them and > have them encapsulated in one place. > > > > Are they OS issues or specific application restrictions? ... or reported bugs? > > > > Douglas Ruisaard > > Trilogy Software > > (250) 573-3935 > > > >> It would be LOVELY if there were to be a version 8.1.11 just to fix > >> this problem for those of us confined to systems that cannot work with LC 9. > >> > >> Richmond. > >> > >> On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: > >>> Panos Merakos changed bug 19998 > >>> > >>> What Removed Added > >>> Status AWAITING_RELEASE RESOLVED > >>> Resolution --- FIXED > >>> > >>> *Comment # 5 > >>> on bug 19998 > >>> from Panos Merakos * Hi all, > >>> > >>> This bug is now fixed in LiveCode 9.0.1 RC-1: > >>> > >>> https://downloads.livecode.com/livecode/ > >>> > >>> Best, > >>> Panos > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Tue Jul 10 19:42:13 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 10 Jul 2018 16:42:13 -0700 Subject: Docker In-Reply-To: References: Message-ID: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> On 07/10/2018 02:40 PM, Mike Bonner via use-livecode wrote: > Mostly i'm looking to learn how things work, but the end goal is to a) have > a front lc based controller (httpd) that can hand off jobs to a pool of > docker "processors," and getting a handle on how to dynamically spin up > more instances based on demand. (kubernetes?) I don't know enough yet to Kubernetes for sure. This should get you started: https://deis.com/blog/2016/kubernetes-illustrated-guide/ or if you prefer the video version: https://www.youtube.com/watch?v=4ht22ReBjno -- Mark Wieder ahsoftware at gmail.com From bonnmike at gmail.com Tue Jul 10 20:00:08 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Jul 2018 18:00:08 -0600 Subject: Docker In-Reply-To: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> Message-ID: Thank you! On Tue, Jul 10, 2018 at 5:42 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 07/10/2018 02:40 PM, Mike Bonner via use-livecode wrote: > > Mostly i'm looking to learn how things work, but the end goal is to a) > have > > a front lc based controller (httpd) that can hand off jobs to a pool of > > docker "processors," and getting a handle on how to dynamically spin up > > more instances based on demand. (kubernetes?) I don't know enough yet > to > > Kubernetes for sure. > This should get you started: > > https://deis.com/blog/2016/kubernetes-illustrated-guide/ > > or if you prefer the video version: > > https://www.youtube.com/watch?v=4ht22ReBjno > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Jul 10 20:01:49 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Jul 2018 18:01:49 -0600 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> Message-ID: Love that its a childrens guide. Definitely my speed. On Tue, Jul 10, 2018 at 6:00 PM Mike Bonner wrote: > Thank you! > > On Tue, Jul 10, 2018 at 5:42 PM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 07/10/2018 02:40 PM, Mike Bonner via use-livecode wrote: >> > Mostly i'm looking to learn how things work, but the end goal is to a) >> have >> > a front lc based controller (httpd) that can hand off jobs to a pool of >> > docker "processors," and getting a handle on how to dynamically spin up >> > more instances based on demand. (kubernetes?) I don't know enough yet >> to >> >> Kubernetes for sure. >> This should get you started: >> >> https://deis.com/blog/2016/kubernetes-illustrated-guide/ >> >> or if you prefer the video version: >> >> https://www.youtube.com/watch?v=4ht22ReBjno >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From stephen at barncard.com Tue Jul 10 20:42:35 2018 From: stephen at barncard.com (Stephen Barncard) Date: Tue, 10 Jul 2018 17:42:35 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <098901d418a4$8a96aa60$9fc3ff20$@net> References: <098901d418a4$8a96aa60$9fc3ff20$@net> Message-ID: In the end Hacks require creation of a boot rom from unsupported sources. Copyright? it's also a bit of work. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Tue, Jul 10, 2018 at 4:20 PM, Douglas Ruisaard via use-livecode < use-livecode at lists.runrev.com> wrote: > Ah... I feel your pain... Of course, a little bird has told me that the > "HackIntosh" approach is WAY cheaper than original Apple hardware and > "rumor" has it that such implementations run up to High Sierra perfectly on > ridiculously inexpensive platforms. Naturally, these are all just vicious > rumors meant to undermine Apple's sterling and well defended market share > ... justifying costs beyond those of normal human budgets... so you never > heard it from me! Apple rules! > > Douglas Ruisaard > Trilogy Software > (250) 573-3935 > > > Subject: Re: [Bug 19998] The non-appearance of Polygon graphics in LC > > Message-ID: > > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > "elucidation" might be too posh a word for a few simple facts: > > > > 1. I use LiveCode, mainly, on a Macintosh computer that cannot be > upgraded above 10.7.5 > > > > 2. I have no money to buy a newer machine. > > > > Richmond. > > > > On 10/7/2018 10:06 pm, Douglas Ruisaard via use-livecode wrote: > > > Sorry if I missed something.. but, Richmond (or anyone, for that > matter), could you elucidate on the > > specifics of which systems confine you to LC v8? Or at least which > systems YOU employ which are not > > compatible with LC v9... > > > > > > If there are such systems or a list of known incompatibilities > regarding LC v9, other than those > > listed in the release notes, I (and I suspect the community) would > appreciate knowing about them and > > have them encapsulated in one place. > > > > > > Are they OS issues or specific application restrictions? ... or > reported bugs? > > > > > > Douglas Ruisaard > > > Trilogy Software > > > (250) 573-3935 > > > > > >> It would be LOVELY if there were to be a version 8.1.11 just to fix > > >> this problem for those of us confined to systems that cannot work > with LC 9. > > >> > > >> Richmond. > > >> > > >> On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: > > >>> Panos Merakos changed bug 19998 > > >>> > > >>> What Removed Added > > >>> Status AWAITING_RELEASE RESOLVED > > >>> Resolution --- FIXED > > >>> > > >>> *Comment # 5 > > >>> on bug 19998 > > >>> from Panos Merakos * Hi all, > > >>> > > >>> This bug is now fixed in LiveCode 9.0.1 RC-1: > > >>> > > >>> https://downloads.livecode.com/livecode/ > > >>> > > >>> Best, > > >>> Panos > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Jul 11 00:04:42 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Jul 2018 21:04:42 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <08156505-3CAB-4206-A9CA-DEE2756C90BD@gmail.com> References: <08156505-3CAB-4206-A9CA-DEE2756C90BD@gmail.com> Message-ID: William Prothero wrote: > On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: >> Here (Los Angeles) the download is estimated to take three hours. >> Could this be a repeat of the CDN issue you'd corrected a few weeks >> ago? > > A speedy 6hrs estimated here in White Salmon, Washington. > Guess I?ll have to wait until later this evening. Last time the CDN was doing selective regional throttling my workaround was to log into a server in a very different area (one of my VPSes is in New Jersey), use wget to download it there, and then download to my local machine from my VPS. Sure, it was a couple extra steps, but it cut download time from hours to minutes. If you have a remote VPS sufficiently far away may be worth trying until Cloudflare sorts itself out. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jul 11 00:08:30 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Jul 2018 21:08:30 -0700 Subject: Docker In-Reply-To: References: Message-ID: <35fb7bf3-0d65-e46a-df7a-f6ebd5ed4a23@fourthworld.com> https://hub.docker.com/r/techstrategies/livecode/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Wed Jul 11 00:17:48 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 10 Jul 2018 21:17:48 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: <08156505-3CAB-4206-A9CA-DEE2756C90BD@gmail.com> Message-ID: Richard, Got it. Took overnight. Bill William Prothero http://earthlearningsolutions.org > On Jul 10, 2018, at 9:04 PM, Richard Gaskin via use-livecode wrote: > > William Prothero wrote: > > > On 07/09/2018 01:41 PM, Richard Gaskin via use-livecode wrote: > >> Here (Los Angeles) the download is estimated to take three hours. > >> Could this be a repeat of the CDN issue you'd corrected a few weeks > >> ago? > > > > A speedy 6hrs estimated here in White Salmon, Washington. > > Guess I?ll have to wait until later this evening. > > Last time the CDN was doing selective regional throttling my workaround was to log into a server in a very different area (one of my VPSes is in New Jersey), use wget to download it there, and then download to my local machine from my VPS. Sure, it was a couple extra steps, but it cut download time from hours to minutes. > > If you have a remote VPS sufficiently far away may be worth trying until Cloudflare sorts itself out. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jul 11 00:18:44 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Jul 2018 21:18:44 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <098901d418a4$8a96aa60$9fc3ff20$@net> References: <098901d418a4$8a96aa60$9fc3ff20$@net> Message-ID: <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Richmond wrote: > 1. I use LiveCode, mainly, on a Macintosh computer that cannot be > upgraded above 10.7.5 > > 2. I have no money to buy a newer machine. FWIW I've found good deals on used Mac Minis on eBay. Beyond that, given Apple's OS strategy which render usable hardware obsolete prematurely, if you want an OS that's safely maintained apparently their guidance is to stop using macOS and upgrade to Linux. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Wed Jul 11 00:46:26 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 10 Jul 2018 21:46:26 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <4EA42165-155D-40A8-8A5B-917A5D63D705@iotecdigital.com> References: <82a178e0-6377-11cd-2a1a-ea62b9aa4600@sonic.net> <975c66ef-7741-466d-808f-91acdf5ee1b0@hyperactivesw.com> <84ea4a4c-14e0-7b3d-d09f-8d1ffe1de9ee@sonic.net> <4EA42165-155D-40A8-8A5B-917A5D63D705@iotecdigital.com> Message-ID: <8a451558-1e73-906c-4447-39fcf43975f0@sonic.net> On 07/09/2018 03:45 PM, Bob Sneidar via use-livecode wrote: > It's the quarks that don't have as far to go, on account of their travelling faster than light. Electrons are the pedestrians of the space time continuum. ...bartender says "we don't serve tachyons in here" A tachyon walks into a bar... -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Jul 11 01:32:37 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Jul 2018 22:32:37 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <8a451558-1e73-906c-4447-39fcf43975f0@sonic.net> References: <8a451558-1e73-906c-4447-39fcf43975f0@sonic.net> Message-ID: Mark Wieder wrote: > ...bartender says "we don't serve tachyons in here" > > A tachyon walks into a bar... That sounds like a UDP joke, but maybe you didn't get it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Wed Jul 11 01:51:42 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 10 Jul 2018 22:51:42 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: <37B5D8C9-B6AB-44A3-8F45-8CA10CE15A0E@earthlearningsolutions.org> I wonder if, rather than buying a new computer, running Linux on a VMware, Parallels, or even boot camp. But then, can a Linux version create Mac standalone? Bill William Prothero http://earthlearningsolutions.org > On Jul 10, 2018, at 9:18 PM, Richard Gaskin via use-livecode wrote: > > Richmond wrote: > > > 1. I use LiveCode, mainly, on a Macintosh computer that cannot be > > upgraded above 10.7.5 > > > > 2. I have no money to buy a newer machine. > > FWIW I've found good deals on used Mac Minis on eBay. > > Beyond that, given Apple's OS strategy which render usable hardware obsolete prematurely, if you want an OS that's safely maintained apparently their guidance is to stop using macOS and upgrade to Linux. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 11 02:06:28 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 10 Jul 2018 23:06:28 -0700 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: References: <8a451558-1e73-906c-4447-39fcf43975f0@sonic.net> Message-ID: <720edb74-56a8-e025-ade1-91616199f282@sonic.net> On 07/10/2018 10:32 PM, Richard Gaskin via use-livecode wrote: > Mark Wieder wrote: > > ...bartender says "we don't serve tachyons in here" > > > > A tachyon walks into a bar... > > That sounds like a UDP joke, but maybe you didn't get it. > -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Wed Jul 11 03:39:37 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 10:39:37 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <098901d418a4$8a96aa60$9fc3ff20$@net> Message-ID: <6bfe9044-cbd3-c5ac-315b-4c4e06cd021a@gmail.com> Frankly my morals are a bit "flexible" in the area of Hackintoshes, but my laziness tells me that I'd be far better to get my Linux box sorted out . . . as: 1. Although Macintoshes are "jolly pretty" and easy to use, I have, to be honest, got past the stage of playing with plastic ducks in the bathtub, and the rigidity of the Macintosh family of operating systems does get on my nerves. 2. For about $100 I can get a Linux system that "beats the cr*p" out of a Macintosh. 3. After the Hackintosh suggestion I spent 15 minutes looking at how to set up a Mac system on non-Mac hardware and I really wondered what would happen pumping diesel into my two-stroke moped. 4. The ONLY reason I reverted to Macintosh (1993-2005 Macs, 2005-2016 Linux, 2016-2018 Macs) was that I was able to lay my sweaty paws on some rather groovy Polycarbonate 2006 iMacs. These iMacs are super as far as they go. But with LiveCode 9 they don't go. ---------- There was a time when standalones for Macintosh pumped out of LiveCode running on Linux would not behave themselves on Macintosh: it would help me greatly if someone could let me know if that is still the case. Richmond. On 11/7/2018 3:42 am, Stephen Barncard via use-livecode wrote: > In the end Hacks require creation of a boot rom from unsupported sources. > Copyright? > it's also a bit of work. > > > > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Tue, Jul 10, 2018 at 4:20 PM, Douglas Ruisaard via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Ah... I feel your pain... Of course, a little bird has told me that the >> "HackIntosh" approach is WAY cheaper than original Apple hardware and >> "rumor" has it that such implementations run up to High Sierra perfectly on >> ridiculously inexpensive platforms. Naturally, these are all just vicious >> rumors meant to undermine Apple's sterling and well defended market share >> ... justifying costs beyond those of normal human budgets... so you never >> heard it from me! Apple rules! >> >> Douglas Ruisaard >> Trilogy Software >> (250) 573-3935 >> >>> Subject: Re: [Bug 19998] The non-appearance of Polygon graphics in LC >>> Message-ID: >>> Content-Type: text/plain; charset=windows-1252; format=flowed >>> >>> "elucidation" might be too posh a word for a few simple facts: >>> >>> 1. I use LiveCode, mainly, on a Macintosh computer that cannot be >> upgraded above 10.7.5 >>> 2. I have no money to buy a newer machine. >>> >>> Richmond. >>> >>> On 10/7/2018 10:06 pm, Douglas Ruisaard via use-livecode wrote: >>>> Sorry if I missed something.. but, Richmond (or anyone, for that >> matter), could you elucidate on the >>> specifics of which systems confine you to LC v8? Or at least which >> systems YOU employ which are not >>> compatible with LC v9... >>>> If there are such systems or a list of known incompatibilities >> regarding LC v9, other than those >>> listed in the release notes, I (and I suspect the community) would >> appreciate knowing about them and >>> have them encapsulated in one place. >>>> Are they OS issues or specific application restrictions? ... or >> reported bugs? >>>> Douglas Ruisaard >>>> Trilogy Software >>>> (250) 573-3935 >>>> >>>>> It would be LOVELY if there were to be a version 8.1.11 just to fix >>>>> this problem for those of us confined to systems that cannot work >> with LC 9. >>>>> Richmond. >>>>> >>>>> On 9/7/2018 9:05 pm, bugzilla-daemon at meg.on-rev.com wrote: >>>>>> Panos Merakos changed bug 19998 >>>>>> >>>>>> What Removed Added >>>>>> Status AWAITING_RELEASE RESOLVED >>>>>> Resolution --- FIXED >>>>>> >>>>>> *Comment # 5 >>>>>> on bug 19998 >>>>>> from Panos Merakos * Hi all, >>>>>> >>>>>> This bug is now fixed in LiveCode 9.0.1 RC-1: >>>>>> >>>>>> https://downloads.livecode.com/livecode/ >>>>>> >>>>>> Best, >>>>>> Panos >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Jul 11 03:41:03 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 10:41:03 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: <056ed3f6-578f-634d-d689-f871eb9a7826@gmail.com> There's 2 good bits of advice. Thanks. Richmond. On 11/7/2018 7:18 am, Richard Gaskin via use-livecode wrote: > Richmond wrote: > > > 1. I use LiveCode, mainly, on a Macintosh computer that cannot be > > upgraded above 10.7.5 > > > > 2. I have no money to buy a newer machine. > > FWIW I've found good deals on used Mac Minis on eBay. > > Beyond that, given Apple's OS strategy which render usable hardware > obsolete prematurely, if you want an OS that's safely maintained > apparently their guidance is to stop using macOS and upgrade to Linux. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Wed Jul 11 07:15:32 2018 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Wed, 11 Jul 2018 12:15:32 +0100 Subject: [ANN] Release 9.0.1 RC-1 Message-ID: <00b301d41908$7ca33310$75e99930$@FlexibleLearning.com> Mark Wieder wrote: > ...bartender says "we don't serve tachyons in here" > > A tachyon walks into a bar... I don't have time for tachyon jokes :) Hugh Senior FLCo From richmondmathewson at gmail.com Wed Jul 11 07:36:05 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 14:36:05 +0300 Subject: [ANN] Release 9.0.1 RC-1 In-Reply-To: <00b301d41908$7ca33310$75e99930$@FlexibleLearning.com> References: <00b301d41908$7ca33310$75e99930$@FlexibleLearning.com> Message-ID: <1bc70f13-90b5-740e-846c-7feb43f1756c@gmail.com> Oh, yeah? Next you'll be telling me that all your Quarks are charmed! Richmond. On 11/7/2018 2:15 pm, FlexibleLearning.com via use-livecode wrote: > Mark Wieder wrote: > > ...bartender says "we don't serve tachyons in here" > > > > A tachyon walks into a bar... > > I don't have time for tachyon jokes :) > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Jul 11 09:38:57 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 11 Jul 2018 09:38:57 -0400 Subject: Docker In-Reply-To: <35fb7bf3-0d65-e46a-df7a-f6ebd5ed4a23@fourthworld.com> References: <35fb7bf3-0d65-e46a-df7a-f6ebd5ed4a23@fourthworld.com> Message-ID: Way cool Mike....I hope you share your findings and experiments with us. On a similar wavelength..... I am preparing a demo on multi-core processing with LC for the september conference. Of course its not true multi-core processing ..... but hoping to get good speed-ups results on a variety of tasks. Like search, api calls & requests, and anything that can maximize cpu usage. i need it for my own work so its a great way of getting things done. On Wed, Jul 11, 2018 at 12:08 AM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > https://hub.docker.com/r/techstrategies/livecode/ > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Jul 11 10:36:34 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 14:36:34 +0000 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: Obsolete is a strong word. There are different levels. I had a friend who firmly held that Obsolete meant when something newer could replace a device. But it can be argued, and I take this position, that a computer device is obsolete when it no longer is capable of running current software. But a third level of Obsolecense can be concieved as when a device can no longer perform it's function for which it was obtained. Bob S > On Jul 10, 2018, at 21:18 , Richard Gaskin via use-livecode wrote: > > Beyond that, given Apple's OS strategy which render usable hardware obsolete prematurely, if you want an OS that's safely maintained apparently their guidance is to stop using macOS and upgrade to Linux. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From bobsneidar at iotecdigital.com Wed Jul 11 10:38:51 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 14:38:51 +0000 Subject: Docker In-Reply-To: References: Message-ID: <78D717D1-80B2-45B3-AD3F-319F4FBA280C@iotecdigital.com> You may want to reserve a couple cores for the OS. Bob S > On Jul 10, 2018, at 14:40 , Mike Bonner via use-livecode wrote: > > Mostly i'm looking to learn how things work, but the end goal is to a) have > a front lc based controller (httpd) that can hand off jobs to a pool of > docker "processors," and getting a handle on how to dynamically spin up > more instances based on demand. (kubernetes?) I don't know enough yet to > use the right words. I could do all this exploration without lc, but it is > so much easier to put together whatever processors I want in lc, so that I > can spend most of my (limited) energy focusing on the docker side. > > One thing I may try to set up.. I have an old HP z800, with 24 possible > threads, and I also have most of the (english) files from project > gutenberg. I'd like to process and index all those files into a searchable > database, using 24 docker images at once, each assigned to a core. IE take > advantage of my knowledge of LC, while at the same time, bypassing its > single thread limitations. From bobsneidar at iotecdigital.com Wed Jul 11 10:52:02 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 14:52:02 +0000 Subject: Docker In-Reply-To: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> Message-ID: <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> Cute. Sounds like sandboxing for clone processes. Bob S > On Jul 10, 2018, at 16:42 , Mark Wieder via use-livecode wrote: > > Kubernetes for sure. > This should get you started: > > https://deis.com/blog/2016/kubernetes-illustrated-guide/ From richmondmathewson at gmail.com Wed Jul 11 10:59:42 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 17:59:42 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: Here are some rude words and phrases that come pretty high on my sh*t list with reasons why: 1. EOL. I use Bryce 7 for producing 3D models even thought it was "EOL" 10 years ago (and ( was able to buy it for $10). I use LiveCode 7.1.4 on a regular basis as its interface is a lot less cluttered than the subsequent versions of LiveCode; and I like coloured icons. 2. Obsolete. 2.1. Currently composing electronic music on a BBC Model B from 1981 and saving the programs onto a cassette recorder. 2.2. Running Hypercard and other PPC-only software on a G5 polycarbonate iMac. 2.3. Always check my Maths on a British Thornton Sliderule that Mum and Dad gave me for my 13th birthday in 1975. 2.4. Have an iSight WebCam connected via the Firewire port on my 2006 Intel polycarbonate imac as it is a lot more flexible than the rather silly built-in camera on the front of the iMac. 2.5. Use Belkin Nostromo 50 and 52 gamepads as controller devices when programming with LiveCode. 2.6. My EFL school uses a whole host of "obsolete" PCs to deliver content reinforcement software I have written with LiveCode via various versions of Xubuntu: the youngest machine is about 12 years old. 2.7. Use a pair of polycarbonate iMacs (2006) in my school to allow children to have fun remotely programming various floor robots via Bluetooth. 2.8. Use a polycarbonate iMac (2006) (as does my wife) with a second monitor as my "main man" for almost everything. 2.9. I use a hand-drill my great-aunt gave my grandfather as a present when he came back to Glasgow after the first World War for all those needs for which a power drill is just a pain-in-the-bum and too much bother. 2.10. I brush my hair every morning with a pair of hairbrushes my great-grandfather gave my grandfather on his 14th birthday (1911). 2.11. My raincoat was something my Uncle picked up when he worked for Aquascutum in 1972. 2.12. I cut my bread with a knife made from part of the front wheel cover of a 1932 Fordson tractor made for me as a present by a farmer in Orkney in 1983. 3. Upgrade. I am sure that about 90% of this is commercial push. 4. Update. quod erat demonstrandum 4.1. Some pillock tried to tell me that Latin was obsolete the other day . . . As far as I can see the ONLY reason to get hold of something new is if that new thing will allow you to a vast number of things that the thing it is set to replace is unable to do. Richmond. On 11/7/2018 5:36 pm, Bob Sneidar via use-livecode wrote: > Obsolete is a strong word. There are different levels. I had a friend who firmly held that Obsolete meant when something newer could replace a device. But it can be argued, and I take this position, that a computer device is obsolete when it no longer is capable of running current software. But a third level of Obsolecense can be concieved as when a device can no longer perform it's function for which it was obtained. > > Bob S > > >> On Jul 10, 2018, at 21:18 , Richard Gaskin via use-livecode wrote: >> >> Beyond that, given Apple's OS strategy which render usable hardware obsolete prematurely, if you want an OS that's safely maintained apparently their guidance is to stop using macOS and upgrade to Linux. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jul 11 11:06:18 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 15:06:18 +0000 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: <055FC371-0BA0-4285-AE79-2C53C3E0ABED@iotecdigital.com> And may I point out that the Colt 1911 .45 caliber handgun made in that same year is far from obsolete. :-) Bob S > On Jul 11, 2018, at 07:59 , Richmond Mathewson via use-livecode wrote: > > 2.10. I brush my hair every morning with a pair of hairbrushes my great-grandfather gave my grandfather on his 14th birthday (1911). From brahma at hindu.org Wed Jul 11 11:08:11 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 11 Jul 2018 15:08:11 +0000 Subject: 9.0.1 "Become An Android Developer" Message-ID: ["not a Livecode issue" -- I still think that a lesson on this in needed, and that it be maintained for each change required for us to develop on Android, and be detailed as much as possible} OK, I tried by my best, 1) /Users/brahmanathaswami/OneDrive/App-Development/android-sdk-macosx/tools/android 2) Clicked --> a whole lot of options appear. I don't know I am doing, so it is a fishing expedition... 3) I chose Android 8.0.0 (API 26); check the SDK Platform, uncheck the rest (TV, Wear, Pac, Google API, and Source for Android SDK) 4) install packages....(takes some time) 5) go to 9.0.1 rc1 preferences 6) install Android: recognized: jdk1.8.0_171.jdk 7) IDE Test: Yep... I see my device. 8) build for android.... it hangs on installing to device. 9) I have reboot Livecode 10) go to terminal... Brahmanathaswamis-MacBook-Pro:platform-tools brahmanathaswami$ ./adb devices List of devices attached FA6990304414 connecting What am I missing? BR J. Landman Android devs should note that you need to have SDK 8 or higher installed (the informative notification dialog was a big help here.) I installed 7, 8, and 8.1 and LC then allowed me to re-select the SDK in preferences, the phone showed up in the Target menu, and I could do a test build. From richmondmathewson at gmail.com Wed Jul 11 11:11:08 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 18:11:08 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <055FC371-0BA0-4285-AE79-2C53C3E0ABED@iotecdigital.com> References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> <055FC371-0BA0-4285-AE79-2C53C3E0ABED@iotecdigital.com> Message-ID: Just don't shoot me until after I've brushed my hair (and changed my underpants). [and before the comments roll: I buy new underpants about twice a year: no 1911 long-johns for me.] Richmond. On 11/7/2018 6:06 pm, Bob Sneidar via use-livecode wrote: > And may I point out that the Colt 1911 .45 caliber handgun made in that same year is far from obsolete. :-) > > Bob S > > >> On Jul 11, 2018, at 07:59 , Richmond Mathewson via use-livecode wrote: >> >> 2.10. I brush my hair every morning with a pair of hairbrushes my great-grandfather gave my grandfather on his 14th birthday (1911). > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jul 11 11:27:17 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 11 Jul 2018 15:27:17 +0000 Subject: 9.0.1 "Become An Android Developer" In-Reply-To: References: Message-ID: <2050719D-BCF2-47BA-858E-23A5C3315145@hindu.org> Well, I rebooted the photo. That fixed it... seems it need to see the newly installed SDK. Brahmanathaswami ?On 7/11/18, 5:11 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: ["not a Livecode issue" -- I still think that a lesson on this in needed, and that it be maintained for each change required for us to develop on Android, and be detailed as much as possible} OK, I tried by my best, 1) /Users/brahmanathaswami/OneDrive/App-Development/android-sdk-macosx/tools/android 2) Clicked --> a whole lot of options appear. I don't know I am doing, so it is a fishing expedition... 3) I chose Android 8.0.0 (API 26); check the SDK Platform, uncheck the rest (TV, Wear, Pac, Google API, and Source for Android SDK) 4) install packages....(takes some time) 5) go to 9.0.1 rc1 preferences 6) install Android: recognized: jdk1.8.0_171.jdk 7) IDE Test: Yep... I see my device. 8) build for android.... it hangs on installing to device. 9) I have reboot Livecode 10) go to terminal... Brahmanathaswamis-MacBook-Pro:platform-tools brahmanathaswami$ ./adb devices List of devices attached FA6990304414 connecting What am I missing? BR From prothero at earthlearningsolutions.org Wed Jul 11 11:37:55 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 11 Jul 2018 08:37:55 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: <9D621311-4E9D-473B-A988-5997564827B7@earthlearningsolutions.org> Richmond, Just wondering how you have time to do all that you do! I?m awed! Bill William Prothero http://earthlearningsolutions.org > On Jul 11, 2018, at 7:59 AM, Richmond Mathewson via use-livecode wrote: > > Here are some rude words and phrases that come pretty high on my sh*t list with reasons why: > > 1. EOL. I use Bryce 7 for producing 3D models even thought it was "EOL" 10 years ago (and ( was able to buy it for $10). > I use LiveCode 7.1.4 on a regular basis as its interface is a lot less cluttered than the subsequent versions of LiveCode; > and I like coloured icons. > > 2. Obsolete. > > 2.1. Currently composing electronic music on a BBC Model B from 1981 and saving the programs onto a cassette recorder. > 2.2. Running Hypercard and other PPC-only software on a G5 polycarbonate iMac. > 2.3. Always check my Maths on a British Thornton Sliderule that Mum and Dad gave me for my 13th birthday in 1975. > 2.4. Have an iSight WebCam connected via the Firewire port on my 2006 Intel polycarbonate imac as it is a lot more > flexible than the rather silly built-in camera on the front of the iMac. > 2.5. Use Belkin Nostromo 50 and 52 gamepads as controller devices when programming with LiveCode. > 2.6. My EFL school uses a whole host of "obsolete" PCs to deliver content reinforcement software I have written with LiveCode > via various versions of Xubuntu: the youngest machine is about 12 years old. > 2.7. Use a pair of polycarbonate iMacs (2006) in my school to allow children to have fun remotely programming various floor robots > via Bluetooth. > 2.8. Use a polycarbonate iMac (2006) (as does my wife) with a second monitor as my "main man" for almost everything. > > 2.9. I use a hand-drill my great-aunt gave my grandfather as a present when he came back to Glasgow after the first World War > for all those needs for which a power drill is just a pain-in-the-bum and too much bother. > > 2.10. I brush my hair every morning with a pair of hairbrushes my great-grandfather gave my grandfather on his 14th birthday (1911). > > 2.11. My raincoat was something my Uncle picked up when he worked for Aquascutum in 1972. > > 2.12. I cut my bread with a knife made from part of the front wheel cover of a 1932 Fordson tractor made for > me as a present by a farmer in Orkney in 1983. > > 3. Upgrade. > > I am sure that about 90% of this is commercial push. > > 4. Update. > > quod erat demonstrandum > > 4.1. Some pillock tried to tell me that Latin was obsolete the other day . . . > > As far as I can see the ONLY reason to get hold of something new is if that new thing will allow you to a vast number of things > that the thing it is set to replace is unable to do. > > Richmond. > >> On 11/7/2018 5:36 pm, Bob Sneidar via use-livecode wrote: >> Obsolete is a strong word. There are different levels. I had a friend who firmly held that Obsolete meant when something newer could replace a device. But it can be argued, and I take this position, that a computer device is obsolete when it no longer is capable of running current software. But a third level of Obsolecense can be concieved as when a device can no longer perform it's function for which it was obtained. >> >> Bob S >> >> >>> On Jul 10, 2018, at 21:18 , Richard Gaskin via use-livecode wrote: >>> >>> Beyond that, given Apple's OS strategy which render usable hardware obsolete prematurely, if you want an OS that's safely maintained apparently their guidance is to stop using macOS and upgrade to Linux. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Wed Jul 11 12:10:14 2018 From: stephen at barncard.com (Stephen Barncard) Date: Wed, 11 Jul 2018 09:10:14 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> Message-ID: If it ain't broke, don't fix it. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Jul 11, 2018 at 7:59 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Here are some rude words and phrases that come pretty high on my sh*t list > with reasons why: > > 1. EOL. I use Bryce 7 for producing 3D models even thought it was "EOL" > 10 years ago (and ( was able to buy it for $10). > I use LiveCode 7.1.4 on a regular basis as its interface is > a lot less cluttered than the subsequent versions of LiveCode; > and I like coloured icons. > > 2. Obsolete. > > 2.1. Currently composing electronic music on a BBC Model B from 1981 and > saving the programs onto a cassette recorder. > 2.2. Running Hypercard and other PPC-only software on a G5 polycarbonate > iMac. > 2.3. Always check my Maths on a British Thornton Sliderule that Mum and > Dad gave me for my 13th birthday in 1975. > 2.4. Have an iSight WebCam connected via the Firewire port on my 2006 > Intel polycarbonate imac as it is a lot more > flexible than the rather silly built-in camera on the front of > the iMac. > 2.5. Use Belkin Nostromo 50 and 52 gamepads as controller devices when > programming with LiveCode. > 2.6. My EFL school uses a whole host of "obsolete" PCs to deliver content > reinforcement software I have written with LiveCode > via various versions of Xubuntu: the youngest machine is about 12 > years old. > 2.7. Use a pair of polycarbonate iMacs (2006) in my school to allow > children to have fun remotely programming various floor robots > via Bluetooth. > 2.8. Use a polycarbonate iMac (2006) (as does my wife) with a second > monitor as my "main man" for almost everything. > > 2.9. I use a hand-drill my great-aunt gave my grandfather as a present > when he came back to Glasgow after the first World War > for all those needs for which a power drill is just a pain-in-the-bum and > too much bother. > > 2.10. I brush my hair every morning with a pair of hairbrushes my > great-grandfather gave my grandfather on his 14th birthday (1911). > > 2.11. My raincoat was something my Uncle picked up when he worked for > Aquascutum in 1972. > > 2.12. I cut my bread with a knife made from part of the front wheel cover > of a 1932 Fordson tractor made for > me as a present by a farmer in Orkney in 1983. > > 3. Upgrade. > > I am sure that about 90% of this is commercial push. > > 4. Update. > > quod erat demonstrandum > > 4.1. Some pillock tried to tell me that Latin was obsolete the other day . > . . > > As far as I can see the ONLY reason to get hold of something new is if > that new thing will allow you to a vast number of things > that the thing it is set to replace is unable to do. > > Richmond. > > > On 11/7/2018 5:36 pm, Bob Sneidar via use-livecode wrote: > >> Obsolete is a strong word. There are different levels. I had a friend who >> firmly held that Obsolete meant when something newer could replace a >> device. But it can be argued, and I take this position, that a computer >> device is obsolete when it no longer is capable of running current >> software. But a third level of Obsolecense can be concieved as when a >> device can no longer perform it's function for which it was obtained. >> >> Bob S >> >> >> On Jul 10, 2018, at 21:18 , Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Beyond that, given Apple's OS strategy which render usable hardware >>> obsolete prematurely, if you want an OS that's safely maintained apparently >>> their guidance is to stop using macOS and upgrade to Linux. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Wed Jul 11 12:19:42 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 11 Jul 2018 12:19:42 -0400 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <055FC371-0BA0-4285-AE79-2C53C3E0ABED@iotecdigital.com> References: <098901d418a4$8a96aa60$9fc3ff20$@net> <26ff2a93-21b3-8997-791a-4c384d05eb82@fourthworld.com> <055FC371-0BA0-4285-AE79-2C53C3E0ABED@iotecdigital.com> Message-ID: <003701d41932$fc68c1d0$f53a4570$@net> The 1911 is newer than that... It was first manufactured in 1912. All kidding aside it is as fine a piece of machinery now as it was then. I run a raid array served up by OpenVMS via SMB. The server has not been re-booted in a year. No wait I'm wrong not quite a year==> "OpenVMS V7.3-2 on node EISVM1 11-JUL-2018 11:55:06.83 Uptime 254 06:27:50". As the virus Nazi says "No crypto locker for you OpenVMS". I waste 2 hours that I never get back every 2 weeks to re-boot my Win 10 host, VMs and Mac to keep everything running fast. It seems that VMS and non-Mac Linux are by far more stable and don't need re-boots nearly as often. I like new tech but I don't dismiss old tech out-of-hand. I would feel much safer if the FAA airport control towers were still running DOS, Win 3.1 or preferably some custom OS on custom HW served up by IBM mainframes using leased private com lines rather than any Windows system connected to the internet. There's a good idea, connect airport control towers to the internet, can't see anything going wrong there. The landfills are filled with millions of Pentium PCs that could be running tons of useful apps. But no, the world went to bloated OSs(started with XP SP3) that obsoleted the HW and not only created another environmental disaster in the landfills(euphemism for un-regulated garbage dump) but also all the energy needed to manufacture and deliver new PCs. Sometimes old-school is new-school Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Wednesday, July 11, 2018 11:06 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: [Bug 19998] The non-appearance of Polygon graphics in LC And may I point out that the Colt 1911 .45 caliber handgun made in that same year is far from obsolete. :-) Bob S > On Jul 11, 2018, at 07:59 , Richmond Mathewson via use-livecode wrote: > > 2.10. I brush my hair every morning with a pair of hairbrushes my great-grandfather gave my grandfather on his 14th birthday (1911). _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Jul 11 12:24:10 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 Jul 2018 10:24:10 -0600 Subject: Docker In-Reply-To: <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> Message-ID: If I make any real progress, I'll definitely write things down. Honestly, not sure how far I'll get, seems that every time I feel good enough to resume working on projects, the bad health truck parks on my face again. *grins from underneath a wheel* Wow what a morning I've been having. Sorry for the whine. On Wed, Jul 11, 2018 at 8:52 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Cute. Sounds like sandboxing for clone processes. > > Bob S > > > > On Jul 10, 2018, at 16:42 , Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Kubernetes for sure. > > This should get you started: > > > > https://deis.com/blog/2016/kubernetes-illustrated-guide/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Wed Jul 11 13:33:01 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 11 Jul 2018 13:33:01 -0400 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> Message-ID: I understand Mike .... wish you all the best in health and happiness.... and success with LC second. Maybe there are things you can do .... invite new ideas ... to try to help. I study metaphysics and I've seen some very unexpected connections between our physical health and the thoughts we believe in .... I have had personal experience with that. Big subject, not the right place. email me if you are curious. On Wed, Jul 11, 2018 at 12:24 PM, Mike Bonner via use-livecode < use-livecode at lists.runrev.com> wrote: > If I make any real progress, I'll definitely write things down. > > Honestly, not sure how far I'll get, seems that every time I feel good > enough to resume working on projects, the bad health truck parks on my face > again. *grins from underneath a wheel* Wow what a morning I've been having. > > Sorry for the whine. > > On Wed, Jul 11, 2018 at 8:52 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Cute. Sounds like sandboxing for clone processes. > > > > Bob S > > > > > > > On Jul 10, 2018, at 16:42 , Mark Wieder via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Kubernetes for sure. > > > This should get you started: > > > > > > https://deis.com/blog/2016/kubernetes-illustrated-guide/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jul 11 14:30:14 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Jul 2018 13:30:14 -0500 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> Message-ID: <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> On 7/11/18 12:33 PM, Mike Bonner via use-livecode wrote: > Sorry for the whine. You've been here long enough that you're entitled to a whine. I believe there's a participation quotient for those. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 11 14:32:07 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Jul 2018 13:32:07 -0500 Subject: 9.0.1 "Become An Android Developer" In-Reply-To: <2050719D-BCF2-47BA-858E-23A5C3315145@hindu.org> References: <2050719D-BCF2-47BA-858E-23A5C3315145@hindu.org> Message-ID: <4c1860b2-680c-7b00-746b-f1551e6840d4@hyperactivesw.com> I can't remember exactly now, but I think I restarted LC. I probably also reset the adb server in Terminal. In any case, the key seems to be forcing LC to forget the phone and then re-connect. On 7/11/18 10:27 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > Well, I rebooted the photo. That fixed it... seems it need to see the newly installed SDK. > > Brahmanathaswami > > > ?On 7/11/18, 5:11 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: > > ["not a Livecode issue" -- I still think that a lesson on this in needed, and that it be maintained for each change required for us to develop on Android, and be detailed as much as possible} > > OK, I tried by my best, > > 1) /Users/brahmanathaswami/OneDrive/App-Development/android-sdk-macosx/tools/android > 2) Clicked --> a whole lot of options appear. I don't know I am doing, so it is a fishing expedition... > 3) I chose Android 8.0.0 (API 26); check the SDK Platform, uncheck the rest (TV, Wear, Pac, Google API, and Source for Android SDK) > 4) install packages....(takes some time) > 5) go to 9.0.1 rc1 preferences > 6) install Android: recognized: jdk1.8.0_171.jdk > 7) IDE Test: Yep... I see my device. > 8) build for android.... it hangs on installing to device. > 9) I have reboot Livecode > 10) go to terminal... > Brahmanathaswamis-MacBook-Pro:platform-tools brahmanathaswami$ ./adb devices > List of devices attached > FA6990304414 connecting > > What am I missing? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Wed Jul 11 14:39:16 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 Jul 2018 12:39:16 -0600 Subject: Docker In-Reply-To: <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> Message-ID: Someone needs to make a list.. How soon can one start to whine, or obfuscate, or speak of cheese. But I'm not sure how it would apply to those who are temporally advantaged with access to the lost sock quark gate. On Wed, Jul 11, 2018 at 12:30 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/11/18 12:33 PM, Mike Bonner via use-livecode wrote: > > Sorry for the whine. > > You've been here long enough that you're entitled to a whine. I believe > there's a participation quotient for those. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jul 11 15:52:45 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Jul 2018 14:52:45 -0500 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> Message-ID: <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> I'm not sure about the rest of it, but the temporally advantaged are not eligible unless they actually find and deliver a lost sock. Unfortunately that's a catch-22 because the list does not accept enclosures, which is something I'd whine about if I had the chance. On 7/11/18 1:39 PM, Mike Bonner via use-livecode wrote: > Someone needs to make a list.. How soon can one start to whine, or > obfuscate, or speak of cheese. But I'm not sure how it would apply to > those who are temporally advantaged with access to the lost sock quark > gate. > > On Wed, Jul 11, 2018 at 12:30 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 7/11/18 12:33 PM, Mike Bonner via use-livecode wrote: >>> Sorry for the whine. >> >> You've been here long enough that you're entitled to a whine. I believe >> there's a participation quotient for those. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Wed Jul 11 16:16:19 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 Jul 2018 14:16:19 -0600 Subject: Docker In-Reply-To: <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> Message-ID: Sounds like there is a need for a new Dropsock service so that socks can be posted and shared freely. Or perhaps a bitSock system where those who are advantaged can solve sock chain transactions, but it would require everyone to set up a digital hamper to store any earned sock currency. Next thing we know, people will be daisy chaining dryer elements to increase their sockchain computing power, pricing the rest of us out of the market. Wet sock wearing will be on the rise. On Wed, Jul 11, 2018 at 1:53 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm not sure about the rest of it, but the temporally advantaged are not > eligible unless they actually find and deliver a lost sock. > Unfortunately that's a catch-22 because the list does not accept > enclosures, which is something I'd whine about if I had the chance. > > On 7/11/18 1:39 PM, Mike Bonner via use-livecode wrote: > > Someone needs to make a list.. How soon can one start to whine, or > > obfuscate, or speak of cheese. But I'm not sure how it would apply to > > those who are temporally advantaged with access to the lost sock quark > > gate. > > > > On Wed, Jul 11, 2018 at 12:30 PM J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> On 7/11/18 12:33 PM, Mike Bonner via use-livecode wrote: > >>> Sorry for the whine. > >> > >> You've been here long enough that you're entitled to a whine. I believe > >> there's a participation quotient for those. > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Jul 11 16:43:29 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Jul 2018 13:43:29 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: Message-ID: <4ff80fc9-334f-d3da-6097-e2d99c55a5a1@fourthworld.com> Bob S wrote: >> On Jul 10, 2018, at 21:18 , Richard Gaskin wrote: >> >> Beyond that, given Apple's OS strategy which render usable >> hardware obsolete prematurely, if you want an OS that's >> safely maintained apparently their guidance is to stop >> using macOS and upgrade to Linux. > > Obsolete is a strong word. Yes, it is. When a computer's OS no longer receives critical patches for known exploits, it's no longer safe to use. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Wed Jul 11 16:48:37 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 23:48:37 +0300 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> Message-ID: I'd far rather make a list with a glass of wine in my hand rather than a mouthful of whines. Richmond. On 11/7/2018 9:39 pm, Mike Bonner via use-livecode wrote: > Someone needs to make a list.. How soon can one start to whine, or > obfuscate, or speak of cheese. But I'm not sure how it would apply to > those who are temporally advantaged with access to the lost sock quark > gate. > > On Wed, Jul 11, 2018 at 12:30 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 7/11/18 12:33 PM, Mike Bonner via use-livecode wrote: >>> Sorry for the whine. >> You've been here long enough that you're entitled to a whine. I believe >> there's a participation quotient for those. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Jul 11 16:50:05 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 11 Jul 2018 23:50:05 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <4ff80fc9-334f-d3da-6097-e2d99c55a5a1@fourthworld.com> References: <4ff80fc9-334f-d3da-6097-e2d99c55a5a1@fourthworld.com> Message-ID: "it's no longer safe to use" I wonder how many people actually believe that? Richmond. On 11/7/2018 11:43 pm, Richard Gaskin via use-livecode wrote: > Bob S wrote: > > >> On Jul 10, 2018, at 21:18 , Richard Gaskin wrote: > >> > >> Beyond that, given Apple's OS strategy which render usable > >> hardware obsolete prematurely, if you want an OS that's > >> safely maintained apparently their guidance is to stop > >> using macOS and upgrade to Linux. > > > > Obsolete is a strong word. > > Yes, it is. > > When a computer's OS no longer receives critical patches for known > exploits, it's no longer safe to use. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jul 11 17:08:54 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Jul 2018 14:08:54 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: Message-ID: Richmond Mathewson wrote: > "it's no longer safe to use" > > I wonder how many people actually believe that? Judging from cases we read about regularly, not enough. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Wed Jul 11 17:27:37 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 21:27:37 +0000 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> Message-ID: <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> That is a GREAT idea! Imagine a place where you can get money for all your one sock pairs! They send you a box, shipping is free, and then dwarves managed by troll overlords can match up as best they can all the socks they get! Bob S > On Jul 11, 2018, at 13:16 , Mike Bonner via use-livecode wrote: > > Sounds like there is a need for a new Dropsock service so that socks can be > posted and shared freely. Or perhaps a bitSock system where those who are > advantaged can solve sock chain transactions, but it would require everyone > to set up a digital hamper to store any earned sock currency. Next thing > we know, people will be daisy chaining dryer elements to increase their > sockchain computing power, pricing the rest of us out of the market. Wet > sock wearing will be on the rise. From tom at makeshyft.com Wed Jul 11 17:31:07 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 11 Jul 2018 17:31:07 -0400 Subject: Docker In-Reply-To: <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> Message-ID: The sock monster is real ....my family has been devastated by it for years. I don't find the subject particularly funny. On Wed, Jul 11, 2018 at 5:27 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > That is a GREAT idea! Imagine a place where you can get money for all your > one sock pairs! They send you a box, shipping is free, and then dwarves > managed by troll overlords can match up as best they can all the socks they > get! > > Bob S > > > > On Jul 11, 2018, at 13:16 , Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Sounds like there is a need for a new Dropsock service so that socks can > be > > posted and shared freely. Or perhaps a bitSock system where those who are > > advantaged can solve sock chain transactions, but it would require > everyone > > to set up a digital hamper to store any earned sock currency. Next > thing > > we know, people will be daisy chaining dryer elements to increase their > > sockchain computing power, pricing the rest of us out of the market. Wet > > sock wearing will be on the rise. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Jul 11 17:32:18 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 21:32:18 +0000 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <4ff80fc9-334f-d3da-6097-e2d99c55a5a1@fourthworld.com> References: <4ff80fc9-334f-d3da-6097-e2d99c55a5a1@fourthworld.com> Message-ID: <155FBF53-D819-4C58-9702-42CAE98D1112@iotecdigital.com> I think it depends on what you use it for. I have yet to see a MacOS "exploit" that didn't require the end user do something they ought not to do, and/or authenticate an action they didn't initiate. And by exploit, I mean access the OS via network protocol and bypass protections in place to prevent it without user action or intervention. Bob S > On Jul 11, 2018, at 13:43 , Richard Gaskin via use-livecode wrote: > > Bob S wrote: > > >> On Jul 10, 2018, at 21:18 , Richard Gaskin wrote: > >> > >> Beyond that, given Apple's OS strategy which render usable > >> hardware obsolete prematurely, if you want an OS that's > >> safely maintained apparently their guidance is to stop > >> using macOS and upgrade to Linux. > > > > Obsolete is a strong word. > > Yes, it is. > > When a computer's OS no longer receives critical patches for known exploits, it's no longer safe to use. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From ahsoftware at sonic.net Wed Jul 11 17:44:30 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 11 Jul 2018 14:44:30 -0700 Subject: Docker In-Reply-To: <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> Message-ID: On 07/11/2018 02:27 PM, Bob Sneidar via use-livecode wrote: > That is a GREAT idea! Imagine a place where you can get money for all your one sock pairs! They send you a box, shipping is free, and then dwarves managed by troll overlords can match up as best they can all the socks they get! Still to be solved, though, is the conundrum of a sockchain concensus mechanism, i.e., the Byzantine Generals problem. You wouldn't want to receive someone else's socks, or worse, a mixed pair. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Wed Jul 11 18:08:43 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 22:08:43 +0000 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> Message-ID: <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> OIC! Dwarves, being generally mischievous, and trolls color blind, I can see how you could run into some QC issues. Bob S > On Jul 11, 2018, at 14:44 , Mark Wieder via use-livecode wrote: > > On 07/11/2018 02:27 PM, Bob Sneidar via use-livecode wrote: >> That is a GREAT idea! Imagine a place where you can get money for all your one sock pairs! They send you a box, shipping is free, and then dwarves managed by troll overlords can match up as best they can all the socks they get! > > Still to be solved, though, is the conundrum of a sockchain concensus mechanism, i.e., the Byzantine Generals problem. You wouldn't want to receive someone else's socks, or worse, a mixed pair. > > -- > Mark Wieder > ahsoftware at gmail.com From prothero at earthlearningsolutions.org Wed Jul 11 18:15:12 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 11 Jul 2018 15:15:12 -0700 Subject: Docker In-Reply-To: <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> Message-ID: Sock-re-Bleu, this is an odd thread. William Prothero http://earthlearningsolutions.org > On Jul 11, 2018, at 3:08 PM, Bob Sneidar via use-livecode wrote: > > OIC! Dwarves, being generally mischievous, and trolls color blind, I can see how you could run into some QC issues. > > Bob S > > >> On Jul 11, 2018, at 14:44 , Mark Wieder via use-livecode wrote: >> >> On 07/11/2018 02:27 PM, Bob Sneidar via use-livecode wrote: >>> That is a GREAT idea! Imagine a place where you can get money for all your one sock pairs! They send you a box, shipping is free, and then dwarves managed by troll overlords can match up as best they can all the socks they get! >> >> Still to be solved, though, is the conundrum of a sockchain concensus mechanism, i.e., the Byzantine Generals problem. You wouldn't want to receive someone else's socks, or worse, a mixed pair. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jul 11 18:18:36 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Jul 2018 22:18:36 +0000 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> Message-ID: <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> I'm in a strange mood. I got into my car last Sunday and discovered two of my three radio programmable buttons had changed stations. I'm the only person who drives my car, and I always lock it wherever I go. I'm not sure I haven't entered some alternate universe or something. Bob S > On Jul 11, 2018, at 15:15 , prothero--- via use-livecode wrote: > > Sock-re-Bleu, this is an odd thread. > > William Prothero > http://earthlearningsolutions.org From jerry at jhjensen.com Wed Jul 11 19:16:06 2018 From: jerry at jhjensen.com (Jerry Jensen) Date: Wed, 11 Jul 2018 16:16:06 -0700 Subject: Docker In-Reply-To: <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: <9F3167FB-B2C9-41D9-80E9-43768C0B026A@jhjensen.com> Probably the same person who breaks into my car every night and turns the radio volume way up. .Jerry > On Jul 11, 2018, at 3:18 PM, Bob Sneidar via use-livecode wrote: > > I'm in a strange mood. I got into my car last Sunday and discovered two of my three radio programmable buttons had changed stations. I'm the only person who drives my car, and I always lock it wherever I go. I'm not sure I haven't entered some alternate universe or something. From irog at mac.com Wed Jul 11 19:27:13 2018 From: irog at mac.com (Roger Guay) Date: Wed, 11 Jul 2018 17:27:13 -0600 Subject: Docker In-Reply-To: <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: Uh oh. And, how old are you, Bob? > On Jul 11, 2018, at 4:18 PM, Bob Sneidar via use-livecode wrote: > > I'm in a strange mood. I got into my car last Sunday and discovered two of my three radio programmable buttons had changed stations. I'm the only person who drives my car, and I always lock it wherever I go. I'm not sure I haven't entered some alternate universe or something. > > Bob S > > >> On Jul 11, 2018, at 15:15 , prothero--- via use-livecode wrote: >> >> Sock-re-Bleu, this is an odd thread. >> >> William Prothero >> http://earthlearningsolutions.org > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 11 20:09:07 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 11 Jul 2018 17:09:07 -0700 Subject: Docker In-Reply-To: <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: On 07/11/2018 03:18 PM, Bob Sneidar via use-livecode wrote: > I'm in a strange mood. I got into my car last Sunday and discovered two of my three radio programmable buttons had changed stations. I'm the only person who drives my car, and I always lock it wherever I go. I'm not sure I haven't entered some alternate universe or something. That's easy. You got into someone else's unlocked car. They're gonna be annoyed if you change those presets. -- Mark Wieder ahsoftware at gmail.com From bonnmike at gmail.com Wed Jul 11 20:16:21 2018 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 Jul 2018 18:16:21 -0600 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: They'll be more annoyed that their car isn't where they left it. Of course if they understand sock science, maybe they'll go look for it in the dryer. On Wed, Jul 11, 2018 at 6:09 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 07/11/2018 03:18 PM, Bob Sneidar via use-livecode wrote: > > I'm in a strange mood. I got into my car last Sunday and discovered two > of my three radio programmable buttons had changed stations. I'm the only > person who drives my car, and I always lock it wherever I go. I'm not sure > I haven't entered some alternate universe or something. > > That's easy. You got into someone else's unlocked car. > They're gonna be annoyed if you change those presets. > > > From ambassador at fourthworld.com Wed Jul 11 20:54:51 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Jul 2018 17:54:51 -0700 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: <155FBF53-D819-4C58-9702-42CAE98D1112@iotecdigital.com> References: <155FBF53-D819-4C58-9702-42CAE98D1112@iotecdigital.com> Message-ID: Bob Sneidar wrote: > On Jul 11, 2018, at 13:43 , Richard Gaskin wrote: >> When a computer's OS no longer receives critical patches for known >> exploits, it's no longer safe to use. > > I think it depends on what you use it for. True. If you unplug the power and use it as a doorstop, it's completely safe. Anything else involves varying degrees of risk. :) Running outdated software is one of the leading reasons 80% of American businesses have experienced at least one form of hack or another. > I have yet to see a MacOS "exploit" that didn't require the end user > do something they ought not to do, and/or authenticate an action they > didn't initiate. And by exploit, I mean access the OS via network > protocol and bypass protections in place to prevent it without user > action or intervention. That's true of most OSes. But look deeper. They're rarer, but they exist. And even those that require user action, those actions may seem innocuous to many users who do not understand the implications, or can use exploits in other software to gain elevated privileges which can then be used with exploits requiring admin. The deeper you look, the murkier things get. Sometimes even authentication itself becomes vulnerable: Passwords are stored in the Mac's Keychain, which typically requires a master login password to access the vault. But Wardle has shown that the vulnerability allows an attacker to grab and steal every password in plain-text using an unsigned app downloaded from the internet, without needing that password. And we can't forget everyone's favorite, the Meltdown flaw in Intel chips like those in systems that run macOS 10.7: A partial list of vulnerabilities specific to macOS 10.7.5 is here: That list contains only OS vulnerabilities; other searches can turn up additional vulnerabilities against the versions of Safari, Apache, rsync, and other programs included in the system which have their own lengthy lists of known vulnerabilities. Combining vulnerabilities multiplies threats. Consider which of the 900+ CVEs against Safari may be used in combination with other exploits: Ultimately, security is a matter of subjective sense of comfort. The sort of person who goes into the shopping mall with they keys left in their car will probably feel right at home running an OS where the only system patches are being delivered by organized crime rings and hostile nation state actors. After all, not every car with the keys left in it gets stolen, so why not? ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Wed Jul 11 20:56:43 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 11 Jul 2018 17:56:43 -0700 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: On 07/11/2018 05:16 PM, Mike Bonner via use-livecode wrote: > They'll be more annoyed that their car isn't where they left it. Of course > if they understand sock science, maybe they'll go look for it in the dryer. Shouldn't be a problem. They can just take Bob's car and wonder why the presets got changed. -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Wed Jul 11 23:22:09 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 11 Jul 2018 23:22:09 -0400 Subject: Must have flexible row height for Datagrid Table In-Reply-To: References: <53FC4350-88AC-4C92-BF91-00AFAF16DD38@all-auctions.com> Message-ID: Update on this ...... I'm coming to realize that dg isn't going to cut it for my needs in applications where performance matters. Datagrid is built using custom properties. which are way way way slower than accessing variables i haven't tested in a while but last i did it was orrders of magnitude slower. that is its major bottleneck, and i think i have to move away from moving the LC grid for my needs. So i think i need to make my own grid solution that covers both different sized rows, better performance, and no without all the duplication of data.. On Tue, Jun 19, 2018 at 5:16 PM, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6/19/2018 4:52 PM, Rick Harrison via use-livecode wrote: > > Hi Tom, > > > > I haven?t done much of anything with the datagrid, but I am > > wondering what happens if one of the cells in your row > > has an image in it? Will the row resize to be able to show > > the minimum height of the image? If so, that might be > > a work around for you. > > > Unfortunately, the Datagrid row height in "Table" mode does not resize > with contents whether a cell contains an Image, text, or whatever. Rows > are all of equal height in pixels that can be set by the developer. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Wed Jul 11 23:38:47 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 11 Jul 2018 22:38:47 -0500 Subject: Must have flexible row height for Datagrid Table In-Reply-To: References: <53FC4350-88AC-4C92-BF91-00AFAF16DD38@all-auctions.com> Message-ID: <8e9c5ab4-aef7-4dd7-950b-23ad063ad07c@Spark> Wondering if a widget would work for this. The tree widget doesn?t to a great job with extremely large data sets though. Thanks, Brian On Jul 11, 2018, 10:22 PM -0500, Tom Glod via use-livecode , wrote: > Update on this ...... I'm coming to realize that dg isn't going to cut it > for my needs in applications where performance matters. Datagrid is built > using custom properties. which are way way way slower than accessing > variables i haven't tested in a while but last i did it was orrders of > magnitude slower. that is its major bottleneck, and i think i have to move > away from moving the LC grid for my needs. > > So i think i need to make my own grid solution that covers both different > sized rows, better performance, and no without all the duplication of data.. > > > > On Tue, Jun 19, 2018 at 5:16 PM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On 6/19/2018 4:52 PM, Rick Harrison via use-livecode wrote: > > > Hi Tom, > > > > > > I haven?t done much of anything with the datagrid, but I am > > > wondering what happens if one of the cells in your row > > > has an image in it? Will the row resize to be able to show > > > the minimum height of the image? If so, that might be > > > a work around for you. > > > > > Unfortunately, the Datagrid row height in "Table" mode does not resize > > with contents whether a cell contains an Image, text, or whatever. Rows > > are all of equal height in pixels that can be set by the developer. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jul 12 00:14:40 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Jul 2018 21:14:40 -0700 Subject: Must have flexible row height for Datagrid Table In-Reply-To: References: Message-ID: <8ee13c0b-4baf-1dac-909b-60c9349371b0@fourthworld.com> Tom Glod wrote: > Update on this ...... I'm coming to realize that dg isn't going to > cut it for my needs in applications where performance matters. > Datagrid is built using custom properties. which are way way way > slower than accessing variables i haven't tested in a while but last > i did it was orrders of magnitude slower. I would be interested in seeing those tests. Vars are much faster than fields, and still faster than custom props but much less so. I would imagine the bigger bottleneck is with rendering so many nested groups of objects. All that said, if you know your total size will not exceed 32k px it's easy enough to use one group populated with row groups copied in as needed. But if you need to go beyond 32k px you'll find the geometry becomes unpredictable with the integer limit. For that you'd need to replicate Trevor's hard work in virtualizing what's on screen vs what's in memory, and handling the scrollbar via script rather than letting the engine handle it. With all that work it may be simple to fork the existing DG if needed. But either is a bit of work, so I would think time spent isolating the true bottleneck first would be time well spent. Please let us know what you find. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brian at milby7.com Thu Jul 12 01:00:50 2018 From: brian at milby7.com (Brian Milby) Date: Thu, 12 Jul 2018 00:00:50 -0500 Subject: Must have flexible row height for Datagrid Table In-Reply-To: <8ee13c0b-4baf-1dac-909b-60c9349371b0@fourthworld.com> References: <8ee13c0b-4baf-1dac-909b-60c9349371b0@fourthworld.com> Message-ID: And don't forget that the last piece of the AR improvement hasn't landed yet which will also improve DG performance. On Wed, Jul 11, 2018 at 11:14 PM, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Update on this ...... I'm coming to realize that dg isn't going to > > cut it for my needs in applications where performance matters. > > Datagrid is built using custom properties. which are way way way > > slower than accessing variables i haven't tested in a while but last > > i did it was orrders of magnitude slower. > > I would be interested in seeing those tests. Vars are much faster than > fields, and still faster than custom props but much less so. > > I would imagine the bigger bottleneck is with rendering so many nested > groups of objects. > > All that said, if you know your total size will not exceed 32k px it's > easy enough to use one group populated with row groups copied in as needed. > > But if you need to go beyond 32k px you'll find the geometry becomes > unpredictable with the integer limit. For that you'd need to replicate > Trevor's hard work in virtualizing what's on screen vs what's in memory, > and handling the scrollbar via script rather than letting the engine handle > it. With all that work it may be simple to fork the existing DG if needed. > > But either is a bit of work, so I would think time spent isolating the > true bottleneck first would be time well spent. > > Please let us know what you find. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Jul 12 01:32:13 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 12 Jul 2018 08:32:13 +0300 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <155FBF53-D819-4C58-9702-42CAE98D1112@iotecdigital.com> Message-ID: Well, aren't I glad I don't run an American business. 8-) I just run an EFL school that is not dependent on computers connected to the interweb and do funny things with Sanskrit. Richmond. On 12/7/2018 3:54 am, Richard Gaskin via use-livecode wrote: > Bob Sneidar wrote: > > > On Jul 11, 2018, at 13:43 , Richard Gaskin wrote: > >> When a computer's OS no longer receives critical patches for known > >> exploits, it's no longer safe to use. > > > > I think it depends on what you use it for. > > True. If you unplug the power and use it as a doorstop, it's > completely safe. Anything else involves varying degrees of risk. :) > > Running outdated software is one of the leading reasons 80% of > American businesses have experienced at least one form of hack or > another. > > > > I have yet to see a MacOS "exploit" that didn't require the end user > > do something they ought not to do, and/or authenticate an action they > > didn't initiate. And by exploit, I mean access the OS via network > > protocol and bypass protections in place to prevent it without user > > action or intervention. > > That's true of most OSes. But look deeper. They're rarer, but they > exist. > > And even those that require user action, those actions may seem > innocuous to many users who do not understand the implications, or can > use exploits in other software to gain elevated privileges which can > then be used with exploits requiring admin. > > The deeper you look, the murkier things get. > > Sometimes even authentication itself becomes vulnerable: > > Passwords are stored in the Mac's Keychain, which typically > requires a master login password to access the vault. > > But Wardle has shown that the vulnerability allows an attacker > to grab and steal every password in plain-text using an unsigned > app downloaded from the internet, without needing that password. > > > > And we can't forget everyone's favorite, the Meltdown flaw in Intel > chips like those in systems that run macOS 10.7: > > > > A partial list of vulnerabilities specific to macOS 10.7.5 is here: > > > > That list contains only OS vulnerabilities; other searches can turn up > additional vulnerabilities against the versions of Safari, Apache, > rsync, and other programs included in the system which have their own > lengthy lists of known vulnerabilities. Combining vulnerabilities > multiplies threats. > > Consider which of the 900+ CVEs against Safari may be used in > combination with other exploits: > > > > > Ultimately, security is a matter of subjective sense of comfort. The > sort of person who goes into the shopping mall with they keys left in > their car will probably feel right at home running an OS where the > only system patches are being delivered by organized crime rings and > hostile nation state actors. > > After all, not every car with the keys left in it gets stolen, so why > not? ;) > From paul at researchware.com Thu Jul 12 07:42:23 2018 From: paul at researchware.com (Paul Dupuis) Date: Thu, 12 Jul 2018 07:42:23 -0400 Subject: Must have flexible row height for Datagrid Table In-Reply-To: References: <53FC4350-88AC-4C92-BF91-00AFAF16DD38@all-auctions.com> Message-ID: <8833799f-ee59-813e-c5e5-4734bae2431b@researchware.com> Thanks for looking into the matter. We currently use a control to allow the user to adjust the DataGrid row height (which of course changes all rows heights). While inelegant, it does let the user expand the view of a row where one or more cells have a lot of content. Variable row height would have been a more elegant addition. Perhaps LC will add it to the DataGrid for "DataGrid 3" some day. On 7/11/2018 11:22 PM, Tom Glod via use-livecode wrote: > Update on this ...... I'm coming to realize that dg isn't going to cut it > for my needs in applications where performance matters. Datagrid is built > using custom properties. which are way way way slower than accessing > variables i haven't tested in a while but last i did it was orrders of > magnitude slower. that is its major bottleneck, and i think i have to move > away from moving the LC grid for my needs. > > So i think i need to make my own grid solution that covers both different > sized rows, better performance, and no without all the duplication of data.. > > > > On Tue, Jun 19, 2018 at 5:16 PM, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 6/19/2018 4:52 PM, Rick Harrison via use-livecode wrote: >>> Hi Tom, >>> >>> I haven?t done much of anything with the datagrid, but I am >>> wondering what happens if one of the cells in your row >>> has an image in it? Will the row resize to be able to show >>> the minimum height of the image? If so, that might be >>> a work around for you. >>> >> Unfortunately, the Datagrid row height in "Table" mode does not resize >> with contents whether a cell contains an Image, text, or whatever. Rows >> are all of equal height in pixels that can be set by the developer. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Jul 12 09:24:42 2018 From: tom at makeshyft.com (Tom Glod) Date: Thu, 12 Jul 2018 09:24:42 -0400 Subject: Must have flexible row height for Datagrid Table In-Reply-To: <8833799f-ee59-813e-c5e5-4734bae2431b@researchware.com> References: <53FC4350-88AC-4C92-BF91-00AFAF16DD38@all-auctions.com> <8833799f-ee59-813e-c5e5-4734bae2431b@researchware.com> Message-ID: Hi folks, thanks for all your input. Just to be clear, I am not re-creating a whole datagrid solution. .... Trevors DG solution is so awesome and flexible and works really great for so many things ... but its awesomeness came at a cost. For me I have very few things to think about .... the biggest challenge will be the handler to handle off-screen drawing and scrolling...but I have some good ideas there I hope. I have particular advantages in my case 1, the upcoming the AR Rendering improvements for nested groups 2. not using custom properties 3. no copying of data .... all read directly from variables 4. 3 or 4 columns per row max 5. < 8 - 10 controls max per row (only 1 or 2 text) 6. The dg sends a lot of messages and sets and gets a lot of properties in order to be a general solution with all of its awesome features. No need for that here.. 7.it does not have to be a general solution applicable to other things. just the content types present in my application. It will work for other things and other developers, but I don't have to build features for them to be able to adapt it. Cheers On Thu, Jul 12, 2018 at 7:42 AM, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for looking into the matter. > > We currently use a control to allow the user to adjust the DataGrid row > height (which of course changes all rows heights). While inelegant, it > does let the user expand the view of a row where one or more cells have > a lot of content. Variable row height would have been a more elegant > addition. Perhaps LC will add it to the DataGrid for "DataGrid 3" some day. > > On 7/11/2018 11:22 PM, Tom Glod via use-livecode wrote: > > Update on this ...... I'm coming to realize that dg isn't going to cut > it > > for my needs in applications where performance matters. Datagrid is > built > > using custom properties. which are way way way slower than accessing > > variables i haven't tested in a while but last i did it was orrders of > > magnitude slower. that is its major bottleneck, and i think i have to > move > > away from moving the LC grid for my needs. > > > > So i think i need to make my own grid solution that covers both different > > sized rows, better performance, and no without all the duplication of > data.. > > > > > > > > On Tue, Jun 19, 2018 at 5:16 PM, Paul Dupuis via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> On 6/19/2018 4:52 PM, Rick Harrison via use-livecode wrote: > >>> Hi Tom, > >>> > >>> I haven?t done much of anything with the datagrid, but I am > >>> wondering what happens if one of the cells in your row > >>> has an image in it? Will the row resize to be able to show > >>> the minimum height of the image? If so, that might be > >>> a work around for you. > >>> > >> Unfortunately, the Datagrid row height in "Table" mode does not resize > >> with contents whether a cell contains an Image, text, or whatever. Rows > >> are all of equal height in pixels that can be set by the developer. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Thu Jul 12 11:09:35 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 15:09:35 +0000 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <155FBF53-D819-4C58-9702-42CAE98D1112@iotecdigital.com> Message-ID: Each of these Mac OS exploits require that the end user install something on their computer, or allow it. As far as the doorstop comparison, well that comment is a bit of a red herring now isn't it? Brand new computers with current AV definitions and a completely updated OS involves "some degree of risk". My point is that if you use a computer in such a way that it performs it's job as it always has, an internal SQL server with no exposure to the internet for example, then all other things being equal, it's not obsolete by a certain definition. I guess I am saying that what different people mean by obsolete varies depending on the application. A developer who wants to continue using a workstation that no longer runs the current version of LC, but that developer wants the new features of said current version, could be said to be running an obsolete OS. If he doesn't need those new features, the device can be said to be viable. Bob S > On Jul 11, 2018, at 17:54 , Richard Gaskin via use-livecode wrote: > > But Wardle has shown that the vulnerability allows an attacker > to grab and steal every password in plain-text using an unsigned > app downloaded from the internet, without needing that password. From bobsneidar at iotecdigital.com Thu Jul 12 11:13:26 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 15:13:26 +0000 Subject: [Bug 19998] The non-appearance of Polygon graphics in LC In-Reply-To: References: <155FBF53-D819-4C58-9702-42CAE98D1112@iotecdigital.com> Message-ID: >From the keychain exploit article: "MacOS is designed to be secure by default, and Gatekeeper warns users against installing unsigned apps, like the one shown in this proof of concept, and prevents them from launching the app without explicit approval. We encourage users to download software only from trusted sources like the Mac App Store, and to pay careful attention to security dialogs that macOS presents." I think that saying this makes the mac inherently insecure is like clicking the link in the email and then complaining that Windows allowed your computer to be hacked. Bob S > On Jul 11, 2018, at 17:54 , Richard Gaskin via use-livecode wrote: > > But Wardle has shown that the vulnerability allows an attacker > to grab and steal every password in plain-text using an unsigned > app downloaded from the internet, without needing that password. From bobsneidar at iotecdigital.com Thu Jul 12 11:15:34 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 15:15:34 +0000 Subject: Must have flexible row height for Datagrid Table In-Reply-To: <8ee13c0b-4baf-1dac-909b-60c9349371b0@fourthworld.com> References: <8ee13c0b-4baf-1dac-909b-60c9349371b0@fourthworld.com> Message-ID: <87922ECA-0649-4176-8EE6-376183F14D3D@iotecdigital.com> Yes I agree, before updating a datagrid, lock the screen. Performance is much improved. Also make sure no property inspectors, script editor or message box is open while benchmarking. Bob S > On Jul 11, 2018, at 21:14 , Richard Gaskin via use-livecode wrote: > > Tom Glod wrote: > > > Update on this ...... I'm coming to realize that dg isn't going to > > cut it for my needs in applications where performance matters. > > Datagrid is built using custom properties. which are way way way > > slower than accessing variables i haven't tested in a while but last > > i did it was orrders of magnitude slower. > > I would be interested in seeing those tests. Vars are much faster than fields, and still faster than custom props but much less so. > > I would imagine the bigger bottleneck is with rendering so many nested groups of objects. From bobsneidar at iotecdigital.com Thu Jul 12 11:16:40 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 15:16:40 +0000 Subject: Must have flexible row height for Datagrid Table In-Reply-To: <8833799f-ee59-813e-c5e5-4734bae2431b@researchware.com> References: <53FC4350-88AC-4C92-BF91-00AFAF16DD38@all-auctions.com> <8833799f-ee59-813e-c5e5-4734bae2431b@researchware.com> Message-ID: Or use a form datagrid! The only place this is an issue is with table grids. Bob S > On Jul 12, 2018, at 04:42 , Paul Dupuis via use-livecode wrote: > > Thanks for looking into the matter. > > We currently use a control to allow the user to adjust the DataGrid row > height (which of course changes all rows heights). While inelegant, it > does let the user expand the view of a row where one or more cells have > a lot of content. Variable row height would have been a more elegant > addition. Perhaps LC will add it to the DataGrid for "DataGrid 3" some day. From bobsneidar at iotecdigital.com Thu Jul 12 11:18:05 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 15:18:05 +0000 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: Yeah, and they are gonna want their car back! Bob S > On Jul 11, 2018, at 17:09 , Mark Wieder via use-livecode wrote: > > On 07/11/2018 03:18 PM, Bob Sneidar via use-livecode wrote: >> I'm in a strange mood. I got into my car last Sunday and discovered two of my three radio programmable buttons had changed stations. I'm the only person who drives my car, and I always lock it wherever I go. I'm not sure I haven't entered some alternate universe or something. > > That's easy. You got into someone else's unlocked car. > They're gonna be annoyed if you change those presets. > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Thu Jul 12 11:19:03 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 15:19:03 +0000 Subject: Docker In-Reply-To: References: <287cc7b0-6f37-094c-41d8-8d4f0c6c5d2f@sonic.net> <0A531CD6-C537-4DBC-8EA3-6D4901D941A6@iotecdigital.com> <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> Message-ID: <4728EB59-3A12-4925-9A8F-F26B13B723CB@iotecdigital.com> Well then the real mystery is why someone moved all my stuff into someone elses car! Bob S > On Jul 11, 2018, at 17:56 , Mark Wieder via use-livecode wrote: > > On 07/11/2018 05:16 PM, Mike Bonner via use-livecode wrote: >> They'll be more annoyed that their car isn't where they left it. Of course >> if they understand sock science, maybe they'll go look for it in the dryer. > > Shouldn't be a problem. > They can just take Bob's car and wonder why the presets got changed. > > -- > Mark Wieder > ahsoftware at gmail.com From richmondmathewson at gmail.com Thu Jul 12 11:43:46 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 12 Jul 2018 18:43:46 +0300 Subject: Docker In-Reply-To: <4728EB59-3A12-4925-9A8F-F26B13B723CB@iotecdigital.com> References: <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> <4728EB59-3A12-4925-9A8F-F26B13B723CB@iotecdigital.com> Message-ID: <465889de-40fa-d565-e0c0-c1b28b0ed604@gmail.com> It is possible that, in the night, you were in some sort of fugue state, hopped into your car and changed the radio stations . . . . . . similar to when get out of bed in the morning and find LiveCode stacks that I didn't make littering my desktop. ;-) Richmond. On 12/7/2018 6:19 pm, Bob Sneidar via use-livecode wrote: > Well then the real mystery is why someone moved all my stuff into someone elses car! > > Bob S > > >> On Jul 11, 2018, at 17:56 , Mark Wieder via use-livecode wrote: >> >> On 07/11/2018 05:16 PM, Mike Bonner via use-livecode wrote: >>> They'll be more annoyed that their car isn't where they left it. Of course >>> if they understand sock science, maybe they'll go look for it in the dryer. >> Shouldn't be a problem. >> They can just take Bob's car and wonder why the presets got changed. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Jul 12 12:20:20 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 16:20:20 +0000 Subject: Docker In-Reply-To: <465889de-40fa-d565-e0c0-c1b28b0ed604@gmail.com> References: <3a61f071-9ea4-af50-cd02-c675d8b90a49@hyperactivesw.com> <2b7fe864-9ce8-2325-1a5a-889883d79ad7@hyperactivesw.com> <1EE32CD7-3C1C-461E-BFD7-8E3C3951FADD@iotecdigital.com> <0F35FC42-489D-4B26-BB4C-ACA435724CEF@iotecdigital.com> <46EC24DE-6F44-467D-8139-FBFA17AEDB7A@iotecdigital.com> <4728EB59-3A12-4925-9A8F-F26B13B723CB@iotecdigital.com> <465889de-40fa-d565-e0c0-c1b28b0ed604@gmail.com> Message-ID: <9BC81447-3EC7-48D5-A611-830283A38B90@iotecdigital.com> Anything is possible, which is why I think color blind trolls and mischievous dwarves not too far fetched. Bob S > On Jul 12, 2018, at 08:43 , Richmond Mathewson via use-livecode wrote: > > It is possible that, in the night, you were in some sort of fugue state, > hopped into your car and changed the radio stations . . . > > . . . similar to when get out of bed in the morning and find LiveCode stacks that I > didn't make littering my desktop. ;-) > > Richmond. From bobsneidar at iotecdigital.com Thu Jul 12 13:31:32 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 17:31:32 +0000 Subject: Sender of send in time Message-ID: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> Hi all. I have a sticky problem here, or I should say a slippery one. Something in my scripts is sending a selectionChanged message in time to a specific datagrid when it shouldn't. How do I determine the sender of a send in time message? The pendingMessages and executionContexts are cleared by that time. Bob S From bobsneidar at iotecdigital.com Thu Jul 12 13:42:30 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 17:42:30 +0000 Subject: Sender of send in time In-Reply-To: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> References: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> Message-ID: Nevermind I found it. But it's a good question. I had to search for "send selectionChanged" and breakpoint each statement until I hit on the correct one. Bob S > On Jul 12, 2018, at 10:31 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I have a sticky problem here, or I should say a slippery one. Something in my scripts is sending a selectionChanged message in time to a specific datagrid when it shouldn't. How do I determine the sender of a send in time message? The pendingMessages and executionContexts are cleared by that time. > > Bob S From dunbarx at aol.com Thu Jul 12 13:45:36 2018 From: dunbarx at aol.com (dunbarxx) Date: Thu, 12 Jul 2018 10:45:36 -0700 (MST) Subject: Sender of send in time In-Reply-To: References: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> Message-ID: <1531417536862-0.post@n4.nabble.com> Hi. Would the "executionContexts" be of use here? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Thu Jul 12 13:54:17 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Jul 2018 17:54:17 +0000 Subject: Sender of send in time In-Reply-To: <1531417536862-0.post@n4.nabble.com> References: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> <1531417536862-0.post@n4.nabble.com> Message-ID: <5D435CB8-D722-4926-AB7D-7108C9478D4E@iotecdigital.com> Hi Craig. No, because send in time allows for messages sent prior to complete execution, so whatever send in time is no longer executing. Bob S > On Jul 12, 2018, at 10:45 , dunbarxx via use-livecode wrote: > > Hi. > > Would the "executionContexts" be of use here? > > Craig From ambassador at fourthworld.com Thu Jul 12 14:33:43 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Jul 2018 11:33:43 -0700 Subject: OS EOL (was: [Bug 19998] The non-appearance of Polygon graphics in LC) In-Reply-To: References: Message-ID: <898b71f7-8c63-f541-5c09-9ee840730b4b@fourthworld.com> Bob Sneidar wrote: > Each of these Mac OS exploits require that the end user install > something on their computer, or allow it. As far as the doorstop > comparison, well that comment is a bit of a red herring now isn't it? > Brand new computers with current AV definitions and a completely > updated OS involves "some degree of risk". > > My point is that if you use a computer in such a way that it performs > it's job as it always has, an internal SQL server with no exposure to > the internet for example, then all other things being equal, it's not > obsolete by a certain definition. How often do computer vendors advertise their network-capable products as not being fit for use on networks? I suppose we could slice and dice to come up with all sorts of definitions. Here's where I'm coming from: Somehow this conversation became mistaken for one of brand advocacy. I mentioned macOS 10.7.5 only because that's the version Richmond isn't allowed to upgrade beyond. Those who've been on this list a while have seen me use the phrase "not safe to use" for any brand of OS that has reached end-of-life (EOL). If this has to be about one brand, I think there's an argument to be made that Apple does a better job in some (but not all) areas of security. But they're not a magic pony. There is no magic pony. Even the best software is just imperfect humans making imperfect systems riddled with flaws waiting to by found by someone with an IQ north of 160 who devotes their life to finding such things. And they do, new ones every week. If the phrases "safe to use" and its corollary "not safe to use" are uncomfortable, I got nothing for that. I come across them frequently in discussions of OS EOL. Given how many exploits are made possible by unpatched systems, the more I read on the subject the more I come across those phrases. In this context, "obsolete" refers to a product comprised of hardware and software where the software half of it has reached what the vendor has determined is "end of life". True, it's possible to extend the useful life of a computer by limiting oneself to a much narrower range of tasks than the product was originally designed for. Another option is to replace the EOL'd software half of the product with something that's kept current. Given the cost, ease of updating, and well-published EOL dates for most distros, Linux makes a logical choice for that, since it supports a much broader range of hardware than any other OS. But even that isn't brand advocacy (if it were I'd be suggesting that everyone replace their OS before the vendor EOLs it ), but merely pragmatism for those cases where the vendor provides no upgrade path for the now-EOL'd OS. But neither of those options, viable as they may be for some users, are part of the product offering as sold. Once the software half of a product no longer has an option to remain current with critical patches, the product as originally offered is no longer fit to serve the role it was designed for. One word commonly used to describe a product beyond end-of-life is "obsolete". Knowingly running unpatched systems is kind of a problem. I don't feel at all uncomfortable encouraging folks to aim a bit higher than an Oingo Boingo security policy: https://www.youtube.com/watch?v=qpjHW4mr6qo ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Jul 12 14:57:11 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Jul 2018 11:57:11 -0700 Subject: Sender of send in time In-Reply-To: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> References: <070396E7-EB4D-48F5-8E6E-1B41359093CD@iotecdigital.com> Message-ID: Bob Sneidar wrote: > I have a sticky problem here, or I should say a slippery one. > Something in my scripts is sending a selectionChanged message in time > to a specific datagrid when it shouldn't. How do I determine the > sender of a send in time message? The pendingMessages and > executionContexts are cleared by that time. I don't believe the LC engine maintains awareness of the sender of timers. If it does, I don't know of a way that's exposed to scripters. Where timers are used sparingly, it may be practical as a workaround to search for those instances and add a param to sent messages to track that. Alternatively, when using "send...in